* [GIT PULL] arm64 patches for 3.15
@ 2014-04-08 17:37 Catalin Marinas
0 siblings, 0 replies; 2+ messages in thread
From: Catalin Marinas @ 2014-04-08 17:37 UTC (permalink / raw)
To: linux-arm-kernel
Hi Linus,
The following changes since commit 196adf2f3015eacac0567278ba538e3ffdd16d0e:
arm64: Remove pgprot_dmacoherent() (2014-03-24 10:35:35 +0000)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux tags/arm64-upstream
for you to fetch changes up to ebf81a938dade3b450eb11c57fa744cfac4b523f:
arm64: Fix DMA range invalidation for cache line unaligned buffers (2014-04-08 11:45:08 +0100)
A second pull request for this merging window, mainly with fixes and
docs clarification. As I haven't rebased my tree, you'll get a conflict
with latest mainline in arch/arm64/kernel/head.S. The fix-up is below.
Thanks.
diff --cc arch/arm64/kernel/head.S
index 1fe5d8d2bdfd,26109682d2fa..0fd565000772
--- a/arch/arm64/kernel/head.S
+++ b/arch/arm64/kernel/head.S
@@@ -461,12 -476,26 +476,23 @@@ __create_page_tables
sub x6, x6, #1 // inclusive range
create_block_map x0, x7, x3, x5, x6
1:
-#ifdef CONFIG_EARLY_PRINTK
/*
- * Create the pgd entry for the UART mapping. The full mapping is done
- * later based earlyprintk kernel parameter.
+ * Create the pgd entry for the fixed mappings.
*/
- ldr x5, =EARLYCON_IOBASE // UART virtual address
+ ldr x5, =FIXADDR_TOP // Fixed mapping virtual address
add x0, x26, #2 * PAGE_SIZE // section table address
create_pgd_entry x26, x0, x5, x6, x7
-#endif
+
+ /*
+ * Since the page tables have been populated with non-cacheable
+ * accesses (MMU disabled), invalidate the idmap and swapper page
+ * tables again to remove any speculatively loaded cache lines.
+ */
+ mov x0, x25
+ add x1, x26, #SWAPPER_DIR_SIZE
+ bl __inval_cache_range
+
+ mov lr, x27
ret
ENDPROC(__create_page_tables)
.ltorg
----------------------------------------------------------------
- Documentation clarification on CPU topology and booting requirements
- Additional cache flushing during boot (needed in the presence of
external caches or under virtualisation)
- DMA range invalidation fix for non cache line aligned buffers
- Build failure fix with !COMPAT
- Kconfig update for STRICT_DEVMEM
----------------------------------------------------------------
Catalin Marinas (4):
arm64: Update the TCR_EL1 translation granule definitions for 16K pages
arm64: Relax the kernel cache requirements for boot
Revert "arm64: virt: ensure visibility of __boot_cpu_mode"
arm64: Fix DMA range invalidation for cache line unaligned buffers
Laura Abbott (1):
arm64: Add missing Kconfig for CONFIG_STRICT_DEVMEM
Mark Brown (1):
ARM: topology: Make it clear that all CPUs need to be described
Mark Salter (1):
arm64: fix !CONFIG_COMPAT build failures
Documentation/arm64/booting.txt | 10 ++++++--
Documentation/devicetree/bindings/arm/topology.txt | 7 ++---
arch/arm64/Kconfig.debug | 14 ++++++++++
arch/arm64/include/asm/pgtable-hwdef.h | 6 ++++-
arch/arm64/include/asm/virt.h | 13 ----------
arch/arm64/kernel/head.S | 30 ++++++++++++++++++++--
arch/arm64/kernel/perf_event.c | 4 +++
arch/arm64/kernel/perf_regs.c | 2 ++
arch/arm64/mm/cache.S | 24 ++++++++++++++---
arch/arm64/mm/proc.S | 25 ++++++++++--------
10 files changed, 99 insertions(+), 36 deletions(-)
--
Catalin
^ permalink raw reply [flat|nested] 2+ messages in thread* [GIT PULL] arm64 patches for 3.15
@ 2014-03-31 17:52 Catalin Marinas
0 siblings, 0 replies; 2+ messages in thread
From: Catalin Marinas @ 2014-03-31 17:52 UTC (permalink / raw)
To: linux-arm-kernel
Hi Linus,
Please pull the arm64 patches below for 3.15. Thanks.
The following changes since commit cfbf8d4857c26a8a307fb7cd258074c9dcd8c691:
Linux 3.14-rc4 (2014-02-23 17:40:03 -0800)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux tags/arm64-upstream
for you to fetch changes up to 196adf2f3015eacac0567278ba538e3ffdd16d0e:
arm64: Remove pgprot_dmacoherent() (2014-03-24 10:35:35 +0000)
----------------------------------------------------------------
- KGDB support for arm64
- PCI I/O space extended to 16M (in preparation of PCIe support patches)
- Dropping ZONE_DMA32 in favour of ZONE_DMA (we only need one for the
time being), together with swiotlb late initialisation to correctly
setup the bounce buffer
- DMA API cache maintenance support (not all ARMv8 platforms have
hardware cache coherency)
- Crypto extensions advertising via ELF_HWCAP2 for compat user space
- Perf support for dwarf unwinding in compat mode
- asm/tlb.h converted to the generic mmu_gather code
- asm-generic rwsem implementation
- Code clean-up
----------------------------------------------------------------
Ard Biesheuvel (4):
binfmt_elf: add ELF_HWCAP2 to compat auxv entries
arm64: add AT_HWCAP2 support for 32-bit compat
arm64: advertise ARMv8 extensions to 32-bit compat ELF binaries
arm64: enable generic CPU feature modalias matching for this architecture
Catalin Marinas (9):
arm64: Extend the PCI I/O space to 16MB
arm64: Convert asm/tlb.h to generic mmu_gather
arm64: Extend the idmap to the whole kernel image
arm64: Replace ZONE_DMA32 with ZONE_DMA
arm64: Use swiotlb late initialisation
arm64: Implement coherent DMA API based on swiotlb
arm64: Make DMA coherent and strongly ordered mappings not executable
arm64: Do not synchronise I and D caches for special ptes
arm64: Remove pgprot_dmacoherent()
Christopher Covington (1):
arm64: Fix __range_ok macro
Geoff Levand (1):
arm64: Fix the soft_restart routine
Jean Pihet (3):
ARM64: perf: add support for perf registers API
ARM64: perf: add support for frame pointer unwinding in compat mode
ARM64: perf: support dwarf unwinding in compat mode
Jingoo Han (2):
arm64: debug: make local symbols static
arm64: smp: make local symbol static
Laura Abbott (2):
arm64: Implement custom mmap functions for dma mapping
arm64: Support DMA_ATTR_WRITE_COMBINE
Mark Brown (2):
arm64: topology: Implement basic CPU topology support
arm64: Fix duplicated Kconfig entries
Mark Rutland (1):
arm64: remove unnecessary cache flush at boot
Nathan Lynch (1):
arm64: vdso: clean up vdso_pagelist initialization
Radha Mohan Chintakuntla (1):
arm64: Add boot time configuration of Intermediate Physical Address size
Ritesh Harjani (1):
arm64: Change misleading function names in dma-mapping
Rob Herring (1):
cpufreq: enable ARM drivers on arm64
Steve Capper (1):
arm64: mm: Route pmd thp functions through pte equivalents
Vijaya Kumar K (7):
arm64: Add macros to manage processor debug state
arm64: KGDB: Add Basic KGDB support
arm64: KGDB: Add step debugging support
KGDB: make kgdb_breakpoint() as noinline
misc: debug: remove compilation warnings
arm64: KGDB: Add KGDB config
arm64: enable processor debug state for secondary cpus
Vladimir Murzin (2):
arm64: remove redundant "psci:" prefixes
arm64: remove return value form psci_init()
Will Deacon (3):
arm64: barriers: add dmb barrier
asm-generic: rwsem: de-PPCify rwsem.h
arm64: rwsem: use asm-generic rwsem implementation
Documentation/arm64/memory.txt | 16 +-
arch/arm64/Kconfig | 26 ++-
arch/arm64/include/asm/Kbuild | 1 +
arch/arm64/include/asm/barrier.h | 1 +
arch/arm64/include/asm/cacheflush.h | 7 +
arch/arm64/include/asm/compat.h | 2 +-
arch/arm64/include/asm/cpufeature.h | 29 +++
arch/arm64/include/asm/debug-monitors.h | 64 ++++--
arch/arm64/include/asm/dma-mapping.h | 7 +
arch/arm64/include/asm/hwcap.h | 9 +-
arch/arm64/include/asm/io.h | 2 +-
arch/arm64/include/asm/irqflags.h | 23 +++
arch/arm64/include/asm/kgdb.h | 84 ++++++++
arch/arm64/include/asm/kvm_arm.h | 15 +-
arch/arm64/include/asm/pgtable-hwdef.h | 5 +-
arch/arm64/include/asm/pgtable.h | 60 +++---
arch/arm64/include/asm/psci.h | 2 +-
arch/arm64/include/asm/ptrace.h | 5 +-
arch/arm64/include/asm/tlb.h | 136 ++-----------
arch/arm64/include/asm/topology.h | 39 ++++
arch/arm64/include/asm/uaccess.h | 4 +-
arch/arm64/include/uapi/asm/Kbuild | 1 +
arch/arm64/include/uapi/asm/perf_regs.h | 40 ++++
arch/arm64/kernel/Makefile | 6 +-
arch/arm64/kernel/debug-monitors.c | 10 +-
arch/arm64/kernel/head.S | 20 +-
arch/arm64/kernel/kgdb.c | 336 ++++++++++++++++++++++++++++++++
arch/arm64/kernel/perf_event.c | 75 ++++++-
arch/arm64/kernel/perf_regs.c | 44 +++++
arch/arm64/kernel/process.c | 11 +-
arch/arm64/kernel/psci.c | 13 +-
arch/arm64/kernel/setup.c | 33 ++++
arch/arm64/kernel/smp.c | 12 ++
arch/arm64/kernel/smp_spin_table.c | 2 +-
arch/arm64/kernel/topology.c | 95 +++++++++
arch/arm64/kernel/vdso.c | 42 ++--
arch/arm64/kvm/hyp-init.S | 6 +
arch/arm64/mm/cache.S | 80 +++++++-
arch/arm64/mm/dma-mapping.c | 246 +++++++++++++++++++++--
arch/arm64/mm/init.c | 33 ++--
arch/arm64/mm/proc.S | 14 +-
drivers/cpufreq/Kconfig | 2 +-
fs/compat_binfmt_elf.c | 5 +
include/asm-generic/rwsem.h | 10 +-
kernel/debug/debug_core.c | 2 +-
45 files changed, 1368 insertions(+), 307 deletions(-)
create mode 100644 arch/arm64/include/asm/cpufeature.h
create mode 100644 arch/arm64/include/asm/kgdb.h
create mode 100644 arch/arm64/include/asm/topology.h
create mode 100644 arch/arm64/include/uapi/asm/perf_regs.h
create mode 100644 arch/arm64/kernel/kgdb.c
create mode 100644 arch/arm64/kernel/perf_regs.c
create mode 100644 arch/arm64/kernel/topology.c
--
Catalin
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-04-08 17:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-08 17:37 [GIT PULL] arm64 patches for 3.15 Catalin Marinas
-- strict thread matches above, loose matches on Subject: below --
2014-03-31 17:52 Catalin Marinas
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).