1. 29 3月, 2018 2 次提交
    • L
      Merge tag 'powerpc-4.16-6' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux · a2601d78
      Linus Torvalds 提交于
      Pull powerpc fixes from Michael Ellerman:
       "Some more powerpc fixes for 4.16. Apologies if this is a bit big at
        rc7, but they're all reasonably important fixes. None are actually for
        new code, so they aren't indicative of 4.16 being in bad shape from
        our point of view.
      
         - Fix missing AT_BASE_PLATFORM (in auxv) when we're using a new
           firmware interface for describing CPU features.
      
         - Fix lost pending interrupts due to a race in our interrupt
           soft-masking code.
      
         - A workaround for a nest MMU bug with TLB invalidations on Power9.
      
         - A workaround for broadcast TLB invalidations on Power9.
      
         - Fix a bug in our instruction SLB miss handler, when handling bad
           addresses (eg. >= TASK_SIZE), which could corrupt non-volatile user
           GPRs.
      
        Thanks to: Aneesh Kumar K.V, Balbir Singh, Benjamin Herrenschmidt,
        Nicholas Piggin"
      
      * tag 'powerpc-4.16-6' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux:
        powerpc/64s: Fix i-side SLB miss bad address handler saving nonvolatile GPRs
        powerpc/mm: Fixup tlbie vs store ordering issue on POWER9
        powerpc/mm/radix: Move the functions that does the actual tlbie closer
        powerpc/mm/radix: Remove unused code
        powerpc/mm: Workaround Nest MMU bug with TLB invalidations
        powerpc/mm: Add tracking of the number of coprocessors using a context
        powerpc/64s: Fix lost pending interrupt due to race causing lost update to irq_happened
        powerpc/64s: Fix NULL AT_BASE_PLATFORM when using DT CPU features
      a2601d78
    • L
      Merge tag 'armsoc-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc · 616d8cf0
      Linus Torvalds 提交于
      Pull ARM SoC fixes from Arnd Bergmann:
       "Here are are a couple of last-minute fixes for 4.16, mostly for
        regressions. As usual, the majory are device tree changes:
      
         - USB 3 support on rk3399 didn't work and is being reverted for now
      
         - One fix for an old suspend/resume bug on rk3399
      
         - A few regulator related fixes on Banana Pi M2, and on imx7d-sdb
      
         - A boot regression fix for all Aspeed SoCs failing to find their
           memory
      
         - One more dtc warning fix
      
        The other changes are:
      
         - A few updates to the MAINTAINERS file
      
         - A revert for an incorrect orion5x cleanup
      
         - Two power management fixes for OMAP"
      
      * tag 'armsoc-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc:
        ARM: OMAP: Fix SRAM W+X mapping
        ARM: dts: aspeed: Add default memory node
        mailmap: Update email address for Gregory CLEMENT
        ARM: davinci: fix the GPIO lookup for omapl138-hawk
        MAINTAINERS: Update Tegra IOMMU maintainer
        ARM: dts: imx7d-sdb: Fix regulator-usb-otg2-vbus node name
        ARM: ux500: Fix PMU IRQ regression
        ARM: dts: rockchip: Add missing #sound-dai-cells on rk3288
        Revert "arm64: dts: rockchip: add usb3-phy otg-port support for rk3399"
        arm64: dts: rockchip: Fix rk3399-gru-* s2r (pinctrl hogs, wifi reset)
        ARM: OMAP: Fix dmtimer init for omap1
        MAINTAINERS: update email address for Maxime Ripard
        ARM: dts: sun6i: a31s: bpi-m2: add missing regulators
        ARM: dts: sun6i: a31s: bpi-m2: improve pmic properties
      616d8cf0
  2. 28 3月, 2018 2 次提交
    • L
      Merge branch 'fixes' of git://git.armlinux.org.uk/~rmk/linux-arm · d2b35e00
      Linus Torvalds 提交于
      Pull ARM fixes from Russell King:
       "A small number of small fixes for ARM, mostly for some build issues.
      
        One fix for a regression caused by the cpu hotplug conversion from a
        few kernel versions ago"
      
      * 'fixes' of git://git.armlinux.org.uk/~rmk/linux-arm:
        ARM: 8750/1: deflate_xip_data.sh: minor fixes
        ARM: 8748/1: mm: Define vdso_start, vdso_end as array
        ARM: 8747/1: make CONFIG_DEBUG_WX depend on MMU
        ARM: 8746/1: vfp: Go back to clearing vfp_current_hw_state[]
      d2b35e00
    • L
      Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi · fd9adc40
      Linus Torvalds 提交于
      Pull SCSI fixes from James Bottomley:
       "Two driver fixes (ibmvfc, iscsi_tcp) and a USB fix for devices that
        give the wrong return to Read Capacity and cause a huge log spew.
      
        The remaining five patches all try to fix commit 84676c1f
        ("genirq/affinity: assign vectors to all possible CPUs") which broke
        the non-mq I/O path"
      
      * tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi:
        scsi: iscsi_tcp: set BDI_CAP_STABLE_WRITES when data digest enabled
        scsi: sd: Remember that READ CAPACITY(16) succeeded
        scsi: ibmvfc: Avoid unnecessary port relogin
        scsi: virtio_scsi: unify scsi_host_template
        scsi: virtio_scsi: fix IO hang caused by automatic irq vector affinity
        scsi: core: introduce force_blk_mq
        scsi: megaraid_sas: fix selection of reply queue
        scsi: hpsa: fix selection of reply queue
      fd9adc40
  3. 27 3月, 2018 3 次提交
  4. 26 3月, 2018 9 次提交
  5. 25 3月, 2018 3 次提交
    • L
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace · e43d40b3
      Linus Torvalds 提交于
      Pull mqueuefs revert from Eric Biederman:
       "This fixes a regression that came in the merge window for v4.16.
      
        The problem is that the permissions for mounting and using the
        mqueuefs filesystem are broken. The necessary permission check is
        missing letting people who should not be able to mount mqueuefs mount
        mqueuefs. The field sb->s_user_ns is set incorrectly not allowing the
        mounter of mqueuefs to remount and otherwise have proper control over
        the filesystem.
      
        Al Viro and I see the path to the necessary fixes differently and I am
        not even certain at this point he actually sees all of the necessary
        fixes. Given a couple weeks we can probably work something out but I
        don't see the review being resolved in time for the final v4.16. I
        don't want v4.16 shipping with a nasty regression. So unfortunately I
        am sending a revert"
      
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace:
        Revert "mqueue: switch to on-demand creation of internal mount"
      e43d40b3
    • E
      Revert "mqueue: switch to on-demand creation of internal mount" · cfb2f6f6
      Eric W. Biederman 提交于
      This reverts commit 36735a6a.
      
      Aleksa Sarai <asarai@suse.de> writes:
      > [REGRESSION v4.16-rc6] [PATCH] mqueue: forbid unprivileged user access to internal mount
      >
      > Felix reported weird behaviour on 4.16.0-rc6 with regards to mqueue[1],
      > which was introduced by 36735a6a ("mqueue: switch to on-demand
      > creation of internal mount").
      >
      > Basically, the reproducer boils down to being able to mount mqueue if
      > you create a new user namespace, even if you don't unshare the IPC
      > namespace.
      >
      > Previously this was not possible, and you would get an -EPERM. The mount
      > is the *host* mqueue mount, which is being cached and just returned from
      > mqueue_mount(). To be honest, I'm not sure if this is safe or not (or if
      > it was intentional -- since I'm not familiar with mqueue).
      >
      > To me it looks like there is a missing permission check. I've included a
      > patch below that I've compile-tested, and should block the above case.
      > Can someone please tell me if I'm missing something? Is this actually
      > safe?
      >
      > [1]: https://github.com/docker/docker/issues/36674
      
      The issue is a lot deeper than a missing permission check.  sb->s_user_ns
      was is improperly set as well.  So in addition to the filesystem being
      mounted when it should not be mounted, so things are not allow that should
      be.
      
      We are practically to the release of 4.16 and there is no agreement between
      Al Viro and myself on what the code should looks like to fix things properly.
      So revert the code to what it was before so that we can take our time
      and discuss this properly.
      
      Fixes: 36735a6a ("mqueue: switch to on-demand creation of internal mount")
      Reported-by: NFelix Abecassis <fabecassis@nvidia.com>
      Reported-by: NAleksa Sarai <asarai@suse.de>
      Signed-off-by: N"Eric W. Biederman" <ebiederm@xmission.com>
      cfb2f6f6
    • L
      Merge tag 'pinctrl-v4.16-3' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl · bcfc1f45
      Linus Torvalds 提交于
      Pull pin control fixes from Linus Walleij:
       "Two fixes for pin control for v4.16:
      
         - Renesas SH-PFC: remove a duplicate clkout pin which was causing
           crashes
      
         - fix Samsung out of bounds exceptions"
      
      * tag 'pinctrl-v4.16-3' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl:
        pinctrl: samsung: Validate alias coming from DT
        pinctrl: sh-pfc: r8a7795: remove duplicate of CLKOUT pin in pinmux_pins[]
      bcfc1f45
  6. 24 3月, 2018 18 次提交
  7. 23 3月, 2018 3 次提交