Alexey Kardashevskiy
1838bdf6ca
powerpc/xive: Ignore kmemleak false positives
[ Upstream commit f0993c839e ]
xive_native_provision_pages() allocates memory and passes the pointer to
OPAL so kmemleak cannot find the pointer usage in the kernel memory and
produces a false positive report (below) (even if the kernel did scan
OPAL memory, it is unable to deal with __pa() addresses anyway).
This silences the warning.
unreferenced object 0xc000200350c40000 (size 65536):
comm "qemu-system-ppc", pid 2725, jiffies 4294946414 (age 70776.530s)
hex dump (first 32 bytes):
02 00 00 00 50 00 00 00 00 00 00 00 00 00 00 00 ....P...........
01 00 08 07 00 00 00 00 00 00 00 00 00 00 00 00 ................
backtrace:
[<0000000081ff046c>] xive_native_alloc_vp_block+0x120/0x250
[<00000000d555d524>] kvmppc_xive_compute_vp_id+0x248/0x350 [kvm]
[<00000000d69b9c9f>] kvmppc_xive_connect_vcpu+0xc0/0x520 [kvm]
[<000000006acbc81c>] kvm_arch_vcpu_ioctl+0x308/0x580 [kvm]
[<0000000089c69580>] kvm_vcpu_ioctl+0x19c/0xae0 [kvm]
[<00000000902ae91e>] ksys_ioctl+0x184/0x1b0
[<00000000f3e68bd7>] sys_ioctl+0x48/0xb0
[<0000000001b2c127>] system_call_exception+0x124/0x1f0
[<00000000d2b2ee40>] system_call_common+0xe8/0x214
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200612043303.84894-1-aik@ozlabs.ru
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-09-03 11:24:18 +02:00
..
2017-11-02 11:10:55 +01:00
2020-01-09 10:19:08 +01:00
2020-09-03 11:24:18 +02:00
2012-07-11 14:18:22 +10:00
2018-07-30 22:48:20 +10:00
2015-09-16 15:43:10 +02:00
2017-11-02 11:10:55 +01:00
2018-01-20 23:29:02 -06:00
2018-08-10 22:12:33 +10:00
2018-06-03 20:43:35 +10:00
2018-04-05 21:36:27 -07:00
2006-11-01 14:52:48 +11:00
2016-08-07 23:50:09 -04:00
2017-08-23 22:27:04 +10:00
2016-09-20 20:57:12 +10:00
2012-07-26 13:24:32 -05:00
2017-08-23 22:27:04 +10:00
2016-07-08 19:55:34 -05:00
2017-08-23 22:27:04 +10:00
2016-12-09 23:08:40 -06:00
2018-07-19 21:58:09 +10:00
2018-01-21 15:06:16 +11:00
2017-12-28 12:26:35 +01:00
2015-03-23 19:51:18 -05:00
2018-02-02 10:01:04 -08:00
2015-12-11 16:56:16 +01:00
2016-12-04 19:51:44 -06:00
2016-03-16 15:22:32 +11:00
2017-10-03 17:54:24 -07:00
2016-03-22 15:36:02 -07:00
2017-10-03 17:54:24 -07:00
2017-08-10 23:32:05 +10:00
2017-11-02 11:10:55 +01:00
2011-07-12 09:28:04 -05:00
2017-12-18 23:07:45 -06:00
2015-01-29 19:56:15 -06:00
2017-11-06 16:48:13 +11:00
2012-02-14 14:06:50 -07:00
2017-11-02 11:10:55 +01:00
2018-08-08 00:32:36 +10:00
2017-11-02 11:10:55 +01:00
2016-09-13 17:35:47 +10:00
2017-11-02 11:10:55 +01:00
2018-08-10 22:12:33 +10:00
2017-08-23 22:27:04 +10:00
2018-01-21 15:06:16 +11:00
2016-09-20 20:57:12 +10:00
2018-07-19 21:58:09 +10:00
2015-05-11 19:55:25 +10:00
2018-07-04 22:41:09 +10:00
2017-08-23 22:27:04 +10:00
2016-09-20 20:57:12 +10:00
2013-07-15 11:25:01 +09:30
2017-08-23 22:27:04 +10:00
2017-08-23 22:27:04 +10:00
2017-11-02 11:10:55 +01:00
2012-03-28 18:30:02 +01:00
2017-08-23 22:27:04 +10:00
2014-01-15 13:46:44 +11:00
2016-11-29 09:14:50 +00:00
2014-09-25 23:14:46 +10:00