]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
media: ipu3-cio2: Build only for x86
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 14 Dec 2020 15:28:32 +0000 (16:28 +0100)
committerAndrea Righi <andrea.righi@canonical.com>
Mon, 15 Mar 2021 14:09:05 +0000 (15:09 +0100)
commita9febaf8b1b3ed8d0a328d2fc7def7553c00423d
tree180529be676e426b92ea3d37955929d460847baf
parent9098f144a846b45e997958d16120f0ed80b86add
media: ipu3-cio2: Build only for x86

[ Upstream commit 3ef5e42d281ea108f4ccdca186de4ce20a346326 ]

According to the original code in the driver it was never assumed to work
with big page sizes: unsigned short type followed by PAGE_SHIFT and
PAGE_MASK which may be different on non-x86 architectures.

Recently LKP found an issue on non-x86 architectures due to above
mentioned limitations. Since Sakari acknowledges that it's not really
useful to be able to compile this elsewhere, mark it x86 only.

Fixes: a31d19f88932 ("media: ipu3: allow building it with COMPILE_TEST on non-x86 archs")
Reported-by: kernel test robot <lkp@intel.com>
Suggested-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
drivers/media/pci/intel/ipu3/Kconfig