Skip to content
Snippets Groups Projects
  1. Jul 19, 2019
  2. Jun 26, 2019
  3. Jun 19, 2019
    • Yang Yingliang's avatar
      doc: fix documentation about UIO_MEM_LOGICAL using · 6ad805b8
      Yang Yingliang authored
      
      After commit d4fc5069 ("mm: switch s_mem and slab_cache in struct page")
      page->mapping will be re-used by slab allocations and page->mapping->host
      will be used in balance_dirty_pages_ratelimited() as an inode member but
      it's not an inode in fact and leads an oops.
      
      [  159.906493] Unable to handle kernel paging request at virtual address ffff200012d90be8
      [  159.908029] Mem abort info:
      [  159.908552]   ESR = 0x96000007
      [  159.909138]   Exception class = DABT (current EL), IL = 32 bits
      [  159.910155]   SET = 0, FnV = 0
      [  159.910690]   EA = 0, S1PTW = 0
      [  159.911241] Data abort info:
      [  159.911846]   ISV = 0, ISS = 0x00000007
      [  159.912567]   CM = 0, WnR = 0
      [  159.913105] swapper pgtable: 4k pages, 48-bit VAs, pgdp=0000000042acd000
      [  159.914269] [ffff200012d90be8] pgd=000000043ffff003, pud=000000043fffe003, pmd=000000043fffa003, pte=0000000000000000
      [  159.916280] Internal error: Oops: 96000007 [#1] SMP
      [  159.917195] Dumping ftrace buffer:
      [  159.917845]    (ftrace buffer empty)
      [  159.918521] Modules linked in: uio_dev(OE)
      [  159.919276] CPU: 1 PID: 295 Comm: uio_test Tainted: G           OE     5.2.0-rc4+ #46
      [  159.920859] Hardware name: linux,dummy-virt (DT)
      [  159.921815] pstate: 60000005 (nZCv daif -PAN -UAO)
      [  159.922809] pc : balance_dirty_pages_ratelimited+0x68/0xc38
      [  159.923965] lr : fault_dirty_shared_page.isra.8+0xe4/0x100
      [  159.925134] sp : ffff800368a77ae0
      [  159.925824] x29: ffff800368a77ae0 x28: 1ffff0006d14ce1a
      [  159.926906] x27: ffff800368a670d0 x26: ffff800368a67120
      [  159.927985] x25: 1ffff0006d10f5fe x24: ffff200012d90be8
      [  159.929089] x23: ffff200013732000 x22: ffff80036ec03200
      [  159.930172] x21: ffff200012d90bc0 x20: 1fffe400025b217d
      [  159.931253] x19: ffff80036ec03200 x18: 0000000000000000
      [  159.932348] x17: 0000000000000000 x16: 0ffffe0000010208
      [  159.933439] x15: 0000000000000000 x14: 0000000000000000
      [  159.934518] x13: 0000000000000000 x12: 0000000000000000
      [  159.935596] x11: 1fffefc001b452c0 x10: ffff0fc001b452c0
      [  159.936697] x9 : dfff200000000000 x8 : dfff200000000001
      [  159.937781] x7 : ffff7e000da29607 x6 : ffff0fc001b452c1
      [  159.938859] x5 : ffff0fc001b452c1 x4 : ffff0fc001b452c1
      [  159.939944] x3 : ffff200010523ad4 x2 : 1fffe400026e659b
      [  159.941065] x1 : dfff200000000000 x0 : ffff200013732cd8
      [  159.942205] Call trace:
      [  159.942732]  balance_dirty_pages_ratelimited+0x68/0xc38
      [  159.943797]  fault_dirty_shared_page.isra.8+0xe4/0x100
      [  159.944867]  do_fault+0x608/0x1250
      [  159.945571]  __handle_mm_fault+0x93c/0xfb8
      [  159.946412]  handle_mm_fault+0x1c0/0x360
      [  159.947224]  do_page_fault+0x358/0x8d0
      [  159.947993]  do_translation_fault+0xf8/0x124
      [  159.948884]  do_mem_abort+0x70/0x190
      [  159.949624]  el0_da+0x24/0x28
      
      According another commit 5e901d0b ("scsi: qedi: Fix bad pte call trace
      when iscsiuio is stopped."), using kmalloc also cause other problem.
      
      But the documentation about UIO_MEM_LOGICAL allows using kmalloc(), remove
      and don't allow using kmalloc() in documentation.
      
      Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      6ad805b8
    • Gavin Schenk's avatar
      MAINTAINERS / Documentation: Thorsten Scherer is the successor of Gavin Schenk · 75d7627f
      Gavin Schenk authored
      
      Due to new challenges in my life I can no longer take care of SIOX.
      Thorsten takes over my SIOX tasks.
      
      Signed-off-by: default avatarGavin Schenk <g.schenk@eckelmann.de>
      Acked-by: default avatarThorsten Scherer <t.scherer@eckelmann.de>
      Signed-off-by: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      75d7627f
    • Takashi Iwai's avatar
      docs: fb: Add TER16x32 to the available font names · fce677d7
      Takashi Iwai authored
      
      The new font is available since recently.
      
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      Acked-by: default avatarRandy Dunlap <rdunlap@infradead.org>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      fce677d7
    • Liran Alon's avatar
      KVM: x86: Modify struct kvm_nested_state to have explicit fields for data · 6ca00dfa
      Liran Alon authored
      
      Improve the KVM_{GET,SET}_NESTED_STATE structs by detailing the format
      of VMX nested state data in a struct.
      
      In order to avoid changing the ioctl values of
      KVM_{GET,SET}_NESTED_STATE, there is a need to preserve
      sizeof(struct kvm_nested_state). This is done by defining the data
      struct as "data.vmx[0]". It was the most elegant way I found to
      preserve struct size while still keeping struct readable and easy to
      maintain. It does have a misfortunate side-effect that now it has to be
      accessed as "data.vmx[0]" rather than just "data.vmx".
      
      Because we are already modifying these structs, I also modified the
      following:
      * Define the "format" field values as macros.
      * Rename vmcs_pa to vmcs12_pa for better readability.
      
      Signed-off-by: default avatarLiran Alon <liran.alon@oracle.com>
      [Remove SVM stubs, add KVM_STATE_NESTED_VMX_VMCS12_SIZE. - Paolo]
      Reviewed-by: default avatarLiran Alon <liran.alon@oracle.com>
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      6ca00dfa
  4. Jun 18, 2019
  5. Jun 17, 2019
  6. Jun 16, 2019
    • Eric Dumazet's avatar
      tcp: add tcp_min_snd_mss sysctl · 5f3e2bf0
      Eric Dumazet authored
      
      Some TCP peers announce a very small MSS option in their SYN and/or
      SYN/ACK messages.
      
      This forces the stack to send packets with a very high network/cpu
      overhead.
      
      Linux has enforced a minimal value of 48. Since this value includes
      the size of TCP options, and that the options can consume up to 40
      bytes, this means that each segment can include only 8 bytes of payload.
      
      In some cases, it can be useful to increase the minimal value
      to a saner value.
      
      We still let the default to 48 (TCP_MIN_SND_MSS), for compatibility
      reasons.
      
      Note that TCP_MAXSEG socket option enforces a minimal value
      of (TCP_MIN_MSS). David Miller increased this minimal value
      in commit c39508d6 ("tcp: Make TCP_MAXSEG minimum more correct.")
      from 64 to 88.
      
      We might in the future merge TCP_MIN_SND_MSS and TCP_MIN_MSS.
      
      CVE-2019-11479 -- tcp mss hardcoded to 48
      
      Signed-off-by: default avatarEric Dumazet <edumazet@google.com>
      Suggested-by: default avatarJonathan Looney <jtl@netflix.com>
      Acked-by: default avatarNeal Cardwell <ncardwell@google.com>
      Cc: Yuchung Cheng <ycheng@google.com>
      Cc: Tyler Hicks <tyhicks@canonical.com>
      Cc: Bruce Curtis <brucec@netflix.com>
      Cc: Jonathan Lemon <jonathan.lemon@gmail.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      5f3e2bf0
  7. Jun 15, 2019
  8. Jun 13, 2019
    • Dave Martin's avatar
      arm64/sve: Fix missing SVE/FPSIMD endianness conversions · 41040cf7
      Dave Martin authored
      
      The in-memory representation of SVE and FPSIMD registers is
      different: the FPSIMD V-registers are stored as single 128-bit
      host-endian values, whereas SVE registers are stored in an
      endianness-invariant byte order.
      
      This means that the two representations differ when running on a
      big-endian host.  But we blindly copy data from one representation
      to another when converting between the two, resulting in the
      register contents being unintentionally byteswapped in certain
      situations.  Currently this can be triggered by the first SVE
      instruction after a syscall, for example (though the potential
      trigger points may vary in future).
      
      So, fix the conversion functions fpsimd_to_sve(), sve_to_fpsimd()
      and sve_sync_from_fpsimd_zeropad() to swab where appropriate.
      
      There is no common swahl128() or swab128() that we could use here.
      Maybe it would be worth making this generic, but for now add a
      simple local hack.
      
      Since the byte order differences are exposed in ABI, also clarify
      the documentation.
      
      Cc: Alex Bennée <alex.bennee@linaro.org>
      Cc: Peter Maydell <peter.maydell@linaro.org>
      Cc: Alan Hayward <alan.hayward@arm.com>
      Cc: Julien Grall <julien.grall@arm.com>
      Fixes: bc0ee476 ("arm64/sve: Core task context handling")
      Fixes: 8cd969d2 ("arm64/sve: Signal handling support")
      Fixes: 43d4da2c ("arm64/sve: ptrace and ELF coredump support")
      Signed-off-by: default avatarDave Martin <Dave.Martin@arm.com>
      [will: Fix typos in comments and docs spotted by Julien]
      Signed-off-by: default avatarWill Deacon <will.deacon@arm.com>
      41040cf7
    • Andreas Herrmann's avatar
      blkio-controller.txt: Remove references to CFQ · fb5772cb
      Andreas Herrmann authored
      
      CFQ is gone. No need anymore to document its "proportional weight time
      based division of disk policy".
      
      Signed-off-by: default avatarAndreas Herrmann <aherrmann@suse.com>
      Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
      fb5772cb
    • Andreas Herrmann's avatar
      block/switching-sched.txt: Update to blk-mq schedulers · 8614b008
      Andreas Herrmann authored
      
      Remove references to CFQ and legacy block layer which are gone.
      Update example with what's available under blk-mq.
      
      Signed-off-by: default avatarAndreas Herrmann <aherrmann@suse.com>
      Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
      8614b008
  9. Jun 12, 2019
  10. Jun 07, 2019
  11. Jun 01, 2019
  12. May 31, 2019
  13. May 30, 2019
  14. May 29, 2019
  15. May 24, 2019
  16. May 23, 2019
    • Jonathan Corbet's avatar
      docs: fix multiple doc build warnings in enumeration.rst · bbb30909
      Jonathan Corbet authored
      
      The conversion of acpi/enumeration.txt to RST included one markup error,
      leading to many warnings like:
      
        .../firmware-guide/acpi/enumeration.rst:430: WARNING: Unexpected indentation.
      
      Add the missing colon and create some peace.
      
      Fixes: c24bc66e ("Documentation: ACPI: move enumeration.txt to firmware-guide/acpi and convert to reST")
      Cc: Changbin Du <changbin.du@gmail.com>
      Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
      bbb30909
    • Jonathan Corbet's avatar
      docs: fix numaperf.rst and add it to the doc tree · 8867f610
      Jonathan Corbet authored
      
      Commit 13bac55e ("doc/mm: New documentation for memory performance")
      added numaperf.rst, but did not add it to the TOC tree.  There was also an
      incorrectly marked literal block leading to this warning sequence:
      
        numaperf.rst:24: WARNING: Unexpected indentation.
        numaperf.rst:24: WARNING: Inline substitution_reference start-string without end-string.
        numaperf.rst:25: WARNING: Block quote ends without a blank line; unexpected unindent.
      
      Fix the block and add the file to the document tree.
      
      Fixes: 13bac55e ("doc/mm: New documentation for memory performance")
      Cc: Keith Busch <keith.busch@intel.com>
      Reviewed-by: default avatarMike Rapoport <rppt@linux.ibm.com>
      Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
      8867f610
    • Jonathan Corbet's avatar
      doc: Cope with the deprecation of AutoReporter · 2404dad1
      Jonathan Corbet authored
      
      AutoReporter is going away; recent versions of sphinx emit a warning like:
      
        Documentation/sphinx/kerneldoc.py:125:
            RemovedInSphinx20Warning: AutodocReporter is now deprecated.
            Use sphinx.util.docutils.switch_source_input() instead.
      
      Make the switch.  But switch_source_input() only showed up in 1.7, so we
      have to do ugly version checks to keep things working in older versions.
      
      Cc: stable@vger.kernel.org
      Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
      2404dad1
    • Jonathan Corbet's avatar
      doc: Cope with Sphinx logging deprecations · 096ea522
      Jonathan Corbet authored
      
      Recent versions of sphinx will emit messages like:
      
        Documentation/sphinx/kerneldoc.py:103:
           RemovedInSphinx20Warning: app.warning() is now deprecated.
           Use sphinx.util.logging instead.
      
      Switch to sphinx.util.logging to make this unsightly message go away.
      Alas, that interface was only added in version 1.6, so we have to add a
      version check to keep things working with older sphinxes.
      
      Cc: stable@vger.kernel.org
      Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
      096ea522
    • Marc Zyngier's avatar
      arm64: Handle erratum 1418040 as a superset of erratum 1188873 · a5325089
      Marc Zyngier authored
      
      We already mitigate erratum 1188873 affecting Cortex-A76 and
      Neoverse-N1 r0p0 to r2p0. It turns out that revisions r0p0 to
      r3p1 of the same cores are affected by erratum 1418040, which
      has the same workaround as 1188873.
      
      Let's expand the range of affected revisions to match 1418040,
      and repaint all occurences of 1188873 to 1418040. Whilst we're
      there, do a bit of reformating in silicon-errata.txt and drop
      a now unnecessary dependency on ARM_ARCH_TIMER_OOL_WORKAROUND.
      
      Signed-off-by: default avatarMarc Zyngier <marc.zyngier@arm.com>
      Signed-off-by: default avatarWill Deacon <will.deacon@arm.com>
      a5325089
    • Will Deacon's avatar
      arm64: errata: Add workaround for Cortex-A76 erratum #1463225 · 969f5ea6
      Will Deacon authored
      
      Revisions of the Cortex-A76 CPU prior to r4p0 are affected by an erratum
      that can prevent interrupts from being taken when single-stepping.
      
      This patch implements a software workaround to prevent userspace from
      effectively being able to disable interrupts.
      
      Cc: <stable@vger.kernel.org>
      Cc: Marc Zyngier <marc.zyngier@arm.com>
      Cc: Catalin Marinas <catalin.marinas@arm.com>
      Signed-off-by: default avatarWill Deacon <will.deacon@arm.com>
      969f5ea6
  17. May 22, 2019
  18. May 21, 2019
Loading