Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1551048

Re: [PATCH v2 2/3] swiotlb: Convert swiotlb_force from int to enum

From Catalin Marinas <catalin.marinas@arm.com>
Newsgroups linux.kernel
Subject Re: [PATCH v2 2/3] swiotlb: Convert swiotlb_force from int to enum
Date 2017-01-04 19:10 +0100
Message-ID <sVYaB-8bd-3@gated-at.bofh.it> (permalink)
References <sP0Kd-4gJ-3@gated-at.bofh.it> <sP0Kd-4gJ-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri, Dec 16, 2016 at 02:28:41PM +0100, Geert Uytterhoeven wrote:
> Convert the flag swiotlb_force from an int to an enum, to prepare for
> the advent of more possible values.
> 
> Suggested-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> ---
> v2:
>   - New.
> ---
>  arch/arm64/mm/dma-mapping.c    |  3 ++-
>  arch/arm64/mm/init.c           |  3 ++-
>  arch/x86/kernel/pci-swiotlb.c  |  2 +-
>  arch/x86/xen/pci-swiotlb-xen.c |  2 +-
>  drivers/xen/swiotlb-xen.c      |  4 ++--
>  include/linux/swiotlb.h        |  7 ++++++-
>  include/trace/events/swiotlb.h | 16 +++++++++-------
>  lib/swiotlb.c                  |  8 ++++----
>  8 files changed, 27 insertions(+), 18 deletions(-)

If this hasn't been queued somewhere yet, for arm64:

Acked-by: Catalin Marinas <catalin.marinas@arm.com>

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Re: [PATCH v2 2/3] swiotlb: Convert swiotlb_force from int to enum Catalin Marinas <catalin.marinas@arm.com> - 2017-01-04 19:10 +0100
  Re: [PATCH v2 2/3] swiotlb: Convert swiotlb_force from int to enum Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> - 2017-01-04 19:30 +0100

csiph-web