mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 10:31:46 +09:00
9a2454ec58db05ec246c4271830e844b7110bad2
Changes in 6.1.97 usb: typec: ucsi: Never send a lone connector change ack usb: typec: ucsi: Ack also failed Get Error commands ACPI: x86: utils: Add Picasso to the list for forcing StorageD3Enable ACPI: x86: Force StorageD3Enable on more products Input: ili210x - fix ili251x_read_touch_data() return value pinctrl: fix deadlock in create_pinctrl() when handling -EPROBE_DEFER pinctrl: rockchip: fix pinmux bits for RK3328 GPIO2-B pins pinctrl: rockchip: fix pinmux bits for RK3328 GPIO3-B pins pinctrl: rockchip: use dedicated pinctrl type for RK3328 pinctrl: rockchip: fix pinmux reset in rockchip_pmx_set MIPS: pci: lantiq: restore reset gpio polarity dt-bindings: i2c: Drop unneeded quotes dt-bindings: i2c: atmel,at91sam: correct path to i2c-controller schema netfilter: nf_tables: use timestamp to check for set element timeout ASoC: rockchip: i2s-tdm: Fix trcm mode by setting clock on right mclk s390/pci: Add missing virt_to_phys() for directed DIBV ASoC: amd: acp: remove i2s configuration check in acp_i2s_probe() ASoC: fsl-asoc-card: set priv->pdev before using it net: dsa: microchip: fix initial port flush problem mlxsw: spectrum_buffers: Fix memory corruptions on Spectrum-4 systems bpf: Fix overrunning reservations in ringbuf ibmvnic: Free any outstanding tx skbs during scrq reset net: phy: micrel: add Microchip KSZ 9477 to the device table net: dsa: microchip: use collision based back pressure mode xdp: Remove WARN() from __xdp_reg_mem_model() Fix race for duplicate reqsk on identical SYN net: dsa: microchip: fix wrong register write when masking interrupt sparc: fix old compat_sys_select() sparc: fix compat recv/recvfrom syscalls parisc: use correct compat recv/recvfrom syscalls powerpc: restore some missing spu syscalls tcp: fix tcp_rcv_fastopen_synack() to enter TCP_CA_Loss for failed TFO netfilter: nf_tables: fully validate NFT_DATA_VALUE on store to data registers bpf: Take return from set_memory_ro() into account with bpf_prog_lock_ro() drm/panel: ilitek-ili9881c: Fix warning with GPIO controllers that sleep vduse: validate block features only with block devices vduse: Temporarily fail if control queue feature requested x86/fpu: Fix AMD X86_BUG_FXSAVE_LEAK fixup mtd: partitions: redboot: Added conversion of operands to a larger type wifi: ieee80211: check for NULL in ieee80211_mle_size_ok() bpf: Add a check for struct bpf_fib_lookup size bpf: Mark bpf prog stack with kmsan_unposion_memory in interpreter mode RDMA/restrack: Fix potential invalid address access net/iucv: Avoid explicit cpumask var allocation on stack net/dpaa2: Avoid explicit cpumask var allocation on stack crypto: ecdh - explicitly zeroize private_key ALSA: emux: improve patch ioctl data validation media: dvbdev: Initialize sbuf soc: ti: wkup_m3_ipc: Send NULL dummy message instead of pointer message drm/radeon/radeon_display: Decrease the size of allocated memory nvme: fixup comment for nvme RDMA Provider Type drm/panel: simple: Add missing display timing flags for KOE TX26D202VM0BWA gpio: davinci: Validate the obtained number of IRQs drm/amd/amdgpu: Fix style errors in amdgpu_drv.c & amdgpu_device.c drm/amdgpu: Fix pci state save during mode-1 reset riscv: stacktrace: convert arch_stack_walk() to noinstr gpiolib: cdev: Disallow reconfiguration without direction (uAPI v1) randomize_kstack: Remove non-functional per-arch entropy filtering ima: Fix use-after-free on a dentry's dname.name x86: stop playing stack games in profile_pc() parisc: use generic sys_fanotify_mark implementation Revert "MIPS: pci: lantiq: restore reset gpio polarity" pinctrl: qcom: spmi-gpio: drop broken pm8008 support ocfs2: fix DIO failure due to insufficient transaction credits nfs: drop the incorrect assertion in nfs_swap_rw() mmc: sdhci-brcmstb: check R1_STATUS for erase/trim/discard mmc: sdhci-pci: Convert PCIBIOS_* return codes to errnos mmc: sdhci: Do not invert write-protect twice mmc: sdhci: Do not lock spinlock around mmc_gpio_get_ro() iio: xilinx-ams: Don't include ams_ctrl_channels in scan_mask counter: ti-eqep: enable clock at probe i2c: testunit: don't erase registers after STOP i2c: testunit: discard write requests while old command is running iio: adc: ad7266: Fix variable checking bug iio: accel: fxls8962af: select IIO_BUFFER & IIO_KFIFO_BUF iio: chemical: bme680: Fix pressure value output iio: chemical: bme680: Fix calibration data variable iio: chemical: bme680: Fix overflows in compensate() functions iio: chemical: bme680: Fix sensor data read operation net: usb: ax88179_178a: improve link status logs usb: gadget: printer: SS+ support usb: gadget: printer: fix races against disable usb: musb: da8xx: fix a resource leak in probe() usb: atm: cxacru: fix endpoint checking in cxacru_bind() usb: dwc3: core: remove lock of otg mode during gadget suspend/resume to avoid deadlock usb: gadget: aspeed_udc: fix device address configuration usb: ucsi: stm32: fix command completion handling serial: 8250_omap: Implementation of Errata i2310 serial: imx: set receiver level before starting uart ALSA: hda/realtek: fix mute/micmute LEDs don't work for EliteBook 645/665 G11. tty: mcf: MCF54418 has 10 UARTS net: can: j1939: Initialize unused data in j1939_send_one() net: can: j1939: recover socket queue on CAN bus error during BAM transmission net: can: j1939: enhanced error handling for tightly received RTS messages in xtp_rx_rts_session_new cpufreq: intel_pstate: Use HWP to initialize ITMT if CPPC is missing cpu/hotplug: Fix dynstate assignment in __cpuhp_setup_state_cpuslocked() irqchip/loongson-liointc: Set different ISRs for different cores kbuild: Install dtb files as 0644 in Makefile.dtbinst sh: rework sync_file_range ABI btrfs: zoned: fix initial free space detection csky, hexagon: fix broken sys_sync_file_range hexagon: fix fadvise64_64 calling conventions drm/nouveau/dispnv04: fix null pointer dereference in nv17_tv_get_ld_modes drm/amdgpu: avoid using null object of framebuffer drm/i915/gt: Fix potential UAF by revoke of fence registers drm/nouveau/dispnv04: fix null pointer dereference in nv17_tv_get_hd_modes drm/amdgpu/atomfirmware: fix parsing of vram_info batman-adv: Don't accept TT entries for out-of-spec VIDs can: mcp251xfd: fix infinite loop when xmit fails ata: ahci: Clean up sysfs file on error ata: libata-core: Fix double free on error ftruncate: pass a signed offset syscalls: fix compat_sys_io_pgetevents_time64 usage syscalls: fix sys_fanotify_mark prototype pwm: stm32: Refuse too small period requests Revert "cpufreq: amd-pstate: Fix the inconsistency in max frequency units" mm/page_alloc: Separate THP PCP into movable and non-movable categories gfs2: Fix slab-use-after-free in gfs2_qd_dealloc efi: memmap: Move manipulation routines into x86 arch tree efi: xen: Set EFI_PARAVIRT for Xen dom0 boot on all architectures efi/x86: Free EFI memory map only when installing a new one. arm64: dts: rockchip: Fix SD NAND and eMMC init on rk3308-rock-pi-s arm64: dts: rockchip: Rename LED related pinctrl nodes on rk3308-rock-pi-s ARM: dts: rockchip: rk3066a: add #sound-dai-cells to hdmi node arm64: dts: rockchip: fix PMIC interrupt pin on ROCK Pi E arm64: dts: rockchip: Add sound-dai-cells for RK3368 serial: imx: only set receiver level if it is zero serial: 8250_omap: Fix Errata i2310 with RX FIFO level check tracing/net_sched: NULL pointer dereference in perf_trace_qdisc_reset() Linux 6.1.97 Change-Id: I8ae3429d5ddec709f2ef8e96895fa111ee31d004 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%