1. 16 7月, 2020 22 次提交
  2. 08 7月, 2020 6 次提交
  3. 02 7月, 2020 1 次提交
  4. 25 6月, 2020 3 次提交
  5. 22 6月, 2020 1 次提交
    • L
      MIPS: Loongson-2EF: disable fix-loongson3-llsc in compiler · 2984b3f8
      Lichao Liu 提交于
      Firstly, Loongson-2EF support ll/sc instructions, but
      doesn't need fix-loongson3-llsc compile option.
      
      Secondly, fix-loongson3-llsc will cause kernel startup
      fail at futex_init, because compiler will add 'sync' before
      'll', which will affect __ex_table.
      futex_init will pass NULL uaddr parameter to
      futex_atomic_cmpxchg_inatomic.
      futex_atomic_cmpxchg_inatomic will access uaddr directly,
      which will cause page fault exception, the exception should be
      handled by __ex_table's nextinsn if the exception insn exsit in
      __ex_table. Because __ex_table is affected by compiler,
      the exception can not be handled, and
      futex_atomic_cmpxchg_inatomic will crash.
      
      Error code as below:
      __ex_table.insn = 1b, which is 'sync' compiled with
      fix-loongson3-llsc, but the actual exception instrction is ll.
      So, do_page_fault will not find the correct inst in __ex_table, and
      can not handle this exception.
      
              "1: "user_ll("%1", "%3")"               \n"
              "   bne %1, %z4, 3f             \n"
              "   .set    pop                 \n"
              "   move    $1, %z5                 \n"
              "   .set    "MIPS_ISA_ARCH_LEVEL"           \n"
              "2: "user_sc("$1", "%2")"               \n"
              "   beqz    $1, 1b                  \n"
              "3: " __SYNC_ELSE(full, loongson3_war, __WEAK_LLSC_MB) "\n"
              "   .insn                       \n"
              "   .set    pop                 \n"
              "   .section .fixup,\"ax\"              \n"
              "4: li  %0, %6                  \n"
              "   j   3b                  \n"
              "   .previous                   \n"
              "   .section __ex_table,\"a\"           \n"
              "   "__UA_ADDR "\t1b, 4b                \n"
              "   "__UA_ADDR "\t2b, 4b                \n"
              "   .previous
      Signed-off-by: NLichao Liu <liulichao@loongson.cn>
      Reviewed-by: NJiaxun Yang <jiaxun.yang@flygoat.com>
      Signed-off-by: NThomas Bogendoerfer <tsbogend@alpha.franken.de>
      2984b3f8
  6. 15 6月, 2020 6 次提交
  7. 14 6月, 2020 1 次提交
    • L
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net · 96144c58
      Linus Torvalds 提交于
      Pull networking fixes from David Miller:
      
       1) Fix cfg80211 deadlock, from Johannes Berg.
      
       2) RXRPC fails to send norigications, from David Howells.
      
       3) MPTCP RM_ADDR parsing has an off by one pointer error, fix from
          Geliang Tang.
      
       4) Fix crash when using MSG_PEEK with sockmap, from Anny Hu.
      
       5) The ucc_geth driver needs __netdev_watchdog_up exported, from
          Valentin Longchamp.
      
       6) Fix hashtable memory leak in dccp, from Wang Hai.
      
       7) Fix how nexthops are marked as FDB nexthops, from David Ahern.
      
       8) Fix mptcp races between shutdown and recvmsg, from Paolo Abeni.
      
       9) Fix crashes in tipc_disc_rcv(), from Tuong Lien.
      
      10) Fix link speed reporting in iavf driver, from Brett Creeley.
      
      11) When a channel is used for XSK and then reused again later for XSK,
          we forget to clear out the relevant data structures in mlx5 which
          causes all kinds of problems. Fix from Maxim Mikityanskiy.
      
      12) Fix memory leak in genetlink, from Cong Wang.
      
      13) Disallow sockmap attachments to UDP sockets, it simply won't work.
          From Lorenz Bauer.
      
      * git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net: (83 commits)
        net: ethernet: ti: ale: fix allmulti for nu type ale
        net: ethernet: ti: am65-cpsw-nuss: fix ale parameters init
        net: atm: Remove the error message according to the atomic context
        bpf: Undo internal BPF_PROBE_MEM in BPF insns dump
        libbpf: Support pre-initializing .bss global variables
        tools/bpftool: Fix skeleton codegen
        bpf: Fix memlock accounting for sock_hash
        bpf: sockmap: Don't attach programs to UDP sockets
        bpf: tcp: Recv() should return 0 when the peer socket is closed
        ibmvnic: Flush existing work items before device removal
        genetlink: clean up family attributes allocations
        net: ipa: header pad field only valid for AP->modem endpoint
        net: ipa: program upper nibbles of sequencer type
        net: ipa: fix modem LAN RX endpoint id
        net: ipa: program metadata mask differently
        ionic: add pcie_print_link_status
        rxrpc: Fix race between incoming ACK parser and retransmitter
        net/mlx5: E-Switch, Fix some error pointer dereferences
        net/mlx5: Don't fail driver on failure to create debugfs
        net/mlx5e: CT: Fix ipv6 nat header rewrite actions
        ...
      96144c58