mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 18:41:58 +09:00
f741d67cedeef01ea679cef508378522ba636c9a
Changes in 6.1.81
netfilter: nf_tables: disallow timeout for anonymous sets
drm/meson: fix unbind path if HDMI fails to bind
drm/meson: Don't remove bridges which are created by other drivers
scsi: core: Add struct for args to execution functions
scsi: sd: usb_storage: uas: Access media prior to querying device properties
af_unix: Fix task hung while purging oob_skb in GC.
of: overlay: Reorder struct fragment fields kerneldoc
net: restore alpha order to Ethernet devices in config
mlxsw: spectrum_acl_tcam: Make fini symmetric to init
mlxsw: spectrum_acl_tcam: Add missing mutex_destroy()
PCI: layerscape: Add the endpoint linkup notifier support
PCI: layerscape: Add workaround for lost link capabilities during reset
ARM: dts: imx: Adjust dma-apbh node name
ARM: dts: imx7s: Drop dma-apb interrupt-names
usb: gadget: Properly configure the device for remote wakeup
Input: xpad - add constants for GIP interface numbers
iommu/sprd: Release dma buffer to avoid memory leak
iommu/arm-smmu-v3: Acknowledge pri/event queue overflow if any
fs/ntfs3: Fix a possible null-pointer dereference in ni_clear()
clk: tegra20: fix gcc-7 constant overflow warning
fs/ntfs3: Add length check in indx_get_root
fs/ntfs3: Fix NULL dereference in ni_write_inode
fs/ntfs3: Fix NULL pointer dereference in 'ni_write_inode'
iommu/arm-smmu-qcom: Limit the SMR groups to 128
RDMA/core: Fix multiple -Warray-bounds warnings
mm: huge_memory: don't force huge page alignment on 32 bit
mtd: spinand: gigadevice: Fix the get ecc status issue
netlink: Fix kernel-infoleak-after-free in __skb_datagram_iter
netlink: add nla be16/32 types to minlen array
net: ip_tunnel: prevent perpetual headroom growth
net: mctp: take ownership of skb in mctp_local_output
tun: Fix xdp_rxq_info's queue_index when detaching
cpufreq: intel_pstate: fix pstate limits enforcement for adjust_perf call back
net: veth: clear GRO when clearing XDP even when down
ipv6: fix potential "struct net" leak in inet6_rtm_getaddr()
lan78xx: enable auto speed configuration for LAN7850 if no EEPROM is detected
veth: try harder when allocating queue memory
net: usb: dm9601: fix wrong return value in dm9601_mdio_read
net: lan78xx: fix "softirq work is pending" error
uapi: in6: replace temporary label with rfc9486
stmmac: Clear variable when destroying workqueue
Bluetooth: hci_sync: Check the correct flag before starting a scan
Bluetooth: Avoid potential use-after-free in hci_error_reset
Bluetooth: hci_sync: Fix accept_list when attempting to suspend
Bluetooth: hci_event: Fix wrongly recorded wakeup BD_ADDR
Bluetooth: hci_event: Fix handling of HCI_EV_IO_CAPA_REQUEST
Bluetooth: Enforce validation on max value of connection interval
Bluetooth: qca: Fix wrong event type for patch config command
Bluetooth: hci_qca: mark OF related data as maybe unused
Bluetooth: hci_qca: Add support for QTI Bluetooth chip wcn6855
Bluetooth: btqca: use le32_to_cpu for ver.soc_id
Bluetooth: btqca: Add WCN3988 support
Bluetooth: qca: use switch case for soc type behavior
Bluetooth: qca: add support for WCN7850
Bluetooth: hci_qca: Set BDA quirk bit if fwnode exists in DT
netfilter: nf_tables: allow NFPROTO_INET in nft_(match/target)_validate()
netfilter: let reset rules clean out conntrack entries
netfilter: bridge: confirm multicast packets before passing them up the stack
rtnetlink: fix error logic of IFLA_BRIDGE_FLAGS writing back
igb: extend PTP timestamp adjustments to i211
net: hsr: Use correct offset for HSR TLV values in supervisory HSR frames
tls: decrement decrypt_pending if no async completion will be called
tls: fix peeking with sync+async decryption
efi/capsule-loader: fix incorrect allocation size
power: supply: bq27xxx-i2c: Do not free non existing IRQ
ALSA: Drop leftover snd-rtctimer stuff from Makefile
drm/tegra: Remove existing framebuffer only if we support display
fbcon: always restore the old font data in fbcon_do_set_font()
afs: Fix endless loop in directory parsing
riscv: Sparse-Memory/vmemmap out-of-bounds fix
of: property: fw_devlink: Fix stupid bug in remote-endpoint parsing
tomoyo: fix UAF write bug in tomoyo_write_control()
ALSA: firewire-lib: fix to check cycle continuity
ALSA: hda/realtek: Enable Mute LED on HP 840 G8 (MB 8AB8)
ALSA: hda/realtek: fix mute/micmute LED For HP mt440
landlock: Fix asymmetric private inodes referring
gtp: fix use-after-free and null-ptr-deref in gtp_newlink()
wifi: nl80211: reject iftype change with mesh ID change
btrfs: fix double free of anonymous device after snapshot creation failure
btrfs: dev-replace: properly validate device names
btrfs: send: don't issue unnecessary zero writes for trailing hole
Revert "drm/amd/pm: resolve reboot exception for si oland"
drm/buddy: fix range bias
dmaengine: fsl-qdma: fix SoC may hang on 16 byte unaligned read
crypto: arm64/neonbs - fix out-of-bounds access on short input
dmaengine: ptdma: use consistent DMA masks
dmaengine: fsl-qdma: init irq after reg initialization
mmc: mmci: stm32: fix DMA API overlapping mappings warning
mmc: core: Fix eMMC initialization with 1-bit bus connection
mmc: sdhci-xenon: add timeout for PHY init complete
mmc: sdhci-xenon: fix PHY init clock stability
riscv: add CALLER_ADDRx support
efivarfs: Request at most 512 bytes for variable names
pmdomain: qcom: rpmhpd: Fix enabled_corner aggregation
x86/e820: Don't reserve SETUP_RNG_SEED in e820
x86/cpu/intel: Detect TME keyid bits before setting MTRR mask registers
mptcp: fix data races on local_id
mptcp: fix data races on remote_id
mptcp: fix duplicate subflow creation
mptcp: continue marking the first subflow as UNCONNECTED
mptcp: map v4 address to v6 when destroying subflow
mptcp: push at DSS boundaries
selftests: mptcp: join: add ss mptcp support check
mptcp: fix snd_wnd initialization for passive socket
mptcp: fix double-free on socket dismantle
mptcp: fix possible deadlock in subflow diag
RDMA/core: Refactor rdma_bind_addr
RDMA/core: Update CMA destination address on rdma_resolve_addr
efi: libstub: use EFI_LOADER_CODE region when moving the kernel in memory
x86/boot/compressed: Rename efi_thunk_64.S to efi-mixed.S
x86/boot/compressed: Move 32-bit entrypoint code into .text section
x86/boot/compressed: Move bootargs parsing out of 32-bit startup code
x86/boot/compressed: Move efi32_pe_entry into .text section
x86/boot/compressed: Move efi32_entry out of head_64.S
x86/boot/compressed: Move efi32_pe_entry() out of head_64.S
x86/boot/compressed, efi: Merge multiple definitions of image_offset into one
x86/boot/compressed: Simplify IDT/GDT preserve/restore in the EFI thunk
x86/boot/compressed: Avoid touching ECX in startup32_set_idt_entry()
x86/boot/compressed: Pull global variable reference into startup32_load_idt()
x86/boot/compressed: Move startup32_load_idt() into .text section
x86/boot/compressed: Move startup32_load_idt() out of head_64.S
x86/boot/compressed: Move startup32_check_sev_cbit() into .text
x86/boot/compressed: Move startup32_check_sev_cbit() out of head_64.S
x86/boot/compressed: Adhere to calling convention in get_sev_encryption_bit()
x86/boot/compressed: Only build mem_encrypt.S if AMD_MEM_ENCRYPT=y
efi: verify that variable services are supported
x86/efi: Make the deprecated EFI handover protocol optional
x86/boot: Robustify calling startup_{32,64}() from the decompressor code
x86/efistub: Branch straight to kernel entry point from C code
x86/decompressor: Store boot_params pointer in callee save register
x86/decompressor: Assign paging related global variables earlier
x86/decompressor: Call trampoline as a normal function
x86/decompressor: Use standard calling convention for trampoline
x86/decompressor: Avoid the need for a stack in the 32-bit trampoline
x86/decompressor: Call trampoline directly from C code
x86/decompressor: Only call the trampoline when changing paging levels
x86/decompressor: Pass pgtable address to trampoline directly
x86/decompressor: Merge trampoline cleanup with switching code
x86/decompressor: Move global symbol references to C code
decompress: Use 8 byte alignment
drm/amd/display: Increase frame warning limit with KASAN or KCSAN in dml
NFS: Fix data corruption caused by congestion.
NFSD: Simplify READ_PLUS
NFSD: Remove redundant assignment to variable host_err
nfsd: ignore requests to disable unsupported versions
nfsd: move nfserrno() to vfs.c
nfsd: allow disabling NFSv2 at compile time
exportfs: use pr_debug for unreachable debug statements
NFSD: Flesh out a documenting comment for filecache.c
NFSD: Clean up nfs4_preprocess_stateid_op() call sites
NFSD: Trace stateids returned via DELEGRETURN
NFSD: Trace delegation revocations
NFSD: Use const pointers as parameters to fh_ helpers
NFSD: Update file_hashtbl() helpers
NFSD: Clean up nfsd4_init_file()
NFSD: Add a nfsd4_file_hash_remove() helper
NFSD: Clean up find_or_add_file()
NFSD: Refactor find_file()
NFSD: Use rhashtable for managing nfs4_file objects
NFSD: Fix licensing header in filecache.c
filelock: add a new locks_inode_context accessor function
lockd: use locks_inode_context helper
nfsd: use locks_inode_context helper
nfsd: fix up the filecache laundrette scheduling
NFSD: Use struct_size() helper in alloc_session()
lockd: set missing fl_flags field when retrieving args
lockd: ensure we use the correct file descriptor when unlocking
lockd: fix file selection in nlmsvc_cancel_blocked
trace: Relocate event helper files
NFSD: refactoring courtesy_client_reaper to a generic low memory shrinker
NFSD: add support for sending CB_RECALL_ANY
NFSD: add delegation reaper to react to low memory condition
NFSD: add CB_RECALL_ANY tracepoints
NFSD: Use only RQ_DROPME to signal the need to drop a reply
NFSD: Avoid clashing function prototypes
NFSD: Use set_bit(RQ_DROPME)
NFSD: register/unregister of nfsd-client shrinker at nfsd startup/shutdown time
NFSD: replace delayed_work with work_struct for nfsd_client_shrinker
nfsd: don't destroy global nfs4_file table in per-net shutdown
arm64: efi: Limit allocations to 48-bit addressable physical region
efi: efivars: prevent double registration
x86/efistub: Simplify and clean up handover entry code
x86/decompressor: Avoid magic offsets for EFI handover entrypoint
x86/efistub: Clear BSS in EFI handover protocol entrypoint
efi/libstub: Add memory attribute protocol definitions
efi/libstub: Add limit argument to efi_random_alloc()
x86/efistub: Perform 4/5 level paging switch from the stub
x86/decompressor: Factor out kernel decompression and relocation
x86/efistub: Prefer EFI memory attributes protocol over DXE services
x86/efistub: Perform SNP feature test while running in the firmware
x86/efistub: Avoid legacy decompressor when doing EFI boot
efi/x86: Avoid physical KASLR on older Dell systems
x86/efistub: Avoid placing the kernel below LOAD_PHYSICAL_ADDR
x86/boot: Rename conflicting 'boot_params' pointer to 'boot_params_ptr'
x86/boot: efistub: Assign global boot_params variable
efi/x86: Fix the missing KASLR_FLAG bit in boot_params->hdr.loadflags
af_unix: Drop oob_skb ref before purging queue in GC.
phy: freescale: phy-fsl-imx8-mipi-dphy: Fix alias name to use dashes
powerpc/pseries/iommu: IOMMU table is not initialized for kdump over SR-IOV
gpio: 74x164: Enable output pins after registers are reset
gpiolib: Fix the error path order in gpiochip_add_data_with_key()
gpio: fix resource unwinding order in error path
block: define bvec_iter as __packed __aligned(4)
Revert "interconnect: Fix locking for runpm vs reclaim"
Revert "interconnect: Teach lockdep about icc_bw_lock order"
x86/bugs: Add asm helpers for executing VERW
x86/entry_64: Add VERW just before userspace transition
x86/entry_32: Add VERW just before userspace transition
x86/bugs: Use ALTERNATIVE() instead of mds_user_clear static key
KVM/VMX: Use BT+JNC, i.e. EFLAGS.CF to select VMRESUME vs. VMLAUNCH
KVM/VMX: Move VERW closer to VMentry for MDS mitigation
bpf: Add table ID to bpf_fib_lookup BPF helper
bpf: Derive source IP addr via bpf_*_fib_lookup()
x86/efistub: Give up if memory attribute protocol returns an error
xen/events: close evtchn after mapping cleanup
Linux 6.1.81
Change-Id: Id2814e1ef05ebf9675015dd24d3eece1176fe9cd
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Merge tag 'mm-hotfixes-stable-2022-12-10-1' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
…
…
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
scripts/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-nextfor 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.7%
Assembly
1.6%
Makefile
0.3%
Perl
0.1%