Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
176 commits
Select commit Hold shift + click to select a range
8d4c16b
smb3: fix Open files on server counter going negative
smfrench Apr 7, 2024
c36268f
ata: libata-core: Allow command duration limits detection for ACS-4 d…
ipylypiv Apr 11, 2024
0abae37
ata: libata-scsi: Fix ata_scsi_dev_rescan() error path
damien-lemoal Apr 11, 2024
fb262b9
drm/amdgpu/vpe: power on vpe when hw_init
peytolee Mar 13, 2024
ca54e26
batman-adv: Avoid infinite loop trying to resize local TT
ecsv Feb 12, 2024
6535622
ceph: redirty page before returning AOP_WRITEPAGE_ACTIVATE
neilbrown Mar 24, 2024
1e55a91
ceph: switch to use cap_delay_lock for the unlink delay list
lxbsz Apr 9, 2024
28e9a64
virtio_net: Do not send RSS key if it is not supported
leitao Apr 3, 2024
944db7b
arm64: tlb: Fix TLBI RANGE operand
Apr 5, 2024
c4a18b8
ARM: dts: imx7s-warp: Pass OV2680 link-frequencies
Mar 28, 2024
f423f41
raid1: fix use-after-free for original bio in raid1_write_request()
YuKuai-huawei Mar 8, 2024
9e502dd
ring-buffer: Only update pages_touched when a new page is touched
rostedt Apr 9, 2024
e4cb838
Bluetooth: Fix memory leak in hci_req_sync_complete()
dmantipov Apr 2, 2024
7521329
drm/amd/pm: fixes a random hang in S4 for SMU v13.0.4/11
timhuang-amd Mar 27, 2024
9e9bb74
platform/chrome: cros_ec_uart: properly fix race condition
nloomans Apr 10, 2024
b9b309d
ACPI: scan: Do not increase dep_unmet for already met dependencies
jwrdegoede Apr 6, 2024
c0e1aa0
PM: s2idle: Make sure CPUs will wakeup directly on resume
anna-marialx Apr 8, 2024
fb2d4df
media: cec: core: remove length check of Timer Status
Jan 25, 2024
67d6190
btrfs: tests: allocate dummy fs_info and root in test_find_delalloc()
kdave Jan 29, 2024
2607dfe
ARM: OMAP2+: fix bogus MMC GPIO labels on Nokia N8x0
aakoskin Feb 23, 2024
9ce4653
ARM: OMAP2+: fix N810 MMC gpiod table
aakoskin Feb 23, 2024
2020c5d
mmc: omap: fix broken slot switch lookup
aakoskin Feb 23, 2024
e211912
mmc: omap: fix deferred probe
aakoskin Feb 23, 2024
bcf7069
mmc: omap: restore original power up/down steps
aakoskin Feb 23, 2024
89c8b8c
ARM: OMAP2+: fix USB regression on Nokia N8x0
aakoskin Feb 23, 2024
7c4f6b7
firmware: arm_ffa: Fix the partition ID check in ffa_notification_inf…
jenswi-linaro Mar 11, 2024
a075e9a
firmware: arm_scmi: Make raw debugfs entries non-seekable
cris-ma Mar 15, 2024
f014841
cxl/mem: Fix for the index of Clear Event Record Handle
Mar 18, 2024
8ce7d40
cxl/core/regs: Fix usage of map->reg_type in cxl_decode_regblock() be…
davejiang Mar 19, 2024
8cb8d6b
arm64: dts: freescale: imx8mp-venice-gw72xx-2x: fix USB vbus regulator
Gateworks Feb 28, 2024
3c902ff
arm64: dts: freescale: imx8mp-venice-gw73xx-2x: fix USB vbus regulator
Gateworks Feb 28, 2024
fb6311c
drm/msm: Add newlines to some debug prints
bebarino Mar 25, 2024
8493ccb
drm/msm/dpu: don't allow overriding data from catalog
lumag Mar 14, 2024
680a0f6
drm/msm/dpu: make error messages at dpu_core_irq_register_callback() …
lumag Mar 30, 2024
dd628d4
dt-bindings: display/msm: sm8150-mdss: add DP node
lumag Apr 2, 2024
a3aaff7
arm64: dts: imx8-ss-conn: fix usdhc wrong lpcg clock order
nxpfrankli Mar 22, 2024
a9533b3
cxl/core: Fix initialization of mbox_cmd.size_out in get event
1saac-k Apr 2, 2024
13ab5db
Revert "drm/qxl: simplify qxl_fence_wait"
alexconst Apr 4, 2024
f49e24c
nouveau: fix function cast warning
arndb Apr 4, 2024
1d0d7c1
drm/msm/adreno: Set highest_bank_bit for A619
lweiss-fairphone Mar 28, 2024
52347d7
scsi: hisi_sas: Modify the deadline for ata_wait_after_reset()
Apr 2, 2024
ea8ac95
scsi: qla2xxx: Fix off by one in qla_edif_app_getstats()
Apr 2, 2024
739f812
net: openvswitch: fix unwanted error log on timeout policy probing
igsilya Apr 3, 2024
735cf43
u64_stats: fix u64_stats_init() for lockdep when used repeatedly in o…
ptesarik Apr 4, 2024
2eb979f
xsk: validate user input for XDP_{UMEM|COMPLETION}_FILL_RING
edumazet Apr 4, 2024
b34fe77
octeontx2-pf: Fix transmit scheduler resource leak
Apr 4, 2024
858c489
block: fix q->blkg_list corruption during disk rebind
Apr 7, 2024
1e77569
lib: checksum: hide unused expected_csum_ipv6_magic[]
arndb Apr 4, 2024
357163f
geneve: fix header validation in geneve[6]_xmit_skb
edumazet Apr 5, 2024
94ad0fd
s390/ism: fix receive message buffer allocation
Apr 5, 2024
10a9d6a
bnxt_en: Fix possible memory leak in bnxt_rdma_aux_device_init()
vikasbrcm Apr 5, 2024
c12a517
bnxt_en: Fix error recovery for RoCE ulp client
vikasbrcm Apr 5, 2024
3bc910c
bnxt_en: Reset PTP tx_avail after possible firmware reset
pavanchebbi Apr 5, 2024
022b7d5
ACPI: bus: allow _UID matching for integer zero
raagjadav Mar 28, 2024
13c92c2
base/node / ACPI: Enumerate node access class for 'struct access_coor…
davejiang Mar 8, 2024
ddf9cd4
ACPI: HMAT: Introduce 2 levels of generic port access class
davejiang Mar 8, 2024
9d8dc8c
ACPI: HMAT / cxl: Add retrieval of generic port coordinates for both …
davejiang Mar 8, 2024
fb1b371
cxl: Split out combine_coordinates() for common shared usage
davejiang Mar 8, 2024
83a6123
cxl: Split out host bridge access coordinates
davejiang Mar 8, 2024
81177c7
cxl: Remove checking of iter in cxl_endpoint_get_perf_coordinates()
davejiang Apr 3, 2024
7ed62bc
cxl: Fix retrieving of access_coordinates in PCIe path
davejiang Apr 3, 2024
4ad19eb
net: ks8851: Inline ks8851_rx_skb()
Apr 5, 2024
49d5d70
net: ks8851: Handle softirqs at the end of IRQ thread to fix hang
Apr 5, 2024
698a95a
af_unix: Clear stale u->oob_skb.
q2ven Apr 5, 2024
29f2b1e
octeontx2-af: Fix NIX SQ mode and BP config
Apr 8, 2024
c5f662f
ipv6: fib: hide unused 'pn' variable
arndb Apr 8, 2024
257b5b7
ipv4/route: avoid unused-but-set-variable warning
arndb Apr 8, 2024
6cdb20c
ipv6: fix race condition between ipv6_get_ifaddr and ipv6_del_addr
Apr 8, 2024
7abfa9c
pds_core: use pci_reset_function for health reset
emusln Feb 16, 2024
3840791
pds_core: Fix pdsc_check_pci_health function to use work thread
brettcreeley Apr 8, 2024
d280cff
Bluetooth: ISO: Align broadcast sync_timeout with connection timeout
Vudentz Mar 7, 2024
07664a7
Bluetooth: ISO: Don't reject BT_ISO_QOS if parameters are unset
Vudentz Mar 13, 2024
7a54f83
Bluetooth: hci_sync: Use QoS to determine which PHY to scan
Vudentz Feb 21, 2024
2bfa1a0
Bluetooth: hci_sync: Fix using the same interval and window for Coded…
Vudentz Mar 28, 2024
419a0ff
Bluetooth: SCO: Fix not validating setsockopt user input
Vudentz Apr 5, 2024
c3f787a
Bluetooth: RFCOMM: Fix not validating setsockopt user input
Vudentz Apr 5, 2024
8ee0c13
Bluetooth: L2CAP: Fix not validating setsockopt user input
Vudentz Apr 5, 2024
0c4a89f
Bluetooth: ISO: Fix not validating setsockopt user input
Vudentz Apr 5, 2024
5017388
Bluetooth: hci_sock: Fix not validating setsockopt user input
Vudentz Apr 5, 2024
441dadf
Bluetooth: l2cap: Don't double set the HCI_CONN_MGMT_CONNECTED bit
apusaka Apr 4, 2024
562b724
netfilter: complete validation of user input
edumazet Apr 9, 2024
87d1f84
net/mlx5: SF, Stop waiting for FW as teardown was called
mosheshemesh2 Jan 25, 2024
967caa3
net/mlx5: Register devlink first under devlink lock
shayshyi Apr 9, 2024
190d912
net/mlx5: offset comp irq index in name by one
mliang-pure Apr 9, 2024
adf67a0
net/mlx5: Properly link new fs rules into the tree
Apr 9, 2024
aed5666
net/mlx5: Correctly compare pkt reformat ids
Apr 9, 2024
b5fe208
net/mlx5e: RSS, Block changing channels number when RXFH is configured
cjubran Apr 9, 2024
6bd7786
net/mlx5e: Fix mlx5e_priv_init() cleanup flow
cjubran Apr 9, 2024
0e71339
net/mlx5e: HTB, Fix inconsistencies with QoS SQs number
cjubran Apr 9, 2024
b8ac341
net/mlx5e: Do not produce metadata freelist entries in Tx port ts WQE…
Binary-Eater Apr 9, 2024
91520ea
net: sparx5: fix wrong config being used when reconfiguring PCS
Danielmachon Apr 9, 2024
e421bc4
Revert "s390/ism: fix receive message buffer allocation"
Apr 9, 2024
9fe9a2a
net: dsa: mt7530: trap link-local frames regardless of ST Port State
arinc9 Apr 9, 2024
b21e48a
af_unix: Do not use atomic ops for unix_sk(sk)->inflight.
q2ven Jan 23, 2024
dbdf7be
af_unix: Fix garbage collector racing against connect()
mmhal Apr 9, 2024
0103534
net: ena: Fix potential sign extension issue
davidarinzon Apr 10, 2024
acb2e76
net: ena: Wrong missing IO completions check order
davidarinzon Apr 10, 2024
c31baa0
net: ena: Fix incorrect descriptor free behavior
davidarinzon Apr 10, 2024
f22bcdd
net: ena: Set tx_info->xdpf value to NULL
davidarinzon Apr 10, 2024
32bfe3a
drm/xe/display: Fix double mutex initialization
Apr 5, 2024
388f72d
drm/xe/hwmon: Cast result to output precision on left shift of operand
kpoosa Apr 5, 2024
da9b470
tracing: hide unused ftrace_event_id_fops
arndb Apr 3, 2024
b5e3929
iommu/vt-d: Fix wrong use of pasid config
XucSh Apr 11, 2024
2d7fd43
iommu/vt-d: Allocate local memory for page request queue
Apr 11, 2024
fba8ca3
iommu/vt-d: Fix WARN_ON in iommu probe path
LuBaolu Apr 11, 2024
f0194e4
io_uring: refactor DEFER_TASKRUN multishot checks
isilence Mar 8, 2024
47de1a7
io_uring: disable io-wq execution of multishot NOWAIT requests
axboe Apr 1, 2024
6c85b91
btrfs: qgroup: correctly model root qgroup rsv in convert
boryas Mar 19, 2024
6c95336
btrfs: qgroup: fix qgroup prealloc rsv leak in subvolume operations
boryas Mar 21, 2024
be1cb5f
btrfs: record delayed inode root in transaction
boryas Mar 21, 2024
e0a3644
btrfs: qgroup: convert PREALLOC to PERTRANS after record_root_in_trans
boryas Mar 21, 2024
c5f7e7c
io_uring/net: restore msg_control on sendzc retry
isilence Apr 8, 2024
36b57c7
kprobes: Fix possible use-after-free issue on kprobe registration
Apr 10, 2024
0f33fd8
fs/proc: remove redundant comments from /proc/bootconfig
Apr 9, 2024
786afd5
fs/proc: Skip bootloader comment if no embedded kernel parameters
mhiramat Apr 9, 2024
b0d1ebc
scsi: sg: Avoid sg device teardown race
alexw65500 Mar 20, 2024
e0a7b2d
scsi: sg: Avoid race in error handling & drop bogus warn
alexw65500 Apr 1, 2024
c02ea07
accel/ivpu: Check return code of ipc->lock init
kwachows Apr 2, 2024
3158174
accel/ivpu: Fix PCI D0 state entry in resume
kwachows Apr 2, 2024
4b042a1
accel/ivpu: Put NPU back to D3hot after failed resume
jlawryno Apr 2, 2024
d2eee41
accel/ivpu: Return max freq for DRM_IVPU_PARAM_CORE_CLOCK_RATE
jlawryno Apr 2, 2024
e601141
accel/ivpu: Fix deadlock in context_xa
jlawryno Apr 2, 2024
1e68394
drm/vmwgfx: Enable DMA mappings with SEV
zackr Apr 8, 2024
1a867af
drm/i915/vrr: Disable VRR when using bigjoiner
vsyrjala Apr 4, 2024
38042ce
drm/amdkfd: Reset GPU on queue preemption failure
hkasivis Mar 26, 2024
35768ba
drm/ast: Fix soft lockup
jammyaspeed Apr 3, 2024
e18070c
drm/panfrost: Fix the error path in panfrost_mmu_map_fault_addr()
bbrezillon Jan 5, 2024
8ceb873
drm/client: Fully protect modes[] with dev->mode_config.mutex
vsyrjala Apr 4, 2024
416558c
drm/msm/dp: fix runtime PM leak on disconnect
jhovold Mar 13, 2024
2ce20f2
drm/msm/dp: fix runtime PM leak on connect failure
jhovold Mar 13, 2024
de20c0d
drm/amdgpu/umsch: reinitialize write pointer in hw init
Mar 25, 2024
4f05917
arm64: dts: imx8qm-ss-dma: fix can lpcg indices
nxpfrankli Apr 1, 2024
275a0dd
arm64: dts: imx8-ss-dma: fix can lpcg indices
nxpfrankli Apr 1, 2024
0429074
arm64: dts: imx8-ss-dma: fix adc lpcg indices
nxpfrankli Apr 1, 2024
ea044f3
arm64: dts: imx8-ss-conn: fix usb lpcg indices
nxpfrankli Apr 1, 2024
40b50cb
arm64: dts: imx8-ss-dma: fix pwm lpcg indices
nxpfrankli Apr 1, 2024
55949f3
arm64: dts: imx8-ss-lsio: fix pwm lpcg indices
nxpfrankli Apr 1, 2024
e47b39e
arm64: dts: imx8-ss-dma: fix spi lpcg indices
nxpfrankli Apr 1, 2024
779555e
vhost: Add smp_rmb() in vhost_vq_avail_empty()
Mar 28, 2024
d771b88
vhost: Add smp_rmb() in vhost_enable_notify()
Mar 28, 2024
12efe9b
perf/x86: Fix out of range data
namhyung Mar 6, 2024
c4a9bab
x86/cpu: Actually turn off mitigations by default for SPECULATION_MIT…
sean-jc Apr 9, 2024
6cfbbdc
selftests/timers/posix_timers: Reimplement check_timer_distribution()
oleg-nesterov Apr 9, 2024
2ba1990
selftests: timers: Fix posix_timers ksft_print_msg() warning
johnstultz-work Apr 10, 2024
b5d2747
selftests: timers: Fix abs() warning in posix_timers test
johnstultz-work Apr 10, 2024
716a01b
selftests: kselftest: Mark functions that unconditionally call exit()…
nathanchance Apr 11, 2024
d6decf4
x86/apic: Force native_apic_mem_read() to use the MOV instruction
AdamCDunlap Mar 18, 2024
3946c99
irqflags: Explicitly ignore lockdep_hrtimer_exit() argument
arndb Apr 8, 2024
bbb2d4c
selftests: kselftest: Fix build failure with NOLIBC
oleg-nesterov Apr 12, 2024
bb43c56
kernfs: annotate different lockdep class for of->mutex of writable files
amir73il Apr 5, 2024
183d8be
x86/bugs: Fix return type of spectre_bhi_state()
Apr 9, 2024
2fa1969
x86/bugs: Fix BHI documentation
jpoimboe Apr 11, 2024
fa88094
x86/bugs: Cache the value of MSR_IA32_ARCH_CAPABILITIES
jpoimboe Apr 11, 2024
5135e07
x86/bugs: Rename various 'ia32_cap' variables to 'x86_arch_cap_msr'
Apr 11, 2024
122b446
x86/bugs: Fix BHI handling of RRSBA
jpoimboe Apr 11, 2024
267b246
x86/bugs: Clarify that syscall hardening isn't a BHI mitigation
jpoimboe Apr 11, 2024
4e017a9
x86/bugs: Remove CONFIG_BHI_MITIGATION_AUTO and spectre_bhi=auto
jpoimboe Apr 11, 2024
aeadab1
x86/bugs: Replace CONFIG_SPECTRE_BHI_{ON,OFF} with CONFIG_MITIGATION_…
jpoimboe Apr 11, 2024
a370bc2
drm/i915/cdclk: Fix CDCLK programming order when pipes are active
vsyrjala Apr 2, 2024
89bd7fe
drm/i915/psr: Disable PSR when bigjoiner is used
vsyrjala Apr 4, 2024
fd2bfa9
drm/i915: Disable port sync when bigjoiner is used
vsyrjala Apr 4, 2024
7da638c
drm/i915: Disable live M/N updates when using bigjoiner
vsyrjala Apr 4, 2024
368d52b
drm/amdgpu: Reset dGPU if suspend got aborted
Feb 14, 2024
8fa8b86
drm/amdgpu: always force full reset for SOC21
alexdeucher Mar 24, 2024
14dd86a
drm/amdgpu: fix incorrect number of active RBs for gfx11
timhuang-amd Apr 3, 2024
531e349
drm/amdgpu: differentiate external rev id for gfx 11.5.0
yifancom Apr 7, 2024
7f348c0
drm/amd/display: Program VSC SDP colorimetry for all DP sinks >= 1.4
Mar 12, 2024
b220c61
drm/amd/display: Set VSC SDP Colorimetry same way for MST and SST
Mar 21, 2024
379bf98
drm/amd/display: Do not recursively call manual trigger programming
Mar 21, 2024
411ec82
drm/amd/display: Return max resolution supported by DWB
Mar 23, 2024
41bd90a
drm/amd/display: always reset ODM mode in context when adding first p…
Mar 22, 2024
c74c0b2
drm/amd/display: fix disable otg wa logic in DCN316
Mar 26, 2024
12dadc4
Linux 6.8.7
gregkh Apr 17, 2024
c03b3ec
Merge tag 'v6.8.7' into 6.8/main
heftig Apr 17, 2024
b6ef96a
Linux ZEN kernel v6.8.7-zen1
heftig Apr 17, 2024
e96deda
Merge tag 'v6.8.7-zen1' into acjl/update-to-6.8.7
ljmf00 Apr 18, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 9 additions & 13 deletions Documentation/admin-guide/hw-vuln/spectre.rst
Original file line number Diff line number Diff line change
Expand Up @@ -439,12 +439,12 @@ The possible values in this file are:
- System is protected by retpoline
* - BHI: BHI_DIS_S
- System is protected by BHI_DIS_S
* - BHI: SW loop; KVM SW loop
* - BHI: SW loop, KVM SW loop
- System is protected by software clearing sequence
* - BHI: Syscall hardening
- Syscalls are hardened against BHI
* - BHI: Syscall hardening; KVM: SW loop
- System is protected from userspace attacks by syscall hardening; KVM 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
Expand Down Expand Up @@ -661,18 +661,14 @@ kernel command line.
spectre_bhi=

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

on
unconditionally enable.
(default) Enable the HW or SW mitigation as
needed.
off
unconditionally disable.
auto
enable if hardware mitigation
control(BHI_DIS_S) is available, otherwise
enable alternate mitigation in KVM.
Disable the mitigation.

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

Expand Down
12 changes: 5 additions & 7 deletions Documentation/admin-guide/kernel-parameters.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3411,6 +3411,7 @@
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 @@ -6038,16 +6039,13 @@
See Documentation/admin-guide/laptops/sonypi.rst

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

on - unconditionally enable.
off - unconditionally disable.
auto - (default) enable hardware mitigation
(BHI_DIS_S) if available, otherwise enable
alternate mitigation in KVM.
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.
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
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# SPDX-License-Identifier: GPL-2.0
VERSION = 6
PATCHLEVEL = 8
SUBLEVEL = 6
SUBLEVEL = 7
EXTRAVERSION = -acjl1
NAME = Turtles are amazing

Expand Down
1 change: 1 addition & 0 deletions arch/arm/boot/dts/nxp/imx/imx7s-warp.dts
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,7 @@
remote-endpoint = <&mipi_from_sensor>;
clock-lanes = <0>;
data-lanes = <1>;
link-frequencies = /bits/ 64 <330000000>;
};
};
};
Expand Down
23 changes: 10 additions & 13 deletions arch/arm/mach-omap2/board-n8x0.c
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,8 @@ static struct musb_hdrc_platform_data tusb_data = {
static struct gpiod_lookup_table tusb_gpio_table = {
.dev_id = "musb-tusb",
.table = {
GPIO_LOOKUP("gpio-0-15", 0, "enable",
GPIO_ACTIVE_HIGH),
GPIO_LOOKUP("gpio-48-63", 10, "int",
GPIO_ACTIVE_HIGH),
GPIO_LOOKUP("gpio-0-31", 0, "enable", GPIO_ACTIVE_HIGH),
GPIO_LOOKUP("gpio-32-63", 26, "int", GPIO_ACTIVE_HIGH),
{ }
},
};
Expand Down Expand Up @@ -140,25 +138,24 @@ static int slot1_cover_open;
static int slot2_cover_open;
static struct device *mmc_device;

static struct gpiod_lookup_table nokia8xx_mmc_gpio_table = {
static struct gpiod_lookup_table nokia800_mmc_gpio_table = {
.dev_id = "mmci-omap.0",
.table = {
/* Slot switch, GPIO 96 */
GPIO_LOOKUP("gpio-80-111", 16,
"switch", GPIO_ACTIVE_HIGH),
GPIO_LOOKUP("gpio-96-127", 0, "switch", GPIO_ACTIVE_HIGH),
{ }
},
};

static struct gpiod_lookup_table nokia810_mmc_gpio_table = {
.dev_id = "mmci-omap.0",
.table = {
/* Slot switch, GPIO 96 */
GPIO_LOOKUP("gpio-96-127", 0, "switch", GPIO_ACTIVE_HIGH),
/* Slot index 1, VSD power, GPIO 23 */
GPIO_LOOKUP_IDX("gpio-16-31", 7,
"vsd", 1, GPIO_ACTIVE_HIGH),
GPIO_LOOKUP_IDX("gpio-0-31", 23, "vsd", 1, GPIO_ACTIVE_HIGH),
/* Slot index 1, VIO power, GPIO 9 */
GPIO_LOOKUP_IDX("gpio-0-15", 9,
"vio", 1, GPIO_ACTIVE_HIGH),
GPIO_LOOKUP_IDX("gpio-0-31", 9, "vio", 1, GPIO_ACTIVE_HIGH),
{ }
},
};
Expand Down Expand Up @@ -415,8 +412,6 @@ static struct omap_mmc_platform_data *mmc_data[OMAP24XX_NR_MMC];

static void __init n8x0_mmc_init(void)
{
gpiod_add_lookup_table(&nokia8xx_mmc_gpio_table);

if (board_is_n810()) {
mmc1_data.slots[0].name = "external";

Expand All @@ -429,6 +424,8 @@ static void __init n8x0_mmc_init(void)
mmc1_data.slots[1].name = "internal";
mmc1_data.slots[1].ban_openended = 1;
gpiod_add_lookup_table(&nokia810_mmc_gpio_table);
} else {
gpiod_add_lookup_table(&nokia800_mmc_gpio_table);
}

mmc1_data.nr_slots = 2;
Expand Down
16 changes: 8 additions & 8 deletions arch/arm64/boot/dts/freescale/imx8-ss-conn.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ conn_subsys: bus@5b000000 {
interrupts = <GIC_SPI 267 IRQ_TYPE_LEVEL_HIGH>;
fsl,usbphy = <&usbphy1>;
fsl,usbmisc = <&usbmisc1 0>;
clocks = <&usb2_lpcg 0>;
clocks = <&usb2_lpcg IMX_LPCG_CLK_6>;
ahb-burst-config = <0x0>;
tx-burst-size-dword = <0x10>;
rx-burst-size-dword = <0x10>;
Expand All @@ -58,7 +58,7 @@ conn_subsys: bus@5b000000 {
usbphy1: usbphy@5b100000 {
compatible = "fsl,imx7ulp-usbphy";
reg = <0x5b100000 0x1000>;
clocks = <&usb2_lpcg 1>;
clocks = <&usb2_lpcg IMX_LPCG_CLK_7>;
power-domains = <&pd IMX_SC_R_USB_0_PHY>;
status = "disabled";
};
Expand All @@ -67,8 +67,8 @@ conn_subsys: bus@5b000000 {
interrupts = <GIC_SPI 232 IRQ_TYPE_LEVEL_HIGH>;
reg = <0x5b010000 0x10000>;
clocks = <&sdhc0_lpcg IMX_LPCG_CLK_4>,
<&sdhc0_lpcg IMX_LPCG_CLK_0>,
<&sdhc0_lpcg IMX_LPCG_CLK_5>;
<&sdhc0_lpcg IMX_LPCG_CLK_5>,
<&sdhc0_lpcg IMX_LPCG_CLK_0>;
clock-names = "ipg", "ahb", "per";
power-domains = <&pd IMX_SC_R_SDHC_0>;
status = "disabled";
Expand All @@ -78,8 +78,8 @@ conn_subsys: bus@5b000000 {
interrupts = <GIC_SPI 233 IRQ_TYPE_LEVEL_HIGH>;
reg = <0x5b020000 0x10000>;
clocks = <&sdhc1_lpcg IMX_LPCG_CLK_4>,
<&sdhc1_lpcg IMX_LPCG_CLK_0>,
<&sdhc1_lpcg IMX_LPCG_CLK_5>;
<&sdhc1_lpcg IMX_LPCG_CLK_5>,
<&sdhc1_lpcg IMX_LPCG_CLK_0>;
clock-names = "ipg", "ahb", "per";
power-domains = <&pd IMX_SC_R_SDHC_1>;
fsl,tuning-start-tap = <20>;
Expand All @@ -91,8 +91,8 @@ conn_subsys: bus@5b000000 {
interrupts = <GIC_SPI 234 IRQ_TYPE_LEVEL_HIGH>;
reg = <0x5b030000 0x10000>;
clocks = <&sdhc2_lpcg IMX_LPCG_CLK_4>,
<&sdhc2_lpcg IMX_LPCG_CLK_0>,
<&sdhc2_lpcg IMX_LPCG_CLK_5>;
<&sdhc2_lpcg IMX_LPCG_CLK_5>,
<&sdhc2_lpcg IMX_LPCG_CLK_0>;
clock-names = "ipg", "ahb", "per";
power-domains = <&pd IMX_SC_R_SDHC_2>;
status = "disabled";
Expand Down
40 changes: 20 additions & 20 deletions arch/arm64/boot/dts/freescale/imx8-ss-dma.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ dma_subsys: bus@5a000000 {
#size-cells = <0>;
interrupts = <GIC_SPI 336 IRQ_TYPE_LEVEL_HIGH>;
interrupt-parent = <&gic>;
clocks = <&spi0_lpcg 0>,
<&spi0_lpcg 1>;
clocks = <&spi0_lpcg IMX_LPCG_CLK_0>,
<&spi0_lpcg IMX_LPCG_CLK_4>;
clock-names = "per", "ipg";
assigned-clocks = <&clk IMX_SC_R_SPI_0 IMX_SC_PM_CLK_PER>;
assigned-clock-rates = <60000000>;
Expand All @@ -43,8 +43,8 @@ dma_subsys: bus@5a000000 {
#size-cells = <0>;
interrupts = <GIC_SPI 337 IRQ_TYPE_LEVEL_HIGH>;
interrupt-parent = <&gic>;
clocks = <&spi1_lpcg 0>,
<&spi1_lpcg 1>;
clocks = <&spi1_lpcg IMX_LPCG_CLK_0>,
<&spi1_lpcg IMX_LPCG_CLK_4>;
clock-names = "per", "ipg";
assigned-clocks = <&clk IMX_SC_R_SPI_1 IMX_SC_PM_CLK_PER>;
assigned-clock-rates = <60000000>;
Expand All @@ -59,8 +59,8 @@ dma_subsys: bus@5a000000 {
#size-cells = <0>;
interrupts = <GIC_SPI 338 IRQ_TYPE_LEVEL_HIGH>;
interrupt-parent = <&gic>;
clocks = <&spi2_lpcg 0>,
<&spi2_lpcg 1>;
clocks = <&spi2_lpcg IMX_LPCG_CLK_0>,
<&spi2_lpcg IMX_LPCG_CLK_4>;
clock-names = "per", "ipg";
assigned-clocks = <&clk IMX_SC_R_SPI_2 IMX_SC_PM_CLK_PER>;
assigned-clock-rates = <60000000>;
Expand All @@ -75,8 +75,8 @@ dma_subsys: bus@5a000000 {
#size-cells = <0>;
interrupts = <GIC_SPI 339 IRQ_TYPE_LEVEL_HIGH>;
interrupt-parent = <&gic>;
clocks = <&spi3_lpcg 0>,
<&spi3_lpcg 1>;
clocks = <&spi3_lpcg IMX_LPCG_CLK_0>,
<&spi3_lpcg IMX_LPCG_CLK_4>;
clock-names = "per", "ipg";
assigned-clocks = <&clk IMX_SC_R_SPI_3 IMX_SC_PM_CLK_PER>;
assigned-clock-rates = <60000000>;
Expand Down Expand Up @@ -144,8 +144,8 @@ dma_subsys: bus@5a000000 {
compatible = "fsl,imx8qxp-pwm", "fsl,imx27-pwm";
reg = <0x5a190000 0x1000>;
interrupts = <GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&adma_pwm_lpcg 1>,
<&adma_pwm_lpcg 0>;
clocks = <&adma_pwm_lpcg IMX_LPCG_CLK_4>,
<&adma_pwm_lpcg IMX_LPCG_CLK_0>;
clock-names = "ipg", "per";
assigned-clocks = <&clk IMX_SC_R_LCD_0_PWM_0 IMX_SC_PM_CLK_PER>;
assigned-clock-rates = <24000000>;
Expand Down Expand Up @@ -377,8 +377,8 @@ dma_subsys: bus@5a000000 {
reg = <0x5a880000 0x10000>;
interrupts = <GIC_SPI 240 IRQ_TYPE_LEVEL_HIGH>;
interrupt-parent = <&gic>;
clocks = <&adc0_lpcg 0>,
<&adc0_lpcg 1>;
clocks = <&adc0_lpcg IMX_LPCG_CLK_0>,
<&adc0_lpcg IMX_LPCG_CLK_4>;
clock-names = "per", "ipg";
assigned-clocks = <&clk IMX_SC_R_ADC_0 IMX_SC_PM_CLK_PER>;
assigned-clock-rates = <24000000>;
Expand All @@ -392,8 +392,8 @@ dma_subsys: bus@5a000000 {
reg = <0x5a890000 0x10000>;
interrupts = <GIC_SPI 241 IRQ_TYPE_LEVEL_HIGH>;
interrupt-parent = <&gic>;
clocks = <&adc1_lpcg 0>,
<&adc1_lpcg 1>;
clocks = <&adc1_lpcg IMX_LPCG_CLK_0>,
<&adc1_lpcg IMX_LPCG_CLK_4>;
clock-names = "per", "ipg";
assigned-clocks = <&clk IMX_SC_R_ADC_1 IMX_SC_PM_CLK_PER>;
assigned-clock-rates = <24000000>;
Expand All @@ -406,8 +406,8 @@ dma_subsys: bus@5a000000 {
reg = <0x5a8d0000 0x10000>;
interrupts = <GIC_SPI 235 IRQ_TYPE_LEVEL_HIGH>;
interrupt-parent = <&gic>;
clocks = <&can0_lpcg 1>,
<&can0_lpcg 0>;
clocks = <&can0_lpcg IMX_LPCG_CLK_4>,
<&can0_lpcg IMX_LPCG_CLK_0>;
clock-names = "ipg", "per";
assigned-clocks = <&clk IMX_SC_R_CAN_0 IMX_SC_PM_CLK_PER>;
assigned-clock-rates = <40000000>;
Expand All @@ -427,8 +427,8 @@ dma_subsys: bus@5a000000 {
* CAN1 shares CAN0's clock and to enable CAN0's clock it
* has to be powered on.
*/
clocks = <&can0_lpcg 1>,
<&can0_lpcg 0>;
clocks = <&can0_lpcg IMX_LPCG_CLK_4>,
<&can0_lpcg IMX_LPCG_CLK_0>;
clock-names = "ipg", "per";
assigned-clocks = <&clk IMX_SC_R_CAN_0 IMX_SC_PM_CLK_PER>;
assigned-clock-rates = <40000000>;
Expand All @@ -448,8 +448,8 @@ dma_subsys: bus@5a000000 {
* CAN2 shares CAN0's clock and to enable CAN0's clock it
* has to be powered on.
*/
clocks = <&can0_lpcg 1>,
<&can0_lpcg 0>;
clocks = <&can0_lpcg IMX_LPCG_CLK_4>,
<&can0_lpcg IMX_LPCG_CLK_0>;
clock-names = "ipg", "per";
assigned-clocks = <&clk IMX_SC_R_CAN_0 IMX_SC_PM_CLK_PER>;
assigned-clock-rates = <40000000>;
Expand Down
16 changes: 8 additions & 8 deletions arch/arm64/boot/dts/freescale/imx8-ss-lsio.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ lsio_subsys: bus@5d000000 {
compatible = "fsl,imx27-pwm";
reg = <0x5d000000 0x10000>;
clock-names = "ipg", "per";
clocks = <&pwm0_lpcg 4>,
<&pwm0_lpcg 1>;
clocks = <&pwm0_lpcg IMX_LPCG_CLK_6>,
<&pwm0_lpcg IMX_LPCG_CLK_1>;
assigned-clocks = <&clk IMX_SC_R_PWM_0 IMX_SC_PM_CLK_PER>;
assigned-clock-rates = <24000000>;
#pwm-cells = <3>;
Expand All @@ -38,8 +38,8 @@ lsio_subsys: bus@5d000000 {
compatible = "fsl,imx27-pwm";
reg = <0x5d010000 0x10000>;
clock-names = "ipg", "per";
clocks = <&pwm1_lpcg 4>,
<&pwm1_lpcg 1>;
clocks = <&pwm1_lpcg IMX_LPCG_CLK_6>,
<&pwm1_lpcg IMX_LPCG_CLK_1>;
assigned-clocks = <&clk IMX_SC_R_PWM_1 IMX_SC_PM_CLK_PER>;
assigned-clock-rates = <24000000>;
#pwm-cells = <3>;
Expand All @@ -51,8 +51,8 @@ lsio_subsys: bus@5d000000 {
compatible = "fsl,imx27-pwm";
reg = <0x5d020000 0x10000>;
clock-names = "ipg", "per";
clocks = <&pwm2_lpcg 4>,
<&pwm2_lpcg 1>;
clocks = <&pwm2_lpcg IMX_LPCG_CLK_6>,
<&pwm2_lpcg IMX_LPCG_CLK_1>;
assigned-clocks = <&clk IMX_SC_R_PWM_2 IMX_SC_PM_CLK_PER>;
assigned-clock-rates = <24000000>;
#pwm-cells = <3>;
Expand All @@ -64,8 +64,8 @@ lsio_subsys: bus@5d000000 {
compatible = "fsl,imx27-pwm";
reg = <0x5d030000 0x10000>;
clock-names = "ipg", "per";
clocks = <&pwm3_lpcg 4>,
<&pwm3_lpcg 1>;
clocks = <&pwm3_lpcg IMX_LPCG_CLK_6>,
<&pwm3_lpcg IMX_LPCG_CLK_1>;
assigned-clocks = <&clk IMX_SC_R_PWM_3 IMX_SC_PM_CLK_PER>;
assigned-clock-rates = <24000000>;
#pwm-cells = <3>;
Expand Down
2 changes: 1 addition & 1 deletion arch/arm64/boot/dts/freescale/imx8mp-venice-gw72xx.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
pinctrl-0 = <&pinctrl_usbcon1>;
type = "micro";
label = "otg";
vbus-supply = <&reg_usb1_vbus>;
id-gpios = <&gpio3 21 GPIO_ACTIVE_HIGH>;

port {
Expand Down Expand Up @@ -183,7 +184,6 @@
};

&usb3_phy0 {
vbus-supply = <&reg_usb1_vbus>;
status = "okay";
};

Expand Down
Loading