Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add chassis-types to all supported laptops #298

Closed
wants to merge 3,450 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
3450 commits
Select commit Hold shift + click to select a range
3340541
drm/i915/bios: Fix parsing backlight BDB data
Feb 22, 2024
eb93f6f
drm/amd/display: Handle Y carry-over in VCP X.Y calculation
Sep 16, 2021
a841b00
drm/amd/display: Fix incorrect DSC instance for MST
Feb 13, 2024
7739800
arm64: dts: qcom: sa8155p-adp: fix SDHC2 CD pin configuration
lorc Apr 12, 2024
e83de8f
iommu/arm-smmu: Use the correct type in nvidia_smmu_context_fault()
jgunthorpe May 9, 2024
f4f9458
net: fix out-of-bounds access in ops_init
May 2, 2024
361aab6
hwmon: (pmbus/ucd9000) Increase delay from 250 to 500us
Lakshmi-y May 7, 2024
7bf6975
misc/pvpanic-pci: register attributes via pci_driver
t-8ch Apr 11, 2024
c983c04
x86/apic: Don't access the APIC when disabling x2APIC
KAGA-KOKO Apr 25, 2024
c65643a
selftests/mm: fix powerpc ARCH check
mpe May 6, 2024
cf6a1d1
mm: use memalloc_nofs_save() in page_cache_ra_order()
Apr 26, 2024
8d8b68a
mm/userfaultfd: reset ptes when close() for wr-protected ones
xzpeter Apr 22, 2024
3e7b351
iommu/amd: Enhance def_domain_type to handle untrusted device
hegdevasant Apr 23, 2024
74b3d66
fs/proc/task_mmu: fix loss of young/dirty bits during pagemap scan
Apr 29, 2024
754a1b3
fs/proc/task_mmu: fix uffd-wp confusion in pagemap_scan_pmd_entry()
Apr 29, 2024
6a607d1
nvme-pci: Add quirk for broken MSIs
Apr 22, 2024
ebed912
regulator: core: fix debugfs creation regression
jhovold May 9, 2024
4ec0121
spi: microchip-core-qspi: fix setting spi bus clock rate
ConchuOD May 8, 2024
639aeba
ksmbd: off ipv6only for both ipv4/ipv6 binding
namjaejeon May 1, 2024
ce7711a
ksmbd: avoid to send duplicate lease break notifications
namjaejeon May 1, 2024
209e25d
ksmbd: do not grant v2 lease if parent lease key and epoch are not set
namjaejeon May 1, 2024
414fb08
tracefs: Reset permissions on remount if permissions are options
rostedt May 2, 2024
8b48f0d
tracefs: Still use mount point as default permissions for instances
rostedt May 2, 2024
13eeedc
eventfs: Do not treat events directory different than other directories
rostedt May 2, 2024
1d7a77d
Bluetooth: qca: fix invalid device address check
jhovold Apr 16, 2024
6f6e73e
Bluetooth: qca: fix wcn3991 device address check
jhovold Apr 25, 2024
02f05ed
Bluetooth: qca: add missing firmware sanity checks
jhovold Apr 30, 2024
624c625
Bluetooth: qca: fix NVM configuration parsing
jhovold Apr 30, 2024
1796f7a
Bluetooth: qca: generalise device address check
jhovold Apr 30, 2024
f30c37c
Bluetooth: qca: fix info leak when fetching board id
jhovold May 1, 2024
a571044
Bluetooth: qca: fix info leak when fetching fw build id
jhovold May 1, 2024
d1f7682
Bluetooth: qca: fix firmware check error path
jhovold May 1, 2024
43c8884
VFIO: Add the SPR_DSA and SPR_IAX devices to the denylist
fenrus75 Mar 21, 2024
a878735
dmaengine: idxd: add a new security check to deal with a hardware err…
fenrus75 Apr 24, 2024
2ddfa52
dmaengine: idxd: add a write() method for applications to submit work
nikhilprao Apr 24, 2024
939a08b
keys: Fix overwrite of key expiration on instantiation
Mar 15, 2024
a0c69a5
Linux 6.8.10
gregkh May 17, 2024
724ebc3
Revert "arm64: fpsimd: Implement lazy restore for kernel mode FPSIMD"
willdeacon May 17, 2024
f5c1dd5
Reapply "arm64: fpsimd: Implement lazy restore for kernel mode FPSIMD"
willdeacon May 22, 2024
0c5d2ae
arm64/fpsimd: Avoid erroneous elide of user state reload
ardbiesheuvel May 22, 2024
1831d87
xhci: Handle TD clearing for multiple streams case
marcan May 22, 2024
1b74811
drm: apple: disable HDMI audio by default
jannau May 8, 2024
471c38f
drm: apple: Override drm_vblank's page flip event handling [HACK]
jannau May 12, 2024
ddbc160
Revert "rust: macros: fix soundness issue in `module!` macro"
jannau May 22, 2024
8671315
rust: helpers: Fix spinlock helper for various spinlock modes
marcan Mar 5, 2023
691cc8d
*6.9 import: rust: Refactor the build target to allow the use of buil…
JamieCunliffe Oct 20, 2023
6666d70
*6.9 import: arm64: rust: Enable Rust support for AArch64
JamieCunliffe Oct 20, 2023
0d0a131
rust: Enable type_alias_impl_trait
asahilina Apr 28, 2023
e45abfd
rust: kernel: lock: Add Lock::pin_init()
asahilina Apr 28, 2023
810b374
rust: init: Implement Zeroable::zeroed()
asahilina May 19, 2023
37361b3
rust: init: Support type paths in pin_init!() and friends
asahilina May 19, 2023
7f3deed
rust: types: Add Opaque::zeroed()
asahilina May 27, 2023
9ef198b
rust: Use absolute paths to build Rust objects
asahilina May 27, 2023
656339a
rust: kernel: Add simple siphash abstraction
asahilina May 27, 2023
3da6985
rust: sync: Add dummy LockClassKey implementation for !CONFIG_LOCKDEP
asahilina May 27, 2023
f75b53d
rust: sync: Replace static LockClassKey refs with a pointer wrapper
asahilina May 27, 2023
11055f4
rust: sync: Implement dynamic lockdep class creation
asahilina May 27, 2023
5ba68f4
rust: sync: Classless Lock::new() and pin_init()
asahilina May 27, 2023
dd84e02
rust: init: Update documentation for new mutex init style
asahilina May 27, 2023
24120c4
rust: sync: Add LockdepMap abstraction
asahilina May 27, 2023
baf620c
rust: sync: arc: Add lockdep integration
asahilina May 27, 2023
9c7318d
rust: time: New module for timekeeping functions
asahilina Oct 19, 2022
dd2ec6e
rust: xarray: Add an abstraction for XArray
asahilina Jan 11, 2023
bdc517d
rust: Add a Sealed trait
asahilina Feb 5, 2023
1a52499
rust: device: Add an abstraction for devices
wedsonaf Nov 18, 2021
58fb6d0
rust: io_pgtable: Add io_pgtable abstraction
asahilina Sep 7, 2022
dde75f5
rust: soc: apple: rtkit: Add Apple RTKit abstraction
asahilina Aug 17, 2022
5d155ee
rust: Add `container_of` and `offset_of` macros
wedsonaf Apr 1, 2021
56592ae
rust: Fix container_of!()
asahilina Apr 5, 2023
8b2def8
*RFL import: kernel::types::Bool
asahilina Feb 11, 2023
2f1c197
*RFL import: kernel::io_buffer
asahilina Feb 16, 2023
9abcba4
*RFL import: kernel::user_ptr
asahilina Feb 16, 2023
c78abdb
MISSING SIGNOFFS: rust: Add PAGE_SIZE constant to kernel crate
asahilina Feb 16, 2023
faaa3c0
rust: Enable const_mut_refs feature for the kernel crate
asahilina Feb 16, 2023
693a16d
*RFL import: kernel::module_param
asahilina Feb 16, 2023
7684f13
rust: module_param: Tolerate a trailing newline when parsing
asahilina Oct 21, 2022
3eae347
rust: Add `name` argument to Module::init()
asahilina Feb 16, 2023
5b75d72
*RFL import: kernel::driver
asahilina Feb 16, 2023
82d7ecd
*RFL import: The rest of kernel::device (minus clk stuff)
asahilina Feb 16, 2023
5717d65
*RFL import: kernel::io_mem
asahilina Feb 16, 2023
087f276
*RFL import: kernel::of
asahilina Feb 16, 2023
2c95210
*RFL import: kernel::platform
asahilina Feb 16, 2023
85b3698
*RFL import: kernel::delay
asahilina Feb 16, 2023
b4f97c3
rust: of: Add OF node abstraction
asahilina Oct 21, 2022
452cd18
rust: driver,of: Support passing ID tables to modpost for alias gener…
asahilina Dec 8, 2022
01e9776
rust: platform: add `ioremap_resource` and `get_resource` methods
Feb 8, 2022
b175536
rust: kernel: platform: Add Device.set_dma_masks()
asahilina Sep 7, 2022
83e0ee6
rust: Add ioremap_np support to io_mem & friends
asahilina Sep 21, 2022
74b95e0
*RFL import: macros::module params functionality & deps
asahilina Feb 16, 2023
0c6e065
*RFL import: Rest of kernel::error::code::*
asahilina Feb 16, 2023
cea6135
rust: bindings: Add resource_size wrapper
asahilina Sep 7, 2022
ffa23bd
rust: Allow feature allocator_api
asahilina Feb 16, 2023
efe97a0
*RFL import: kernel::KParamGuard & friends
asahilina Feb 16, 2023
96bdc0a
iommu/io-pgtable: Add Apple UAT variant format
asahilina Aug 17, 2022
e6e57cd
iommu/io-pgtable: Hack in FW-RW/GPU-RO mode into UAT io_pgtable
asahilina Apr 19, 2023
7c2a607
rust: io_pgtable: Add the Apple UAT format abstraction
asahilina Feb 16, 2023
5279c52
drm/scheduler: Fix UAF in drm_sched_fence_get_timeline_name
asahilina Apr 5, 2023
8b196ea
rust: dma_fence: Add DMA Fence abstraction
asahilina Feb 11, 2023
0665b34
rust: helpers: Add bindings/wrappers for dma_resv
asahilina Nov 22, 2023
c241061
rust: drm: ioctl: Add DRM ioctl abstraction
asahilina Feb 5, 2023
b516ff2
rust: drm: Add Device and Driver abstractions
asahilina Feb 5, 2023
8e115ef
rust: drm: file: Add File abstraction
asahilina Feb 5, 2023
1e84029
rust: drm: device: Convert Device to AlwaysRefCounted
asahilina May 19, 2023
ad7123a
rust: drm: gem: Add GEM object abstraction
asahilina Feb 5, 2023
d963e39
rust: drm: device: Convert Device to AlwaysRefCounted
asahilina May 19, 2023
b50853d
rust: drm: gem: Allow pinning GEM object driver data
asahilina Apr 28, 2023
85161bb
drm/gem-shmem: Export VM ops functions
asahilina Sep 7, 2022
4794b55
rust: drm: gem: shmem: Add DRM shmem helper abstraction
asahilina Feb 5, 2023
d13ad37
rust: drm: device: Convert Device to AlwaysRefCounted
asahilina May 19, 2023
31fcbc1
rust: drm: gem: Allow pinning GEM object driver data
asahilina Apr 28, 2023
a07ca28
rust: drm: mm: Add DRM MM Range Allocator abstraction
asahilina Feb 11, 2023
3cb90f1
rust: drm: syncobj: Add DRM Sync Object abstraction
asahilina Feb 11, 2023
76f5449
rust: drm: sched: Add GPU scheduler abstraction
asahilina Feb 11, 2023
563a355
drm/gem: Add a flag to control whether objects can be exported
asahilina Feb 10, 2023
b81f7f4
rust: drm: gem: Add set_exportable() method
asahilina Feb 11, 2023
aac0c7d
drm/asahi: Add the Asahi driver UAPI
asahilina Feb 16, 2023
f50f0cf
rust: bindings: Bind the Asahi DRM UAPI
asahilina Feb 16, 2023
aecda73
rust: macros: Add versions macro
asahilina Feb 16, 2023
0fc0575
drm/asahi: Add the Asahi driver for Apple AGX GPUs
asahilina Feb 16, 2023
70d81c4
DO NOT MERGE: drm/asahi: Add an experimental UAPI extension
asahilina Apr 26, 2023
0b91c8c
drm/asahi: render: Implement unknown value UAPI extension
asahilina Apr 26, 2023
d097e86
drm/asahi: hw,initdata: Initdata fixes for G14S
asahilina Jul 19, 2023
b343ea2
drm/asahi: hw: Drop max_dies
asahilina Jul 19, 2023
cf7d0d0
drm/asahi: initdata: Fix ver_info for G13 V13.5
asahilina Jul 19, 2023
bb28551
drm/asahi: fw/channels: Identify subpipe (?) field in tvb ack
asahilina Aug 2, 2023
110db97
drm/asahi: fw/channels: Document more message types a bit
asahilina Aug 2, 2023
1e97904
drm/asahi: initdata: Fix 13.5 field position for G13X
asahilina Aug 2, 2023
93ae55d
drm/asahi: initdata: Document more stuff
asahilina Aug 2, 2023
360e52f
drm/asahi: fw/microseq: Document bits of has_attachments
asahilina Aug 2, 2023
6cdfaef
drm/asahi: hw/t600x: Expand some mappings
asahilina Aug 2, 2023
20bf6a5
drm/asahi: hw/t8112: Make last IOMapping read-only
asahilina Aug 2, 2023
7b329f9
drm/asahi: render: Correct some values for G14
asahilina Aug 2, 2023
1881717
drm/asahi: initdata: Initialize GpuStatsFrag properly
asahilina Aug 3, 2023
e3c5f99
drm/asahi: slotalloc: Allow initializing empty slots
asahilina Aug 3, 2023
d20101e
drm/asahi: fw.channels: Add static assertions for message sizes
asahilina Aug 3, 2023
56ec334
drm/asahi: hw.t602x: Fixes for t6022
asahilina Aug 9, 2023
03af9d0
drm/asahi: regs: Fix cluster count for G14D
asahilina Aug 9, 2023
182a935
drm/asahi: Enable probing for t6022
asahilina Aug 9, 2023
7381e86
drm/asahi: Increase recursion limit
asahilina Aug 9, 2023
a1127c9
drm/asahi: initdata: Fixes for G14D
asahilina Aug 9, 2023
0c545a6
drm/asahi: initdata,hw: Identify & set idle_off_standby_timer
asahilina Aug 9, 2023
369ba38
drm/asahi: initdata: Fudge t3 calculation a bit
asahilina Aug 9, 2023
b0f81ce
drm/asahi: gpu,hw: Fix array IOMappings
asahilina Aug 9, 2023
1fe8682
drm/asahi: hw/t602x: Increase meta/preempt sizes for G14D
asahilina Aug 9, 2023
bb669db
drm/asahi: Expose firmware version to userspace
asahilina Aug 16, 2023
3e72be2
drm/asahi: alloc: Support tagging array allocs
asahilina Aug 16, 2023
140f17b
drm/asahi: alloc: Use tag as the guard marker
asahilina Aug 16, 2023
121f3b5
drm/asahi: buffer: Add tags to all the buffers
asahilina Aug 16, 2023
d010fac
drm/asahi: initdata: Tag more arrays
asahilina Aug 16, 2023
0aaaa02
drm/asahi: queue/compute: Tag preempt buf
asahilina Aug 16, 2023
0c57788
drm/asahi: render: Tag AuxFB
asahilina Aug 16, 2023
0891a97
drm/asahi: workqueue: Tag GPU buf
asahilina Aug 16, 2023
5a94ed7
drm/asahi: buffer,render: Identify and provide layer meta buf
asahilina Aug 16, 2023
8d87aaa
drm/asahi: compute: Implement bindless samplers
asahilina Aug 16, 2023
2d3cdbb
drm/asahi: render: Implement bindless samplers
asahilina Aug 16, 2023
bda2133
drm/asahi: fw,queue: Implement helper programs
asahilina Aug 16, 2023
cf6edff
drm/asahi: render: Identify and set Z/S strides for layered rendering
asahilina Aug 16, 2023
959ee47
drm/asahi: queue: Quieten some debugs
asahilina Aug 17, 2023
a4e0f85
drm/asahi: Add verbose UAPI error reporting
asahilina Aug 30, 2023
01a0149
drm/asahi: file: Remove sync limit
asahilina Sep 1, 2023
09ef586
drm/asahi: render: Remove sync TVB growth support
asahilina Sep 1, 2023
bd76f51
drm/asahi: buffer: Complain more loudly about sync requests
asahilina Sep 1, 2023
92c9cc9
Rust 1.72 compat
asahilina Sep 9, 2023
62489e8
drm/asahi: Identify & add render VS spills flag
asahilina Nov 8, 2023
5c7bf5f
drm/asahi: Identify and allocate clustered layering metadata buf
asahilina Nov 10, 2023
5cf28f4
drm/asahi: Fix Clippy complaints
asahilina Nov 10, 2023
f267503
drm/asahi: render: Fix layered rendering on G14X
asahilina Nov 10, 2023
6f7a5d9
rust: Fix x86 build
marcan Nov 12, 2023
b5b4b8a
rust: Fix x86 build more
marcan Nov 12, 2023
172637d
drm/asahi: render, buffer: Fix layered rendering on G13X (again)
asahilina Nov 17, 2023
92cc6c1
drm/asahi: initdata: New init chain API for rebase
marcan Nov 19, 2023
d3e83e3
rust: Add missing impl_trait_in_assoc_type feature
marcan Nov 19, 2023
a190af5
rust: bindgen: Exclude list functions with unsupported ABIs
asahilina Nov 22, 2023
18e310f
drm/shmem-helper: Add lockdep asserts to vmap/vunmap
asahilina Nov 22, 2023
1a512cd
rust: alloc: Rust 1.73 compat fixes
asahilina Nov 22, 2023
445670b
driver, of: Mangle the device ID machinery further to remove const_tr…
asahilina Nov 22, 2023
e0dad94
drm/asahi: workqueue: Work around ICE in Rust 1.74
asahilina Nov 22, 2023
3145640
drm/asahi: queue: Alocate the NotifierList as shared
asahilina Nov 22, 2023
cfbccaa
drm/asahi: compute: Allow no preemption flag
asahilina Jan 5, 2024
761752c
fixup! drm/asahi: Add the Asahi driver UAPI
asahilina Jan 17, 2024
9fdfad0
fixup! DO NOT MERGE: drm/asahi: Add an experimental UAPI extension
asahilina Jan 17, 2024
1c60f8d
drm/asahi: Identify and implement helper config register
asahilina Jan 17, 2024
466d0c0
fixup! drm/asahi: render: Implement unknown value UAPI extension
asahilina Jan 17, 2024
2300a38
drm/asahi: Check command structure sizes
asahilina Jan 17, 2024
956147a
fixup! iommu/io-pgtable: Add Apple UAT variant format
jannau Feb 27, 2024
5d8ddb4
drm/scheduler: Clean up jobs when the scheduler is torn down.
asahilina Mar 6, 2023
b494051
fixup! rust: drm: sched: Add GPU scheduler abstraction
jannau Feb 29, 2024
ad7070d
fixup! rust: drm: sched: Add GPU scheduler abstraction
jannau Feb 29, 2024
d6f7d91
fixup! rust: drm: sched: Add GPU scheduler abstraction
jannau Feb 29, 2024
a0f94ad
fixup! rust: drm: gem: Add GEM object abstraction
jannau Feb 29, 2024
1272721
fixup! rust: drm: gem: shmem: Add DRM shmem helper abstraction
jannau Feb 29, 2024
461c2ba
fixup! rust: drm: ioctl: Add DRM ioctl abstraction
jannau Feb 29, 2024
e2de12b
fixup! rust: drm: ioctl: Add DRM ioctl abstraction
jannau Feb 29, 2024
8862278
fixup! rust: io_pgtable: Add io_pgtable abstraction
jannau Feb 29, 2024
a89499c
fixup! rust: sync: Replace static LockClassKey refs with a pointer wr…
jannau Feb 29, 2024
afa695c
fixup! drm/asahi: Add the Asahi driver for Apple AGX GPUs
jannau Feb 29, 2024
c07532e
fixup! drm/asahi: Add the Asahi driver for Apple AGX GPUs
jannau Feb 29, 2024
0a7bc74
fixup! drm/asahi: Add the Asahi driver for Apple AGX GPUs
jannau Feb 29, 2024
2089cd9
fixup! drm/asahi: Add the Asahi driver for Apple AGX GPUs
jannau Feb 29, 2024
1964693
fixup! drm/scheduler: Fix UAF in drm_sched_fence_get_timeline_name
jannau Feb 29, 2024
c42f159
*RFL import: rust: upgrade to Rust 1.75.0
ojeda Dec 24, 2023
2a5a074
*RFL import: rust: kernel: stop using ptr_metadata feature
Darksonn Feb 15, 2024
f1e6a71
*RFL import: kbuild: mark `rustc` (and others) invocations as recursive
ojeda Feb 17, 2024
6092708
*RFL import: rust: upgrade to Rust 1.76.0
ojeda Feb 17, 2024
1408681
rust: lib: Rust 1.77 compat fixes
jannau Mar 26, 2024
e3c61b1
rust: lib: Rust 1.77 compat fixes
jannau Mar 26, 2024
f7fda8e
rust: kernel: Rust 1.77 avoid offset_of stable warnings
jannau Apr 7, 2024
05ba9df
fixup! rust: drm: sched: Add GPU scheduler abstraction
jannau Apr 7, 2024
f5aa304
fixup! rust: drm: file: Add File abstraction
jannau Apr 7, 2024
f58e18f
fixup! rust: drm: gem: Add GEM object abstraction
jannau Apr 7, 2024
cb05619
HACK: rust: x86: Set data-layout based on rustc's LLVM version
jannau Apr 23, 2024
b36b917
*RFL fixup: kernel::driver: implement Send for Registration
jannau May 5, 2024
c8a00c7
fixup! rust: sync: Implement dynamic lockdep class creation
jannau May 8, 2024
af2b2ef
rust: alloc: Add global_alloc_ty lang_item
jannau May 8, 2024
d197fd5
dt-bindings: spi: apple,spi: Add binding for Apple SPI controllers
marcan Dec 12, 2021
0d367db
spi: apple: Add driver for Apple SPI controller
marcan Dec 9, 2021
67f5130
Bluetooth: Add quirk to ignore reserved PHY bits in LE Extended Adv R…
svenpeter42 May 15, 2024
9f8fcee
Bluetooth: hci_bcm4377: Add BCM4388 support
marcan Oct 5, 2023
8b8b72b
fixup! Bluetooth: hci_bcm4377: Add BCM4388 support
jannau May 12, 2024
ed085e1
Bluetooth: hci_bcm4377: Increase boot timeout
marcan Oct 5, 2023
5d5b7f2
Bluetooth: hci_bcm4377: Fix msgid release
marcan Nov 14, 2023
999f93f
Merge branch 'bits/000-devicetree' into asahi-wip
jannau May 22, 2024
912e06a
Merge branch 'bits/002-backports' into asahi-wip
jannau May 22, 2024
9f97cf5
Merge branch 'bits/005-maintainers' into asahi-wip
jannau May 22, 2024
24a423f
Merge branch 'bits/010-soc' into asahi-wip
jannau May 22, 2024
16f0ace
Merge branch 'bits/020-dart' into asahi-wip
jannau May 22, 2024
dab6e7b
Merge branch 'bits/030-misc' into asahi-wip
jannau May 22, 2024
bb39aac
Merge branch 'bits/040-dwc3' into asahi-wip
jannau May 22, 2024
a4a557f
Merge branch 'bits/050-nvme' into asahi-wip
jannau May 22, 2024
cd0d4f8
Merge branch 'bits/060-spi' into asahi-wip
jannau May 22, 2024
2762875
Merge branch 'bits/070-audio' into asahi-wip
jannau May 22, 2024
635c0e3
Merge branch 'bits/080-wifi' into asahi-wip
jannau May 22, 2024
4b62119
Merge branch 'bits/090-spi-hid' into asahi-wip
jannau May 22, 2024
6c46c57
Merge branch 'bits/100-bluetooth' into asahi-wip
jannau May 22, 2024
b278f41
Merge branch 'bits/110-smc' into asahi-wip
jannau May 22, 2024
071c1f3
Merge branch 'bits/120-spmi' into asahi-wip
jannau May 22, 2024
cf534cb
Merge branch 'bits/130-cpufreq' into asahi-wip
jannau May 22, 2024
8f0e99a
Merge branch 'bits/140-pci' into asahi-wip
jannau May 22, 2024
8bba76d
Merge branch 'bits/150-xhci-firmware' into asahi-wip
jannau May 22, 2024
6d061b0
Merge branch 'bits/170-atcphy' into asahi-wip
jannau May 22, 2024
0a63986
Merge branch 'bits/180-sio' into asahi-wip
jannau May 22, 2024
115f9d0
Merge branch 'bits/200-dcp' into asahi-wip
jannau May 22, 2024
b3aa31b
Merge branch 'bits/210-gpu' into asahi-wip
jannau May 22, 2024
e28b3e3
Merge branch 'bits/220-tso' into asahi-wip
jannau May 22, 2024
24906b0
Merge branch 'bits/230-touchbar' into asahi-wip
jannau May 22, 2024
79bf2ff
Merge branch 'bits/240-isp' into asahi-wip
jannau May 22, 2024
7e460fe
Revert "usb: dwc3: core: Prevent phy suspend during init"
jannau May 23, 2024
a72c7e5
KVM: arm64: Expose TSO capability to guests and context switch
asahilina May 25, 2024
752b1ed
arm64: Increase kernel stack size to 32K
asahilina May 26, 2024
7905c6b
Add chassis-types to all supported laptops
jvoisin Jun 3, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions Documentation/ABI/testing/sysfs-devices-system-cpu
Original file line number Diff line number Diff line change
Expand Up @@ -516,6 +516,7 @@ What: /sys/devices/system/cpu/vulnerabilities
/sys/devices/system/cpu/vulnerabilities/mds
/sys/devices/system/cpu/vulnerabilities/meltdown
/sys/devices/system/cpu/vulnerabilities/mmio_stale_data
/sys/devices/system/cpu/vulnerabilities/reg_file_data_sampling
/sys/devices/system/cpu/vulnerabilities/retbleed
/sys/devices/system/cpu/vulnerabilities/spec_store_bypass
/sys/devices/system/cpu/vulnerabilities/spectre_v1
Expand Down
4 changes: 3 additions & 1 deletion Documentation/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,9 @@ $(YNL_INDEX): $(YNL_RST_FILES)
$(YNL_RST_DIR)/%.rst: $(YNL_YAML_DIR)/%.yaml $(YNL_TOOL)
$(Q)$(YNL_TOOL) -i $< -o $@

htmldocs: $(YNL_INDEX)
htmldocs texinfodocs latexdocs epubdocs xmldocs: $(YNL_INDEX)

htmldocs:
@$(srctree)/scripts/sphinx-pre-install --version-check
@+$(foreach var,$(SPHINXDIRS),$(call loop_cmd,sphinx,html,$(var),,$(var)))

Expand Down
1 change: 1 addition & 0 deletions Documentation/admin-guide/hw-vuln/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,4 @@ are configurable at compile, boot or run time.
cross-thread-rsb
srso
gather_data_sampling
reg-file-data-sampling
104 changes: 104 additions & 0 deletions Documentation/admin-guide/hw-vuln/reg-file-data-sampling.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
==================================
Register File Data Sampling (RFDS)
==================================

Register File Data Sampling (RFDS) is a microarchitectural vulnerability that
only affects Intel Atom parts(also branded as E-cores). RFDS may allow
a malicious actor to infer data values previously used in floating point
registers, vector registers, or integer registers. RFDS does not provide the
ability to choose which data is inferred. CVE-2023-28746 is assigned to RFDS.

Affected Processors
===================
Below is the list of affected Intel processors [#f1]_:

=================== ============
Common name Family_Model
=================== ============
ATOM_GOLDMONT 06_5CH
ATOM_GOLDMONT_D 06_5FH
ATOM_GOLDMONT_PLUS 06_7AH
ATOM_TREMONT_D 06_86H
ATOM_TREMONT 06_96H
ALDERLAKE 06_97H
ALDERLAKE_L 06_9AH
ATOM_TREMONT_L 06_9CH
RAPTORLAKE 06_B7H
RAPTORLAKE_P 06_BAH
ATOM_GRACEMONT 06_BEH
RAPTORLAKE_S 06_BFH
=================== ============

As an exception to this table, Intel Xeon E family parts ALDERLAKE(06_97H) and
RAPTORLAKE(06_B7H) codenamed Catlow are not affected. They are reported as
vulnerable in Linux because they share the same family/model with an affected
part. Unlike their affected counterparts, they do not enumerate RFDS_CLEAR or
CPUID.HYBRID. This information could be used to distinguish between the
affected and unaffected parts, but it is deemed not worth adding complexity as
the reporting is fixed automatically when these parts enumerate RFDS_NO.

Mitigation
==========
Intel released a microcode update that enables software to clear sensitive
information using the VERW instruction. Like MDS, RFDS deploys the same
mitigation strategy to force the CPU to clear the affected buffers before an
attacker can extract the secrets. This is achieved by using the otherwise
unused and obsolete VERW instruction in combination with a microcode update.
The microcode clears the affected CPU buffers when the VERW instruction is
executed.

Mitigation points
-----------------
VERW is executed by the kernel before returning to user space, and by KVM
before VMentry. None of the affected cores support SMT, so VERW is not required
at C-state transitions.

New bits in IA32_ARCH_CAPABILITIES
----------------------------------
Newer processors and microcode update on existing affected processors added new
bits to IA32_ARCH_CAPABILITIES MSR. These bits can be used to enumerate
vulnerability and mitigation capability:

- Bit 27 - RFDS_NO - When set, processor is not affected by RFDS.
- Bit 28 - RFDS_CLEAR - When set, processor is affected by RFDS, and has the
microcode that clears the affected buffers on VERW execution.

Mitigation control on the kernel command line
---------------------------------------------
The kernel command line allows to control RFDS mitigation at boot time with the
parameter "reg_file_data_sampling=". The valid arguments are:

========== =================================================================
on If the CPU is vulnerable, enable mitigation; CPU buffer clearing
on exit to userspace and before entering a VM.
off Disables mitigation.
========== =================================================================

Mitigation default is selected by CONFIG_MITIGATION_RFDS.

Mitigation status information
-----------------------------
The Linux kernel provides a sysfs interface to enumerate the current
vulnerability status of the system: whether the system is vulnerable, and
which mitigations are active. The relevant sysfs file is:

/sys/devices/system/cpu/vulnerabilities/reg_file_data_sampling

The possible values in this file are:

.. list-table::

* - 'Not affected'
- The processor is not vulnerable
* - 'Vulnerable'
- The processor is vulnerable, but no mitigation enabled
* - 'Vulnerable: No microcode'
- The processor is vulnerable but microcode is not updated.
* - 'Mitigation: Clear Register File'
- The processor is vulnerable and the CPU buffer clearing mitigation is
enabled.

References
----------
.. [#f1] Affected Processors
https://www.intel.com/content/www/us/en/developer/topic-technology/software-security-guidance/processors-affected-consolidated-product-cpu-model.html
44 changes: 38 additions & 6 deletions Documentation/admin-guide/hw-vuln/spectre.rst
Original file line number Diff line number Diff line change
Expand Up @@ -138,11 +138,10 @@ associated with the source address of the indirect branch. Specifically,
the BHB might be shared across privilege levels even in the presence of
Enhanced IBRS.

Currently the only known real-world BHB attack vector is via
unprivileged eBPF. Therefore, it's highly recommended to not enable
unprivileged eBPF, especially when eIBRS is used (without retpolines).
For a full mitigation against BHB attacks, it's recommended to use
retpolines (or eIBRS combined with retpolines).
Previously the only known real-world BHB attack vector was via unprivileged
eBPF. Further research has found attacks that don't require unprivileged eBPF.
For a full mitigation against BHB attacks it is recommended to set BHI_DIS_S or
use the BHB clearing sequence.

Attack scenarios
----------------
Expand Down Expand Up @@ -430,6 +429,23 @@ The possible values in this file are:
'PBRSB-eIBRS: Not affected' CPU is not affected by PBRSB
=========================== =======================================================

- Branch History Injection (BHI) protection status:

.. list-table::

* - BHI: Not affected
- System is not affected
* - BHI: Retpoline
- System is protected by retpoline
* - BHI: BHI_DIS_S
- System is protected by BHI_DIS_S
* - BHI: SW loop, KVM SW loop
- System is protected by software clearing sequence
* - BHI: Vulnerable
- System is vulnerable to BHI
* - BHI: Vulnerable, KVM: SW loop
- System is vulnerable; KVM is protected by software clearing sequence

Full mitigation might require a microcode update from the CPU
vendor. When the necessary microcode is not available, the kernel will
report vulnerability.
Expand Down Expand Up @@ -484,7 +500,11 @@ Spectre variant 2

Systems which support enhanced IBRS (eIBRS) enable IBRS protection once at
boot, by setting the IBRS bit, and they're automatically protected against
Spectre v2 variant attacks.
some Spectre v2 variant attacks. The BHB can still influence the choice of
indirect branch predictor entry, and although branch predictor entries are
isolated between modes when eIBRS is enabled, the BHB itself is not isolated
between modes. Systems which support BHI_DIS_S will set it to protect against
BHI attacks.

On Intel's enhanced IBRS systems, this includes cross-thread branch target
injections on SMT systems (STIBP). In other words, Intel eIBRS enables
Expand Down Expand Up @@ -638,6 +658,18 @@ kernel command line.
spectre_v2=off. Spectre variant 1 mitigations
cannot be disabled.

spectre_bhi=

[X86] Control mitigation of Branch History Injection
(BHI) vulnerability. This setting affects the deployment
of the HW BHI control and the SW BHB clearing sequence.

on
(default) Enable the HW or SW mitigation as
needed.
off
Disable the mitigation.

For spectre_v2_user see Documentation/admin-guide/kernel-parameters.txt

Mitigation selection guide
Expand Down
35 changes: 32 additions & 3 deletions Documentation/admin-guide/kernel-parameters.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1150,6 +1150,26 @@
The filter can be disabled or changed to another
driver later using sysfs.

reg_file_data_sampling=
[X86] Controls mitigation for Register File Data
Sampling (RFDS) vulnerability. RFDS is a CPU
vulnerability which may allow userspace to infer
kernel data values previously stored in floating point
registers, vector registers, or integer registers.
RFDS only affects Intel Atom processors.

on: Turns ON the mitigation.
off: Turns OFF the mitigation.

This parameter overrides the compile time default set
by CONFIG_MITIGATION_RFDS. Mitigation cannot be
disabled when other VERW based mitigations (like MDS)
are enabled. In order to disable RFDS mitigation all
VERW based mitigations need to be disabled.

For details see:
Documentation/admin-guide/hw-vuln/reg-file-data-sampling.rst

driver_async_probe= [KNL]
List of driver names to be probed asynchronously. *
matches with all driver names. If * is specified, the
Expand Down Expand Up @@ -3320,9 +3340,7 @@

mem_encrypt= [X86-64] AMD Secure Memory Encryption (SME) control
Valid arguments: on, off
Default (depends on kernel configuration option):
on (CONFIG_AMD_MEM_ENCRYPT_ACTIVE_BY_DEFAULT=y)
off (CONFIG_AMD_MEM_ENCRYPT_ACTIVE_BY_DEFAULT=n)
Default: off
mem_encrypt=on: Activate SME
mem_encrypt=off: Do not activate SME

Expand Down Expand Up @@ -3398,8 +3416,10 @@
nospectre_bhb [ARM64]
nospectre_v1 [X86,PPC]
nospectre_v2 [X86,PPC,S390,ARM64]
reg_file_data_sampling=off [X86]
retbleed=off [X86]
spec_store_bypass_disable=off [X86,PPC]
spectre_bhi=off [X86]
spectre_v2_user=off [X86]
srbds=off [X86,INTEL]
ssbd=force-off [ARM64]
Expand Down Expand Up @@ -6012,6 +6032,15 @@
sonypi.*= [HW] Sony Programmable I/O Control Device driver
See Documentation/admin-guide/laptops/sonypi.rst

spectre_bhi= [X86] Control mitigation of Branch History Injection
(BHI) vulnerability. This setting affects the
deployment of the HW BHI control and the SW BHB
clearing sequence.

on - (default) Enable the HW or SW mitigation
as needed.
off - Disable the mitigation.

spectre_v2= [X86] Control mitigation of Spectre variant 2
(indirect branch speculation) vulnerability.
The default operation protects the kernel from
Expand Down
5 changes: 5 additions & 0 deletions Documentation/admin-guide/sysctl/net.rst
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,11 @@ Will increase power usage.

Default: 0 (off)

mem_pcpu_rsv
------------

Per-cpu reserved forward alloc cache size in page units. Default 1MB per CPU.

rmem_default
------------

Expand Down
16 changes: 8 additions & 8 deletions Documentation/arch/x86/amd-memory-encryption.rst
Original file line number Diff line number Diff line change
Expand Up @@ -87,14 +87,14 @@ The state of SME in the Linux kernel can be documented as follows:
kernel is non-zero).

SME can also be enabled and activated in the BIOS. If SME is enabled and
activated in the BIOS, then all memory accesses will be encrypted and it will
not be necessary to activate the Linux memory encryption support. If the BIOS
merely enables SME (sets bit 23 of the MSR_AMD64_SYSCFG), then Linux can activate
memory encryption by default (CONFIG_AMD_MEM_ENCRYPT_ACTIVE_BY_DEFAULT=y) or
by supplying mem_encrypt=on on the kernel command line. However, if BIOS does
not enable SME, then Linux will not be able to activate memory encryption, even
if configured to do so by default or the mem_encrypt=on command line parameter
is specified.
activated in the BIOS, then all memory accesses will be encrypted and it
will not be necessary to activate the Linux memory encryption support.

If the BIOS merely enables SME (sets bit 23 of the MSR_AMD64_SYSCFG),
then memory encryption can be enabled by supplying mem_encrypt=on on the
kernel command line. However, if BIOS does not enable SME, then Linux
will not be able to activate memory encryption, even if configured to do
so by default or the mem_encrypt=on command line parameter is specified.

Secure Nested Paging (SNP)
==========================
Expand Down
6 changes: 3 additions & 3 deletions Documentation/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -346,9 +346,9 @@ def get_cline_version():
html_static_path = ['sphinx-static']

# If true, Docutils "smart quotes" will be used to convert quotes and dashes
# to typographically correct entities. This will convert "--" to "—",
# which is not always what we want, so disable it.
smartquotes = False
# to typographically correct entities. However, conversion of "--" to "—"
# is not always what we want, so enable only quotes.
smartquotes_action = 'q'

# Custom sidebar templates, maps document names to template names.
# Note that the RTD theme ignores this
Expand Down
32 changes: 32 additions & 0 deletions Documentation/core-api/printk-formats.rst
Original file line number Diff line number Diff line change
Expand Up @@ -632,6 +632,38 @@ Examples::
%p4cc Y10 little-endian (0x20303159)
%p4cc NV12 big-endian (0xb231564e)

Generic FourCC code
-------------------

::
%p4c[hnbl] gP00 (0x67503030)

Print a generic FourCC code, as both ASCII characters and its numerical
value as hexadecimal.

The additional ``h``, ``r``, ``b``, and ``l`` specifiers are used to specify
host, reversed, big or little endian order data respectively. Host endian
order means the data is interpreted as a 32-bit integer and the most
significant byte is printed first; that is, the character code as printed
matches the byte order stored in memory on big-endian systems, and is reversed
on little-endian systems.

Passed by reference.

Examples for a little-endian machine, given &(u32)0x67503030::

%p4ch gP00 (0x67503030)
%p4cl gP00 (0x67503030)
%p4cb 00Pg (0x30305067)
%p4cr 00Pg (0x30305067)

Examples for a big-endian machine, given &(u32)0x67503030::

%p4ch gP00 (0x67503030)
%p4cl 00Pg (0x30305067)
%p4cb gP00 (0x67503030)
%p4cr 00Pg (0x30305067)

Rust
----

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ patternProperties:
- qcom,dsi-phy-20nm
- qcom,dsi-phy-28nm-8226
- qcom,dsi-phy-28nm-hpm
- qcom,dsi-phy-28nm-hpm-fam-b
- qcom,dsi-phy-28nm-lp
- qcom,hdmi-phy-8084
- qcom,hdmi-phy-8660
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,15 @@ patternProperties:
compatible:
const: qcom,sm8150-dpu

"^displayport-controller@[0-9a-f]+$":
type: object
additionalProperties: true

properties:
compatible:
contains:
const: qcom,sm8150-dp

"^dsi@[0-9a-f]+$":
type: object
additionalProperties: true
Expand Down
Loading