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

From: Konrad Rzeszutek Wilk
Date: Wed Jan 04 2017 - 13:27:10 EST


On Wed, Jan 04, 2017 at 05:57:17PM +0000, Catalin Marinas wrote:
> 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@xxxxxxxxxx>
> > Signed-off-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>
> > ---
> > 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:

It is on swiotlb git tree.
>
> Acked-by: Catalin Marinas <catalin.marinas@xxxxxxx>