1. 31 Jul, 2020 2 commits
    • Catalin Marinas's avatar
      Merge branches 'for-next/misc', 'for-next/vmcoreinfo', 'for-next/cpufeature',... · 4557062d
      Catalin Marinas authored
      Merge branches 'for-next/misc', 'for-next/vmcoreinfo', 'for-next/cpufeature', 'for-next/acpi', 'for-next/perf', 'for-next/timens', 'for-next/msi-iommu' and 'for-next/trivial' into for-next/core
      
      * for-next/misc:
        : Miscellaneous fixes and cleanups
        arm64: use IRQ_STACK_SIZE instead of THREAD_SIZE for irq stack
        arm64/mm: save memory access in check_and_switch_context() fast switch path
        recordmcount: only record relocation of type R_AARCH64_CALL26 on arm64.
        arm64: Reserve HWCAP2_MTE as (1 << 18)
        arm64/entry: deduplicate SW PAN entry/exit routines
        arm64: s/AMEVTYPE/AMEVTYPER
        arm64/hugetlb: Reserve CMA areas for gigantic pages on 16K and 64K configs
        arm64: stacktrace: Move export for save_stack_trace_tsk()
        smccc: Make constants available to assembly
        arm64/mm: Redefine CONT_{PTE, PMD}_SHIFT
        arm64/defconfig: Enable CONFIG_KEXEC_FILE
        arm64: Document sysctls for emulated deprecated instructions
        arm64/panic: Unify all three existing notifier blocks
        arm64/module: Optimize module load time by optimizing PLT counting
      
      * for-next/vmcoreinfo:
        : Export the virtual and physical address sizes in vmcoreinfo
        arm64/crash_core: Export TCR_EL1.T1SZ in vmcoreinfo
        crash_core, vmcoreinfo: Append 'MAX_PHYSMEM_BITS' to vmcoreinfo
      
      * for-next/cpufeature:
        : CPU feature handling cleanups
        arm64/cpufeature: Validate feature bits spacing in arm64_ftr_regs[]
        arm64/cpufeature: Replace all open bits shift encodings with macros
        arm64/cpufeature: Add remaining feature bits in ID_AA64MMFR2 register
        arm64/cpufeature: Add remaining feature bits in ID_AA64MMFR1 register
        arm64/cpufeature: Add remaining feature bits in ID_AA64MMFR0 register
      
      * for-next/acpi:
        : ACPI updates for arm64
        arm64/acpi: disallow writeable AML opregion mapping for EFI code regions
        arm64/acpi: disallow AML memory opregions to access kernel memory
      
      * for-next/perf:
        : perf updates for arm64
        arm64: perf: Expose some new events via sysfs
        tools headers UAPI: Update tools's copy of linux/perf_event.h
        arm64: perf: Add cap_user_time_short
        perf: Add perf_event_mmap_page::cap_user_time_short ABI
        arm64: perf: Only advertise cap_user_time for arch_timer
        arm64: perf: Implement correct cap_user_time
        time/sched_clock: Use raw_read_seqcount_latch()
        sched_clock: Expose struct clock_read_data
        arm64: perf: Correct the event index in sysfs
        perf/smmuv3: To simplify code for ioremap page in pmcg
      
      * for-next/timens:
        : Time namespace support for arm64
        arm64: enable time namespace support
        arm64/vdso: Restrict splitting VVAR VMA
        arm64/vdso: Handle faults on timens page
        arm64/vdso: Add time namespace page
        arm64/vdso: Zap vvar pages when switching to a time namespace
        arm64/vdso: use the fault callback to map vvar pages
      
      * for-next/msi-iommu:
        : Make the MSI/IOMMU input/output ID translation PCI agnostic, augment the
        : MSI/IOMMU ACPI/OF ID mapping APIs to accept an input ID bus-specific parameter
        : and apply the resulting changes to the device ID space provided by the
        : Freescale FSL bus
        bus: fsl-mc: Add ACPI support for fsl-mc
        bus/fsl-mc: Refactor the MSI domain creation in the DPRC driver
        of/irq: Make of_msi_map_rid() PCI bus agnostic
        of/irq: make of_msi_map_get_device_domain() bus agnostic
        dt-bindings: arm: fsl: Add msi-map device-tree binding for fsl-mc bus
        of/device: Add input id to of_dma_configure()
        of/iommu: Make of_map_rid() PCI agnostic
        ACPI/IORT: Add an input ID to acpi_dma_configure()
        ACPI/IORT: Remove useless PCI bus walk
        ACPI/IORT: Make iort_msi_map_rid() PCI agnostic
        ACPI/IORT: Make iort_get_device_domain IRQ domain agnostic
        ACPI/IORT: Make iort_match_node_callback walk the ACPI namespace for NC
      
      * for-next/trivial:
        : Trivial fixes
        arm64: sigcontext.h: delete duplicated word
        arm64: ptrace.h: delete duplicated word
        arm64: pgtable-hwdef.h: delete duplicated words
      4557062d
    • Maninder Singh's avatar
      arm64: use IRQ_STACK_SIZE instead of THREAD_SIZE for irq stack · 338c11e9
      Maninder Singh authored
      IRQ_STACK_SIZE can be made different from THREAD_SIZE,
      and as IRQ_STACK_SIZE is used while irq stack allocation,
      same define should be used while printing information of irq stack.
      Signed-off-by: default avatarManinder Singh <maninder1.s@samsung.com>
      Acked-by: default avatarMark Rutland <mark.rutland@arm.com>
      Link: https://lore.kernel.org/r/1596196190-14141-1-git-send-email-maninder1.s@samsung.comSigned-off-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
      338c11e9
  2. 30 Jul, 2020 4 commits
  3. 28 Jul, 2020 12 commits
  4. 24 Jul, 2020 8 commits
  5. 23 Jul, 2020 1 commit
  6. 22 Jul, 2020 1 commit
  7. 21 Jul, 2020 1 commit
  8. 20 Jul, 2020 8 commits
  9. 15 Jul, 2020 1 commit
    • Anshuman Khandual's avatar
      arm64/hugetlb: Reserve CMA areas for gigantic pages on 16K and 64K configs · abb7962a
      Anshuman Khandual authored
      Currently 'hugetlb_cma=' command line argument does not create CMA area on
      ARM64_16K_PAGES and ARM64_64K_PAGES based platforms. Instead, it just ends
      up with the following warning message. Reason being, hugetlb_cma_reserve()
      never gets called for these huge page sizes.
      
      [   64.255669] hugetlb_cma: the option isn't supported by current arch
      
      This enables CMA areas reservation on ARM64_16K_PAGES and ARM64_64K_PAGES
      configs by defining an unified arm64_hugetlb_cma_reseve() that is wrapped
      in CONFIG_CMA. Call site for arm64_hugetlb_cma_reserve() is also protected
      as <asm/hugetlb.h> is conditionally included and hence cannot contain stub
      for the inverse config i.e !(CONFIG_HUGETLB_PAGE && CONFIG_CMA).
      Signed-off-by: default avatarAnshuman Khandual <anshuman.khandual@arm.com>
      Cc: Will Deacon <will@kernel.org>
      Cc: Mark Rutland <mark.rutland@arm.com>
      Cc: Mike Kravetz <mike.kravetz@oracle.com>
      Cc: Barry Song <song.bao.hua@hisilicon.com>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Cc: linux-arm-kernel@lists.infradead.org
      Cc: linux-kernel@vger.kernel.org
      Link: https://lore.kernel.org/r/1593578521-24672-1-git-send-email-anshuman.khandual@arm.comSigned-off-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
      abb7962a
  10. 14 Jul, 2020 2 commits