PolarFire Icicle Kit: missing USB support

Bug #1986970 reported by Heinrich Schuchardt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux-riscv (Ubuntu)
Fix Released
Undecided
Emil Renner Berthing

Bug Description

[Impact]

The 5.19 kernel contains support for the PolarFire Icicle board but the USB driver is missing.

The following patches are available in Linux v6.0-rc1 and are sufficient to make USB usable on the PolarFire Icicle board. Please, apply them to the 5.19 kernel and set CONFIG_USB_MUSB_POLARFIRE_SOC=m.

7a96b6ea90a4 ("usb: musb: Add support for PolarFire SoC's musb controller")
https://<email address hidden>

21cdd6a0e844 ("usb: musb: mpfs: Fix error codes in probe()")
https://lore.kernel.org/r/YrVmLEc/FOEzNdzj@kili

98ceba755928 ("usb: musb: mpfs: add missing clk_disable_unprepare() in mpfs_remove()"
https://lore.kernel.org/all/YrVmLEc%2FFOEzNdzj@kili/

With this change internal USB devices are fully usable. External devices are supported with the following Jumper settings:

* J17 closed
* J15 open

[Test Plan]

Ensure the correct jumper settings:

* J17 closed
* J15 open

Use the SiFive Unmatched preinstalled image and install the 5.19 kernel. Try to boot on the Polarfire Icicle board.

* Run lsusb.
* Attach a USB device to J16 (USB port beside SD-card slot)
* Run lsusb again. The new device appears.

[Where problems could occur]

The fix only concerns a board which has been unsupported by Ubuntu yet.

In case of an incorrect fix the board might not boot or otherwise malfunction.

Best regards

Heinrich

CVE References

description: updated
Changed in linux-riscv (Ubuntu):
assignee: nobody → Emil Renner Berthing (esmil)
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (160.9 KiB)

This bug was fixed in the package linux-riscv - 5.19.0-1003.3

---------------
linux-riscv (5.19.0-1003.3) kinetic; urgency=medium

  * kinetic/linux-riscv: 5.19.0-1003.3 -proposed tracker (LP: #1992335)

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

  * Disable sv57 as the userspace is not ready (LP: #1991790)
    - SAUCE: riscv: mm: Force disable sv57

  * rcu_sched detected stalls on CPUs/tasks (LP: #1967130)
    - [Packaging] Keep VMAP_STACK off

  * earlyconsole prints question marks on 5.19.0-1002-generic (LP: #1988984)
    - [Config] Set CONFIG_PWM_SIFIVE=m for

  * Miscellaneous Ubuntu changes
    - [Packaging] suffixless backport kernel, handle it as an exception
    - [Packaging] Add helper scripts
    - [Packaging] Use all annotations from parent
    - [Packaging] Review master changes
    - [Packaging] Adjust ABI after config changes.

  [ Ubuntu: 5.19.0-19.19 ]

  * kinetic/linux: 5.19.0-19.19 -proposed tracker (LP: #1990960)
  * kinetic: apply new apparmor and LSM stacking patch set (LP: #1989983)
    - Revert "Revert "Revert "UBUNTU: SAUCE: LSM: Specify which LSM to display
      (using struct cred as input)"""
    - Revert "Revert "Revert "UBUNTU: SAUCE: apparmor: Fix build error, make sk
      parameter const"""
    - Revert "Revert "Revert "UBUNTU: SAUCE: LSM: Use lsmblob in
      smk_netlbl_mls()"""
    - Revert "Revert "Revert "UBUNTU: SAUCE: LSM: change ima_read_file() to use
      lsmblob"""
    - Revert "Revert "Revert "UBUNTU: SAUCE: apparmor: rename kzfree() to
      kfree_sensitive()"""
    - Revert "Revert "Revert "UBUNTU: SAUCE: Audit: Fix for missing NULL check"""
    - Revert "Revert "Revert "UBUNTU: SAUCE: AppArmor: Remove the exclusive
      flag"""
    - Revert "Revert "Revert "UBUNTU: SAUCE: LSM: Add /proc attr entry for full
      LSM context"""
    - Revert "Revert "Revert "UBUNTU: SAUCE: Audit: Add a new record for multiple
      object LSM attributes"""
    - Revert "Revert "Revert "UBUNTU: SAUCE: Audit: Fix incorrect static inline
      function declration."""
    - Revert "Revert "Revert "UBUNTU: SAUCE: Audit: Add new record for multiple
      process LSM attributes"""
    - Revert "Revert "Revert "UBUNTU: SAUCE: NET: Store LSM netlabel data in a
      lsmblob"""
    - Revert "Revert "Revert "UBUNTU: SAUCE: LSM: security_secid_to_secctx in
      netlink netfilter"""
    - Revert "Revert "Revert "UBUNTU: SAUCE: LSM: Use lsmcontext in
      security_inode_getsecctx"""
    - Revert "Revert "Revert "UBUNTU: SAUCE: LSM: Use lsmcontext in
      security_secid_to_secctx"""
    - Revert "Revert "Revert "UBUNTU: SAUCE: LSM: Ensure the correct LSM context
      releaser"""
    - Revert "Revert "Revert "UBUNTU: SAUCE: LSM: Specify which LSM to display"""
    - Revert "Revert "Revert "UBUNTU: SAUCE: IMA: Change internal interfaces to
      use lsmblobs"""
    - Revert "Revert "Revert "UBUNTU: SAUCE: LSM: Use lsmblob in
      security_cred_getsecid"""
    - Revert "Revert "Revert "UBUNTU: SAUCE: LSM: Use lsmblob in
      security_inode_getsecid"""
    - Revert "Revert "Revert "UBUNTU: SAUCE: LSM: Use lsmblob in
      security_task_getsecid"""
    - Rever...

Changed in linux-riscv (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.