lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1278572268-26146-1-git-send-email-fujita.tomonori@lab.ntt.co.jp>
Date:	Thu,  8 Jul 2010 15:57:45 +0900
From:	FUJITA Tomonori <fujita.tomonori@....ntt.co.jp>
To:	akpm@...ux-foundation.org
Cc:	linux-kernel@...r.kernel.org, fujita.tomonori@....ntt.co.jp,
	linux-arch@...r.kernel.org
Subject: [PATCH -mm 0/3] unify dma_get_cache_alignment implementations

Now each architecture has the own dma_get_cache_alignment
implementation.

dma_get_cache_alignment returns the minimum DMA
alignment. Architectures defines it as ARCH_KMALLOC_MINALIGN (it's
used to make sure that malloc'ed buffer is DMA-safe; the buffer
doesn't share a cache with the others). So we can unify
dma_get_cache_alignment implementations.

This can be applied to -mm.

=
 arch/alpha/include/asm/dma-mapping.h         |    1 -
 arch/arm/include/asm/cache.h                 |    2 +-
 arch/arm/include/asm/dma-mapping.h           |    5 -----
 arch/avr32/include/asm/cache.h               |    2 +-
 arch/avr32/include/asm/dma-mapping.h         |    5 -----
 arch/blackfin/include/asm/cache.h            |    2 +-
 arch/blackfin/include/asm/dma-mapping.h      |    1 -
 arch/cris/include/asm/dma-mapping.h          |    6 ------
 arch/frv/include/asm/dma-mapping.h           |    6 ------
 arch/frv/include/asm/mem-layout.h            |    2 +-
 arch/ia64/include/asm/dma-mapping.h          |    2 --
 arch/ia64/kernel/setup.c                     |    6 ------
 arch/m68k/include/asm/cache.h                |    2 +-
 arch/m68k/include/asm/dma-mapping.h          |    5 -----
 arch/microblaze/include/asm/dma-mapping.h    |    5 -----
 arch/microblaze/include/asm/page.h           |    2 +-
 arch/mips/include/asm/dma-mapping.h          |    7 -------
 arch/mips/include/asm/mach-generic/kmalloc.h |    2 +-
 arch/mips/include/asm/mach-ip27/kmalloc.h    |    2 +-
 arch/mips/include/asm/mach-ip32/kmalloc.h    |    4 ++--
 arch/mips/include/asm/mach-tx49xx/kmalloc.h  |    2 +-
 arch/mn10300/include/asm/cache.h             |    2 +-
 arch/mn10300/include/asm/dma-mapping.h       |    6 ------
 arch/parisc/include/asm/cache.h              |    2 ++
 arch/parisc/include/asm/dma-mapping.h        |    6 ------
 arch/powerpc/include/asm/dma-mapping.h       |   15 ---------------
 arch/powerpc/include/asm/page_32.h           |    2 +-
 arch/sh/include/asm/dma-mapping.h            |    9 ---------
 arch/sh/include/asm/page.h                   |    2 +-
 arch/sparc/include/asm/dma-mapping.h         |    9 ---------
 arch/tile/include/asm/dma-mapping.h          |    7 -------
 arch/x86/include/asm/dma-mapping.h           |    7 -------
 arch/xtensa/include/asm/cache.h              |    2 +-
 arch/xtensa/include/asm/dma-mapping.h        |    6 ------
 include/linux/dma-mapping.h                  |    8 ++++++++
 include/linux/slab_def.h                     |    4 +++-
 include/linux/slob_def.h                     |    4 +++-
 include/linux/slub_def.h                     |    8 +++++---
 38 files changed, 36 insertions(+), 134 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ