2a3dbbd7868c8ca03893ba14b0c73e317680f8ed

d0d8327
) into msm-5.10
* refs/heads/tmp-d0d8327: ANDROID: mm/memory_hotplug: fix check for proper subsection removal Revert "FROMLIST: dt-bindings: reserved-memory: Make DMA-BUF CMA heap DT-configurable" Revert "FROMLIST: dma-buf: heaps: add chunk heap to dmabuf heaps" ANDROID: gki_defconfig: Enable NL80211_TESTMODE UPSTREAM: dt-binding: usb: Include USB SSP rates in GenXxY UPSTREAM: dt-bindings: usb: Add generic "usb-phy" property UPSTREAM: dt-bindings: usb: Add "ulpi/serial/hsic" PHY types UPSTREAM: dt-bindings: usb: Convert generic USB properties to DT schemas UPSTREAM: dt-bindings: usb: usb-hcd: Detach generic USB controller properties UPSTREAM: usb: dwc3: gadget: Set speed only up to the max supported UPSTREAM: usb: dwc3: gadget: Track connected SSP rate and lane count UPSTREAM: usb: dwc3: gadget: Implement setting of SSP rate UPSTREAM: usb: dwc3: core: Check maximum_speed SSP genXxY UPSTREAM: usb: common: Parse for USB SSP genXxY FROMGIT: kasan: untag addresses for KFENCE BACKPORT: kasan: remove redundant config option FROMGIT: kasan: don't run tests when KASAN is not enabled FROMGIT: kasan: add a test for kmem_cache_alloc/free_bulk FROMGIT: kasan: add proper page allocator tests FROMGIT: kasan: fix bug detection via ksize for HW_TAGS mode FROMGIT: kasan: move _RET_IP_ to inline wrappers FROMGIT: kasan: fix memory corruption in kasan_bitops_tags test FROMGIT: kasan: adapt kmalloc_uaf2 test to HW_TAGS mode FROMGIT: kasan: add compiler barriers to KUNIT_EXPECT_KASAN_FAIL FROMGIT: kasan: rename CONFIG_TEST_KASAN_MODULE FROMGIT: kasan, arm64: allow using KUnit tests with HW_TAGS mode FROMGIT: kasan: add match-all tag tests FROMGIT: kasan: add macros to simplify checking test constraints FROMGIT: kasan: clean up comments in tests FROMGIT: kasan: clarify HW_TAGS impact on TBI FROMGIT: kasan: prefix global functions with kasan_ Linux 5.10.14 workqueue: Restrict affinity change to rescuer kthread: Extract KTHREAD_IS_PER_CPU x86/cpu: Add another Alder Lake CPU to the Intel family objtool: Don't fail the kernel build on fatal errors habanalabs: disable FW events on device removal habanalabs: fix backward compatibility of idle check habanalabs: zero pci counters packet before submit to FW drm/amd/display: Fixed corruptions on HPDRX link loss restore drm/amd/display: Use hardware sequencer functions for PG control drm/amd/display: Change function decide_dp_link_settings to avoid infinite looping drm/amd/display: Allow PSTATE chnage when no displays are enabled drm/amd/display: Update dram_clock_change_latency for DCN2.1 selftests/powerpc: Only test lwm/stmw on big endian platform/x86: thinkpad_acpi: Add P53/73 firmware to fan_quirk_table for dual fan control nvmet: set right status on error in id-ns handler nvme-pci: allow use of cmb on v1.4 controllers nvme-tcp: avoid request double completion for concurrent nvme_tcp_timeout nvme-rdma: avoid request double completion for concurrent nvme_rdma_timeout nvme: check the PRINFO bit before deciding the host buffer length udf: fix the problem that the disc content is not displayed i2c: tegra: Create i2c_writesl_vi() to use with VI I2C for filling TX FIFO ALSA: hda: Add Cometlake-R PCI ID scsi: ibmvfc: Set default timeout to avoid crash during migration mac80211: fix encryption key selection for 802.3 xmit mac80211: fix fast-rx encryption check mac80211: fix incorrect strlen of .write in debugfs objtool: Don't add empty symbols to the rbtree ALSA: hda: Add AlderLake-P PCI ID and HDMI codec vid ASoC: SOF: Intel: hda: Resume codec to do jack detection scsi: fnic: Fix memleak in vnic_dev_init_devcmd2 scsi: libfc: Avoid invoking response handler twice if ep is already completed scsi: scsi_transport_srp: Don't block target in failfast state x86: __always_inline __{rd,wr}msr() locking/lockdep: Avoid noinstr warning for DEBUG_LOCKDEP habanalabs: fix dma_addr passed to dma_mmap_coherent platform/x86: intel-vbtn: Support for tablet mode on Dell Inspiron 7352 platform/x86: touchscreen_dmi: Add swap-x-y quirk for Goodix touchscreen on Estar Beauty HD tablet tools/power/x86/intel-speed-select: Set higher of cpuinfo_max_freq or base_frequency tools/power/x86/intel-speed-select: Set scaling_max_freq to base_frequency phy: cpcap-usb: Fix warning for missing regulator_disable iommu/vt-d: Do not use flush-queue when caching-mode is on ARM: 9025/1: Kconfig: CPU_BIG_ENDIAN depends on !LD_IS_LLD Revert "x86/setup: don't remove E820_TYPE_RAM for pfn 0" arm64: Do not pass tagged addresses to __is_lm_address() arm64: Fix kernel address detection of __is_lm_address() arm64: dts: meson: Describe G12b GPU as coherent drm/panfrost: Support cache-coherent integrations iommu/io-pgtable-arm: Support coherency for Mali LPAE ibmvnic: Ensure that CRQ entry read are correctly ordered net: switchdev: don't set port_obj_info->handled true when -EOPNOTSUPP net: dsa: bcm_sf2: put device node before return mlxsw: spectrum_span: Do not overwrite policer configuration stmmac: intel: Configure EHL PSE0 GbE and PSE1 GbE to 32 bits DMA addressing net: octeontx2: Make sure the buffer is 128 byte aligned net: fec: put child node on error path net: stmmac: dwmac-intel-plat: remove config data on error net: dsa: microchip: Adjust reset release timing to match reference reset circuit ANDROID: usb: gadget: configfs: Move CONFIGFS_UEVENT #endif ANDROID: GKI: Enable KFENCE FROMGIT: KVM: arm64: Move __hyp_set_vectors out of .hyp.text FROMGIT: KVM: arm64: Stub EXPORT_SYMBOL for nVHE EL2 code FROMGIT: asm-generic: export: Stub EXPORT_SYMBOL with __DISABLE_EXPORTS FROMGIT: KVM: arm64: Correct spelling of DBGDIDR register FROMGIT: KVM: arm64: Use symbolic names for the PMU versions FROMGIT: KVM: arm64: Upgrade PMU support to ARMv8.4 FROMGIT: KVM: arm64: Limit the debug architecture to ARMv8.0 FROMGIT: KVM: arm64: Refactor filtering of ID registers FROMGIT: KVM: arm64: Add handling of AArch32 PCMEID{2,3} PMUv3 registers FROMGIT: KVM: arm64: Fix AArch32 PMUv3 capping FROMGIT: KVM: arm64: Fix missing RES1 in emulation of DBGBIDR FROMGIT: KVM: arm64: Make gen-hyprel endianness agnostic FROMGIT: KVM: arm64: Implement the TRNG hypervisor call FROMGIT: KVM: arm64: Mark the page dirty only if the fault is handled successfully FROMGIT: KVM: arm64: Filter out the case of only changing permissions from stage-2 map path FROMGIT: KVM: arm64: Adjust partial code of hyp stage-1 map and guest stage-2 map FROMGIT: KVM: arm64: Simplify __kvm_hyp_init HVC detection FROMGIT: KVM: arm64: Remove hyp_symbol_addr FROMGIT: KVM: arm64: Remove patching of fn pointers in hyp FROMGIT: KVM: arm64: Fix constant-pool users in hyp FROMGIT: KVM: arm64: Apply hyp relocations at runtime FROMGIT: KVM: arm64: Generate hyp relocation data FROMGIT: KVM: arm64: Add symbol at the beginning of each hyp section FROMGIT: KVM: arm64: Set up .hyp.rodata ELF section FROMGIT: KVM: arm64: Rename .idmap.text in hyp linker script FROMGIT: firmware: smccc: Add SMCCC TRNG function call IDs BACKPORT: arm64: Work around broken GCC 4.9 handling of "S" constraint FROMGIT: kasan: use error_report_end tracepoint FROMGIT: kfence: use error_report_end tracepoint FROMGIT: tracing: add error_report_end trace point FROMGIT: kfence: show access type in report FROMGIT: kfence: fix typo in test FROMGIT: kfence: add test suite FROMGIT: kfence: add missing copyright header to documentation FROMGIT: kfence, Documentation: add KFENCE documentation FROMGIT: kfence, kasan: make KFENCE compatible with KASAN FROMGIT: mm, kfence: insert KFENCE hooks for SLUB BACKPORT: mm, kfence: insert KFENCE hooks for SLAB FROMGIT: mm/slab: rerform init_on_free earlier FROMGIT: kfence: use pt_regs to generate stack trace on faults FROMGIT: kfence, arm64: add missing copyright and description header FROMGIT: arm64, kfence: enable KFENCE for ARM64 FROMGIT: kfence, x86: add missing copyright and description header FROMGIT: x86, kfence: enable KFENCE for x86 FROMGIT: kfence: add missing copyright and description headers FROMGIT: kfence: add option to use KFENCE without static keys FROMGIT: kfence: fix potential deadlock due to wake_up() FROMGIT: kfence: avoid stalling work queue task without allocations FROMGIT: kfence: Fix parameter description for kfence_object_start() BACKPORT: mm: add Kernel Electric-Fence infrastructure FROMLIST: fuse: Fix crediantials leak in passthrough read_iter UPSTREAM: userfaultfd: add user-mode only option to unprivileged_userfaultfd sysctl knob UPSTREAM: userfaultfd: add UFFD_USER_MODE_ONLY UPSTREAM: userfaultfd: use secure anon inodes for userfaultfd BACKPORT: selinux: teach SELinux about anonymous inodes UPSTREAM: fs: add LSM-supporting anon-inode interface UPSTREAM: security: add inode_init_security_anon() LSM hook UPSTREAM: cfg80211: Add support to calculate and report 4096-QAM HE rates UPSTREAM: cfg80211: Add support to configure SAE PWE value to drivers UPSTREAM: usb: dwc3: fix clock issue during resume in OTG mode Conflicts: Documentation/devicetree/bindings Documentation/devicetree/bindings/usb/usb-hcd.yaml drivers/dma-buf/heaps/Kconfig drivers/dma-buf/heaps/Makefile Change-Id: I3726725889da6ae622c1e319388831e7f99d14c5 Signed-off-by: Ivaylo Georgiev <irgeorgiev@codeaurora.org>
Merge
33dc9614dc
("Merge tag 'ktest-v5.10-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-ktest") into android-mainline
How do I submit patches to Android Common Kernels
-
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.
- Do not send patches upstream that contain only symbol exports. To be considered for upstream Linux,
additions of
-
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:
, orANDROID:
. - 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
- tag the patch subject with
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 ofUPSTREAM:
.- use the same tags as
UPSTREAM:
- add comments about the changes under the
(cherry picked from commit ...)
line - Example:
- use the same tags as
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 uselinux-next
for example). - if changes were required, use
BACKPORT: FROMGIT:
- Example:
- if the commit message in the maintainer tree is
- tag the patch subject with
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:
- tag the patch subject with
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:
- tag the patch subject with
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)
- tag the patch subject with
Description
Languages
C
97.8%
Assembly
1.2%
Shell
0.3%
Makefile
0.3%
Python
0.2%
Other
0.1%