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: Acked-by: Catalin Marinas <catalin.marinas@xxxxxxx>