1. 06 8月, 2018 1 次提交
  2. 29 7月, 2018 2 次提交
  3. 23 7月, 2018 5 次提交
    • S
      ACPICA: AML Parser: ignore dispatcher error status during table load · 73c2a01c
      Schmauss, Erik 提交于
      The dispatcher and the executer process the parse nodes During table
      load. Error status from the evaluation confuses the AML parser. This
      results in the parser failing to complete parsing of the current
      scope op which becomes problematic. For the incorrect AML below, _ADR
      never gets created.
      
      definition_block(...)
      {
         Scope (\_SB)
         {
           Device (PCI0){...}
           Name (OBJ1, 0x0)
           OBJ1 = PCI0 + 5 // Results in an operand error.
         } // \_SB not closed
      
         // parser looks for \_SB._SB.PCI0, results in AE_NOT_FOUND error
         // Entire scope block gets skipped.
         Scope (\_SB.PCI0)
         {
             Name (_ADR, 0x0)
         }
      }
      
      Fix the above error by properly completing the initial \_SB scope
      after an error by clearing errors that occur during table load. In
      the above case, this means that OBJ1 = PIC0 + 5 is skipped.
      
      Fixes: 5088814a (ACPICA: AML parser: attempt to continue loading table after error)
      Link: https://bugzilla.kernel.org/show_bug.cgi?id=200363Tested-by: NBastien Nocera <hadess@hadess.net>
      Signed-off-by: NErik Schmauss <erik.schmauss@intel.com>
      Cc: 4.17+ <stable@vger.kernel.org> # 4.17+
      Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
      73c2a01c
    • L
      Linux 4.18-rc6 · d72e90f3
      Linus Torvalds 提交于
      d72e90f3
    • L
      Merge tag 'nvme-for-4.18' of git://git.infradead.org/nvme · 74413084
      Linus Torvalds 提交于
      Pull NVMe fixes from Christoph Hellwig:
      
       - fix a regression in 4.18 that causes a memory leak on probe failure
         (Keith Bush)
      
       - fix a deadlock in the passthrough ioctl code (Scott Bauer)
      
       - don't enable AENs if not supported (Weiping Zhang)
      
       - fix an old regression in metadata handling in the passthrough ioctl
         code (Roland Dreier)
      
      * tag 'nvme-for-4.18' of git://git.infradead.org/nvme:
        nvme: fix handling of metadata_len for NVME_IOCTL_IO_CMD
        nvme: don't enable AEN if not supported
        nvme: ensure forward progress during Admin passthru
        nvme-pci: fix memory leak on probe failure
      74413084
    • L
      Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs · 165ea0d1
      Linus Torvalds 提交于
      Pull vfs fixes from Al Viro:
       "Fix several places that screw up cleanups after failures halfway
        through opening a file (one open-coding filp_clone_open() and getting
        it wrong, two misusing alloc_file()). That part is -stable fodder from
        the 'work.open' branch.
      
        And Christoph's regression fix for uapi breakage in aio series;
        include/uapi/linux/aio_abi.h shouldn't be pulling in the kernel
        definition of sigset_t, the reason for doing so in the first place had
        been bogus - there's no need to expose struct __aio_sigset in
        aio_abi.h at all"
      
      * 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
        aio: don't expose __aio_sigset in uapi
        ocxlflash_getfile(): fix double-iput() on alloc_file() failures
        cxl_getfile(): fix double-iput() on alloc_file() failures
        drm_mode_create_lease_ioctl(): fix open-coded filp_clone_open()
      165ea0d1
    • A
      alpha: fix osf_wait4() breakage · f88a333b
      Al Viro 提交于
      kernel_wait4() expects a userland address for status - it's only
      rusage that goes as a kernel one (and needs a copyout afterwards)
      
      [ Also, fix the prototype of kernel_wait4() to have that __user
        annotation   - Linus ]
      
      Fixes: 92ebce5a ("osf_wait4: switch to kernel_wait4()")
      Cc: stable@kernel.org # v4.13+
      Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      f88a333b
  4. 22 7月, 2018 16 次提交
  5. 21 7月, 2018 10 次提交
  6. 20 7月, 2018 6 次提交