1. 07 Jan, 2018 11 commits
    • Christoph Hellwig's avatar
      riscv: remove CONFIG_MMU ifdefs · c163fb38
      Christoph Hellwig authored
      The RISC-V port doesn't suport a nommu mode, so there is no reason
      to provide some code only under a CONFIG_MMU ifdef.
      Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
      Signed-off-by: default avatarPalmer Dabbelt <palmer@sifive.com>
      c163fb38
    • Palmer Dabbelt's avatar
      RISC-V: Make __NR_riscv_flush_icache visible to userspace · 9e49a4ed
      Palmer Dabbelt authored
      We were hoping to avoid making this visible to userspace, but it looks
      like we're going to have to because QEMU's user-mode emulation doesn't
      want to emulate a vDSO.  Having vDSO-only system calls was a bit
      unothodox anyway, so I think in this case it's OK to just make the
      actual system call number public.
      
      This patch simply moves the definition of __NR_riscv_flush_icache
      availiable to userspace, which results in the deletion of the now empty
      vdso-syscalls.h.
      
      Changes since v1:
      
      * I've moved the definition into uapi/asm/syscalls.h rathen than
        uapi/asm/unistd.h.  This allows me to keep asm/unistd.h, so we can
        keep the syscall table macros sane.
      * As a side effect of the above, this no longer disables all system
        calls on RISC-V.  Whoops!
      Signed-off-by: default avatarPalmer Dabbelt <palmer@sifive.com>
      9e49a4ed
    • Karsten Merker's avatar
      RISC-V: Add a basic defconfig · 33c57c0d
      Karsten Merker authored
      This patch provides a basic defconfig for the RISC-V
      architecture that enables enough kernel features to run a
      basic Linux distribution on qemu's "virt" board for native
      software development. Features include:
      
      - serial console
      - virtio block and network device support
      - VFAT and ext2/3/4 filesystem support
      - NFS client and NFS rootfs support
      - an assortment of other kernel features required for
        running systemd
      
      It also enables a number of drivers for physical hardware
      that target the "SiFive U500" SoC and the corresponding
      development platform.  These include:
      
      - PCIe host controller support for the FPGA-based U500
        development platform (PCIE_XILINX)
      - USB host controller support (OHCI/EHCI/XHCI)
      - USB HID (keyboard/mouse) support
      - USB mass storage support (bulk and UAS)
      - SATA support (AHCI)
      - ethernet drivers (MACB for a SoC-internal MAC block, microsemi
        ethernet phy, E1000E and R8169 for PCIe-connected external devices)
      - DRM and framebuffer console support for PCIe-connected
        Radeon graphics chips
      Signed-off-by: default avatarKarsten Merker <merker@debian.org>
      Signed-off-by: default avatarPalmer Dabbelt <palmer@sifive.com>
      33c57c0d
    • Linus Torvalds's avatar
      Linux 4.15-rc7 · b2cd1df6
      Linus Torvalds authored
      b2cd1df6
    • Linus Torvalds's avatar
      Merge branch 'parisc-4.15-3' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux · b84449dc
      Linus Torvalds authored
      Pull parisc fixes from Helge Deller:
      
       - Many small fixes to show the real physical addresses of devices
         instead of hashed addresses.
      
       - One important fix to unbreak 32-bit SMP support: We forgot to 16-byte
         align the spinlocks in the assembler code.
      
       - Qemu support: The host will get a chance to sleep when the parisc
         guest is idle. We use the same mechanism as the power architecture by
         overlaying the "or %r10,%r10,%r10" instruction which is simply a nop
         on real hardware.
      
      * 'parisc-4.15-3' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux:
        parisc: qemu idle sleep support
        parisc: Fix alignment of pa_tlb_lock in assembly on 32-bit SMP kernel
        parisc: Show unhashed EISA EEPROM address
        parisc: Show unhashed HPA of Dino chip
        parisc: Show initial kernel memory layout unhashed
        parisc: Show unhashed hardware inventory
      b84449dc
    • Linus Torvalds's avatar
      Merge tag 'apparmor-pr-2018-01-07' of... · 9cfd403a
      Linus Torvalds authored
      Merge tag 'apparmor-pr-2018-01-07' of git://git.kernel.org/pub/scm/linux/kernel/git/jj/linux-apparmor
      
      Pull apparmor fix from John Johansen:
       "This fixes a regression when the kernel feature set is reported as
        supporting mount and policy is pinned to a feature set that does not
        support mount mediation"
      
      * tag 'apparmor-pr-2018-01-07' of git://git.kernel.org/pub/scm/linux/kernel/git/jj/linux-apparmor:
        apparmor: fix regression in mount mediation when feature set is pinned
      9cfd403a
    • Linus Torvalds's avatar
      Merge tag 'led_fixes_for_4.15-rc7' of... · 9d61ec5b
      Linus Torvalds authored
      Merge tag 'led_fixes_for_4.15-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/j.anaszewski/linux-leds
      
      Pull LED fix from Jacek Anaszewski:
       "The commit 2b83ff96 for 4.15-rc6, which was fixing LED brightness
        setting after clearing delay_off broke the behavior on any alteration
        of delay_on{off} properties, due to use of a LED core helper that does
        too much for this particular case"
      
      * tag 'led_fixes_for_4.15-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/j.anaszewski/linux-leds:
        leds: core: Fix regression caused by commit 2b83ff96
      9d61ec5b
    • Linus Torvalds's avatar
      Merge tag 'for-linus-20180107' of git://git.infradead.org/linux-mtd · c11a5fe6
      Linus Torvalds authored
      Pull MTD bugfix from Richard Weinberger:
       "A single fix for the pxa3xx NAND driver"
      
      * tag 'for-linus-20180107' of git://git.infradead.org/linux-mtd:
        mtd: nand: pxa3xx: Fix READOOB implementation
      c11a5fe6
    • Jacek Anaszewski's avatar
      leds: core: Fix regression caused by commit 2b83ff96 · 7b6af2c5
      Jacek Anaszewski authored
      Commit 2b83ff96 ("led: core: Fix brightness setting when setting delay_off=0")
      replaced del_timer_sync(&led_cdev->blink_timer) with led_stop_software_blink()
      in led_blink_set(), which additionally clears LED_BLINK_SW flag as well as
      zeroes blink_delay_on and blink_delay_off properties of the struct led_classdev.
      
      Cleansing of the latter ones wasn't required to fix the original issue but
      wasn't considered harmful. It nonetheless turned out to be so in case when
      pointer to one or both props is passed to led_blink_set() like in the
      ledtrig-timer.c. In such cases zeroes are passed later in delay_on and/or
      delay_off arguments to led_blink_setup(), which results either in stopping
      the software blinking or setting blinking frequency always to 1Hz.
      
      Avoid using led_stop_software_blink() and add a single call required
      to clear LED_BLINK_SW flag, which was the only needed modification to
      fix the original issue.
      
      Fixes 2b83ff96 ("led: core: Fix brightness setting when setting delay_off=0")
      Signed-off-by: default avatarJacek Anaszewski <jacek.anaszewski@gmail.com>
      7b6af2c5
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs · 75d4276e
      Linus Torvalds authored
      Pull vfs fixes from Al Viro:
      
       - untangle sys_close() abuses in xt_bpf
      
       - deal with register_shrinker() failures in sget()
      
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
        fix "netfilter: xt_bpf: Fix XT_BPF_MODE_FD_PINNED mode of 'xt_bpf_info_v1'"
        sget(): handle failures of register_shrinker()
        mm,vmscan: Make unregister_shrinker() no-op if register_shrinker() failed.
      75d4276e
    • Linus Torvalds's avatar
      Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm · 5b6c02f3
      Linus Torvalds authored
      Pull KVM fixes from Radim Krčmář:
       "s390:
         - Two fixes for potential bitmap overruns in the cmma migration code
      
        x86:
         - Clear guest provided GPRs to defeat the Project Zero PoC for CVE
           2017-5715"
      
      * tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm:
        kvm: vmx: Scrub hardware GPRs at VM-exit
        KVM: s390: prevent buffer overrun on memory hotplug during migration
        KVM: s390: fix cmma migration for multiple memory slots
      5b6c02f3
  2. 06 Jan, 2018 7 commits
  3. 05 Jan, 2018 22 commits