Skip to content
  1. Aug 08, 2020
  2. Aug 07, 2020
    • Linus Torvalds's avatar
      Merge tag 'tty-5.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty · d6efb3ac
      Linus Torvalds authored
      Pull tty/serial updates from Greg KH:
       "Here is the large set of TTY and Serial driver patches for 5.9-rc1.
      
        Lots of bugfixes in here, thanks to syzbot fuzzing for serial and vt
        and console code.
      
        Other highlights include:
      
         - much needed vt/vc code cleanup from Jiri Slaby
      
         - 8250 driver fixes and additions
      
         - various serial driver updates and feature enhancements
      
         - locking cleanup for serial/console initializations
      
         - other minor cleanups
      
        All of these have been in linux-next with no reported issues"
      
      * tag 'tty-5.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty: (90 commits)
        MAINTAINERS: enlist Greg formally for console stuff
        vgacon: Fix for missing check in scrollback handling
        Revert "serial: 8250: Let serial core initialise spin lock"
        serial: 8250: Let serial core initialise spin lock
        tty: keyboard, do not speculate on func_table index
        serial: stm32: Add RS485 RTS GP...
      d6efb3ac
    • Linus Torvalds's avatar
      Merge tag 'staging-5.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging · c0c419c0
      Linus Torvalds authored
      Pull staging/IIO driver updates from Greg KH:
       "Here is the large set of Staging and IIO driver patches for 5.9-rc1.
      
        Lots of churn here, but overall the size increase in lines added is
        small, while adding a load of new IIO drivers.
      
        Major things in here:
      
         - lots and lots of IIO new drivers and frameworks added
      
         - IIO driver fixes and updates
      
         - lots of tiny coding style cleanups for staging drivers
      
         - vc04_services major reworks and cleanups
      
        We had 3 set of drivers move out of staging in this round as well:
      
         - wilc1000 wireless driver moved out of staging
      
         - speakup moved out of staging
      
         - most USB driver moved out of staging
      
        Full details are in the shortlog.
      
        All of these have been in linux-next with no reported issues. The last
        few changes here were to resolve reported linux-next issues, and they
        seem to have resolved the problems"
      
      * tag 'staging-5.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging: (428 commits)
        staging: most: fix up movement of USB driver
        staging: rts5208: clear alignment style issues
        staging: r8188eu: replace rtw_netdev_priv define with inline function
        staging: netlogic: clear alignment style issues
        staging: android: ashmem: Fix lockdep warning for write operation
        drivers: most: add USB adapter driver
        staging: most: Use %pM format specifier for MAC addresses
        staging: ks7010: Use %pM format specifier for MAC addresses
        staging: qlge: qlge_dbg: removed comment repition
        staging: wfx: Use flex_array_size() helper in memcpy()
        staging: rtl8723bs: Align macro definitions
        staging: rtl8723bs: Clean up function declations
        staging: rtl8723bs: Fix coding style errors
        drivers: staging: audio: Fix the missing header file for helper file
        staging: greybus: audio: Enable GB codec, audio module compilation.
        staging: greybus: audio: Add helper APIs for dynamic audio modules
        staging: greybus: audio: Resolve compilation error in topology parser
        staging: greybus: audio: Resolve compilation errors for GB codec module
        staging: greybus: audio: Maintain jack list within GB Audio module
        staging: greybus: audio: Update snd_jack FW usage as per new APIs
        ...
      c0c419c0
    • Linus Torvalds's avatar
      Merge tag 'sound-5.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound · 3f9df564
      Linus Torvalds authored
      Pull sound updates from Takashi Iwai:
       "This became wide and scattered updates all over the sound tree as
        diffstat shows: lots of (still ongoing) refactoring works in ASoC,
        fixes and cleanups caught by static analysis, inclusive term
        conversions as well as lots of new drivers. Below are highlights:
      
        ASoC core:
         - API cleanups and conversions to the unified mute_stream() call
         - Simplify I/O helper functions
         - Use helper macros to retrieve RTD from substreams
      
        ASoC drivers:
         - Lots of fixes and cleanups in Intel ASoC drivers
         - Lots of new stuff: Freescale MQS and i.MX6sx, Intel KeemBay I2S,
           Maxim MAX98360A and MAX98373 SoundWire, various Mediatek boards,
           nVidia Tegra 186 and 210, RealTek RL6231, Samsung Midas and Aries
           boards, TI J721e EVM
      
        ALSA core:
         - Minor code refacotring for SG-buffer handling
      
        HD-audio:
         - Generalization of mute-LED handling with LED classdev
         - Intel...
      3f9df564
    • Linus Torvalds's avatar
      Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm · 921d2597
      Linus Torvalds authored
      Pull KVM updates from Paolo Bonzini:
       "s390:
         - implement diag318
      
        x86:
         - Report last CPU for debugging
         - Emulate smaller MAXPHYADDR in the guest than in the host
         - .noinstr and tracing fixes from Thomas
         - nested SVM page table switching optimization and fixes
      
        Generic:
         - Unify shadow MMU cache data structures across architectures"
      
      * tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm: (127 commits)
        KVM: SVM: Fix sev_pin_memory() error handling
        KVM: LAPIC: Set the TDCR settable bits
        KVM: x86: Specify max TDP level via kvm_configure_mmu()
        KVM: x86/mmu: Rename max_page_level to max_huge_page_level
        KVM: x86: Dynamically calculate TDP level from max level and MAXPHYADDR
        KVM: VXM: Remove temporary WARN on expected vs. actual EPTP level mismatch
        KVM: x86: Pull the PGD's level from the MMU instead of recalculating it
        KVM: VMX: Make vmx_load_mmu_pgd() static
        KVM: x86/mmu: Add separate helper for sha...
      921d2597
    • Linus Torvalds's avatar
      Revert "x86/mm/64: Do not sync vmalloc/ioremap mappings" · 7b4ea945
      Linus Torvalds authored
      This reverts commit 8bb9bf24
      
      .
      
      It seems the vmalloc page tables aren't always preallocated in all
      situations, because Jason Donenfeld reports an oops with this commit:
      
        BUG: unable to handle page fault for address: ffffe8ffffd00608
        #PF: supervisor read access in kernel mode
        #PF: error_code(0x0000) - not-present page
        PGD 0 P4D 0
        Oops: 0000 [#1] PREEMPT SMP
        CPU: 2 PID: 22 Comm: kworker/2:0 Not tainted 5.8.0+ #154
        RIP: process_one_work+0x2c/0x2d0
        Code: 41 56 41 55 41 54 55 48 89 f5 53 48 89 fb 48 83 ec 08 48 8b 06 4c 8b 67 40 49 89 c6 45 30 f6 a8 04 b8 00 00 00 00 4c 0f 44 f0 <49> 8b 46 08 44 8b a8 00 01 05
        Call Trace:
         worker_thread+0x4b/0x3b0
         ? rescuer_thread+0x360/0x360
         kthread+0x116/0x140
         ? __kthread_create_worker+0x110/0x110
         ret_from_fork+0x1f/0x30
        CR2: ffffe8ffffd00608
      
      and that page fault address is right in that vmalloc space, and we
      clearly don't have a PGD/P4D entry for it.
      
      Looking at the "Code:" line, the actual fault seems to come from the
      'pwq->wq' dereference at the top of the process_one_work() function:
      
              struct pool_workqueue *pwq = get_work_pwq(work);
              struct worker_pool *pool = worker->pool;
              bool cpu_intensive = pwq->wq->flags & WQ_CPU_INTENSIVE;
      
      so 'struct pool_workqueue *pwq' is the allocation that hasn't been
      synchronized across CPUs.
      
      Just revert for now, while Joerg figures out the cause.
      
      Reported-and-bisected-by: default avatarJason A. Donenfeld <Jason@zx2c4.com>
      Acked-by: default avatarIngo Molnar <mingo@kernel.org>
      Acked-by: default avatarJoerg Roedel <jroedel@suse.de>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      7b4ea945
    • Linus Torvalds's avatar
      Merge tag 'sched-fifo-2020-08-04' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 6d2b84a4
      Linus Torvalds authored
      Pull sched/fifo updates from Ingo Molnar:
       "This adds the sched_set_fifo*() encapsulation APIs to remove static
        priority level knowledge from non-scheduler code.
      
        The three APIs for non-scheduler code to set SCHED_FIFO are:
      
         - sched_set_fifo()
         - sched_set_fifo_low()
         - sched_set_normal()
      
        These are two FIFO priority levels: default (high), and a 'low'
        priority level, plus sched_set_normal() to set the policy back to
        non-SCHED_FIFO.
      
        Since the changes affect a lot of non-scheduler code, we kept this in
        a separate tree"
      
      * tag 'sched-fifo-2020-08-04' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (24 commits)
        sched,tracing: Convert to sched_set_fifo()
        sched: Remove sched_set_*() return value
        sched: Remove sched_setscheduler*() EXPORTs
        sched,psi: Convert to sched_set_fifo_low()
        sched,rcutorture: Convert to sched_set_fifo_low()
        sched,rcuperf: Convert to sched_set_fifo_low()
        sched,locktorture: Convert to sched_set_fifo()
        sched,irq: Convert to sched_set_fifo()
        sched,watchdog: Convert to sched_set_fifo()
        sched,serial: Convert to sched_set_fifo()
        sched,powerclamp: Convert to sched_set_fifo()
        sched,ion: Convert to sched_set_normal()
        sched,powercap: Convert to sched_set_fifo*()
        sched,spi: Convert to sched_set_fifo*()
        sched,mmc: Convert to sched_set_fifo*()
        sched,ivtv: Convert to sched_set_fifo*()
        sched,drm/scheduler: Convert to sched_set_fifo*()
        sched,msm: Convert to sched_set_fifo*()
        sched,psci: Convert to sched_set_fifo*()
        sched,drbd: Convert to sched_set_fifo*()
        ...
      6d2b84a4