Skip to content
  1. Oct 21, 2020
  2. Oct 20, 2020
    • Juergen Gross's avatar
      xen/events: defer eoi in case of excessive number of events · e99502f7
      Juergen Gross authored
      
      
      In case rogue guests are sending events at high frequency it might
      happen that xen_evtchn_do_upcall() won't stop processing events in
      dom0. As this is done in irq handling a crash might be the result.
      
      In order to avoid that, delay further inter-domain events after some
      time in xen_evtchn_do_upcall() by forcing eoi processing into a
      worker on the same cpu, thus inhibiting new events coming in.
      
      The time after which eoi processing is to be delayed is configurable
      via a new module parameter "event_loop_timeout" which specifies the
      maximum event loop time in jiffies (default: 2, the value was chosen
      after some tests showing that a value of 2 was the lowest with an
      only slight drop of dom0 network throughput while multiple guests
      performed an event storm).
      
      How long eoi processing will be delayed can be specified via another
      parameter "event_eoi_delay" (again in jiffies, default 10, again the
      value was chosen after testing with different delay values).
      
      This is part of XSA-332.
      
      Cc: stable@vger.kernel.org
      Reported-by: default avatarJulien Grall <julien@xen.org>
      Signed-off-by: default avatarJuergen Gross <jgross@suse.com>
      Reviewed-by: default avatarStefano Stabellini <sstabellini@kernel.org>
      Reviewed-by: default avatarWei Liu <wl@xen.org>
      e99502f7
  3. Sep 30, 2020
  4. Sep 29, 2020
    • Rob Herring's avatar
      dt-bindings: Fix 'reg' size issues in zynqmp examples · 64ff609b
      Rob Herring authored
      
      
      The default sizes in examples for 'reg' are 1 cell each. Fix the
      incorrect sizes in zynqmp examples:
      
      Documentation/devicetree/bindings/dma/xilinx/xlnx,zynqmp-dpdma.example.dt.yaml: example-0: dma-controller@fd4c0000:reg:0: [0, 4249616384, 0, 4096] is too long
      	From schema: /usr/local/lib/python3.8/dist-packages/dtschema/schemas/reg.yaml
      Documentation/devicetree/bindings/display/xlnx/xlnx,zynqmp-dpsub.example.dt.yaml: example-0: display@fd4a0000:reg:0: [0, 4249485312, 0, 4096] is too long
      	From schema: /usr/local/lib/python3.8/dist-packages/dtschema/schemas/reg.yaml
      Documentation/devicetree/bindings/display/xlnx/xlnx,zynqmp-dpsub.example.dt.yaml: example-0: display@fd4a0000:reg:1: [0, 4249526272, 0, 4096] is too long
      	From schema: /usr/local/lib/python3.8/dist-packages/dtschema/schemas/reg.yaml
      Documentation/devicetree/bindings/display/xlnx/xlnx,zynqmp-dpsub.example.dt.yaml: example-0: display@fd4a0000:reg:2: [0, 4249530368, 0, 4096] is too long
      	From schema: /usr/local/lib/python3.8/dist-packages/dtschema/schemas/reg.yaml
      Documentation/devicetree/bindings/display/xlnx/xlnx,zynqmp-dpsub.example.dt.yaml: example-0: display@fd4a0000:reg:3: [0, 4249534464, 0, 4096] is too long
      	From schema: /usr/local/lib/python3.8/dist-packages/dtschema/schemas/reg.yaml
      
      Cc: Hyun Kwon <hyun.kwon@xilinx.com>
      Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
      Cc: Vinod Koul <vkoul@kernel.org>
      Cc: dri-devel@lists.freedesktop.org
      Cc: dmaengine@vger.kernel.org
      Acked-by: default avatarMichal Simek <michal.simek@xilinx.com>
      Signed-off-by: default avatarRob Herring <robh@kernel.org>
      64ff609b
  5. Sep 28, 2020
  6. Sep 26, 2020
  7. Sep 24, 2020
  8. Sep 22, 2020
  9. Sep 17, 2020
    • Michal Kubecek's avatar
      ethtool: add and use message type for tunnel info reply · 19a83d36
      Michal Kubecek authored
      
      
      Tunnel offload info code uses ETHTOOL_MSG_TUNNEL_INFO_GET message type (cmd
      field in genetlink header) for replies to tunnel info netlink request, i.e.
      the same value as the request have. This is a problem because we are using
      two separate enums for userspace to kernel and kernel to userspace message
      types so that this ETHTOOL_MSG_TUNNEL_INFO_GET (28) collides with
      ETHTOOL_MSG_CABLE_TEST_TDR_NTF which is what message type 28 means for
      kernel to userspace messages.
      
      As the tunnel info request reached mainline in 5.9 merge window, we should
      still be able to fix the reply message type without breaking backward
      compatibility.
      
      Fixes: c7d759eb ("ethtool: add tunnel info interface")
      Signed-off-by: default avatarMichal Kubecek <mkubecek@suse.cz>
      Reviewed-by: default avatarJakub Kicinski <kuba@kernel.org>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      19a83d36
  10. Sep 16, 2020
  11. Sep 15, 2020
  12. Sep 14, 2020
  13. Sep 11, 2020
  14. Sep 10, 2020
  15. Sep 09, 2020
  16. Sep 08, 2020
  17. Sep 03, 2020
  18. Sep 02, 2020
  19. Sep 01, 2020
  20. Aug 31, 2020
  21. Aug 28, 2020
  22. Aug 27, 2020
    • Randy Dunlap's avatar
      Documentation/powerpc: fix malformed table in syscall64-abi · aa661d7f
      Randy Dunlap authored
      
      
      Fix malformed table warning in powerpc/syscall64-abi.rst by making
      two tables and moving the headings.
      
      Documentation/powerpc/syscall64-abi.rst:53: WARNING: Malformed table.
      Text in column margin in table line 2.
      
        =========== ============= ========================================
        --- For the sc instruction, differences with the ELF ABI ---
        r0          Volatile      (System call number.)
        r3          Volatile      (Parameter 1, and return value.)
        r4-r8       Volatile      (Parameters 2-6.)
        cr0         Volatile      (cr0.SO is the return error condition.)
        cr1, cr5-7  Nonvolatile
        lr          Nonvolatile
      
        --- For the scv 0 instruction, differences with the ELF ABI ---
        r0          Volatile      (System call number.)
        r3          Volatile      (Parameter 1, and return value.)
        r4-r8       Volatile      (Parameters 2-6.)
        =========== ============= ========================================
      
      Fixes: 7fa95f9a ("powerpc/64s: system call support for scv/rfscv instructions")
      Signed-off-by: default avatarRandy Dunlap <rdunlap@infradead.org>
      Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
      Link: https://lore.kernel.org/r/e06de4d3-a36f-2745-9775-467e125436cc@infradead.org
      aa661d7f
  23. Aug 25, 2020
  24. Aug 24, 2020
Loading