Greg Kroah-Hartman 3c79e1658f Merge branch 'android12-5.10' 'android12-5.10-lts'
Sync up with android12-5.10 for the following commits:

fbf19aeacc gki_config: Disable CONFIG_DEBUG_STACK_USAGE
b44e46bb04 FROMGIT: mm: improve mprotect(R|W) efficiency on pages referenced once
54e7412d4f FROMGIT: mm: slub: move sysfs slab alloc/free interfaces to debugfs
45d0c6c5aa ANDROID: gki - CONFIG_NET_SCH_FQ=y
79f44ef795 ANDROID: GKI: Kconfig.gki: Add GKI_HIDDEN_ETHERNET_CONFIGS
79258e28eb FROMLIST: media: Kconfig: Fix DVB_CORE can't be selected as module
0451e8af91 ANDROID: Update ABI and symbol list
1ac622485e Revert "net: usb: cdc_ncm: don't spew notifications"
9e08e97ec6 Merge 5.10.43 into android12-5.10
b9ae3287e3 ANDROID: Fips 140: move fips symbols entirely in own list
3871aa16fd ANDROID: core of xt_IDLETIMER send_nl_msg support
b4355a880a ANDROID: start to re-add xt_IDLETIMER send_nl_msg support
a11dacedd6 ANDROID: add fips140.ko symbols to module ABI
868be244bb ANDROID: inject correct HMAC digest into fips140.ko at build time
6be141eb36 ANDROID: crypto: fips140 - perform load time integrity check
0672a69424 FROMLIST: crypto: shash - stop comparing function pointers to avoid breaking CFI
254da9ba36 ANDROID: arm64: module: preserve RELA sections for FIPS140 integrity selfcheck
15f0fc91e1 ANDROID: arm64: simd: omit capability check in may_use_simd()
6772dcc141 ANDROID: kbuild: lto: permit the use of .a archives in LTO modules
ddea30c684 ANDROID: arm64: only permit certain alternatives in the FIPS140 module
9c556792b7 ANDROID: crypto: lib/aes - add vendor hooks for AES library routines
7a689ebc67 ANDROID: crypto: lib/sha256 - add vendor hook for sha256() routine
4190dbd6ad UPSTREAM: KVM: arm64: Mark the host stage-2 memory pools static
6288fa47f4 UPSTREAM: arm64: mm: don't use CON and BLK mapping if KFENCE is enabled
e44e1f38be UPSTREAM: x86/build: Fix location of '-plugin-opt=' flags
5df654d642 UPSTREAM: binder: Return EFAULT if we fail BINDER_ENABLE_ONEWAY_SPAM_DETECTION
2aee873ab2 UPSTREAM: usb: dwc3: imx8mp: fix error return code in dwc3_imx8mp_probe()
ff1eb3fcd0 UPSTREAM: usb: dwc3: core: Add missing GHWPARAMS9 doc
52ce94e8bf UPSTREAM: KVM: arm64: Fix error return code in init_hyp_mode()
67d005b0ac UPSTREAM: KVM: arm64: Support PREL/PLT relocs in EL2 code
c04f2026cf UPSTREAM: iommu/mediatek: Always enable the clk on resume
c46f002566 UPSTREAM: mm: page_alloc: ignore init_on_free=1 for debug_pagealloc=1
282faf9977 UPSTREAM: dt-bindings: iommu: mediatek: update mediatek,iommu.yaml references
db8e491a1b UPSTREAM: media: mtk: fix mtk-smi dependency
def7a8e7d7 UPSTREAM: software node: Allow node addition to already existing device
d0db984f3e UPSTREAM: coresight: etm-perf: Fix define build issue when built as module
3ddee7b2ee UPSTREAM: kbuild: lto: Merge module sections if and only if CONFIG_LTO_CLANG is enabled
94cf2b2d1d UPSTREAM: kunit: tool: Disable PAGE_POISONING under --alltests
a1cc08d515 UPSTREAM: gpiolib: Fix error return code in gpiolib_dev_init()
5f7ec0f4c3 UPSTREAM: memblock: fix section mismatch warning
96fd9e07c0 UPSTREAM: software node: Fix device_add_software_node()
4378c305d9 UPSTREAM: gpio: fix NULL-deref-on-deregistration regression
2fc5237198 BACKPORT: kbuild: fix UNUSED_KSYMS_WHITELIST for Clang LTO
f107d073ce UPSTREAM: kbuild: lto: add _mcount to list of used symbols
9bf26f0ace UPSTREAM: arm64: Add missing ISB after invalidating TLB in enter_vhe
b1843022a9 UPSTREAM: kbuild: Move .thinlto-cache removal to 'make clean'
4150d73816 UPSTREAM: parisc: select FTRACE_MCOUNT_USE_PATCHABLE_FUNCTION_ENTRY
e11b323bca UPSTREAM: kbuild: prevent CC_FLAGS_LTO self-bloating on recursive rebuilds
631b4dba04 UPSTREAM: regulator: qcom-rpmh: fix build after QCOM_COMMAND_DB is tristate
4e0d16b049 UPSTREAM: dma-buf: cma_heap: Include linux/vmalloc.h to fix build failures on MIPS
4fef0d39b8 UPSTREAM: signal/parisc: Remove parisc specific definition of __ARCH_UAPI_SA_FLAGS
259e0a28b9 UPSTREAM: nl80211: fix kernel-doc warning in the new SAE attribute
8cc6bf3aaf ANDROID: abi_gki_aarch64_qcom: Add cpuidle_psci and gic_resume symbols
5fd82d3115 ANDROID: gic-v3: Export gic_resume() for vendor GIC enhancements
fb49b843af ANDROID: cpuidle-psci: Add vendor hook for cpuidle psci enter and exit
6227516eed FROMGIT: usb: typec: mux: Fix copy-paste mistake in typec_mux_match
623c68fc85 FROMGIT: usb: typec: ucsi: Clear PPM capability data in ucsi_init() error path
a685bf3fce ANDROID: export cpuset_cpus_allowed()for GKI purpose.
12be942aad ANDROID: GKI: Update abi_gki_aarch64_qcom list for shmem reclaim
951358a824 Linux 5.10.43
d17d47da59 neighbour: allow NUD_NOARP entries to be forced GCed
6b53db8c4c xen-netback: take a reference to the RX task thread
316de9a88c netfilter: nf_tables: missing error reporting for not selected expressions
eddf2d9f76 i2c: qcom-geni: Suspend and resume the bus during SYSTEM_SLEEP_PM ops
f20eef4d06 lib/lz4: explicitly support in-place decompression
334c59d58d x86/kvm: Disable all PV features on crash
3b0becf8b1 x86/kvm: Disable kvmclock on all CPUs on shutdown
38b858da1c x86/kvm: Teardown PV features on boot CPU as well
b327c97747 KVM: arm64: Fix debug register indexing
b3ee3f50ab KVM: SVM: Truncate GPR value for DR and CR accesses in !64-bit mode
fe910d20e2 btrfs: fix unmountable seed device after fstrim
05e41f6f1c drm/msm/dpu: always use mdp device to scale bandwidth
2eb4ec9c2c mm, hugetlb: fix simple resv_huge_pages underflow on UFFDIO_COPY
baa6763123 btrfs: fix deadlock when cloning inline extents and low on available space
0df50d47d1 btrfs: abort in rename_exchange if we fail to insert the second ref
48568f3944 btrfs: fixup error handling in fixup_inode_link_counts
466d83fdbb btrfs: return errors from btrfs_del_csums in cleanup_ref_head
5a89982fa2 btrfs: fix error handling in btrfs_del_csums
b547a16b24 btrfs: mark ordered extent and inode with error if we fail to finish
5e5e63bacb powerpc/kprobes: Fix validation of prefixed instructions across page boundary
42f75a4381 x86/apic: Mark _all_ legacy interrupts when IO/APIC is missing
3a6b69221f drm/amdgpu: make sure we unpin the UVD BO
58da0b509e drm/amdgpu: Don't query CE and UE errors
48ee0db61c nfc: fix NULL ptr dereference in llcp_sock_getname() after failed connect
445477e927 x86/sev: Check SME/SEV support in CPUID first
942c5864de x86/cpufeatures: Force disable X86_FEATURE_ENQCMD and remove update_pasid()
68dcd32b32 mm/page_alloc: fix counting of free pages after take off from buddy
5f2e1e818e mm/debug_vm_pgtable: fix alignment for pmd/pud_advanced_tests()
c8d5faee46 ocfs2: fix data corruption by fallocate
7178be006d pid: take a reference when initializing `cad_pid`
a4ed12f5ed usb: dwc2: Fix build in periphal-only mode
3b713aafa7 ext4: fix accessing uninit percpu counter variable with fast_commit
2050c6e5b1 ext4: fix memory leak in ext4_mb_init_backend on error path.
fb86acc623 ext4: fix fast commit alignment issues
d3b668b96a ext4: fix bug on in ext4_es_cache_extent as ext4_split_extent_at failed
01d349a481 ext4: fix memory leak in ext4_fill_super
b2057d138f ARM: dts: imx6q-dhcom: Add PU,VDD1P1,VDD2P5 regulators
623603e255 ARM: dts: imx6dl-yapp4: Fix RGMII connection to QCA8334 switch
846848c052 ALSA: hda: update the power_state during the direct-complete
cfbb57fcb1 ALSA: hda: Fix for mute key LED for HP Pavilion 15-CK0xx
029c06103e ALSA: timer: Fix master timer notification
d11e5b96ef gfs2: fix scheduling while atomic bug in glocks
127f25be2f HID: multitouch: require Finger field to mark Win8 reports as MT
b5d013c4c7 HID: magicmouse: fix NULL-deref on disconnect
a5e554f789 HID: i2c-hid: Skip ELAN power-on command after reset
46403c1f80 net: caif: fix memory leak in cfusbl_device_notify
af2806345a net: caif: fix memory leak in caif_device_notify
d6db727457 net: caif: add proper error handling
dac53568c6 net: caif: added cfserl_release function
df3b45f6d1 wireguard: allowedips: free empty intermediate nodes when removing single node
c5155c741a wireguard: allowedips: allocate nodes in kmem_cache
70a9a71ab3 wireguard: allowedips: remove nodes in O(1)
42a667715b wireguard: allowedips: initialize list head in selftest
842c21d6a0 wireguard: selftests: make sure rp_filter is disabled on vethc
b8d72ac1f2 wireguard: selftests: remove old conntrack kconfig value
f74da2c254 wireguard: use synchronize_net rather than synchronize_rcu
d4275889ac wireguard: peer: allocate in kmem_cache
d64fdbaec0 wireguard: do not use -O3
74caf718cc Bluetooth: use correct lock to prevent UAF of hdev object
3795007c8d Bluetooth: fix the erroneous flush_work() order
7fa8ee00b5 drm/amdgpu/jpeg3: add cancel_delayed_work_sync before power gate
c129465480 drm/amdgpu/jpeg2.5: add cancel_delayed_work_sync before power gate
58f4d45d8d drm/amdgpu/vcn3: add cancel_delayed_work_sync before power gate
ec72cb50c1 io_uring: use better types for cflags
0b2a990e5d io_uring: fix link timeout refs
3c23e23c7a riscv: vdso: fix and clean-up Makefile
282c9eeda6 serial: stm32: fix threaded interrupt handling
fdf1e5eec3 tipc: fix unique bearer names sanity check
e31ae45ed1 tipc: add extack messages for bearer/media failure
0d83aec6e0 bus: ti-sysc: Fix flakey idling of uarts and stop using swsup_sidle_act
5592731e13 ARM: dts: imx: emcon-avari: Fix nxp,pca8574 #gpio-cells
67ae12a57b ARM: dts: imx7d-pico: Fix the 'tuning-step' property
a776ea1eca ARM: dts: imx7d-meerkat96: Fix the 'tuning-step' property
8aa4700de5 arm64: dts: freescale: sl28: var4: fix RGMII clock and voltage
4f323ce68e arm64: dts: zii-ultra: fix 12V_MAIN voltage
a3716c1933 arm64: dts: ls1028a: fix memory node
d551b8e857 bus: ti-sysc: Fix am335x resume hang for usb otg module
426ba49ec5 optee: use export_uuid() to copy client UUID
d866a6e61a arm64: dts: ti: j7200-main: Mark Main NAVSS as dma-coherent
a1bf16616d ixgbe: add correct exception tracing for XDP
e369db6cde ixgbe: optimize for XDP_REDIRECT in xsk path
ad505705bb ice: add correct exception tracing for XDP
9e1eb42884 ice: optimize for XDP_REDIRECT in xsk path
7bd82b73d5 ice: simplify ice_run_xdp
274d6eeaaf i40e: add correct exception tracing for XDP
fbae1a97ce i40e: optimize for XDP_REDIRECT in xsk path
1958a31c03 cxgb4: avoid link re-train during TC-MQPRIO configuration
21d494d444 i2c: qcom-geni: Add shutdown callback for i2c
c4b796f20c ice: Allow all LLDP packets from PF to Tx
68db78345f ice: report supported and advertised autoneg using PHY capabilities
8726b9e81b ice: handle the VF VSI rebuild failure
a79883ce1e ice: Fix VFR issues for AVF drivers that expect ATQLEN cleared
b94580b055 ice: Fix allowing VF to request more/less queues via virtchnl
0987023582 ipv6: Fix KASAN: slab-out-of-bounds Read in fib6_nh_flush_exceptions
1dcf3d435b cxgb4: fix regression with HASH tc prio value update
8067da9049 ixgbevf: add correct exception tracing for XDP
e0b61cda5f igb: add correct exception tracing for XDP
e513d88962 ieee802154: fix error return code in ieee802154_llsec_getparams()
2a0ba0125c ieee802154: fix error return code in ieee802154_add_iface()
ff5039ec75 bpf, lockdown, audit: Fix buggy SELinux lockdown permission checks
cdf3f6db1a bpf: Simplify cases in bpf_base_func_proto
4cf297ef59 drm/i915/selftests: Fix return value check in live_breadcrumbs_smoketest()
8d614eebc0 netfilter: nfnetlink_cthelper: hit EBUSY on updates if size mismatches
5f3429c05e netfilter: nft_ct: skip expectations for confirmed conntrack
c440cd0807 nvmet: fix freeing unallocated p2pmem
2a8cda3867 net/mlx5: DR, Create multi-destination flow table with level less than 64
c8972cf28e net/mlx5e: Check for needed capability for cvlan matching
7307003375 net/mlx5: Check firmware sync reset requested is set before trying to abort it
c1ea8c0e71 net/mlx5e: Fix incompatible casting
f1d4184f12 net/tls: Fix use-after-free after the TLS device goes down and up
874ece252e net/tls: Replace TLS_RX_SYNC_RUNNING with RCU
a5de17bb91 net: sock: fix in-kernel mark setting
09fdb6747b net: dsa: tag_8021q: fix the VLAN IDs used for encoding sub-VLANs
091283e3d5 perf probe: Fix NULL pointer dereference in convert_variable_location()
100c872c75 ACPICA: Clean up context mutex during object deletion
df7c913f90 nvme-rdma: fix in-casule data send for chained sgls
b198f77a36 mptcp: always parse mptcp options for MPC reqsk
be0d850726 net/sched: act_ct: Fix ct template allocation for zone 0
f07c548314 net/sched: act_ct: Offload connections with commit action
4f00f9c169 devlink: Correct VIRTUAL port to not have phys_port attributes
56c45ab00a HID: i2c-hid: fix format string mismatch
744db828d6 HID: pidff: fix error return code in hid_pidff_init()
39b92726a3 HID: logitech-hidpp: initialize level variable
4b1aba6536 ipvs: ignore IP_VS_SVC_F_HASHED flag when adding service
46ae882bb1 vfio/platform: fix module_put call in error flow
2adb0313b1 samples: vfio-mdev: fix error handing in mdpy_fb_probe()
c25454a4f4 vfio/pci: zap_vma_ptes() needs MMU
c303db1211 vfio/pci: Fix error return code in vfio_ecap_init()
8d27efbb0e efi: cper: fix snprintf() use in cper_dimm_err_location()
951f8ef71d efi/libstub: prevent read overflow in find_file_option()
b828601c75 efi: Allow EFI_MEMORY_XP and EFI_MEMORY_RO both to be cleared
5148066edb efi/fdt: fix panic when no valid fdt found
39a909a972 netfilter: conntrack: unregister ipv4 sockopts on error unwind
46e6506179 hwmon: (pmbus/isl68137) remove READ_TEMPERATURE_3 for RAA228228
0d0df2e532 hwmon: (dell-smm-hwmon) Fix index values
70df000fb8 net: usb: cdc_ncm: don't spew notifications
1d62b7ac83 btrfs: tree-checker: do not error out if extent ref hash doesn't match

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: Iec4213b0df8a7d7e04c480e99c62e197f4f58ef9
2021-06-16 11:58:00 +02:00
2021-06-12 14:48:14 +02:00
2021-06-12 14:48:14 +02:00
2021-06-12 14:48:14 +02:00
2021-06-12 14:48:14 +02:00
2021-06-12 14:48:14 +02:00
2021-06-12 14:48:14 +02:00
2021-05-20 15:35:25 +02:00
2021-05-20 15:35:25 +02:00
2021-06-12 14:48:14 +02:00

How do I submit patches to Android Common Kernels

  1. BEST: Make all of your changes to upstream Linux. If appropriate, backport to the stable releases. These patches will be merged automatically in the corresponding common kernels. If the patch is already in upstream Linux, post a backport of the patch that conforms to the patch requirements below.

    • Do not send patches upstream that contain only symbol exports. To be considered for upstream Linux, additions of EXPORT_SYMBOL_GPL() require an in-tree modular driver that uses the symbol -- so include the new driver or changes to an existing driver in the same patchset as the export.
    • When sending patches upstream, the commit message must contain a clear case for why the patch is needed and beneficial to the community. Enabling out-of-tree drivers or functionality is not not a persuasive case.
  2. LESS GOOD: Develop your patches out-of-tree (from an upstream Linux point-of-view). Unless these are fixing an Android-specific bug, these are very unlikely to be accepted unless they have been coordinated with kernel-team@android.com. If you want to proceed, post a patch that conforms to the patch requirements below.

Common Kernel patch requirements

  • All patches must conform to the Linux kernel coding standards and pass script/checkpatch.pl
  • Patches shall not break gki_defconfig or allmodconfig builds for arm, arm64, x86, x86_64 architectures (see https://source.android.com/setup/build/building-kernels)
  • If the patch is not merged from an upstream branch, the subject must be tagged with the type of patch: UPSTREAM:, BACKPORT:, FROMGIT:, FROMLIST:, or ANDROID:.
  • All patches must have a Change-Id: tag (see https://gerrit-review.googlesource.com/Documentation/user-changeid.html)
  • If an Android bug has been assigned, there must be a Bug: tag.
  • All patches must have a Signed-off-by: tag by the author and the submitter

Additional requirements are listed below based on patch type

Requirements for backports from mainline Linux: UPSTREAM:, BACKPORT:

  • If the patch is a cherry-pick from Linux mainline with no changes at all
    • tag the patch subject with UPSTREAM:.
    • add upstream commit information with a (cherry picked from commit ...) line
    • Example:
      • if the upstream commit message is
        important patch from upstream

        This is the detailed description of the important patch

        Signed-off-by: Fred Jones <fred.jones@foo.org>
  • then Joe Smith would upload the patch for the common kernel as
        UPSTREAM: important patch from upstream

        This is the detailed description of the important patch

        Signed-off-by: Fred Jones <fred.jones@foo.org>

        Bug: 135791357
        Change-Id: I4caaaa566ea080fa148c5e768bb1a0b6f7201c01
        (cherry picked from commit c31e73121f4c1ec41143423ac6ce3ce6dafdcec1)
        Signed-off-by: Joe Smith <joe.smith@foo.org>
  • If the patch requires any changes from the upstream version, tag the patch with BACKPORT: instead of UPSTREAM:.
    • use the same tags as UPSTREAM:
    • add comments about the changes under the (cherry picked from commit ...) line
    • Example:
        BACKPORT: important patch from upstream

        This is the detailed description of the important patch

        Signed-off-by: Fred Jones <fred.jones@foo.org>

        Bug: 135791357
        Change-Id: I4caaaa566ea080fa148c5e768bb1a0b6f7201c01
        (cherry picked from commit c31e73121f4c1ec41143423ac6ce3ce6dafdcec1)
        [joe: Resolved minor conflict in drivers/foo/bar.c ]
        Signed-off-by: Joe Smith <joe.smith@foo.org>

Requirements for other backports: FROMGIT:, FROMLIST:,

  • If the patch has been merged into an upstream maintainer tree, but has not yet been merged into Linux mainline
    • tag the patch subject with FROMGIT:
    • add info on where the patch came from as (cherry picked from commit <sha1> <repo> <branch>). This must be a stable maintainer branch (not rebased, so don't use linux-next for example).
    • if changes were required, use BACKPORT: FROMGIT:
    • Example:
      • if the commit message in the maintainer tree is
        important patch from upstream

        This is the detailed description of the important patch

        Signed-off-by: Fred Jones <fred.jones@foo.org>
  • then Joe Smith would upload the patch for the common kernel as
        FROMGIT: important patch from upstream

        This is the detailed description of the important patch

        Signed-off-by: Fred Jones <fred.jones@foo.org>

        Bug: 135791357
        (cherry picked from commit 878a2fd9de10b03d11d2f622250285c7e63deace
         https://git.kernel.org/pub/scm/linux/kernel/git/foo/bar.git test-branch)
        Change-Id: I4caaaa566ea080fa148c5e768bb1a0b6f7201c01
        Signed-off-by: Joe Smith <joe.smith@foo.org>
  • If the patch has been submitted to LKML, but not accepted into any maintainer tree
    • tag the patch subject with FROMLIST:
    • add a Link: tag with a link to the submittal on lore.kernel.org
    • add a Bug: tag with the Android bug (required for patches not accepted into a maintainer tree)
    • if changes were required, use BACKPORT: FROMLIST:
    • Example:
        FROMLIST: important patch from upstream

        This is the detailed description of the important patch

        Signed-off-by: Fred Jones <fred.jones@foo.org>

        Bug: 135791357
        Link: https://lore.kernel.org/lkml/20190619171517.GA17557@someone.com/
        Change-Id: I4caaaa566ea080fa148c5e768bb1a0b6f7201c01
        Signed-off-by: Joe Smith <joe.smith@foo.org>

Requirements for Android-specific patches: ANDROID:

  • If the patch is fixing a bug to Android-specific code
    • tag the patch subject with ANDROID:
    • add a Fixes: tag that cites the patch with the bug
    • Example:
        ANDROID: fix android-specific bug in foobar.c

        This is the detailed description of the important fix

        Fixes: 1234abcd2468 ("foobar: add cool feature")
        Change-Id: I4caaaa566ea080fa148c5e768bb1a0b6f7201c01
        Signed-off-by: Joe Smith <joe.smith@foo.org>
  • If the patch is a new feature
    • tag the patch subject with ANDROID:
    • add a Bug: tag with the Android bug (required for android-specific features)
Description
No description provided
Readme 7.9 GiB
Languages
C 97.7%
Assembly 1.6%
Makefile 0.3%
Perl 0.1%