~mreed8855/ubuntu/+source/linux/+git/noble:lp_2077287_locate_led_nvme

Last commit made on 2024-09-23
Get this branch:
git clone -b lp_2077287_locate_led_nvme https://git.launchpad.net/~mreed8855/ubuntu/+source/linux/+git/noble
Only Michael Reed can upload to this branch. If you are Michael Reed please log in for upload directions.

Branch merges

Branch information

Name:
lp_2077287_locate_led_nvme
Repository:
lp:~mreed8855/ubuntu/+source/linux/+git/noble

Recent commits

51eb61c... by Błażej Kucman

PCI: pciehp: Retain Power Indicator bits for userspace indicators

BugLink: https://bugs.launchpad.net/bugs/2077287

The sysfs "attention" file normally controls the Slot Control Attention
Indicator with 0 (off), 1 (on), 2 (blink) settings.

576243b3f9ea ("PCI: pciehp: Allow exclusive userspace control of
indicators") added pciehp_set_raw_indicator_status() to allow userspace to
directly control all four bits in both the Attention Indicator and the
Power Indicator fields via the "attention" file.

This is used on Intel VMD bridges so utilities like "ledmon" can use sysfs
"attention" to control up to 16 indicators for NVMe device RAID status.

abaaac4845a0 ("PCI: hotplug: Use FIELD_GET/PREP()") broke this by masking
the sysfs data with PCI_EXP_SLTCTL_AIC, which discards the upper two bits
intended for the Power Indicator Control field (PCI_EXP_SLTCTL_PIC).

For NVMe devices behind an Intel VMD, ledmon settings that use the
PCI_EXP_SLTCTL_PIC bits, i.e., ATTENTION_REBUILD (0x5), ATTENTION_LOCATE
(0x7), ATTENTION_FAILURE (0xD), ATTENTION_OFF (0xF), no longer worked
correctly.

Mask with PCI_EXP_SLTCTL_AIC | PCI_EXP_SLTCTL_PIC to retain both the
Attention Indicator and the Power Indicator bits.

Fixes: abaaac4845a0 ("PCI: hotplug: Use FIELD_GET/PREP()")
Link: https://<email address hidden>
Signed-off-by: Blazej Kucman <email address hidden>
[bhelgaas: commit log]
Signed-off-by: Bjorn Helgaas <email address hidden>
Cc: <email address hidden> # v6.7+
(cherry picked from commit 5560a612c20d3daacbf5da7913deefa5c31742f4)
Signed-off-by: Michael Reed <email address hidden>

8092cd3... by Hari Bathini <email address hidden>

powerpc/64s/radix/kfence: map __kfence_pool at page granularity

BugLink: https://bugs.launchpad.net/bugs/2060039

When KFENCE is enabled, total system memory is mapped at page level
granularity. But in radix MMU mode, ~3GB additional memory is needed
to map 100GB of system memory at page level granularity when compared
to using 2MB direct mapping.This is not desired considering KFENCE is
designed to be enabled in production kernels [1].

Mapping only the memory allocated for KFENCE pool at page granularity is
sufficient to enable KFENCE support. So, allocate __kfence_pool during
bootup and map it at page granularity instead of mapping all system
memory at page granularity.

Without patch:
  # cat /proc/meminfo
  MemTotal: 101201920 kB

With patch:
  # cat /proc/meminfo
  MemTotal: 104483904 kB

Note that enabling KFENCE at runtime is disabled for radix MMU for now,
as it depends on the ability to split page table mappings and such APIs
are not currently implemented for radix MMU.

All kfence_test.c testcases passed with this patch.

[1] https://<email address hidden>/

Signed-off-by: Hari Bathini <email address hidden>
Signed-off-by: Michael Ellerman <email address hidden>
Link: https://<email address hidden>

(cherry picked from commit 353d7a84c214f184d5a6b62acdec8b4424159b7c)
Signed-off-by: Patricia Domingues <email address hidden>
Acked-by: Kuan-Ying Lee <email address hidden>
Acked-by: Manuel Diewald <email address hidden>
Signed-off-by: Stefan Bader <email address hidden>

d89943e... by Portia Stephens

UBUNTU: Upstream stable to v6.6.43, v6.9.12

BugLink: https://bugs.launchpad.net/bugs/2079945

Signed-off-by: Portia Stephens <email address hidden>
Signed-off-by: Stefan Bader <email address hidden>

6f257f3... by Krishna Kurapati <email address hidden>

arm64: dts: qcom: sdm845: Disable SS instance in Parkmode for USB

BugLink: https://bugs.launchpad.net/bugs/2079945

commit cf4d6d54eadb60d2ee4d31c9d92299f5e8dcb55c upstream.

For Gen-1 targets like SDM845, it is seen that stressing out the
controller in host mode results in HC died error:

 xhci-hcd.12.auto: xHCI host not responding to stop endpoint command
 xhci-hcd.12.auto: xHCI host controller not responding, assume dead
 xhci-hcd.12.auto: HC died; cleaning up

And at this instant only restarting the host mode fixes it. Disable
SuperSpeed instance in park mode for SDM845 to mitigate this issue.

Cc: <email address hidden>
Fixes: ca4db2b538a1 ("arm64: dts: qcom: sdm845: Add USB-related nodes")
Signed-off-by: Krishna Kurapati <email address hidden>
Reviewed-by: Konrad Dybcio <email address hidden>
Link: https://<email address hidden>
Signed-off-by: Bjorn Andersson <email address hidden>
Signed-off-by: Greg Kroah-Hartman <email address hidden>
Signed-off-by: Portia Stephens <email address hidden>
Signed-off-by: Stefan Bader <email address hidden>

8ac777d... by Krishna Kurapati <email address hidden>

arm64: dts: qcom: ipq8074: Disable SS instance in Parkmode for USB

BugLink: https://bugs.launchpad.net/bugs/2079945

commit dc6ba95c6c4400a84cca5b419b34ae852a08cfb5 upstream.

For Gen-1 targets like IPQ8074, it is seen that stressing out the
controller in host mode results in HC died error:

 xhci-hcd.12.auto: xHCI host not responding to stop endpoint command
 xhci-hcd.12.auto: xHCI host controller not responding, assume dead
 xhci-hcd.12.auto: HC died; cleaning up

And at this instant only restarting the host mode fixes it. Disable
SuperSpeed instance in park mode for IPQ8074 to mitigate this issue.

Cc: <email address hidden>
Fixes: 5e09bc51d07b ("arm64: dts: ipq8074: enable USB support")
Signed-off-by: Krishna Kurapati <email address hidden>
Reviewed-by: Konrad Dybcio <email address hidden>
Link: https://<email address hidden>
Signed-off-by: Bjorn Andersson <email address hidden>
Signed-off-by: Greg Kroah-Hartman <email address hidden>
Signed-off-by: Portia Stephens <email address hidden>
Signed-off-by: Stefan Bader <email address hidden>

dc3d92f... by Krishna Kurapati <email address hidden>

arm64: dts: qcom: msm8998: Disable SS instance in Parkmode for USB

BugLink: https://bugs.launchpad.net/bugs/2079945

commit 0046325ae52079b46da13a7f84dd7b2a6f7c38f8 upstream.

For Gen-1 targets like MSM8998, it is seen that stressing out the
controller in host mode results in HC died error:

 xhci-hcd.12.auto: xHCI host not responding to stop endpoint command
 xhci-hcd.12.auto: xHCI host controller not responding, assume dead
 xhci-hcd.12.auto: HC died; cleaning up

And at this instant only restarting the host mode fixes it. Disable
SuperSpeed instance in park mode for MSM8998 to mitigate this issue.

Cc: <email address hidden>
Fixes: 026dad8f5873 ("arm64: dts: qcom: msm8998: Add USB-related nodes")
Signed-off-by: Krishna Kurapati <email address hidden>
Reviewed-by: Konrad Dybcio <email address hidden>
Link: https://<email address hidden>
Signed-off-by: Bjorn Andersson <email address hidden>
Signed-off-by: Greg Kroah-Hartman <email address hidden>
Signed-off-by: Portia Stephens <email address hidden>
Signed-off-by: Stefan Bader <email address hidden>

c725473... by Dmitry Baryshkov <email address hidden>

arm64: dts: qcom: qrb2210-rb1: switch I2C2 to i2c-gpio

BugLink: https://bugs.launchpad.net/bugs/2079945

commit b7b545ccc08873e107aa24c461b1fdb123dd3761 upstream.

On the Qualcomm RB1 platform the I2C bus connected to the LT9611UXC
bridge under some circumstances can go into a state when all transfers
timeout. This causes both issues with fetching of EDID and with
updating of the bridge's firmware. While we are debugging the issue,
switch corresponding I2C bus to use i2c-gpio driver. While using
i2c-gpio no communication issues are observed.

This patch is asusmed to be a temporary fix, so it is implemented in a
non-intrusive manner to simply reverting it later.

Fixes: 616eda24edd4 ("arm64: dts: qcom: qrb2210-rb1: Set up HDMI")
Cc: <email address hidden>
Signed-off-by: Dmitry Baryshkov <email address hidden>
Reviewed-by: Caleb Connolly <email address hidden>
Link: https://<email address hidden>
Signed-off-by: Bjorn Andersson <email address hidden>
Signed-off-by: Greg Kroah-Hartman <email address hidden>
Signed-off-by: Portia Stephens <email address hidden>
Signed-off-by: Stefan Bader <email address hidden>

2669222... by Krishna Kurapati <email address hidden>

arm64: dts: qcom: sc7280: Disable SuperSpeed instances in park mode

BugLink: https://bugs.launchpad.net/bugs/2079945

commit 3d930f1750ce30a6c36dbc71f8ff7e20322b94d7 upstream.

On SC7280, in host mode, it is observed that stressing out controller
results in HC died error:

 xhci-hcd.12.auto: xHCI host not responding to stop endpoint command
 xhci-hcd.12.auto: xHCI host controller not responding, assume dead
 xhci-hcd.12.auto: HC died; cleaning up

And at this instant only restarting the host mode fixes it. Disable
SuperSpeed instances in park mode for SC7280 to mitigate this issue.

Reported-by: Doug Anderson <email address hidden>
Cc: <email address hidden>
Fixes: bb9efa59c665 ("arm64: dts: qcom: sc7280: Add USB related nodes")
Signed-off-by: Krishna Kurapati <email address hidden>
Reviewed-by: Konrad Dybcio <email address hidden>
Link: https://<email address hidden>
Signed-off-by: Bjorn Andersson <email address hidden>
Signed-off-by: Greg Kroah-Hartman <email address hidden>
Signed-off-by: Portia Stephens <email address hidden>
Signed-off-by: Stefan Bader <email address hidden>

59d3b13... by Krishna Kurapati <email address hidden>

arm64: dts: qcom: sc7180: Disable SuperSpeed instances in park mode

BugLink: https://bugs.launchpad.net/bugs/2079945

commit 5b8baed4b88132c12010ce6ca1b56f00d122e376 upstream.

On SC7180, in host mode, it is observed that stressing out controller
results in HC died error:

 xhci-hcd.12.auto: xHCI host not responding to stop endpoint command
 xhci-hcd.12.auto: xHCI host controller not responding, assume dead
 xhci-hcd.12.auto: HC died; cleaning up

And at this instant only restarting the host mode fixes it. Disable
SuperSpeed instances in park mode for SC7180 to mitigate this issue.

Reported-by: Doug Anderson <email address hidden>
Cc: <email address hidden>
Fixes: 0b766e7fe5a2 ("arm64: dts: qcom: sc7180: Add USB related nodes")
Signed-off-by: Krishna Kurapati <email address hidden>
Reviewed-by: Konrad Dybcio <email address hidden>
Link: https://<email address hidden>
Signed-off-by: Bjorn Andersson <email address hidden>
Signed-off-by: Greg Kroah-Hartman <email address hidden>
Signed-off-by: Portia Stephens <email address hidden>
Signed-off-by: Stefan Bader <email address hidden>

495f048... by Shenghao Ding <email address hidden>

ALSA: hda/tas2781: Add new quirk for Lenovo Hera2 Laptop

BugLink: https://bugs.launchpad.net/bugs/2079945

commit 1e5597e5ff18d452cf9afa847e904f301d1ac690 upstream.

Add new vendor_id and subsystem_id in quirk for Lenovo Hera2 Laptop.

Signed-off-by: Shenghao Ding <email address hidden>
Cc: <email address hidden>
Link: https://<email address hidden>
Signed-off-by: Takashi Iwai <email address hidden>
Signed-off-by: Greg Kroah-Hartman <email address hidden>
Signed-off-by: Portia Stephens <email address hidden>
Signed-off-by: Stefan Bader <email address hidden>