1. 10 6月, 2020 1 次提交
    • P
      RISC-V: Sort select statements alphanumerically · e8c7ef7d
      Palmer Dabbelt 提交于
      Like patch b1b3f49c ("ARM: config: sort select statements alphanumerically")
      , we sort all our select statements alphanumerically by using the perl
      script in patch b1b3f49c as above.
      
      As suggested by Andrew Morton:
      
        This is a pet peeve of mine.  Any time there's a long list of items
        (header file inclusions, kconfig entries, array initalisers, etc) and
        someone wants to add a new item, they *always* go and stick it at the
        end of the list.
      
        Guys, don't do this.  Either put the new item into a randomly-chosen
        position or, probably better, alphanumerically sort the list.
      Suggested-by: NZong Li <zong.li@sifive.com>
      [Palmer: Re-ran the script, as there were predictably a bunch of conflicts]
      Signed-off-by: NPalmer Dabbelt <palmerdabbelt@google.com>
      e8c7ef7d
  2. 06 6月, 2020 2 次提交
    • L
      Merge tag 'modules-for-v5.8' of git://git.kernel.org/pub/scm/linux/kernel/git/jeyu/linux · 084623e4
      Linus Torvalds 提交于
      Pull module updates from Jessica Yu:
      
       - Harden CONFIG_STRICT_MODULE_RWX by rejecting any module that has
         SHF_WRITE|SHF_EXECINSTR sections
      
       - Remove and clean up nested #ifdefs, as it makes code hard to read
      
      * tag 'modules-for-v5.8' of git://git.kernel.org/pub/scm/linux/kernel/git/jeyu/linux:
        module: Harden STRICT_MODULE_RWX
        module: break nested ARCH_HAS_STRICT_MODULE_RWX and STRICT_MODULE_RWX #ifdefs
      084623e4
    • L
      Merge tag 'x86-mm-2020-06-05' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · f4dd60a3
      Linus Torvalds 提交于
      Pull x86 mm updates from Ingo Molnar:
       "Misc changes:
      
         - Unexport various PAT primitives
      
         - Unexport per-CPU tlbstate and uninline TLB helpers"
      
      * tag 'x86-mm-2020-06-05' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (23 commits)
        x86/tlb/uv: Add a forward declaration for struct flush_tlb_info
        x86/cpu: Export native_write_cr4() only when CONFIG_LKTDM=m
        x86/tlb: Restrict access to tlbstate
        xen/privcmd: Remove unneeded asm/tlb.h include
        x86/tlb: Move PCID helpers where they are used
        x86/tlb: Uninline nmi_uaccess_okay()
        x86/tlb: Move cr4_set_bits_and_update_boot() to the usage site
        x86/tlb: Move paravirt_tlb_remove_table() to the usage site
        x86/tlb: Move __flush_tlb_all() out of line
        x86/tlb: Move flush_tlb_others() out of line
        x86/tlb: Move __flush_tlb_one_kernel() out of line
        x86/tlb: Move __flush_tlb_one_user() out of line
        x86/tlb: Move __flush_tlb_global() out of line
        x86/tlb: Move __flush_tlb() out of line
        x86/alternatives: Move temporary_mm helpers into C
        x86/cr4: Sanitize CR4.PCE update
        x86/cpu: Uninline CR4 accessors
        x86/tlb: Uninline __get_current_cr3_fast()
        x86/mm: Use pgprotval_t in protval_4k_2_large() and protval_large_2_4k()
        x86/mm: Unexport __cachemode2pte_tbl
        ...
      f4dd60a3
  3. 05 6月, 2020 37 次提交