Files
android_kernel_xiaomi_sm8450/arch/powerpc/include/asm
Alistair Popple a1409adac7 powerpc/powernv/npu: Prevent overwriting of pnv_npu2_init_contex() callback parameters
There is a single npu context per set of callback parameters. Callers
should be prevented from overwriting existing callback values so
instead return an error if different parameters are passed.

Fixes: 1ab66d1fba ("powerpc/powernv: Introduce address translation services for Nvlink2")
Cc: stable@vger.kernel.org # v4.12+
Signed-off-by: Alistair Popple <alistair@popple.id.au>
Reviewed-by: Mark Hairgrove <mhairgrove@nvidia.com>
Tested-by: Mark Hairgrove <mhairgrove@nvidia.com>
Reviewed-by: Balbir Singh <bsingharora@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2018-04-24 09:46:57 +10:00
..
2015-05-28 15:31:53 +02:00
2017-08-15 22:55:58 +10:00
2015-01-12 05:04:13 -08:00
2015-02-03 18:47:18 +01:00
2016-03-04 23:50:27 -06:00
2016-03-01 19:27:20 +11:00
2017-06-28 06:54:33 -07:00
2018-01-21 23:21:14 +11:00
2018-04-01 00:47:50 +11:00
2018-03-31 09:09:36 +11:00
2018-01-21 01:06:10 +11:00
2016-06-14 13:58:26 +10:00
2018-01-24 11:42:58 +11:00
2016-06-14 13:58:26 +10:00
2013-11-06 14:13:49 +11:00
2018-03-31 09:09:36 +11:00
2018-03-30 23:34:27 +11:00
2018-01-15 09:35:26 +01:00
2018-03-24 08:43:18 +11:00
2016-06-14 13:58:26 +10:00
2017-11-12 09:03:10 +11:00
2015-05-05 13:35:39 -06:00