* refs/heads/tmp-698fa19:
ANDROID: vendor_hooks: Add hooks for futex
ANDROID: dma-contiguous: Add tracehook to allow subpage allocations in dma_alloc_contiguous
ANDROID: Update the ABI xml and symbol list
UPSTREAM: ALSA: memalloc: Align buffer allocations in page size
ANDROID: Fix mmu_notifier_trylock definition for !CONFIG_MMU_NOTIFIER config
FROMGIT: USB: gadget: bRequestType is a bitfield, not a enum
ANDROID: qcom: Add flush_delayed_fput to ABI
ANDROID: fix ABI breakage caused by mm_struct->mmu_notifier_lock addition
ANDROID: fix ABI breakage caused by percpu_rw_semaphore changes
ANDROID: fix mmu_notifier race caused by not taking mmap_lock during SPF
ANDROID: percpu-rwsem: enable percpu_sem destruction in atomic context
FROMLIST: virtio_mmio: pm: Add notification handlers for restore and freeze
FROMLIST: virtio: do not reset stateful devices on resume
FROMGIT: f2fs: avoid EINVAL by SBI_NEED_FSCK when pinning a file
UPSTREAM: mm, slub: fix incorrect memcg slab count for bulk free
UPSTREAM: mm, slub: fix potential use-after-free in slab_debugfs_fops
UPSTREAM: mm, slub: fix potential memoryleak in kmem_cache_open()
UPSTREAM: mm, slub: fix mismatch between reconstructed freelist depth and cnt
UPSTREAM: mm, slub: fix two bugs in slab_debug_trace_open()
UPSTREAM: mm, slub: allocate private object map for debugfs listings
FROMGIT: dma-buf: remove restriction of IOCTL:DMA_BUF_SET_NAME
UPSTREAM: usb: dwc3: core: balance phy init and exit
UPSTREAM: xhci: Fix failure to give back some cached cancelled URBs.
ANDROID: mm/memory_hotplug: Don't special case memory_block_size_bytes
UPSTREAM: usb: gadget: uvc: fix multiple opens
UPSTREAM: aio: fix use-after-free due to missing POLLFREE handling
UPSTREAM: aio: keep poll requests on waitqueue until completed
UPSTREAM: signalfd: use wake_up_pollfree()
UPSTREAM: binder: use wake_up_pollfree()
UPSTREAM: wait: add wake_up_pollfree()
UPSTREAM: USB: gadget: zero allocate endpoint 0 buffers
BACKPORT: scsi: ufs: Improve SCSI abort handling further
FROMGIT: scsi: ufs: Introduce ufshcd_release_scsi_cmd()
FROMGIT: scsi: ufs: Remove the 'update_scaling' local variable
UPSTREAM: scsi: ufs: core: Fix another task management completion race
BACKPORT: scsi: ufs: core: Fix task management completion timeout race
ANDROID: qcom: Add android_rvh_do_ptrauth_fault to ABI
UPSTREAM: USB: gadget: detect too-big endpoint 0 requests
ANDROID: ABI: Add symbols used by frame buffer driver
UPSTREAM: xhci: Add bus number to some debug messages
UPSTREAM: xhci: Add additional dynamic debug to follow URBs in cancel and error cases.
UPSTREAM: Revert "USB: xhci: fix U1/U2 handling for hardware with XHCI_INTEL_HOST quirk set"
UPSTREAM: xhci: Fix failure to give back some cached cancelled URBs.
UPSTREAM: HID: check for valid USB device for many HID drivers
UPSTREAM: HID: wacom: fix problems when device is not a valid USB device
UPSTREAM: HID: bigbenff: prevent null pointer dereference
UPSTREAM: HID: add USB_HID dependancy on some USB HID drivers
UPSTREAM: HID: add USB_HID dependancy to hid-chicony
UPSTREAM: HID: add USB_HID dependancy to hid-prodikeys
UPSTREAM: HID: add hid_is_usb() function to make it simpler for USB detection
FROMGIT: clk: Don't parent clks until the parent is fully registered
UPSTREAM: mm/gup: remove the vma allocation from gup_longterm_locked()
BACKPORT: usb: typec: tcpm: Wait in SNK_DEBOUNCED until disconnect
ANDROID: ABI: Add iio_write_channel_raw symbol
ANDROID: GKI: Update symbols to symbol list
Change-Id: Ifed5ad941e4e34594c49336c1a6556c8cb665cba
Signed-off-by: Sivasri Kumar, Vanka <quic_svanka@quicinc.com>
Add a tracehook to allow callers into dma_alloc_contiguous() to make
use of the built-in CMA area if the caller has addressing limitations;
this provides a means of allocating from memory whose bounds are
restricted to the lower 4 GB of memory, without having to enable DMA32
(assuming the default CMA area has been restricted to the appropriate
address ranges).
Leaf changes summary: 1 artifact changed
Changed leaf types summary: 0 leaf type changed
Removed/Changed/Added functions summary: 0 Removed, 0 Changed, 0 Added function
Removed/Changed/Added variables summary: 0 Removed, 0 Changed, 1 Added variable
1 Added variable:
[A] 'tracepoint __tracepoint_android_vh_subpage_dma_contig_alloc'
Bug: 199917449
Change-Id: Ia86fb416376bca231405b06ab27b0674c8fe3e14
Signed-off-by: Chris Goldsworthy <quic_cgoldswo@quicinc.com>
When a kernel thread calls dma_buf_put() to release the last reference
to a dma-buf, fput_many() defers calling the release callback to a
workqueue. This means that if the same kernel thread later calls
dma_heap_buffer_alloc(), it has no guarantee that the memory from the
prior free is available, leading to random failures. As a short-term
workaround, call flush_delayed_fput() to ensure the free completes
synchronously.
Leaf changes summary: 1 artifact changed
Changed leaf types summary: 0 leaf type changed
Removed/Changed/Added functions summary: 0 Removed, 0 Changed, 1 Added function
Removed/Changed/Added variables summary: 0 Removed, 0 Changed, 0 Added variable
1 Added function:
[A] 'function void flush_delayed_fput()'
Bug: 210598057
Change-Id: Id936aa0bcd410b23b12f4b922b676aa61a358b4c
Signed-off-by: Patrick Daly <quic_pdaly@quicinc.com>
* refs/heads/tmp-40160d2:
UPSTREAM: ASoC: dapm: use component prefix when checking widget names
ANDROID: ABI: Add symbols used by clocksource driver
ANDROID: GKI: Export clocksource_mmio_init
ANDROID: GKI: Export sched_clock_register
FROMGIT: f2fs: show number of pending discard commands
ANDROID: workqueue: export symbol of the function wq_worker_comm()
ANDROID: GKI: Update symbols to symbol list
ANDROID: vendor_hooks: Add hooks for binder proc transaction
Change-Id: Iefc600dfe7e110fa001e7c6c9f88e15008382b2d
Signed-off-by: Sivasri Kumar, Vanka <quic_svanka@quicinc.com>
Commit 209d35ee34 ("ipv6: fix memory leak in fib6_rule_suppress")
added a new variable to the fips_rules_ops.suppress() callback function
pointer in order to properly handle a memory leak.
This change is not a real ABI breakage, but since the function pointer
structure is included in other structures within the networking stack,
and they all propagate up to structures that are tracked, libabigail
properly detects this change.
There is no problem making the change, as the only providers of these
callback functions are in the kernel already, and have been fixed up in
this commit, and the variable size does not change (function pointers
are function pointers), so paper over the CRC change with a judicious
ifdef __GENKSYMS__ hack and update the .xml file to properly reflect the
updates change:
Leaf changes summary: 1 artifact changed
Changed leaf types summary: 1 leaf type changed
Removed/Changed/Added functions summary: 0 Removed, 0 Changed, 0 Added function
Removed/Changed/Added variables summary: 0 Removed, 0 Changed, 0 Added variable
'struct fib_rules_ops at fib_rules.h:60:1' changed:
type size hasn't changed
there are data member changes:
type 'typedef bool (fib_rule*, fib_lookup_arg*)*' of 'fib_rules_ops::suppress' changed:
pointer type changed from: 'typedef bool (fib_rule*, fib_lookup_arg*)*' to: 'typedef bool (fib_rule*, int, fib_lookup_arg*)*'
2448 impacted interfaces
Bug: 161946584
Change-Id: I5fd2fcece8f57536369c51e438bd2739631b34e3
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
* refs/heads/tmp-ca0e930:
ANDROID: GKI: Add symbols abi for USB IP kernel modules.
ANDROID: GKI: Fix file mode on mtk abi file
UPSTREAM: erofs: fix deadlock when shrink erofs slab
ANDROID: init_task: Init android vendor and oem data
Change-Id: I7a5fc8cf9ab70e60cd693a12a1e19cf8fa6ba535
Signed-off-by: Sivasri Kumar, Vanka <quic_svanka@quicinc.com>
Commit 33fe044f6a ("bpf: Fix toctou on read-only map's constant scalar
tracking") in 5.10.83, changes a field in struct bpf_map from a u64 into
an atomic64_t which is the same size, in order to fix a security problem
(CVE-2021-4001). This causes libabigail to properly detect that a
change happened, but no "real" ABI break happened here due to the
structure size being the same and no module ever accessing this field
directly.
Fix this up by updating the .xml file and adding a GENKSYMS check on the
structure to preserve the CRC change.
Leaf changes summary: 1 artifact changed (1 filtered out)
Changed leaf types summary: 1 (1 filtered out) leaf types changed
Removed/Changed/Added functions summary: 0 Removed, 0 Changed, 0 Added function
Removed/Changed/Added variables summary: 0 Removed, 0 Changed, 0 Added variable
'struct bpf_map at bpf.h:146:1' changed:
type size hasn't changed
there are data member changes:
type 'typedef u64' of 'bpf_map::writecnt' changed:
typedef name changed from u64 to atomic64_t at types.h:175:1
underlying type 'typedef __u64' at int-ll64.h:31:1 changed:
entity changed from 'typedef __u64' to 'struct {s64 counter;}' at types.h:173:1
type size hasn't changed
4682 impacted interfaces
Bug: 161946584
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: If9ab94646ed404244e1f108044dd7efc5f6a36f9
Remove executable bit on abi_gki_aarch64_mtk file.
This file was added in 55d7c4eca6, the mode of
abi_gki_aarch64.xml was fixed in eb02ea0e, this
patch fixes the other file that from the
55d7c4eca6 patch.
Bug: 149040612
Fixes: 55d7c4eca6 ("ANDROID: Update symbol list for mtk")
Signed-off-by: Pat Tjin <pattjin@google.com>
Change-Id: I3800136eb7d7f54a89508660ae40e662ee5ac571
* refs/heads/tmp-ecb09e2:
ANDROID: ABI: Add several spi_mem related symbols
UPSTREAM: spi: spi-mem: add spi_mem_dtr_supports_op()
ANDROID: gki_defconfig: enable CONFIG_SPI_MEM
ANDROID: ABI: Add several iio related symbols
ANDROID: ABI: Update symbol list for IMX
ANDROID: usb: gadget: f_accessory: Mitgate handling of non-existent USB request
ANDROID: GKI: fix up abi break in ehci code
UPSTREAM: usb: ehci: handshake CMD_RUN instead of STS_HALT
ANDROID: arm64/mm: Add command line option to make ZONE_DMA32 empty
ANDROID: GKI: Add newly added vendor hook to abi symbol list
Change-Id: I14d6bed709ccbb00f72ca722a7fd0cf4bcf32d79
Signed-off-by: Sivasri Kumar, Vanka <quic_svanka@quicinc.com>
* refs/heads/tmp-4a750ed:
ANDROID: fips140: add userspace interface for evaluation testing
ANDROID: fips140: add support for injecting integrity error
ANDROID: fips140: refactor evaluation testing support
ANDROID: sched: add hook point in do_sched_yield()
ANDROID: GKI: Update symbols to symbol list
FROMGIT: usb: gadget: f_fs: Use stream_open() for endpoint files
ANDROID: GKI: Update symbol list for VIVO
ANDROID: block: export tracepoints
ANDROID: setlocalversion: make KMI_GENERATION optional
BACKPORT: uapi: virtio_ids: add a sound device type ID from OASIS spec
ANDROID: GKI: Add vendor hook to binder transaction
ANDROID: qcom: Add smp_call_function_single_async to ABI
Revert "sched/fair: Keep load_avg and load_sum synced"
Revert "sched/pelt: Ensure that *_sum is always synced with *_avg"
Revert "sched/fair: Ensure _sum and _avg values stay consistent"
ANDROID: consolidate.fragment: Enable usbmon
ANDROID: locking/rwsem: only clean RWSEM_FLAG_HANDOFF when already set
UPSTREAM: f2fs: change fiemap way in printing compression chunk
Change-Id: I353c0570b448328ab4c1a151d4ec095a61ca1679
Signed-off-by: Sivasri Kumar, Vanka <quic_svanka@quicinc.com>
Commit 94e5305a38 ("usb: ehci: handshake CMD_RUN instead of STS_HALT")
that got added into 5.10.79, added a new bitfield to the struct ehci_hcd
structure. This bitfield is only used by the ehci core, and does not
change the size of the structure overall at all, so comment it properly
so that the CRC of any ehci functions do not change, and update the .xml
file with the newly added bitfield:
Leaf changes summary: 1 artifact changed
Changed leaf types summary: 1 leaf type changed
Removed/Changed/Added functions summary: 0 Removed, 0 Changed, 0 Added function
Removed/Changed/Added variables summary: 0 Removed, 0 Changed, 0 Added variable
'struct ehci_hcd at ehci.h:111:1' changed:
type size hasn't changed
1 data member insertion:
'unsigned int is_aspeed', at offset 15 (in bits) at ehci.h:226:1
one impacted interface
Bug: 161946584
Fixes: 94e5305a38 ("usb: ehci: handshake CMD_RUN instead of STS_HALT")
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: Id5d3a9324d9a15f8baaf4aefedda786ed6d949c2
When a task yields, it relinquishes the cpu and
scheduler is tasked to find another task.
However our vendor scheduler logic implementation
could return the same task leading to a loop where
the yielded task gets to run back, so add hook point
in do_sched_yield() for vendor can do some work
before task is scheduled.
Bug: 205804537
Change-Id: I6528c3f4b0ee360559ef9c97cb1eb2b2d1357870
Signed-off-by: Tengfei Fan <quic_tengfan@quicinc.com>
Sync up with android12-5.10 for the following commits:
d30938528e ANDROID: GKI: Update symbol list for VIVO
47458bf124 ANDROID: block: export tracepoints
e41b116463 ANDROID: setlocalversion: make KMI_GENERATION optional
5dac28a174 BACKPORT: uapi: virtio_ids: add a sound device type ID from OASIS spec
2f3f5731de ANDROID: GKI: Add vendor hook to binder transaction
775cd2119d ANDROID: qcom: Add smp_call_function_single_async to ABI
d736cbf8d9 Revert "sched/fair: Keep load_avg and load_sum synced"
de0ba4ea3c Revert "sched/pelt: Ensure that *_sum is always synced with *_avg"
8630facf34 Revert "sched/fair: Ensure _sum and _avg values stay consistent"
7a7b5f89d9 ANDROID: locking/rwsem: only clean RWSEM_FLAG_HANDOFF when already set
a1a4c80265 UPSTREAM: f2fs: change fiemap way in printing compression chunk
cc98cd4a3e ANDROID: GKI: add allowed list file for xiaomi
fa9c907453 ANDROID: GKI: Update symbol list
ea592f07f6 ANDROID: Update symbol list for mtk
a4eacf3227 ANDROID: binder: fix regression in sender_euid
6b7c37f6c4 ANDROID: fips140: use UTS_RELEASE as FIPS version
11db2de0af BACKPORT: binder: use cred instead of task for getsecid
3af7a2f610 BACKPORT: binder: use cred instead of task for selinux checks
d492977395 BACKPORT: binder: use euid from cred instead of using task
7e2fbdaeab ANDROID: vendor_hooks: Add hooks for frequency optimization
054a3c228a ANDROID: GKI: Update symbols to symbol list
0db6925868 ANDROID: vendor_hooks: export get_wchan
a61d61bab7 ANDROID: vendor_hooks: Add hooks to record the time of the process in various states
6cf4b65244 FROMGIT: dma-buf: acquire name lock before read/write dma_buf.name
Due to api additions in android12-5.10, this also adds more api symbols
to track:
Leaf changes summary: 33 artifacts changed
Changed leaf types summary: 0 leaf type changed
Removed/Changed/Added functions summary: 0 Removed, 0 Changed, 19 Added functions
Removed/Changed/Added variables summary: 0 Removed, 0 Changed, 14 Added variables
19 Added functions:
[A] 'function int __traceiter_android_vh_cpufreq_fast_switch(void*, cpufreq_policy*, unsigned int, unsigned int)'
[A] 'function int __traceiter_android_vh_cpufreq_resolve_freq(void*, cpufreq_policy*, unsigned int, unsigned int)'
[A] 'function int __traceiter_android_vh_cpufreq_target(void*, cpufreq_policy*, unsigned int, unsigned int)'
[A] 'function int __traceiter_android_vh_sched_stat_runtime_rt(void*, task_struct*, u64)'
[A] 'function int __traceiter_block_bio_complete(void*, request_queue*, bio*)'
[A] 'function int __traceiter_block_bio_queue(void*, request_queue*, bio*)'
[A] 'function int __traceiter_block_getrq(void*, request_queue*, bio*, int)'
[A] 'function int __traceiter_block_rq_complete(void*, request*, int, unsigned int)'
[A] 'function int __traceiter_block_rq_insert(void*, request_queue*, request*)'
[A] 'function int __traceiter_block_rq_issue(void*, request_queue*, request*)'
[A] 'function int __traceiter_block_rq_merge(void*, request_queue*, request*)'
[A] 'function int __traceiter_block_rq_requeue(void*, request_queue*, request*)'
[A] 'function int __traceiter_block_split(void*, request_queue*, bio*, unsigned int)'
[A] 'function int __traceiter_sched_stat_runtime(void*, task_struct*, u64, u64)'
[A] 'function int dev_change_flags(net_device*, unsigned int, netlink_ext_ack*)'
[A] 'function unsigned long int get_wchan(task_struct*)'
[A] 'function void* mempool_alloc_pages(gfp_t, void*)'
[A] 'function void mempool_free_pages(void*, void*)'
[A] 'function int mempool_resize(mempool_t*, int)'
14 Added variables:
[A] 'tracepoint __tracepoint_android_vh_cpufreq_fast_switch'
[A] 'tracepoint __tracepoint_android_vh_cpufreq_resolve_freq'
[A] 'tracepoint __tracepoint_android_vh_cpufreq_target'
[A] 'tracepoint __tracepoint_android_vh_sched_stat_runtime_rt'
[A] 'tracepoint __tracepoint_block_bio_complete'
[A] 'tracepoint __tracepoint_block_bio_queue'
[A] 'tracepoint __tracepoint_block_getrq'
[A] 'tracepoint __tracepoint_block_rq_complete'
[A] 'tracepoint __tracepoint_block_rq_insert'
[A] 'tracepoint __tracepoint_block_rq_issue'
[A] 'tracepoint __tracepoint_block_rq_merge'
[A] 'tracepoint __tracepoint_block_rq_requeue'
[A] 'tracepoint __tracepoint_block_split'
[A] 'tracepoint __tracepoint_sched_stat_runtime'
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I15990841323b2a040b41d8207da3532f3d0db795
Need to add additional symbol in execution path to ABI list.
Bug: 176077958
Change-Id: I676b4f9a016c825572d10de49b6062a90078f2f2
Signed-off-by: Shaleen Agrawal <shalagra@codeaurora.org>
Commit 94e5305a38 ("usb: ehci: handshake CMD_RUN instead of STS_HALT")
that got added into 5.10.79, added a new bitfield to the struct ehci_hcd
structure. This bitfield is only used by the ehci core, and does not
change the size of the structure overall at all, so comment it properly
so that the CRC of any ehci functions do not change, and update the .xml
file with the newly added bitfield:
Leaf changes summary: 1 artifact changed
Changed leaf types summary: 1 leaf type changed
Removed/Changed/Added functions summary: 0 Removed, 0 Changed, 0 Added function
Removed/Changed/Added variables summary: 0 Removed, 0 Changed, 0 Added variable
'struct ehci_hcd at ehci.h:111:1' changed:
type size hasn't changed
1 data member insertion:
'unsigned int is_aspeed', at offset 15 (in bits) at ehci.h:226:1
one impacted interface
Bug: 161946584
Fixes: 94e5305a38 ("usb: ehci: handshake CMD_RUN instead of STS_HALT")
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: Id5d3a9324d9a15f8baaf4aefedda786ed6d949c2