[Kernel-packages] [Bug 2011389] Re: vmd may fail to create sysfs entry while `pci_rescan_bus()` called in some other drivers like wwan

2024-01-07 Thread Anthony Wong
** Also affects: linux-oem-6.5 (Ubuntu)
   Importance: Undecided
   Status: New

** Changed in: linux-oem-6.5 (Ubuntu)
   Status: New => Invalid

** Changed in: linux-oem-6.5 (Ubuntu Jammy)
   Status: New => Fix Released

** Changed in: linux-oem-6.5 (Ubuntu Lunar)
   Status: New => Invalid

** Changed in: hwe-next
   Status: New => Fix Released

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-oem-6.5 in Ubuntu.
https://bugs.launchpad.net/bugs/2011389

Title:
  vmd may fail to create sysfs entry while `pci_rescan_bus()` called in
  some other drivers like wwan

Status in HWE Next:
  Fix Released
Status in linux package in Ubuntu:
  Fix Released
Status in linux-oem-6.0 package in Ubuntu:
  Invalid
Status in linux-oem-6.1 package in Ubuntu:
  Invalid
Status in linux-oem-6.5 package in Ubuntu:
  Invalid
Status in linux source package in Jammy:
  Invalid
Status in linux-oem-6.0 source package in Jammy:
  Won't Fix
Status in linux-oem-6.1 source package in Jammy:
  Fix Released
Status in linux-oem-6.5 source package in Jammy:
  Fix Released
Status in linux source package in Lunar:
  Fix Released
Status in linux-oem-6.0 source package in Lunar:
  Invalid
Status in linux-oem-6.1 source package in Lunar:
  Invalid
Status in linux-oem-6.5 source package in Lunar:
  Invalid

Bug description:
  [SRU Justification]

  [Impact]

  With wwan t7xx driver patched, vmd may fail the probe process because
  it does not lock properly.

  [Fix]

  https://lore.kernel.org/linux-
  pci/20230313173733.1815277-1-vicamo.y...@canonical.com/T/#u

  [Test Case]

  Verify on platforms with FM350 wwan module with prebuilt oem-6.1 or
  above kernels. No vmd probe error should be found in dmesg.

  [Where problems could occur]

  This is the way it should have been done.

  [Other Info]

  This is not reproducible with v6.0 or older kernels, so only Lunar and
  oem-6.1 are nominated for fix. OEM-6.0 patch goes to Gerrit instead.

  == original bug report ==

  vmd may fail to create sysfs entry while `pci_rescan_bus()` called in
  some other drivers like wwan.

  This happens after bug 2002089 re-added pci rescan feature back to
  wwan t7xx driver to support firmware updates via devlink. t7xx may
  call `pci_rescan_bus()` with proper locks, but vmd doesn't.

  sysfs: cannot create duplicate filename '/devices/.../resource0'
  Call Trace:
   
   sysfs_warn_dup.cold+0x17/0x34
   sysfs_add_bin_file_mode_ns+0xc0/0xf0
   sysfs_create_bin_file+0x6d/0xb0
   pci_create_attr+0x117/0x260
   pci_create_resource_files+0x6b/0x150
   pci_create_sysfs_dev_files+0x18/0x30
   pci_bus_add_device+0x30/0x80
   pci_bus_add_devices+0x31/0x80
   pci_bus_add_devices+0x5b/0x80
   vmd_enable_domain.constprop.0+0x6b7/0x880 [vmd]
   vmd_probe+0x16d/0x193 [vmd]

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/2011389/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 2011389] Re: vmd may fail to create sysfs entry while `pci_rescan_bus()` called in some other drivers like wwan

2023-10-24 Thread Ubuntu Kernel Bot
This bug is awaiting verification that the linux-
aws-6.5/6.5.0-1008.8~22.04.1 kernel in -proposed solves the problem.
Please test the kernel and update this bug with the results. If the
problem is solved, change the tag 'verification-needed-jammy-linux-
aws-6.5' to 'verification-done-jammy-linux-aws-6.5'. If the problem
still exists, change the tag 'verification-needed-jammy-linux-aws-6.5'
to 'verification-failed-jammy-linux-aws-6.5'.


If verification is not done by 5 working days from today, this fix will
be dropped from the source code, and this bug will be closed.


See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how
to enable and use -proposed. Thank you!


** Tags added: kernel-spammed-jammy-linux-aws-6.5-v2 
verification-needed-jammy-linux-aws-6.5

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-oem-6.0 in Ubuntu.
https://bugs.launchpad.net/bugs/2011389

Title:
  vmd may fail to create sysfs entry while `pci_rescan_bus()` called in
  some other drivers like wwan

Status in HWE Next:
  New
Status in linux package in Ubuntu:
  Fix Released
Status in linux-oem-6.0 package in Ubuntu:
  Invalid
Status in linux-oem-6.1 package in Ubuntu:
  Invalid
Status in linux source package in Jammy:
  Invalid
Status in linux-oem-6.0 source package in Jammy:
  Won't Fix
Status in linux-oem-6.1 source package in Jammy:
  Fix Released
Status in linux source package in Lunar:
  Fix Released
Status in linux-oem-6.0 source package in Lunar:
  Invalid
Status in linux-oem-6.1 source package in Lunar:
  Invalid

Bug description:
  [SRU Justification]

  [Impact]

  With wwan t7xx driver patched, vmd may fail the probe process because
  it does not lock properly.

  [Fix]

  https://lore.kernel.org/linux-
  pci/20230313173733.1815277-1-vicamo.y...@canonical.com/T/#u

  [Test Case]

  Verify on platforms with FM350 wwan module with prebuilt oem-6.1 or
  above kernels. No vmd probe error should be found in dmesg.

  [Where problems could occur]

  This is the way it should have been done.

  [Other Info]

  This is not reproducible with v6.0 or older kernels, so only Lunar and
  oem-6.1 are nominated for fix. OEM-6.0 patch goes to Gerrit instead.

  == original bug report ==

  vmd may fail to create sysfs entry while `pci_rescan_bus()` called in
  some other drivers like wwan.

  This happens after bug 2002089 re-added pci rescan feature back to
  wwan t7xx driver to support firmware updates via devlink. t7xx may
  call `pci_rescan_bus()` with proper locks, but vmd doesn't.

  sysfs: cannot create duplicate filename '/devices/.../resource0'
  Call Trace:
   
   sysfs_warn_dup.cold+0x17/0x34
   sysfs_add_bin_file_mode_ns+0xc0/0xf0
   sysfs_create_bin_file+0x6d/0xb0
   pci_create_attr+0x117/0x260
   pci_create_resource_files+0x6b/0x150
   pci_create_sysfs_dev_files+0x18/0x30
   pci_bus_add_device+0x30/0x80
   pci_bus_add_devices+0x31/0x80
   pci_bus_add_devices+0x5b/0x80
   vmd_enable_domain.constprop.0+0x6b7/0x880 [vmd]
   vmd_probe+0x16d/0x193 [vmd]

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/2011389/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 2011389] Re: vmd may fail to create sysfs entry while `pci_rescan_bus()` called in some other drivers like wwan

2023-10-24 Thread Ubuntu Kernel Bot
This bug is awaiting verification that the linux-
azure-6.5/6.5.0-1007.7~22.04.1 kernel in -proposed solves the problem.
Please test the kernel and update this bug with the results. If the
problem is solved, change the tag 'verification-needed-jammy-linux-
azure-6.5' to 'verification-done-jammy-linux-azure-6.5'. If the problem
still exists, change the tag 'verification-needed-jammy-linux-azure-6.5'
to 'verification-failed-jammy-linux-azure-6.5'.


If verification is not done by 5 working days from today, this fix will
be dropped from the source code, and this bug will be closed.


See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how
to enable and use -proposed. Thank you!


** Tags added: kernel-spammed-jammy-linux-azure-6.5-v2 
verification-needed-jammy-linux-azure-6.5

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-oem-6.0 in Ubuntu.
https://bugs.launchpad.net/bugs/2011389

Title:
  vmd may fail to create sysfs entry while `pci_rescan_bus()` called in
  some other drivers like wwan

Status in HWE Next:
  New
Status in linux package in Ubuntu:
  Fix Released
Status in linux-oem-6.0 package in Ubuntu:
  Invalid
Status in linux-oem-6.1 package in Ubuntu:
  Invalid
Status in linux source package in Jammy:
  Invalid
Status in linux-oem-6.0 source package in Jammy:
  Won't Fix
Status in linux-oem-6.1 source package in Jammy:
  Fix Released
Status in linux source package in Lunar:
  Fix Released
Status in linux-oem-6.0 source package in Lunar:
  Invalid
Status in linux-oem-6.1 source package in Lunar:
  Invalid

Bug description:
  [SRU Justification]

  [Impact]

  With wwan t7xx driver patched, vmd may fail the probe process because
  it does not lock properly.

  [Fix]

  https://lore.kernel.org/linux-
  pci/20230313173733.1815277-1-vicamo.y...@canonical.com/T/#u

  [Test Case]

  Verify on platforms with FM350 wwan module with prebuilt oem-6.1 or
  above kernels. No vmd probe error should be found in dmesg.

  [Where problems could occur]

  This is the way it should have been done.

  [Other Info]

  This is not reproducible with v6.0 or older kernels, so only Lunar and
  oem-6.1 are nominated for fix. OEM-6.0 patch goes to Gerrit instead.

  == original bug report ==

  vmd may fail to create sysfs entry while `pci_rescan_bus()` called in
  some other drivers like wwan.

  This happens after bug 2002089 re-added pci rescan feature back to
  wwan t7xx driver to support firmware updates via devlink. t7xx may
  call `pci_rescan_bus()` with proper locks, but vmd doesn't.

  sysfs: cannot create duplicate filename '/devices/.../resource0'
  Call Trace:
   
   sysfs_warn_dup.cold+0x17/0x34
   sysfs_add_bin_file_mode_ns+0xc0/0xf0
   sysfs_create_bin_file+0x6d/0xb0
   pci_create_attr+0x117/0x260
   pci_create_resource_files+0x6b/0x150
   pci_create_sysfs_dev_files+0x18/0x30
   pci_bus_add_device+0x30/0x80
   pci_bus_add_devices+0x31/0x80
   pci_bus_add_devices+0x5b/0x80
   vmd_enable_domain.constprop.0+0x6b7/0x880 [vmd]
   vmd_probe+0x16d/0x193 [vmd]

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/2011389/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 2011389] Re: vmd may fail to create sysfs entry while `pci_rescan_bus()` called in some other drivers like wwan

2023-07-19 Thread Ubuntu Kernel Bot
This bug is awaiting verification that the linux-azure/6.2.0-1009.9
kernel in -proposed solves the problem. Please test the kernel and
update this bug with the results. If the problem is solved, change the
tag 'verification-needed-lunar' to 'verification-done-lunar'. If the
problem still exists, change the tag 'verification-needed-lunar' to
'verification-failed-lunar'.

If verification is not done by 5 working days from today, this fix will
be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how
to enable and use -proposed. Thank you!


** Tags added: kernel-spammed-lunar-linux-azure verification-needed-lunar

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-oem-6.0 in Ubuntu.
https://bugs.launchpad.net/bugs/2011389

Title:
  vmd may fail to create sysfs entry while `pci_rescan_bus()` called in
  some other drivers like wwan

Status in HWE Next:
  New
Status in linux package in Ubuntu:
  Fix Released
Status in linux-oem-6.0 package in Ubuntu:
  Invalid
Status in linux-oem-6.1 package in Ubuntu:
  Invalid
Status in linux source package in Jammy:
  Invalid
Status in linux-oem-6.0 source package in Jammy:
  Won't Fix
Status in linux-oem-6.1 source package in Jammy:
  Fix Released
Status in linux source package in Lunar:
  Fix Released
Status in linux-oem-6.0 source package in Lunar:
  Invalid
Status in linux-oem-6.1 source package in Lunar:
  Invalid

Bug description:
  [SRU Justification]

  [Impact]

  With wwan t7xx driver patched, vmd may fail the probe process because
  it does not lock properly.

  [Fix]

  https://lore.kernel.org/linux-
  pci/20230313173733.1815277-1-vicamo.y...@canonical.com/T/#u

  [Test Case]

  Verify on platforms with FM350 wwan module with prebuilt oem-6.1 or
  above kernels. No vmd probe error should be found in dmesg.

  [Where problems could occur]

  This is the way it should have been done.

  [Other Info]

  This is not reproducible with v6.0 or older kernels, so only Lunar and
  oem-6.1 are nominated for fix. OEM-6.0 patch goes to Gerrit instead.

  == original bug report ==

  vmd may fail to create sysfs entry while `pci_rescan_bus()` called in
  some other drivers like wwan.

  This happens after bug 2002089 re-added pci rescan feature back to
  wwan t7xx driver to support firmware updates via devlink. t7xx may
  call `pci_rescan_bus()` with proper locks, but vmd doesn't.

  sysfs: cannot create duplicate filename '/devices/.../resource0'
  Call Trace:
   
   sysfs_warn_dup.cold+0x17/0x34
   sysfs_add_bin_file_mode_ns+0xc0/0xf0
   sysfs_create_bin_file+0x6d/0xb0
   pci_create_attr+0x117/0x260
   pci_create_resource_files+0x6b/0x150
   pci_create_sysfs_dev_files+0x18/0x30
   pci_bus_add_device+0x30/0x80
   pci_bus_add_devices+0x31/0x80
   pci_bus_add_devices+0x5b/0x80
   vmd_enable_domain.constprop.0+0x6b7/0x880 [vmd]
   vmd_probe+0x16d/0x193 [vmd]

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/2011389/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 2011389] Re: vmd may fail to create sysfs entry while `pci_rescan_bus()` called in some other drivers like wwan

2023-06-22 Thread Launchpad Bug Tracker
This bug was fixed in the package linux - 6.3.0-7.7

---
linux (6.3.0-7.7) mantic; urgency=medium

  * mantic/linux: 6.3.0-7.7 -proposed tracker (LP: #2023297)

  * Packaging resync (LP: #1786013)
- debian/dkms-versions -- update from kernel-versions (main/master)

 -- Paolo Pisati   Thu, 08 Jun 2023 16:44:41
+0200

** Changed in: linux (Ubuntu)
   Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-oem-6.0 in Ubuntu.
https://bugs.launchpad.net/bugs/2011389

Title:
  vmd may fail to create sysfs entry while `pci_rescan_bus()` called in
  some other drivers like wwan

Status in HWE Next:
  New
Status in linux package in Ubuntu:
  Fix Released
Status in linux-oem-6.0 package in Ubuntu:
  Invalid
Status in linux-oem-6.1 package in Ubuntu:
  Invalid
Status in linux source package in Jammy:
  Invalid
Status in linux-oem-6.0 source package in Jammy:
  Won't Fix
Status in linux-oem-6.1 source package in Jammy:
  Fix Released
Status in linux source package in Lunar:
  Fix Released
Status in linux-oem-6.0 source package in Lunar:
  Invalid
Status in linux-oem-6.1 source package in Lunar:
  Invalid

Bug description:
  [SRU Justification]

  [Impact]

  With wwan t7xx driver patched, vmd may fail the probe process because
  it does not lock properly.

  [Fix]

  https://lore.kernel.org/linux-
  pci/20230313173733.1815277-1-vicamo.y...@canonical.com/T/#u

  [Test Case]

  Verify on platforms with FM350 wwan module with prebuilt oem-6.1 or
  above kernels. No vmd probe error should be found in dmesg.

  [Where problems could occur]

  This is the way it should have been done.

  [Other Info]

  This is not reproducible with v6.0 or older kernels, so only Lunar and
  oem-6.1 are nominated for fix. OEM-6.0 patch goes to Gerrit instead.

  == original bug report ==

  vmd may fail to create sysfs entry while `pci_rescan_bus()` called in
  some other drivers like wwan.

  This happens after bug 2002089 re-added pci rescan feature back to
  wwan t7xx driver to support firmware updates via devlink. t7xx may
  call `pci_rescan_bus()` with proper locks, but vmd doesn't.

  sysfs: cannot create duplicate filename '/devices/.../resource0'
  Call Trace:
   
   sysfs_warn_dup.cold+0x17/0x34
   sysfs_add_bin_file_mode_ns+0xc0/0xf0
   sysfs_create_bin_file+0x6d/0xb0
   pci_create_attr+0x117/0x260
   pci_create_resource_files+0x6b/0x150
   pci_create_sysfs_dev_files+0x18/0x30
   pci_bus_add_device+0x30/0x80
   pci_bus_add_devices+0x31/0x80
   pci_bus_add_devices+0x5b/0x80
   vmd_enable_domain.constprop.0+0x6b7/0x880 [vmd]
   vmd_probe+0x16d/0x193 [vmd]

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/2011389/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 2011389] Re: vmd may fail to create sysfs entry while `pci_rescan_bus()` called in some other drivers like wwan

2023-06-15 Thread Launchpad Bug Tracker
This bug was fixed in the package linux - 6.2.0-23.23

---
linux (6.2.0-23.23) lunar; urgency=medium

  * lunar/linux: 6.2.0-23.23 -proposed tracker (LP: #2019845)

  * Packaging resync (LP: #1786013)
- [Packaging] update helper scripts
- debian/dkms-versions -- update from kernel-versions (main/2023.05.15)

  * Fix flicker display problem on some panels which support PSR2 (LP: #2002968)
- drm/i915/psr: Add continuous full frame bit together with single

  * Kernel 6.1 bumped the disk consumption on default images by 15%
(LP: #2015867)
- [Packaging] introduce a separate linux-lib-rust package

  * Update I915 PSR calculation on Linux 6.2 (LP: #2018655)
- drm/i915: Fix fast wake AUX sync len
- drm/i915: Explain the magic numbers for AUX SYNC/precharge length

  * Computer with Intel Atom CPU will  not boot with Kernel 6.2.0-20
(LP: #2017444)
- [Config]: Disable CONFIG_INTEL_ATOMISP

  * udev fails to make prctl() syscall with apparmor=0 (as used by maas by
default) (LP: #2016908)
- SAUCE: (no-up) Stacking v38: Fix prctl() syscall with apparmor=0

  * CVE-2023-32233
- netfilter: nf_tables: deactivate anonymous set from preparation phase

  * CVE-2023-2612
- SAUCE: shiftfs: prevent lock unbalance in shiftfs_create_object()

  * CVE-2023-31436
- net: sched: sch_qfq: prevent slab-out-of-bounds in qfq_activate_agg

  * CVE-2023-1380
- wifi: brcmfmac: slab-out-of-bounds read in brcmf_get_assoc_ies()

  * 5.19 not reporting cgroups v1 blkio.throttle.io_serviced  (LP: #2016186)
- SAUCE: blk-throttle: Fix io statistics for cgroup v1

  * LSM stacking and AppArmor for 6.2: additional fixes (LP: #2017903)
- SAUCE: (no-up) apparmor: fix policy_compat perms remap for file dfa
- SAUCE: (no-up) apparmor: fix profile verification and enable it
- SAUCE: (no-up) apparmor: fix: add missing failure check in
  compute_xmatch_perms
- SAUCE: (no-up) apparmor: fix: kzalloc perms tables for shared dfas

  * Lunar update: v6.2.12 upstream stable release (LP: #2017219)
- Revert "pinctrl: amd: Disable and mask interrupts on resume"
- drm/amd/display: Pass the right info to drm_dp_remove_payload
- drm/i915: Workaround ICL CSC_MODE sticky arming
- ALSA: emu10k1: fix capture interrupt handler unlinking
- ALSA: hda/sigmatel: add pin overrides for Intel DP45SG motherboard
- ALSA: i2c/cs8427: fix iec958 mixer control deactivation
- ALSA: hda: patch_realtek: add quirk for Asus N7601ZM
- ALSA: hda/realtek: Add quirks for Lenovo Z13/Z16 Gen2
- ALSA: firewire-tascam: add missing unwind goto in
  snd_tscm_stream_start_duplex()
- ALSA: emu10k1: don't create old pass-through playback device on Audigy
- ALSA: hda/sigmatel: fix S/PDIF out on Intel D*45* motherboards
- ALSA: hda/hdmi: disable KAE for Intel DG2
- Bluetooth: L2CAP: Fix use-after-free in l2cap_disconnect_{req,rsp}
- Bluetooth: Fix race condition in hidp_session_thread
- bluetooth: btbcm: Fix logic error in forming the board name.
- Bluetooth: Free potentially unfreed SCO connection
- Bluetooth: hci_conn: Fix possible UAF
- btrfs: restore the thread_pool= behavior in remount for the end I/O
  workqueues
- btrfs: fix fast csum implementation detection
- fbmem: Reject FB_ACTIVATE_KD_TEXT from userspace
- mtdblock: tolerate corrected bit-flips
- mtd: rawnand: meson: fix bitmask for length in command word
- mtd: rawnand: stm32_fmc2: remove unsupported EDO mode
- mtd: rawnand: stm32_fmc2: use timings.mode instead of checking tRC_min
- KVM: arm64: PMU: Restore the guest's EL0 event counting after migration
- fbcon: Fix error paths in set_con2fb_map
- fbcon: set_con2fb_map needs to set con2fb_map!
- drm/i915/dsi: fix DSS CTL register offsets for TGL+
- io_uring: complete request via task work in case of DEFER_TASKRUN
- clk: sprd: set max_register according to mapping range
- RDMA/irdma: Do not generate SW completions for NOPs
- RDMA/irdma: Fix memory leak of PBLE objects
- RDMA/irdma: Increase iWARP CM default rexmit count
- RDMA/irdma: Add ipv4 check to irdma_find_listener()
- IB/mlx5: Add support for 400G_8X lane speed
- RDMA/erdma: Fix some typos
- RDMA/erdma: Update default EQ depth to 4096 and max_send_wr to 8192
- RDMA/erdma: Inline mtt entries into WQE if supported
- RDMA/erdma: Defer probing if netdevice can not be found
- clk: rs9: Fix suspend/resume
- RDMA/cma: Allow UD qp_type to join multicast only
- bpf: tcp: Use sock_gen_put instead of sock_put in bpf_iter_tcp
- LoongArch, bpf: Fix jit to skip speculation barrier opcode
- dmaengine: apple-admac: Handle 'global' interrupt flags
- dmaengine: apple-admac: Set src_addr_widths capability
- dmaengine: apple-admac: Fix 'current_tx' not getting freed
- 9p/xen : Fix use after free bug in xen_9pfs_front_remove due to race
  condition
- bpf, 

[Kernel-packages] [Bug 2011389] Re: vmd may fail to create sysfs entry while `pci_rescan_bus()` called in some other drivers like wwan

2023-06-09 Thread Ubuntu Kernel Bot
This bug is awaiting verification that the linux-
nvidia-6.2/6.2.0-1003.3~22.04.1 kernel in -proposed solves the problem.
Please test the kernel and update this bug with the results. If the
problem is solved, change the tag 'verification-needed-jammy' to
'verification-done-jammy'. If the problem still exists, change the tag
'verification-needed-jammy' to 'verification-failed-jammy'.

If verification is not done by 5 working days from today, this fix will
be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how
to enable and use -proposed. Thank you!


** Tags added: kernel-spammed-jammy-linux-nvidia-6.2

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-oem-6.0 in Ubuntu.
https://bugs.launchpad.net/bugs/2011389

Title:
  vmd may fail to create sysfs entry while `pci_rescan_bus()` called in
  some other drivers like wwan

Status in HWE Next:
  New
Status in linux package in Ubuntu:
  In Progress
Status in linux-oem-6.0 package in Ubuntu:
  Invalid
Status in linux-oem-6.1 package in Ubuntu:
  Invalid
Status in linux source package in Jammy:
  Invalid
Status in linux-oem-6.0 source package in Jammy:
  Won't Fix
Status in linux-oem-6.1 source package in Jammy:
  Fix Released
Status in linux source package in Lunar:
  In Progress
Status in linux-oem-6.0 source package in Lunar:
  Invalid
Status in linux-oem-6.1 source package in Lunar:
  Invalid

Bug description:
  [SRU Justification]

  [Impact]

  With wwan t7xx driver patched, vmd may fail the probe process because
  it does not lock properly.

  [Fix]

  https://lore.kernel.org/linux-
  pci/20230313173733.1815277-1-vicamo.y...@canonical.com/T/#u

  [Test Case]

  Verify on platforms with FM350 wwan module with prebuilt oem-6.1 or
  above kernels. No vmd probe error should be found in dmesg.

  [Where problems could occur]

  This is the way it should have been done.

  [Other Info]

  This is not reproducible with v6.0 or older kernels, so only Lunar and
  oem-6.1 are nominated for fix. OEM-6.0 patch goes to Gerrit instead.

  == original bug report ==

  vmd may fail to create sysfs entry while `pci_rescan_bus()` called in
  some other drivers like wwan.

  This happens after bug 2002089 re-added pci rescan feature back to
  wwan t7xx driver to support firmware updates via devlink. t7xx may
  call `pci_rescan_bus()` with proper locks, but vmd doesn't.

  sysfs: cannot create duplicate filename '/devices/.../resource0'
  Call Trace:
   
   sysfs_warn_dup.cold+0x17/0x34
   sysfs_add_bin_file_mode_ns+0xc0/0xf0
   sysfs_create_bin_file+0x6d/0xb0
   pci_create_attr+0x117/0x260
   pci_create_resource_files+0x6b/0x150
   pci_create_sysfs_dev_files+0x18/0x30
   pci_bus_add_device+0x30/0x80
   pci_bus_add_devices+0x31/0x80
   pci_bus_add_devices+0x5b/0x80
   vmd_enable_domain.constprop.0+0x6b7/0x880 [vmd]
   vmd_probe+0x16d/0x193 [vmd]

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/2011389/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 2011389] Re: vmd may fail to create sysfs entry while `pci_rescan_bus()` called in some other drivers like wwan

2023-06-08 Thread Ubuntu Kernel Bot
This bug is awaiting verification that the linux-
hwe-6.2/6.2.0-23.23~22.04.1 kernel in -proposed solves the problem.
Please test the kernel and update this bug with the results. If the
problem is solved, change the tag 'verification-needed-jammy' to
'verification-done-jammy'. If the problem still exists, change the tag
'verification-needed-jammy' to 'verification-failed-jammy'.

If verification is not done by 5 working days from today, this fix will
be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how
to enable and use -proposed. Thank you!


** Tags removed: verification-done-jammy
** Tags added: kernel-spammed-jammy-linux-hwe-6.2 verification-needed-jammy

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-oem-6.0 in Ubuntu.
https://bugs.launchpad.net/bugs/2011389

Title:
  vmd may fail to create sysfs entry while `pci_rescan_bus()` called in
  some other drivers like wwan

Status in HWE Next:
  New
Status in linux package in Ubuntu:
  In Progress
Status in linux-oem-6.0 package in Ubuntu:
  Invalid
Status in linux-oem-6.1 package in Ubuntu:
  Invalid
Status in linux source package in Jammy:
  Invalid
Status in linux-oem-6.0 source package in Jammy:
  Won't Fix
Status in linux-oem-6.1 source package in Jammy:
  Fix Released
Status in linux source package in Lunar:
  In Progress
Status in linux-oem-6.0 source package in Lunar:
  Invalid
Status in linux-oem-6.1 source package in Lunar:
  Invalid

Bug description:
  [SRU Justification]

  [Impact]

  With wwan t7xx driver patched, vmd may fail the probe process because
  it does not lock properly.

  [Fix]

  https://lore.kernel.org/linux-
  pci/20230313173733.1815277-1-vicamo.y...@canonical.com/T/#u

  [Test Case]

  Verify on platforms with FM350 wwan module with prebuilt oem-6.1 or
  above kernels. No vmd probe error should be found in dmesg.

  [Where problems could occur]

  This is the way it should have been done.

  [Other Info]

  This is not reproducible with v6.0 or older kernels, so only Lunar and
  oem-6.1 are nominated for fix. OEM-6.0 patch goes to Gerrit instead.

  == original bug report ==

  vmd may fail to create sysfs entry while `pci_rescan_bus()` called in
  some other drivers like wwan.

  This happens after bug 2002089 re-added pci rescan feature back to
  wwan t7xx driver to support firmware updates via devlink. t7xx may
  call `pci_rescan_bus()` with proper locks, but vmd doesn't.

  sysfs: cannot create duplicate filename '/devices/.../resource0'
  Call Trace:
   
   sysfs_warn_dup.cold+0x17/0x34
   sysfs_add_bin_file_mode_ns+0xc0/0xf0
   sysfs_create_bin_file+0x6d/0xb0
   pci_create_attr+0x117/0x260
   pci_create_resource_files+0x6b/0x150
   pci_create_sysfs_dev_files+0x18/0x30
   pci_bus_add_device+0x30/0x80
   pci_bus_add_devices+0x31/0x80
   pci_bus_add_devices+0x5b/0x80
   vmd_enable_domain.constprop.0+0x6b7/0x880 [vmd]
   vmd_probe+0x16d/0x193 [vmd]

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/2011389/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 2011389] Re: vmd may fail to create sysfs entry while `pci_rescan_bus()` called in some other drivers like wwan

2023-04-13 Thread You-Sheng Yang
verified.

** Tags removed: verification-needed-jammy
** Tags added: verification-done-jammy

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-oem-6.0 in Ubuntu.
https://bugs.launchpad.net/bugs/2011389

Title:
  vmd may fail to create sysfs entry while `pci_rescan_bus()` called in
  some other drivers like wwan

Status in HWE Next:
  New
Status in linux package in Ubuntu:
  In Progress
Status in linux-oem-6.0 package in Ubuntu:
  Invalid
Status in linux-oem-6.1 package in Ubuntu:
  Invalid
Status in linux source package in Jammy:
  Invalid
Status in linux-oem-6.0 source package in Jammy:
  Won't Fix
Status in linux-oem-6.1 source package in Jammy:
  Fix Committed
Status in linux source package in Lunar:
  In Progress
Status in linux-oem-6.0 source package in Lunar:
  Invalid
Status in linux-oem-6.1 source package in Lunar:
  Invalid

Bug description:
  [SRU Justification]

  [Impact]

  With wwan t7xx driver patched, vmd may fail the probe process because
  it does not lock properly.

  [Fix]

  https://lore.kernel.org/linux-
  pci/20230313173733.1815277-1-vicamo.y...@canonical.com/T/#u

  [Test Case]

  Verify on platforms with FM350 wwan module with prebuilt oem-6.1 or
  above kernels. No vmd probe error should be found in dmesg.

  [Where problems could occur]

  This is the way it should have been done.

  [Other Info]

  This is not reproducible with v6.0 or older kernels, so only Lunar and
  oem-6.1 are nominated for fix. OEM-6.0 patch goes to Gerrit instead.

  == original bug report ==

  vmd may fail to create sysfs entry while `pci_rescan_bus()` called in
  some other drivers like wwan.

  This happens after bug 2002089 re-added pci rescan feature back to
  wwan t7xx driver to support firmware updates via devlink. t7xx may
  call `pci_rescan_bus()` with proper locks, but vmd doesn't.

  sysfs: cannot create duplicate filename '/devices/.../resource0'
  Call Trace:
   
   sysfs_warn_dup.cold+0x17/0x34
   sysfs_add_bin_file_mode_ns+0xc0/0xf0
   sysfs_create_bin_file+0x6d/0xb0
   pci_create_attr+0x117/0x260
   pci_create_resource_files+0x6b/0x150
   pci_create_sysfs_dev_files+0x18/0x30
   pci_bus_add_device+0x30/0x80
   pci_bus_add_devices+0x31/0x80
   pci_bus_add_devices+0x5b/0x80
   vmd_enable_domain.constprop.0+0x6b7/0x880 [vmd]
   vmd_probe+0x16d/0x193 [vmd]

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/2011389/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 2011389] Re: vmd may fail to create sysfs entry while `pci_rescan_bus()` called in some other drivers like wwan

2023-04-10 Thread Ubuntu Kernel Bot
This bug is awaiting verification that the linux-oem-6.1/6.1.0-1009.9
kernel in -proposed solves the problem. Please test the kernel and
update this bug with the results. If the problem is solved, change the
tag 'verification-needed-jammy' to 'verification-done-jammy'. If the
problem still exists, change the tag 'verification-needed-jammy' to
'verification-failed-jammy'.

If verification is not done by 5 working days from today, this fix will
be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how
to enable and use -proposed. Thank you!


** Tags added: kernel-spammed-jammy-linux-oem-6.1 verification-needed-jammy

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-oem-6.0 in Ubuntu.
https://bugs.launchpad.net/bugs/2011389

Title:
  vmd may fail to create sysfs entry while `pci_rescan_bus()` called in
  some other drivers like wwan

Status in HWE Next:
  New
Status in linux package in Ubuntu:
  In Progress
Status in linux-oem-6.0 package in Ubuntu:
  Invalid
Status in linux-oem-6.1 package in Ubuntu:
  Invalid
Status in linux source package in Jammy:
  Invalid
Status in linux-oem-6.0 source package in Jammy:
  Won't Fix
Status in linux-oem-6.1 source package in Jammy:
  Fix Committed
Status in linux source package in Lunar:
  In Progress
Status in linux-oem-6.0 source package in Lunar:
  Invalid
Status in linux-oem-6.1 source package in Lunar:
  Invalid

Bug description:
  [SRU Justification]

  [Impact]

  With wwan t7xx driver patched, vmd may fail the probe process because
  it does not lock properly.

  [Fix]

  https://lore.kernel.org/linux-
  pci/20230313173733.1815277-1-vicamo.y...@canonical.com/T/#u

  [Test Case]

  Verify on platforms with FM350 wwan module with prebuilt oem-6.1 or
  above kernels. No vmd probe error should be found in dmesg.

  [Where problems could occur]

  This is the way it should have been done.

  [Other Info]

  This is not reproducible with v6.0 or older kernels, so only Lunar and
  oem-6.1 are nominated for fix. OEM-6.0 patch goes to Gerrit instead.

  == original bug report ==

  vmd may fail to create sysfs entry while `pci_rescan_bus()` called in
  some other drivers like wwan.

  This happens after bug 2002089 re-added pci rescan feature back to
  wwan t7xx driver to support firmware updates via devlink. t7xx may
  call `pci_rescan_bus()` with proper locks, but vmd doesn't.

  sysfs: cannot create duplicate filename '/devices/.../resource0'
  Call Trace:
   
   sysfs_warn_dup.cold+0x17/0x34
   sysfs_add_bin_file_mode_ns+0xc0/0xf0
   sysfs_create_bin_file+0x6d/0xb0
   pci_create_attr+0x117/0x260
   pci_create_resource_files+0x6b/0x150
   pci_create_sysfs_dev_files+0x18/0x30
   pci_bus_add_device+0x30/0x80
   pci_bus_add_devices+0x31/0x80
   pci_bus_add_devices+0x5b/0x80
   vmd_enable_domain.constprop.0+0x6b7/0x880 [vmd]
   vmd_probe+0x16d/0x193 [vmd]

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/2011389/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 2011389] Re: vmd may fail to create sysfs entry while `pci_rescan_bus()` called in some other drivers like wwan

2023-03-17 Thread Timo Aaltonen
** Changed in: linux-oem-6.1 (Ubuntu Jammy)
   Status: In Progress => Fix Committed

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-oem-6.0 in Ubuntu.
https://bugs.launchpad.net/bugs/2011389

Title:
  vmd may fail to create sysfs entry while `pci_rescan_bus()` called in
  some other drivers like wwan

Status in HWE Next:
  New
Status in linux package in Ubuntu:
  In Progress
Status in linux-oem-6.0 package in Ubuntu:
  Invalid
Status in linux-oem-6.1 package in Ubuntu:
  Invalid
Status in linux source package in Jammy:
  Invalid
Status in linux-oem-6.0 source package in Jammy:
  Won't Fix
Status in linux-oem-6.1 source package in Jammy:
  Fix Committed
Status in linux source package in Lunar:
  In Progress
Status in linux-oem-6.0 source package in Lunar:
  Invalid
Status in linux-oem-6.1 source package in Lunar:
  Invalid

Bug description:
  [SRU Justification]

  [Impact]

  With wwan t7xx driver patched, vmd may fail the probe process because
  it does not lock properly.

  [Fix]

  https://lore.kernel.org/linux-
  pci/20230313173733.1815277-1-vicamo.y...@canonical.com/T/#u

  [Test Case]

  Verify on platforms with FM350 wwan module with prebuilt oem-6.1 or
  above kernels. No vmd probe error should be found in dmesg.

  [Where problems could occur]

  This is the way it should have been done.

  [Other Info]

  This is not reproducible with v6.0 or older kernels, so only Lunar and
  oem-6.1 are nominated for fix. OEM-6.0 patch goes to Gerrit instead.

  == original bug report ==

  vmd may fail to create sysfs entry while `pci_rescan_bus()` called in
  some other drivers like wwan.

  This happens after bug 2002089 re-added pci rescan feature back to
  wwan t7xx driver to support firmware updates via devlink. t7xx may
  call `pci_rescan_bus()` with proper locks, but vmd doesn't.

  sysfs: cannot create duplicate filename '/devices/.../resource0'
  Call Trace:
   
   sysfs_warn_dup.cold+0x17/0x34
   sysfs_add_bin_file_mode_ns+0xc0/0xf0
   sysfs_create_bin_file+0x6d/0xb0
   pci_create_attr+0x117/0x260
   pci_create_resource_files+0x6b/0x150
   pci_create_sysfs_dev_files+0x18/0x30
   pci_bus_add_device+0x30/0x80
   pci_bus_add_devices+0x31/0x80
   pci_bus_add_devices+0x5b/0x80
   vmd_enable_domain.constprop.0+0x6b7/0x880 [vmd]
   vmd_probe+0x16d/0x193 [vmd]

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/2011389/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 2011389] Re: vmd may fail to create sysfs entry while `pci_rescan_bus()` called in some other drivers like wwan

2023-03-15 Thread You-Sheng Yang
While we cannot reproduce this on kernels older than 6.1, we will skip
this.

** Changed in: linux-oem-6.0 (Ubuntu Jammy)
   Status: New => Won't Fix

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-oem-6.0 in Ubuntu.
https://bugs.launchpad.net/bugs/2011389

Title:
  vmd may fail to create sysfs entry while `pci_rescan_bus()` called in
  some other drivers like wwan

Status in HWE Next:
  New
Status in linux package in Ubuntu:
  In Progress
Status in linux-oem-6.0 package in Ubuntu:
  Invalid
Status in linux-oem-6.1 package in Ubuntu:
  Invalid
Status in linux source package in Jammy:
  Invalid
Status in linux-oem-6.0 source package in Jammy:
  Won't Fix
Status in linux-oem-6.1 source package in Jammy:
  In Progress
Status in linux source package in Lunar:
  In Progress
Status in linux-oem-6.0 source package in Lunar:
  Invalid
Status in linux-oem-6.1 source package in Lunar:
  Invalid

Bug description:
  [SRU Justification]

  [Impact]

  With wwan t7xx driver patched, vmd may fail the probe process because
  it does not lock properly.

  [Fix]

  https://lore.kernel.org/linux-
  pci/20230313173733.1815277-1-vicamo.y...@canonical.com/T/#u

  [Test Case]

  Verify on platforms with FM350 wwan module with prebuilt oem-6.1 or
  above kernels. No vmd probe error should be found in dmesg.

  [Where problems could occur]

  This is the way it should have been done.

  [Other Info]

  This is not reproducible with v6.0 or older kernels, so only Lunar and
  oem-6.1 are nominated for fix. OEM-6.0 patch goes to Gerrit instead.

  == original bug report ==

  vmd may fail to create sysfs entry while `pci_rescan_bus()` called in
  some other drivers like wwan.

  This happens after bug 2002089 re-added pci rescan feature back to
  wwan t7xx driver to support firmware updates via devlink. t7xx may
  call `pci_rescan_bus()` with proper locks, but vmd doesn't.

  sysfs: cannot create duplicate filename '/devices/.../resource0'
  Call Trace:
   
   sysfs_warn_dup.cold+0x17/0x34
   sysfs_add_bin_file_mode_ns+0xc0/0xf0
   sysfs_create_bin_file+0x6d/0xb0
   pci_create_attr+0x117/0x260
   pci_create_resource_files+0x6b/0x150
   pci_create_sysfs_dev_files+0x18/0x30
   pci_bus_add_device+0x30/0x80
   pci_bus_add_devices+0x31/0x80
   pci_bus_add_devices+0x5b/0x80
   vmd_enable_domain.constprop.0+0x6b7/0x880 [vmd]
   vmd_probe+0x16d/0x193 [vmd]

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/2011389/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 2011389] Re: vmd may fail to create sysfs entry while `pci_rescan_bus()` called in some other drivers like wwan

2023-03-15 Thread You-Sheng Yang
SRU: https://lists.ubuntu.com/archives/kernel-
team/2023-March/137761.html (lunar, unstable)

** Description changed:

+ [SRU Justification]
+ 
+ [Impact]
+ 
+ With wwan t7xx driver patched, vmd may fail the probe process because it
+ does not lock properly.
+ 
+ [Fix]
+ 
+ https://lore.kernel.org/linux-
+ pci/20230313173733.1815277-1-vicamo.y...@canonical.com/T/#u
+ 
+ [Test Case]
+ 
+ Verify on platforms with FM350 wwan module with prebuilt oem-6.1 or
+ above kernels. No vmd probe error should be found in dmesg.
+ 
+ [Where problems could occur]
+ 
+ This is the way it should have been done.
+ 
+ [Other Info]
+ 
+ This is not reproducible with v6.0 or older kernels, so only Lunar and
+ oem-6.1 are nominated for fix. OEM-6.0 patch goes to Gerrit instead.
+ 
+ == original bug report ==
+ 
  vmd may fail to create sysfs entry while `pci_rescan_bus()` called in
  some other drivers like wwan.
  
  This happens after bug 2002089 re-added pci rescan feature back to wwan
  t7xx driver to support firmware updates via devlink. t7xx may call
  `pci_rescan_bus()` with proper locks, but vmd doesn't.
  
  sysfs: cannot create duplicate filename '/devices/.../resource0'
  Call Trace:
   
   sysfs_warn_dup.cold+0x17/0x34
   sysfs_add_bin_file_mode_ns+0xc0/0xf0
   sysfs_create_bin_file+0x6d/0xb0
   pci_create_attr+0x117/0x260
   pci_create_resource_files+0x6b/0x150
   pci_create_sysfs_dev_files+0x18/0x30
   pci_bus_add_device+0x30/0x80
   pci_bus_add_devices+0x31/0x80
   pci_bus_add_devices+0x5b/0x80
   vmd_enable_domain.constprop.0+0x6b7/0x880 [vmd]
   vmd_probe+0x16d/0x193 [vmd]

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-oem-6.0 in Ubuntu.
https://bugs.launchpad.net/bugs/2011389

Title:
  vmd may fail to create sysfs entry while `pci_rescan_bus()` called in
  some other drivers like wwan

Status in HWE Next:
  New
Status in linux package in Ubuntu:
  In Progress
Status in linux-oem-6.0 package in Ubuntu:
  Invalid
Status in linux-oem-6.1 package in Ubuntu:
  Invalid
Status in linux source package in Jammy:
  Invalid
Status in linux-oem-6.0 source package in Jammy:
  Won't Fix
Status in linux-oem-6.1 source package in Jammy:
  In Progress
Status in linux source package in Lunar:
  In Progress
Status in linux-oem-6.0 source package in Lunar:
  Invalid
Status in linux-oem-6.1 source package in Lunar:
  Invalid

Bug description:
  [SRU Justification]

  [Impact]

  With wwan t7xx driver patched, vmd may fail the probe process because
  it does not lock properly.

  [Fix]

  https://lore.kernel.org/linux-
  pci/20230313173733.1815277-1-vicamo.y...@canonical.com/T/#u

  [Test Case]

  Verify on platforms with FM350 wwan module with prebuilt oem-6.1 or
  above kernels. No vmd probe error should be found in dmesg.

  [Where problems could occur]

  This is the way it should have been done.

  [Other Info]

  This is not reproducible with v6.0 or older kernels, so only Lunar and
  oem-6.1 are nominated for fix. OEM-6.0 patch goes to Gerrit instead.

  == original bug report ==

  vmd may fail to create sysfs entry while `pci_rescan_bus()` called in
  some other drivers like wwan.

  This happens after bug 2002089 re-added pci rescan feature back to
  wwan t7xx driver to support firmware updates via devlink. t7xx may
  call `pci_rescan_bus()` with proper locks, but vmd doesn't.

  sysfs: cannot create duplicate filename '/devices/.../resource0'
  Call Trace:
   
   sysfs_warn_dup.cold+0x17/0x34
   sysfs_add_bin_file_mode_ns+0xc0/0xf0
   sysfs_create_bin_file+0x6d/0xb0
   pci_create_attr+0x117/0x260
   pci_create_resource_files+0x6b/0x150
   pci_create_sysfs_dev_files+0x18/0x30
   pci_bus_add_device+0x30/0x80
   pci_bus_add_devices+0x31/0x80
   pci_bus_add_devices+0x5b/0x80
   vmd_enable_domain.constprop.0+0x6b7/0x880 [vmd]
   vmd_probe+0x16d/0x193 [vmd]

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/2011389/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 2011389] Re: vmd may fail to create sysfs entry while `pci_rescan_bus()` called in some other drivers like wwan

2023-03-14 Thread You-Sheng Yang
SRU:
* http://ckctreview.internal/r/c/linux-oem/jammy/+/1860 (linux-oem-6.1/jammy)

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-oem-6.0 in Ubuntu.
https://bugs.launchpad.net/bugs/2011389

Title:
  vmd may fail to create sysfs entry while `pci_rescan_bus()` called in
  some other drivers like wwan

Status in HWE Next:
  New
Status in linux package in Ubuntu:
  In Progress
Status in linux-oem-6.0 package in Ubuntu:
  Invalid
Status in linux-oem-6.1 package in Ubuntu:
  Invalid
Status in linux source package in Jammy:
  Invalid
Status in linux-oem-6.0 source package in Jammy:
  New
Status in linux-oem-6.1 source package in Jammy:
  In Progress
Status in linux source package in Lunar:
  In Progress
Status in linux-oem-6.0 source package in Lunar:
  Invalid
Status in linux-oem-6.1 source package in Lunar:
  Invalid

Bug description:
  vmd may fail to create sysfs entry while `pci_rescan_bus()` called in
  some other drivers like wwan.

  This happens after bug 2002089 re-added pci rescan feature back to
  wwan t7xx driver to support firmware updates via devlink. t7xx may
  call `pci_rescan_bus()` with proper locks, but vmd doesn't.

  sysfs: cannot create duplicate filename '/devices/.../resource0'
  Call Trace:
   
   sysfs_warn_dup.cold+0x17/0x34
   sysfs_add_bin_file_mode_ns+0xc0/0xf0
   sysfs_create_bin_file+0x6d/0xb0
   pci_create_attr+0x117/0x260
   pci_create_resource_files+0x6b/0x150
   pci_create_sysfs_dev_files+0x18/0x30
   pci_bus_add_device+0x30/0x80
   pci_bus_add_devices+0x31/0x80
   pci_bus_add_devices+0x5b/0x80
   vmd_enable_domain.constprop.0+0x6b7/0x880 [vmd]
   vmd_probe+0x16d/0x193 [vmd]

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/2011389/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 2011389] Re: vmd may fail to create sysfs entry while `pci_rescan_bus()` called in some other drivers like wwan

2023-03-13 Thread You-Sheng Yang
The lack of proper lock begins since commit 185a383ada2e ("x86/PCI: Add
driver for Intel Volume Management Device (VMD)"), v4.4, but we only
bump into this issue in 6.1 oem/generic kernels or above.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-oem-6.0 in Ubuntu.
https://bugs.launchpad.net/bugs/2011389

Title:
  vmd may fail to create sysfs entry while `pci_rescan_bus()` called in
  some other drivers like wwan

Status in HWE Next:
  New
Status in linux package in Ubuntu:
  In Progress
Status in linux-oem-6.0 package in Ubuntu:
  Invalid
Status in linux-oem-6.1 package in Ubuntu:
  Invalid
Status in linux source package in Jammy:
  Invalid
Status in linux-oem-6.0 source package in Jammy:
  New
Status in linux-oem-6.1 source package in Jammy:
  In Progress
Status in linux source package in Lunar:
  In Progress
Status in linux-oem-6.0 source package in Lunar:
  Invalid
Status in linux-oem-6.1 source package in Lunar:
  Invalid

Bug description:
  vmd may fail to create sysfs entry while `pci_rescan_bus()` called in
  some other drivers like wwan.

  This happens after bug 2002089 re-added pci rescan feature back to
  wwan t7xx driver to support firmware updates via devlink. t7xx may
  call `pci_rescan_bus()` with proper locks, but vmd doesn't.

  sysfs: cannot create duplicate filename '/devices/.../resource0'
  Call Trace:
   
   sysfs_warn_dup.cold+0x17/0x34
   sysfs_add_bin_file_mode_ns+0xc0/0xf0
   sysfs_create_bin_file+0x6d/0xb0
   pci_create_attr+0x117/0x260
   pci_create_resource_files+0x6b/0x150
   pci_create_sysfs_dev_files+0x18/0x30
   pci_bus_add_device+0x30/0x80
   pci_bus_add_devices+0x31/0x80
   pci_bus_add_devices+0x5b/0x80
   vmd_enable_domain.constprop.0+0x6b7/0x880 [vmd]
   vmd_probe+0x16d/0x193 [vmd]

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/2011389/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 2011389] Re: vmd may fail to create sysfs entry while `pci_rescan_bus()` called in some other drivers like wwan

2023-03-13 Thread You-Sheng Yang
https://lore.kernel.org/linux-
pci/20230313173733.1815277-1-vicamo.y...@canonical.com/T/#u

** Tags added: oem-priority originate-from-2008984 somerville

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/2011389

Title:
  vmd may fail to create sysfs entry while `pci_rescan_bus()` called in
  some other drivers like wwan

Status in HWE Next:
  New
Status in linux package in Ubuntu:
  In Progress
Status in linux-oem-6.0 package in Ubuntu:
  Invalid
Status in linux-oem-6.1 package in Ubuntu:
  Invalid
Status in linux source package in Jammy:
  Invalid
Status in linux-oem-6.0 source package in Jammy:
  New
Status in linux-oem-6.1 source package in Jammy:
  In Progress
Status in linux source package in Lunar:
  In Progress
Status in linux-oem-6.0 source package in Lunar:
  Invalid
Status in linux-oem-6.1 source package in Lunar:
  Invalid

Bug description:
  vmd may fail to create sysfs entry while `pci_rescan_bus()` called in
  some other drivers like wwan.

  This happens after bug 2002089 re-added pci rescan feature back to
  wwan t7xx driver to support firmware updates via devlink. t7xx may
  call `pci_rescan_bus()` with proper locks, but vmd doesn't.

  sysfs: cannot create duplicate filename '/devices/.../resource0'
  Call Trace:
   
   sysfs_warn_dup.cold+0x17/0x34
   sysfs_add_bin_file_mode_ns+0xc0/0xf0
   sysfs_create_bin_file+0x6d/0xb0
   pci_create_attr+0x117/0x260
   pci_create_resource_files+0x6b/0x150
   pci_create_sysfs_dev_files+0x18/0x30
   pci_bus_add_device+0x30/0x80
   pci_bus_add_devices+0x31/0x80
   pci_bus_add_devices+0x5b/0x80
   vmd_enable_domain.constprop.0+0x6b7/0x880 [vmd]
   vmd_probe+0x16d/0x193 [vmd]

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/2011389/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 2011389] Re: vmd may fail to create sysfs entry while `pci_rescan_bus()` called in some other drivers like wwan

2023-03-13 Thread You-Sheng Yang
** Also affects: linux (Ubuntu Lunar)
   Importance: Undecided
   Status: Incomplete

** Also affects: linux (Ubuntu Jammy)
   Importance: Undecided
   Status: New

** Also affects: linux-oem-6.1 (Ubuntu)
   Importance: Undecided
   Status: New

** Also affects: linux-oem-6.0 (Ubuntu)
   Importance: Undecided
   Status: New

** Changed in: linux-oem-6.1 (Ubuntu Lunar)
   Status: New => Invalid

** Changed in: linux-oem-6.0 (Ubuntu Lunar)
   Status: New => Invalid

** Changed in: linux (Ubuntu Jammy)
   Status: New => Invalid

** Changed in: linux (Ubuntu Lunar)
   Status: Incomplete => In Progress

** Changed in: linux (Ubuntu Lunar)
   Importance: Undecided => High

** Changed in: linux (Ubuntu Lunar)
 Assignee: (unassigned) => You-Sheng Yang (vicamo)

** Changed in: linux-oem-6.1 (Ubuntu Jammy)
   Status: New => In Progress

** Changed in: linux-oem-6.1 (Ubuntu Jammy)
   Importance: Undecided => High

** Changed in: linux-oem-6.1 (Ubuntu Jammy)
 Assignee: (unassigned) => You-Sheng Yang (vicamo)

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/2011389

Title:
  vmd may fail to create sysfs entry while `pci_rescan_bus()` called in
  some other drivers like wwan

Status in linux package in Ubuntu:
  In Progress
Status in linux-oem-6.0 package in Ubuntu:
  Invalid
Status in linux-oem-6.1 package in Ubuntu:
  Invalid
Status in linux source package in Jammy:
  Invalid
Status in linux-oem-6.0 source package in Jammy:
  New
Status in linux-oem-6.1 source package in Jammy:
  In Progress
Status in linux source package in Lunar:
  In Progress
Status in linux-oem-6.0 source package in Lunar:
  Invalid
Status in linux-oem-6.1 source package in Lunar:
  Invalid

Bug description:
  vmd may fail to create sysfs entry while `pci_rescan_bus()` called in
  some other drivers like wwan.

  This happens after bug 2002089 re-added pci rescan feature back to
  wwan t7xx driver to support firmware updates via devlink. t7xx may
  call `pci_rescan_bus()` with proper locks, but vmd doesn't.

  sysfs: cannot create duplicate filename '/devices/.../resource0'
  Call Trace:
   
   sysfs_warn_dup.cold+0x17/0x34
   sysfs_add_bin_file_mode_ns+0xc0/0xf0
   sysfs_create_bin_file+0x6d/0xb0
   pci_create_attr+0x117/0x260
   pci_create_resource_files+0x6b/0x150
   pci_create_sysfs_dev_files+0x18/0x30
   pci_bus_add_device+0x30/0x80
   pci_bus_add_devices+0x31/0x80
   pci_bus_add_devices+0x5b/0x80
   vmd_enable_domain.constprop.0+0x6b7/0x880 [vmd]
   vmd_probe+0x16d/0x193 [vmd]

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2011389/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp