1. 19 Jun, 2023 9 commits
  2. 15 Jun, 2023 2 commits
  3. 14 Jun, 2023 1 commit
    • Martin Hundebøll's avatar
      mmc: meson-gx: remove redundant mmc_request_done() call from irq context · 3c40eb81
      Martin Hundebøll authored
      The call to mmc_request_done() can schedule, so it must not be called
      from irq context. Wake the irq thread if it needs to be called, and let
      its existing logic do its work.
      
      Fixes the following kernel bug, which appears when running an RT patched
      kernel on the AmLogic Meson AXG A113X SoC:
      [   11.111407] BUG: scheduling while atomic: kworker/0:1H/75/0x00010001
      [   11.111438] Modules linked in:
      [   11.111451] CPU: 0 PID: 75 Comm: kworker/0:1H Not tainted 6.4.0-rc3-rt2-rtx-00081-gfd07f41ed6b4-dirty #1
      [   11.111461] Hardware name: RTX AXG A113X Linux Platform Board (DT)
      [   11.111469] Workqueue: kblockd blk_mq_run_work_fn
      [   11.111492] Call trace:
      [   11.111497]  dump_backtrace+0xac/0xe8
      [   11.111510]  show_stack+0x18/0x28
      [   11.111518]  dump_stack_lvl+0x48/0x60
      [   11.111530]  dump_stack+0x18/0x24
      [   11.111537]  __schedule_bug+0x4c/0x68
      [   11.111548]  __schedule+0x80/0x574
      [   11.111558]  schedule_loop+0x2c/0x50
      [   11.111567]  schedule_rtlock+0x14/0x20
      [   11.111576]  rtlock_slowlock_locked+0x468/0x730
      [   11.111587]  rt_spin_lock+0x40/0x64
      [   11.111596]  __wake_up_common_lock+0x5c/0xc4
      [   11.111610]  __wake_up+0x18/0x24
      [   11.111620]  mmc_blk_mq_req_done+0x68/0x138
      [   11.111633]  mmc_request_done+0x104/0x118
      [   11.111644]  meson_mmc_request_done+0x38/0x48
      [   11.111654]  meson_mmc_irq+0x128/0x1f0
      [   11.111663]  __handle_irq_event_percpu+0x70/0x114
      [   11.111674]  handle_irq_event_percpu+0x18/0x4c
      [   11.111683]  handle_irq_event+0x80/0xb8
      [   11.111691]  handle_fasteoi_irq+0xa4/0x120
      [   11.111704]  handle_irq_desc+0x20/0x38
      [   11.111712]  generic_handle_domain_irq+0x1c/0x28
      [   11.111721]  gic_handle_irq+0x8c/0xa8
      [   11.111735]  call_on_irq_stack+0x24/0x4c
      [   11.111746]  do_interrupt_handler+0x88/0x94
      [   11.111757]  el1_interrupt+0x34/0x64
      [   11.111769]  el1h_64_irq_handler+0x18/0x24
      [   11.111779]  el1h_64_irq+0x64/0x68
      [   11.111786]  __add_wait_queue+0x0/0x4c
      [   11.111795]  mmc_blk_rw_wait+0x84/0x118
      [   11.111804]  mmc_blk_mq_issue_rq+0x5c4/0x654
      [   11.111814]  mmc_mq_queue_rq+0x194/0x214
      [   11.111822]  blk_mq_dispatch_rq_list+0x3ac/0x528
      [   11.111834]  __blk_mq_sched_dispatch_requests+0x340/0x4d0
      [   11.111847]  blk_mq_sched_dispatch_requests+0x38/0x70
      [   11.111858]  blk_mq_run_work_fn+0x3c/0x70
      [   11.111865]  process_one_work+0x17c/0x1f0
      [   11.111876]  worker_thread+0x1d4/0x26c
      [   11.111885]  kthread+0xe4/0xf4
      [   11.111894]  ret_from_fork+0x10/0x20
      
      Fixes: 51c5d844 ("MMC: meson: initial support for GX platforms")
      Cc: stable@vger.kernel.org
      Signed-off-by: default avatarMartin Hundebøll <martin@geanix.com>
      Link: https://lore.kernel.org/r/20230607082713.517157-1-martin@geanix.comSigned-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
      3c40eb81
  4. 13 Jun, 2023 4 commits
  5. 12 Jun, 2023 20 commits
  6. 11 Jun, 2023 3 commits
    • Linus Torvalds's avatar
      Linux 6.4-rc6 · 858fd168
      Linus Torvalds authored
      858fd168
    • Linus Torvalds's avatar
      Merge tag 'x86_urgent_for_v6.4_rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 4c605260
      Linus Torvalds authored
      Pull x86 fix from Borislav Petkov:
      
       - Set up the kernel CS earlier in the boot process in case EFI boots
         the kernel after bypassing the decompressor and the CS descriptor
         used ends up being the EFI one which is not mapped in the identity
         page table, leading to early SEV/SNP guest communication exceptions
         resulting in the guest crashing
      
      * tag 'x86_urgent_for_v6.4_rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86/head/64: Switch to KERNEL_CS as soon as new GDT is installed
      4c605260
    • Linus Torvalds's avatar
      Merge tag '6.4-rc5-smb3-server-fixes' of git://git.samba.org/ksmbd · 65d7ca59
      Linus Torvalds authored
      Pull smb server fixes from Steve French:
       "Five smb3 server fixes, all also for stable:
      
         - Fix four slab out of bounds warnings: improve checks for protocol
           id, and for small packet length, and for create context parsing,
           and for negotiate context parsing
      
         - Fix for incorrect dereferencing POSIX ACLs"
      
      * tag '6.4-rc5-smb3-server-fixes' of git://git.samba.org/ksmbd:
        ksmbd: validate smb request protocol id
        ksmbd: check the validation of pdu_size in ksmbd_conn_handler_loop
        ksmbd: fix posix_acls and acls dereferencing possible ERR_PTR()
        ksmbd: fix out-of-bound read in parse_lease_state()
        ksmbd: fix out-of-bound read in deassemble_neg_contexts()
      65d7ca59
  7. 10 Jun, 2023 1 commit
    • Linus Torvalds's avatar
      Merge tag 'i2c-for-6.4-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux · 022ce886
      Linus Torvalds authored
      Pull i2c fixes from Wolfram Sang:
       "Biggest news is that Andi Shyti steps in for maintaining the
        controller drivers. Thank you very much!
      
        Other than that, one new driver maintainer and the rest is usual
        driver bugfixes. at24 has a Kconfig dependecy fix"
      
      * tag 'i2c-for-6.4-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux:
        MAINTAINERS: Add entries for Renesas RZ/V2M I2C driver
        eeprom: at24: also select REGMAP
        i2c: sprd: Delete i2c adapter in .remove's error path
        i2c: mv64xxx: Fix reading invalid status value in atomic mode
        i2c: designware: fix idx_write_cnt in read loop
        i2c: mchp-pci1xxxx: Avoid cast to incompatible function type
        i2c: img-scb: Fix spelling mistake "innacurate" -> "inaccurate"
        MAINTAINERS: Add myself as I2C host drivers maintainer
      022ce886