commit 5e767aa07e ("ANDROID: use static_call() for restricted hooks")
introduced an implementation of __iteriter_##_name when
TRACE_HEADER_MULTI_READ is defined. __nocfi that function as well in
order to keep the performance optimizations from commit 384becf164
("ANDROID: Disable CFI on restricted vendor hooks").
Fixes: 384becf164 ("ANDROID: Disable CFI on restricted vendor hooks")
Change-Id: I6ea1cd767bad95c324c06398475174b710ae4dbe
Signed-off-by: Elliot Berman <quic_eberman@quicinc.com>
We must flush all the dirty data when enabling checkpoint back. Let's guarantee
that first by adding a retry logic on sync_inodes_sb(). In addition to that,
this patch adds to flush data in fsync when checkpoint is disabled, which can
mitigate the sync_inodes_sb() failures in advance.
Bug: 194449609
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
(cherry picked from commit dddd3d6529)
Change-Id: I5bbef7386ddbb44fd925262fb68a8ef0a4960993
CONFIG_MEDIA_SUBDRV_AUTOSELECT is default n.
CONFIG_MEDIA_CONTROLLER and CONFIG_VIDEO_V4L2_SUBDEV_API is selected by
CONFIG_VIDEO_DW9714.
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I98b93dc1cc204089db2e31665210710437a1df19
The spi_controller structure changed 2 fields from unsigned to signed to
fix a bug in 5.10.63. Work around that by only preserve the previous
CRC symbols, while keeping the signed change so that the bug remains
fixed as the structure size did not change at all.
Note, this affects the libabigail structures, so they are updated as
well:
Functions changes summary: 0 Removed, 1 Changed (345 filtered out), 0 Added functions
Variables changes summary: 0 Removed, 0 Changed (3 filtered out), 0 Added variables
1 function with some indirect sub-type change:
[C] 'function spi_controller* __devm_spi_alloc_controller(device*, unsigned int, bool)' at spi.c:2490:1 has some indirect sub-type changes:
return type changed:
in pointed to type 'struct spi_controller' at spi.h:472:1:
type size hasn't changed
2 data member changes (1 filtered):
'u8 unused_native_cs' has *some* difference - please report as a bug
type of 'u8 max_native_cs' changed:
typedef name changed from u8 to s8 at int-ll64.h:16:1
underlying type 'typedef __u8' at int-ll64.h:21:1 changed:
typedef name changed from __u8 to __s8 at int-ll64.h:20:1
underlying type 'unsigned char' changed:
type name changed from 'unsigned char' to 'signed char'
type size hasn't changed
Fixes: 35f3f8504c ("spi: Switch to signed types for *_native_cs SPI controller fields")
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I0e3f02558bfdd6c36f41c172977e1bf51bfbc263
Avoid the high 32btis input param of GENMASK bigger then BITS_PER_LONG.
For example offs 62, bits_per_block 3, and BITS_PER_LONG 64, then:
GENMASK(offs + bits_per_block - 1, offs) -> GENMASK(64, 62) -> 0.
But actually we want to mask GENMASK(63, 62) which is equals to
0xc000000000000000.
Change-Id: Ie3ee89a4b3e3deca45ccf429bfdfc5b88e3e6b9c
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
Commit 34dc2efb39 ("memblock: fix section mismatch warning") marked
memblock_bottom_up() and memblock_set_bottom_up() as __init, but they
could be referenced from non-init functions like
memblock_find_in_range_node() on architectures that enable
CONFIG_ARCH_KEEP_MEMBLOCK.
For such builds kernel test robot reports:
WARNING: modpost: vmlinux.o(.text+0x74fea4): Section mismatch in reference from the function memblock_find_in_range_node() to the function .init.text:memblock_bottom_up()
The function memblock_find_in_range_node() references the function __init memblock_bottom_up().
This is often because memblock_find_in_range_node lacks a __init annotation or the annotation of memblock_bottom_up is wrong.
Replace __init annotations with __init_memblock annotations so that the
appropriate section will be selected depending on
CONFIG_ARCH_KEEP_MEMBLOCK.
Link: https://lore.kernel.org/lkml/202103160133.UzhgY0wt-lkp@intel.com
Link: https://lkml.kernel.org/r/20210316171347.14084-1-rppt@kernel.org
Fixes: 34dc2efb39 ("memblock: fix section mismatch warning")
Signed-off-by: Mike Rapoport <rppt@linux.ibm.com>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Reported-by: kernel test robot <lkp@intel.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Acked-by: Nick Desaulniers <ndesaulniers@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
(cherry picked from commit a024b7c285)
Bug: 187129171
Signed-off-by: Connor O'Brien <connoro@google.com>
Change-Id: Ic5c2281030801424904ba3df442464d670e37667
Support sfc spi standard drivers from drivers/spi/spi-rockchip-sfc.c.
Change-Id: Ic21223e7ece1ef0143a2021151c8cfc8a0008891
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
Support sfc spi standard drivers from drivers/spi/spi-rockchip-sfc.c.
Change-Id: I8590da2d1c628ccede2c8e6a1a3224a795cb82a9
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
Support sfc spi standard drivers from drivers/spi/spi-rockchip-sfc.c.
Change-Id: I4e9608334093fa5d1c450e68c3cb230ba79b48f2
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
Support sfc spi standard drivers from drivers/spi/spi-rockchip-sfc.c.
Change-Id: If94a343a6c19e26e3c2dd343623252bf5f8e159b
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>