1. 24 May, 2021 2 commits
  2. 22 May, 2021 1 commit
  3. 21 May, 2021 9 commits
  4. 17 May, 2021 1 commit
    • Li Jun's avatar
      usb: chipidea: udc: assign interrupt number to USB gadget structure · 9e3927f6
      Li Jun authored
      Chipidea also need sync interrupt before unbind the udc while
      gadget remove driver, otherwise setup irq handling may happen
      while unbind, see below dump generated from android function
      switch stress test:
      
      [ 4703.503056] android_work: sent uevent USB_STATE=CONNECTED
      [ 4703.514642] android_work: sent uevent USB_STATE=DISCONNECTED
      [ 4703.651339] android_work: sent uevent USB_STATE=CONNECTED
      [ 4703.661806] init: Control message: Processed ctl.stop for 'adbd' from pid: 561 (system_server)
      [ 4703.673469] init: processing action (init.svc.adbd=stopped) from (/system/etc/init/hw/init.usb.configfs.rc:14)
      [ 4703.676451] Unable to handle kernel read from unreadable memory at virtual address 0000000000000090
      [ 4703.676454] Mem abort info:
      [ 4703.676458]   ESR = 0x96000004
      [ 4703.676461]   EC = 0x25: DABT (current EL), IL = 32 bits
      [ 4703.676464]   SET = 0, FnV = 0
      [ 4703.676466]   EA = 0, S1PTW = 0
      [ 4703.676468] Data abort info:
      [ 4703.676471]   ISV = 0, ISS = 0x00000004
      [ 4703.676473]   CM = 0, WnR = 0
      [ 4703.676478] user pgtable: 4k pages, 48-bit VAs, pgdp=000000004a867000
      [ 4703.676481] [0000000000000090] pgd=0000000000000000, p4d=0000000000000000
      [ 4703.676503] Internal error: Oops: 96000004 [#1] PREEMPT SMP
      [ 4703.758297] Modules linked in: synaptics_dsx_i2c moal(O) mlan(O)
      [ 4703.764327] CPU: 0 PID: 235 Comm: lmkd Tainted: G        W  O      5.10.9-00001-g3f5fd8487c38-dirty #63
      [ 4703.773720] Hardware name: NXP i.MX8MNano EVK board (DT)
      [ 4703.779033] pstate: 60400085 (nZCv daIf +PAN -UAO -TCO BTYPE=--)
      [ 4703.785046] pc : _raw_write_unlock_bh+0xc0/0x2c8
      [ 4703.789667] lr : android_setup+0x4c/0x168
      [ 4703.793676] sp : ffff80001256bd80
      [ 4703.796989] x29: ffff80001256bd80 x28: 00000000000000a8
      [ 4703.802304] x27: ffff800012470000 x26: ffff80006d923000
      [ 4703.807616] x25: ffff800012471000 x24: ffff00000b091140
      [ 4703.812929] x23: ffff0000077dbd38 x22: ffff0000077da490
      [ 4703.818242] x21: ffff80001256be30 x20: 0000000000000000
      [ 4703.823554] x19: 0000000000000080 x18: ffff800012561048
      [ 4703.828867] x17: 0000000000000000 x16: 0000000000000039
      [ 4703.834180] x15: ffff8000106ad258 x14: ffff80001194c277
      [ 4703.839493] x13: 0000000000003934 x12: 0000000000000000
      [ 4703.844805] x11: 0000000000000000 x10: 0000000000000001
      [ 4703.850117] x9 : 0000000000000000 x8 : 0000000000000090
      [ 4703.855429] x7 : 6f72646e61203a70 x6 : ffff8000124f2450
      [ 4703.860742] x5 : ffffffffffffffff x4 : 0000000000000009
      [ 4703.866054] x3 : ffff8000108a290c x2 : ffff00007fb3a9c8
      [ 4703.871367] x1 : 0000000000000000 x0 : 0000000000000090
      [ 4703.876681] Call trace:
      [ 4703.879129]  _raw_write_unlock_bh+0xc0/0x2c8
      [ 4703.883397]  android_setup+0x4c/0x168
      [ 4703.887059]  udc_irq+0x824/0xa9c
      [ 4703.890287]  ci_irq+0x124/0x148
      [ 4703.893429]  __handle_irq_event_percpu+0x84/0x268
      [ 4703.898131]  handle_irq_event+0x64/0x14c
      [ 4703.902054]  handle_fasteoi_irq+0x110/0x210
      [ 4703.906236]  __handle_domain_irq+0x8c/0xd4
      [ 4703.910332]  gic_handle_irq+0x6c/0x124
      [ 4703.914081]  el1_irq+0xdc/0x1c0
      [ 4703.917221]  _raw_spin_unlock_irq+0x20/0x54
      [ 4703.921405]  finish_task_switch+0x84/0x224
      [ 4703.925502]  __schedule+0x4a4/0x734
      [ 4703.928990]  schedule+0xa0/0xe8
      [ 4703.932132]  do_notify_resume+0x150/0x184
      [ 4703.936140]  work_pending+0xc/0x40c
      [ 4703.939633] Code: d5384613 521b0a69 d5184609 f9800111 (885ffd01)
      [ 4703.945732] ---[ end trace ba5c1875ae49d53c ]---
      [ 4703.950350] Kernel panic - not syncing: Oops: Fatal exception in interrupt
      [ 4703.957223] SMP: stopping secondary CPUs
      [ 4703.961151] Kernel Offset: disabled
      [ 4703.964638] CPU features: 0x0240002,2000200c
      [ 4703.968905] Memory Limit: none
      [ 4703.971963] Rebooting in 5 seconds..
      Tested-by: default avatarfaqiang.zhu <faqiang.zhu@nxp.com>
      Signed-off-by: default avatarLi Jun <jun.li@nxp.com>
      Link: https://lore.kernel.org/r/1620989984-7653-1-git-send-email-jun.li@nxp.comSigned-off-by: default avatarPeter Chen <peter.chen@kernel.org>
      9e3927f6
  5. 16 May, 2021 7 commits
    • Linus Torvalds's avatar
      Linux 5.13-rc2 · d07f6ca9
      Linus Torvalds authored
      d07f6ca9
    • Linus Torvalds's avatar
      Merge tag 'driver-core-5.13-rc2' of... · 28183dbf
      Linus Torvalds authored
      Merge tag 'driver-core-5.13-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core
      
      Pull driver core fixes from Greg KH:
       "Here are two driver fixes for driver core changes that happened in
        5.13-rc1.
      
        The clk driver fix resolves a many-reported issue with booting some
        devices, and the USB typec fix resolves the reported problem of USB
        systems on some embedded boards.
      
        Both of these have been in linux-next this week with no reported
        issues"
      
      * tag 'driver-core-5.13-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core:
        clk: Skip clk provider registration when np is NULL
        usb: typec: tcpm: Don't block probing of consumers of "connector" nodes
      28183dbf
    • Linus Torvalds's avatar
      Merge tag 'staging-5.13-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging · 6942d81a
      Linus Torvalds authored
      Pull staging and IIO driver fixes from Greg KH:
       "Here are some small IIO driver fixes and one Staging driver fix for
        5.13-rc2.
      
        Nothing major, just some resolutions for reported problems:
      
         - gcc-11 bogus warning fix for rtl8723bs
      
         - iio driver tiny fixes
      
        All of these have been in linux-next for many days with no reported
        issues"
      
      * tag 'staging-5.13-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging:
        iio: tsl2583: Fix division by a zero lux_val
        iio: core: return ENODEV if ioctl is unknown
        iio: core: fix ioctl handlers removal
        iio: gyro: mpu3050: Fix reported temperature value
        iio: hid-sensors: select IIO_TRIGGERED_BUFFER under HID_SENSOR_IIO_TRIGGER
        iio: proximity: pulsedlight: Fix rumtime PM imbalance on error
        iio: light: gp2ap002: Fix rumtime PM imbalance on error
        staging: rtl8723bs: avoid bogus gcc warning
      6942d81a
    • Linus Torvalds's avatar
      Merge tag 'usb-5.13-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb · 4a668429
      Linus Torvalds authored
      Pull USB fixes from Greg KH:
       "Here are some small USB fixes for 5.13-rc2. They consist of a number
        of resolutions for reported issues:
      
         - typec fixes for found problems
      
         - xhci fixes and quirk additions
      
         - dwc3 driver fixes
      
         - minor fixes found by Coverity
      
         - cdc-wdm fixes for reported problems
      
        All of these have been in linux-next for a few days with no reported
        issues"
      
      * tag 'usb-5.13-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb: (28 commits)
        usb: core: hub: fix race condition about TRSMRCY of resume
        usb: typec: tcpm: Fix SINK_DISCOVERY current limit for Rp-default
        xhci: Add reset resume quirk for AMD xhci controller.
        usb: xhci: Increase timeout for HC halt
        xhci: Do not use GFP_KERNEL in (potentially) atomic context
        xhci: Fix giving back cancelled URBs even if halted endpoint can't reset
        xhci-pci: Allow host runtime PM as default for Intel Alder Lake xHCI
        usb: musb: Fix an error message
        usb: typec: tcpm: Fix wrong handling for Not_Supported in VDM AMS
        usb: typec: tcpm: Send DISCOVER_IDENTITY from dedicated work
        usb: typec: ucsi: Retrieve all the PDOs instead of just the first 4
        usb: fotg210-hcd: Fix an error message
        docs: usb: function: Modify path name
        usb: dwc3: omap: improve extcon initialization
        usb: typec: ucsi: Put fwnode in any case during ->probe()
        usb: typec: tcpm: Fix wrong handling in GET_SINK_CAP
        usb: dwc2: Remove obsolete MODULE_ constants from platform.c
        usb: dwc3: imx8mp: fix error return code in dwc3_imx8mp_probe()
        usb: dwc3: imx8mp: detect dwc3 core node via compatible string
        usb: dwc3: gadget: Return success always for kick transfer in ep queue
        ...
      4a668429
    • Linus Torvalds's avatar
      Merge tag 'timers-urgent-2021-05-16' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 8ce36481
      Linus Torvalds authored
      Pull timer fixes from Thomas Gleixner:
       "Two fixes for timers:
      
         - Use the ALARM feature check in the alarmtimer core code insted of
           the old method of checking for the set_alarm() callback.
      
           Drivers can have that callback set but the feature bit cleared. If
           such a RTC device is selected then alarms wont work.
      
         - Use a proper define to let the preprocessor check whether Hyper-V
           VDSO clocksource should be active.
      
           The code used a constant in an enum with #ifdef, which evaluates to
           always false and disabled the clocksource for VDSO"
      
      * tag 'timers-urgent-2021-05-16' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        clocksource/drivers/hyper-v: Re-enable VDSO_CLOCKMODE_HVCLOCK on X86
        alarmtimer: Check RTC features instead of ops
      8ce36481
    • Linus Torvalds's avatar
      Merge tag 'for-linus-5.13b-rc2-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip · f44e58bb
      Linus Torvalds authored
      Pull xen fixes from Juergen Gross:
      
       - two patches for error path fixes
      
       - a small series for fixing a regression with swiotlb with Xen on Arm
      
      * tag 'for-linus-5.13b-rc2-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip:
        xen/swiotlb: check if the swiotlb has already been initialized
        arm64: do not set SWIOTLB_NO_FORCE when swiotlb is required
        xen/arm: move xen_swiotlb_detect to arm/swiotlb-xen.h
        xen/unpopulated-alloc: fix error return code in fill_list()
        xen/gntdev: fix gntdev_mmap() error exit path
      f44e58bb
    • Linus Torvalds's avatar
      Merge tag 'x86_urgent_for_v5.13_rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · ccb013c2
      Linus Torvalds authored
      Pull x86 fixes from Borislav Petkov:
       "The three SEV commits are not really urgent material. But we figured
        since getting them in now will avoid a huge amount of conflicts
        between future SEV changes touching tip, the kvm and probably other
        trees, sending them to you now would be best.
      
        The idea is that the tip, kvm etc branches for 5.14 will all base
        ontop of -rc2 and thus everything will be peachy. What is more, those
        changes are purely mechanical and defines movement so they should be
        fine to go now (famous last words).
      
        Summary:
      
         - Enable -Wundef for the compressed kernel build stage
      
         - Reorganize SEV code to streamline and simplify future development"
      
      * tag 'x86_urgent_for_v5.13_rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86/boot/compressed: Enable -Wundef
        x86/msr: Rename MSR_K8_SYSCFG to MSR_AMD64_SYSCFG
        x86/sev: Move GHCB MSR protocol and NAE definitions in a common header
        x86/sev-es: Rename sev-es.{ch} to sev.{ch}
      ccb013c2
  6. 15 May, 2021 20 commits