]> Git Repo - linux.git/commitdiff
Merge tag 'iommu-updates-v3.20' of git://git.kernel.org/pub/scm/linux/kernel/git...
authorLinus Torvalds <[email protected]>
Thu, 12 Feb 2015 17:16:56 +0000 (09:16 -0800)
committerLinus Torvalds <[email protected]>
Thu, 12 Feb 2015 17:16:56 +0000 (09:16 -0800)
Pull IOMMU updates from Joerg Roedel:
 "This time with:

   - Generic page-table framework for ARM IOMMUs using the LPAE
     page-table format, ARM-SMMU and Renesas IPMMU make use of it
     already.

   - Break out the IO virtual address allocator from the Intel IOMMU so
     that it can be used by other DMA-API implementations too.  The
     first user will be the ARM64 common DMA-API implementation for
     IOMMUs

   - Device tree support for Renesas IPMMU

   - Various fixes and cleanups all over the place"

* tag 'iommu-updates-v3.20' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu: (36 commits)
  iommu/amd: Convert non-returned local variable to boolean when relevant
  iommu: Update my email address
  iommu/amd: Use wait_event in put_pasid_state_wait
  iommu/amd: Fix amd_iommu_free_device()
  iommu/arm-smmu: Avoid build warning
  iommu/fsl: Various cleanups
  iommu/fsl: Use %pa to print phys_addr_t
  iommu/omap: Print phys_addr_t using %pa
  iommu: Make more drivers depend on COMPILE_TEST
  iommu/ipmmu-vmsa: Fix IOMMU lookup when multiple IOMMUs are registered
  iommu: Disable on !MMU builds
  iommu/fsl: Remove unused fsl_of_pamu_ids[]
  iommu/fsl: Fix section mismatch
  iommu/ipmmu-vmsa: Use the ARM LPAE page table allocator
  iommu: Fix trace_map() to report original iova and original size
  iommu/arm-smmu: add support for iova_to_phys through ATS1PR
  iopoll: Introduce memory-mapped IO polling macros
  iommu/arm-smmu: don't touch the secure STLBIALL register
  iommu/arm-smmu: make use of generic LPAE allocator
  iommu: io-pgtable-arm: add non-secure quirk
  ...

1  2 
MAINTAINERS
arch/arm64/Kconfig
drivers/iommu/amd_iommu.c
drivers/iommu/amd_iommu_init.c
drivers/iommu/amd_iommu_proto.h
drivers/iommu/irq_remapping.h

diff --combined MAINTAINERS
index c4a8703ab493da94d60b847cfdc4139d4df43bbc,2821eaadcdf3548e55480db43d0f5ec3e1474dc6..22999654195afbabdcf5d05ecae5008abbd062bb
@@@ -270,12 -270,12 +270,12 @@@ F:      drivers/acpi
  F:    drivers/pnp/pnpacpi/
  F:    include/linux/acpi.h
  F:    include/acpi/
 -F:    Documentation/acpi
 +F:    Documentation/acpi/
  F:    Documentation/ABI/testing/sysfs-bus-acpi
  F:    drivers/pci/*acpi*
  F:    drivers/pci/*/*acpi*
  F:    drivers/pci/*/*/*acpi*
 -F:    tools/power/acpi
 +F:    tools/power/acpi/
  
  ACPI COMPONENT ARCHITECTURE (ACPICA)
  M:    Robert Moore <[email protected]>
@@@ -563,12 -563,6 +563,12 @@@ S:       Odd Fixe
  L:    [email protected]
  F:    arch/alpha/
  
 +ALTERA MAILBOX DRIVER
 +M:    Ley Foon Tan <[email protected]>
 +L:    [email protected] (moderated for non-subscribers)
 +S:    Maintained
 +F:    drivers/mailbox/mailbox-altera.c
 +
  ALTERA TRIPLE SPEED ETHERNET DRIVER
  M:    Vince Bridgers <[email protected]>
  L:    [email protected]
@@@ -665,13 -659,6 +665,13 @@@ L:       [email protected]
  S:    Maintained
  F:    drivers/media/i2c/ad9389b*
  
 +ANALOG DEVICES INC ADV7180 DRIVER
 +M:    Lars-Peter Clausen <[email protected]>
 +L:    [email protected]
 +W:    http://ez.analog.com/community/linux-device-drivers
 +S:    Supported
 +F:    drivers/media/i2c/adv7180.c
 +
  ANALOG DEVICES INC ADV7511 DRIVER
  M:    Hans Verkuil <[email protected]>
  L:    [email protected]
@@@ -1599,13 -1586,13 +1599,14 @@@ N:   xilin
  F:    drivers/clocksource/cadence_ttc_timer.c
  F:    drivers/i2c/busses/i2c-cadence.c
  F:    drivers/mmc/host/sdhci-of-arasan.c
 +F:    drivers/edac/synopsys_edac.c
  
  ARM SMMU DRIVER
  M:    Will Deacon <[email protected]>
  L:    [email protected] (moderated for non-subscribers)
  S:    Maintained
  F:    drivers/iommu/arm-smmu.c
+ F:    drivers/iommu/io-pgtable-arm.c
  
  ARM64 PORT (AARCH64 ARCHITECTURE)
  M:    Catalin Marinas <[email protected]>
@@@ -1674,6 -1661,7 +1675,6 @@@ M:      Jiri Slaby <[email protected]
  M:    Nick Kossifidis <[email protected]>
  M:    "Luis R. Rodriguez" <[email protected]>
  L:    [email protected]
 -L:    [email protected]
  W:    http://wireless.kernel.org/en/users/Drivers/ath5k
  S:    Maintained
  F:    drivers/net/wireless/ath/ath5k/
@@@ -3226,7 -3214,6 +3227,7 @@@ F:      Documentation
  X:    Documentation/ABI/
  X:    Documentation/devicetree/
  X:    Documentation/[a-z][a-z]_[A-Z][A-Z]/
 +T:    git git://git.lwn.net/linux-2.6.git docs-next
  
  DOUBLETALK DRIVER
  M:    "James R. Van Zandt" <[email protected]>
@@@ -3486,14 -3473,6 +3487,14 @@@ M:    "Maciej W. Rozycki" <macro@linux-mip
  S:    Maintained
  F:    drivers/tty/serial/dz.*
  
 +E3X0 POWER BUTTON DRIVER
 +M:    Moritz Fischer <[email protected]>
 +L:    [email protected]
 +W:    http://www.ettus.com
 +S:    Supported
 +F:    drivers/input/misc/e3x0-button.c
 +F:    Documentation/devicetree/bindings/input/e3x0-button.txt
 +
  E4000 MEDIA DRIVER
  M:    Antti Palosaari <[email protected]>
  L:    [email protected]
@@@ -3535,8 -3514,6 +3536,8 @@@ M:      Borislav Petkov <[email protected]
  M:    Mauro Carvalho Chehab <[email protected]>
  L:    [email protected]
  W:    bluesmoke.sourceforge.net
 +T:    git://git.kernel.org/pub/scm/linux/kernel/git/bp/bp.git#for-next
 +T:    git://git.kernel.org/pub/linux/kernel/git/mchehab/linux-edac.git#linux_next
  S:    Supported
  F:    Documentation/edac.txt
  F:    drivers/edac/
@@@ -4917,7 -4894,7 +4918,7 @@@ F:      drivers/ipack
  
  INTEGRITY MEASUREMENT ARCHITECTURE (IMA)
  M:    Mimi Zohar <[email protected]>
 -M:    Dmitry Kasatkin <d.kasatkin@samsung.com>
 +M:    Dmitry Kasatkin <dmitry.kasatkin@gmail.com>
  L:    [email protected]
  L:    [email protected]
  L:    [email protected]
@@@ -4977,16 -4954,6 +4978,16 @@@ F:    Documentation/input/multi-touch-prot
  F:    drivers/input/input-mt.c
  K:    \b(ABS|SYN)_MT_
  
 +INTEL ASoC BDW/HSW DRIVERS
 +M:    Jie Yang <[email protected]>
 +L:    [email protected]
 +S:    Supported
 +F:    sound/soc/intel/sst-haswell*
 +F:    sound/soc/intel/sst-dsp*
 +F:    sound/soc/intel/sst-firmware.c
 +F:    sound/soc/intel/broadwell.c
 +F:    sound/soc/intel/haswell.c
 +
  INTEL C600 SERIES SAS CONTROLLER DRIVER
  M:    Intel SCU Linux support <[email protected]>
  M:    Artur Paszkiewicz <[email protected]>
@@@ -5874,21 -5841,6 +5875,21 @@@ F:    Documentation/misc-devices/lis3lv02
  F:    drivers/misc/lis3lv02d/
  F:    drivers/platform/x86/hp_accel.c
  
 +LIVE PATCHING
 +M:    Josh Poimboeuf <[email protected]>
 +M:    Seth Jennings <[email protected]>
 +M:    Jiri Kosina <[email protected]>
 +M:    Vojtech Pavlik <[email protected]>
 +S:    Maintained
 +F:    kernel/livepatch/
 +F:    include/linux/livepatch.h
 +F:    arch/x86/include/asm/livepatch.h
 +F:    arch/x86/kernel/livepatch.c
 +F:    Documentation/ABI/testing/sysfs-kernel-livepatch
 +F:    samples/livepatch/
 +L:    [email protected]
 +T:    git git://git.kernel.org/pub/scm/linux/kernel/git/jikos/livepatching.git
 +
  LLC (802.2)
  M:    Arnaldo Carvalho de Melo <[email protected]>
  S:    Maintained
@@@ -6187,13 -6139,6 +6188,13 @@@ F:    Documentation/devicetree/bindings/i2
  F:    drivers/hwmon/max6697.c
  F:    include/linux/platform_data/max6697.h
  
 +MAXIM MUIC CHARGER DRIVERS FOR EXYNOS BASED BOARDS
 +M:    Krzysztof Kozlowski <[email protected]>
 +L:    [email protected]
 +S:    Supported
 +F:    drivers/power/max14577_charger.c
 +F:    drivers/power/max77693_charger.c
 +
  MAXIRADIO FM RADIO RECEIVER DRIVER
  M:    Hans Verkuil <[email protected]>
  L:    [email protected]
@@@ -6224,6 -6169,14 +6225,6 @@@ F:     include/uapi/linux/meye.
  F:    include/uapi/linux/ivtv*
  F:    include/uapi/linux/uvcvideo.h
  
 -MEDIAVISION PRO MOVIE STUDIO DRIVER
 -M:    Hans Verkuil <[email protected]>
 -L:    [email protected]
 -T:    git git://linuxtv.org/media_tree.git
 -W:    http://linuxtv.org
 -S:    Odd Fixes
 -F:    drivers/media/parport/pms*
 -
  MEGARAID SCSI/SAS DRIVERS
  M:    Kashyap Desai <[email protected]>
  M:    Sumit Saxena <[email protected]>
@@@ -6672,7 -6625,6 +6673,7 @@@ F:      include/linux/netdevice.
  F:    include/uapi/linux/in.h
  F:    include/uapi/linux/net.h
  F:    include/uapi/linux/netdevice.h
 +F:    include/uapi/linux/net_namespace.h
  F:    tools/net/
  F:    tools/testing/selftests/net/
  F:    lib/random32.c
@@@ -6777,7 -6729,6 +6778,7 @@@ F:      Documentation/devicetree/bindings/ne
  
  NFS, SUNRPC, AND LOCKD CLIENTS
  M:    Trond Myklebust <[email protected]>
 +M:    Anna Schumaker <[email protected]>
  L:    [email protected]
  W:    http://client.linux-nfs.org
  T:    git git://git.linux-nfs.org/projects/trondmy/linux-nfs.git
@@@ -7112,12 -7063,11 +7113,12 @@@ F:   arch/openrisc
  
  OPENVSWITCH
  M:    Pravin Shelar <[email protected]>
 +L:    [email protected]
  L:    [email protected]
  W:    http://openvswitch.org
 -T:    git git://git.kernel.org/pub/scm/linux/kernel/git/pshelar/openvswitch.git
  S:    Maintained
  F:    net/openvswitch/
 +F:    include/uapi/linux/openvswitch.h
  
  OPL4 DRIVER
  M:    Clemens Ladisch <[email protected]>
@@@ -7315,14 -7265,6 +7316,14 @@@ F:    include/linux/pci
  F:    arch/x86/pci/
  F:    arch/x86/kernel/quirks.c
  
 +PCI DRIVER FOR ARM VERSATILE PLATFORM
 +M:    Rob Herring <[email protected]>
 +L:    [email protected]
 +L:    [email protected]
 +S:    Maintained
 +F:    Documentation/devicetree/bindings/pci/versatile.txt
 +F:    drivers/pci/host/pci-versatile.c
 +
  PCI DRIVER FOR APPLIEDMICRO XGENE
  M:    Tanmay Inamdar <[email protected]>
  L:    [email protected]
@@@ -7924,6 -7866,14 +7925,6 @@@ T:     git git://github.com/KrasnikovEugene
  S:    Supported
  F:    drivers/net/wireless/ath/wcn36xx/
  
 -QUICKCAM PARALLEL PORT WEBCAMS
 -M:    Hans Verkuil <[email protected]>
 -L:    [email protected]
 -T:    git git://linuxtv.org/media_tree.git
 -W:    http://linuxtv.org
 -S:    Odd Fixes
 -F:    drivers/media/parport/*-qcam*
 -
  RADOS BLOCK DEVICE (RBD)
  M:    Yehuda Sadeh <[email protected]>
  M:    Sage Weil <[email protected]>
@@@ -8112,13 -8062,6 +8113,13 @@@ S:    Maintaine
  F:    Documentation/rfkill.txt
  F:    net/rfkill/
  
 +RHASHTABLE
 +M:    Thomas Graf <[email protected]>
 +L:    [email protected]
 +S:    Maintained
 +F:    lib/rhashtable.c
 +F:    include/linux/rhashtable.h
 +
  RICOH SMARTMEDIA/XD DRIVER
  M:    Maxim Levitsky <[email protected]>
  S:    Maintained
@@@ -8461,6 -8404,12 +8462,6 @@@ F:     kernel/time/clocksource.
  F:    kernel/time/time*.c
  F:    kernel/time/ntp.c
  
 -TLG2300 VIDEO4LINUX-2 DRIVER
 -M:    Huang Shijie <[email protected]>
 -M:    Hans Verkuil <[email protected]>
 -S:    Odd Fixes
 -F:    drivers/media/usb/tlg2300/
 -
  SC1200 WDT DRIVER
  M:    Zwane Mwaikambo <[email protected]>
  S:    Maintained
@@@ -8826,15 -8775,6 +8827,15 @@@ S:    Maintaine
  F:    drivers/media/platform/davinci/
  F:    include/media/davinci/
  
 +TI AM437X VPFE DRIVER
 +M:    Lad, Prabhakar <[email protected]>
 +L:    [email protected]
 +W:    http://linuxtv.org/
 +Q:    http://patchwork.linuxtv.org/project/linux-media/list/
 +T:    git git://linuxtv.org/mhadli/v4l-dvb-davinci_devices.git
 +S:    Maintained
 +F:    drivers/media/platform/am437x/
 +
  SIS 190 ETHERNET DRIVER
  M:    Francois Romieu <[email protected]>
  L:    [email protected]
@@@ -8916,8 -8856,6 +8917,8 @@@ F:      drivers/media/i2c/smiapp
  F:    include/media/smiapp.h
  F:    drivers/media/i2c/smiapp-pll.c
  F:    drivers/media/i2c/smiapp-pll.h
 +F:    include/uapi/linux/smiapp.h
 +F:    Documentation/devicetree/bindings/media/i2c/nokia,smia.txt
  
  SMM665 HARDWARE MONITOR DRIVER
  M:    Guenter Roeck <[email protected]>
@@@ -8984,7 -8922,6 +8985,7 @@@ SOFTLOGIC 6x10 MPEG CODE
  M:    Bluecherry Maintainers <[email protected]>
  M:    Andrey Utkin <[email protected]>
  M:    Andrey Utkin <[email protected]>
 +M:    Ismael Luceno <[email protected]>
  L:    [email protected]
  S:    Supported
  F:    drivers/media/pci/solo6x10/
@@@ -9297,13 -9234,6 +9298,13 @@@ F:    arch/m68k/sun3*
  F:    arch/m68k/include/asm/sun3*
  F:    drivers/net/ethernet/i825xx/sun3*
  
 +SUN4I LOW RES ADC ATTACHED TABLET KEYS DRIVER
 +M:    Hans de Goede <[email protected]>
 +L:    [email protected]
 +S:    Maintained
 +F:    Documentation/devicetree/bindings/input/sun4i-lradc-keys.txt
 +F:    drivers/input/keyboard/sun4i-lradc-keys.c
 +
  SUNDANCE NETWORK DRIVER
  M:    Denis Kirjanov <[email protected]>
  L:    [email protected]
@@@ -9312,6 -9242,7 +9313,6 @@@ F:      drivers/net/ethernet/dlink/sundance.
  
  SUPERH
  L:    [email protected]
 -W:    http://www.linux-sh.org
  Q:    http://patchwork.kernel.org/project/linux-sh/list/
  S:    Orphan
  F:    Documentation/sh/
@@@ -9690,13 -9621,6 +9691,13 @@@ F:    drivers/power/lp8788-charger.
  F:    drivers/regulator/lp8788-*.c
  F:    include/linux/mfd/lp8788*.h
  
 +TI NETCP ETHERNET DRIVER
 +M:    Wingman Kwok <[email protected]>
 +M:    Murali Karicheri <[email protected]>
 +L:    [email protected]
 +S:    Maintained
 +F:    drivers/net/ethernet/ti/netcp*
 +
  TI TWL4030 SERIES SOC CODEC DRIVER
  M:    Peter Ujfalusi <[email protected]>
  L:    [email protected] (moderated for non-subscribers)
@@@ -9817,21 -9741,13 +9818,21 @@@ F:   drivers/media/pci/tw68
  
  TPM DEVICE DRIVER
  M:    Peter Huewe <[email protected]>
 -M:    Ashley Lai <[email protected]>
  M:    Marcel Selhorst <[email protected]>
  W:    http://tpmdd.sourceforge.net
  L:    [email protected] (moderated for non-subscribers)
 +Q:    git git://github.com/PeterHuewe/linux-tpmdd.git
 +T:    https://github.com/PeterHuewe/linux-tpmdd
  S:    Maintained
  F:    drivers/char/tpm/
  
 +TPM IBM_VTPM DEVICE DRIVER
 +M:    Ashley Lai <[email protected]>
 +W:    http://tpmdd.sourceforge.net
 +L:    [email protected] (moderated for non-subscribers)
 +S:    Maintained
 +F:    drivers/char/tpm/tpm_ibmvtpm*
 +
  TRACING
  M:    Steven Rostedt <[email protected]>
  M:    Ingo Molnar <[email protected]>
@@@ -10744,7 -10660,6 +10745,7 @@@ M:   Max Filippov <[email protected]
  L:    [email protected]
  S:    Maintained
  F:    drivers/spi/spi-xtensa-xtfpga.c
 +F:    sound/soc/xtensa/xtfpga-i2s.c
  
  YAM DRIVER FOR AX.25
  M:    Jean-Paul Roubelat <[email protected]>
diff --combined arch/arm64/Kconfig
index 2814304cec046e18a6ce5916b5588cdc155fe8e2,528c3fd2d4c1a5bb38e7bfec3633a8db84804fd9..676454a65af8ec7ded0b8cdebae1a69cc91bee97
@@@ -39,7 -39,6 +39,7 @@@ config ARM6
        select HARDIRQS_SW_RESEND
        select HAVE_ALIGNED_STRUCT_PAGE if SLUB
        select HAVE_ARCH_AUDITSYSCALL
 +      select HAVE_ARCH_BITREVERSE
        select HAVE_ARCH_JUMP_LABEL
        select HAVE_ARCH_KGDB
        select HAVE_ARCH_SECCOMP_FILTER
@@@ -350,7 -349,6 +350,6 @@@ config ARM64_VA_BITS_4
  
  config ARM64_VA_BITS_48
        bool "48-bit"
-       depends on !ARM_SMMU
  
  endchoice
  
@@@ -541,21 -539,6 +540,21 @@@ config CP15_BARRIER_EMULATIO
  
          If unsure, say Y
  
 +config SETEND_EMULATION
 +      bool "Emulate SETEND instruction"
 +      help
 +        The SETEND instruction alters the data-endianness of the
 +        AArch32 EL0, and is deprecated in ARMv8.
 +
 +        Say Y here to enable software emulation of the instruction
 +        for AArch32 userspace code.
 +
 +        Note: All the cpus on the system must have mixed endian support at EL0
 +        for this feature to be enabled. If a new CPU - which doesn't support mixed
 +        endian - is hotplugged in after this feature has been enabled, there could
 +        be unexpected results in the applications.
 +
 +        If unsure, say Y
  endif
  
  endmenu
@@@ -643,6 -626,9 +642,6 @@@ source "kernel/power/Kconfig
  config ARCH_SUSPEND_POSSIBLE
        def_bool y
  
 -config ARM64_CPU_SUSPEND
 -      def_bool PM_SLEEP
 -
  endmenu
  
  menu "CPU Power Management"
index 59de6364a9109be4baba8f36fd7e331a13261128,8d1fb7f18bc5b342efca00806fbfc909e4fcdc9a..48882c126245b28aa0e4d8c44ad675551385e398
@@@ -1,6 -1,6 +1,6 @@@
  /*
   * Copyright (C) 2007-2010 Advanced Micro Devices, Inc.
-  * Author: Joerg Roedel <j[email protected]>
+  * Author: Joerg Roedel <j[email protected]>
   *         Leo Duran <[email protected]>
   *
   * This program is free software; you can redistribute it and/or modify it
@@@ -843,10 -843,10 +843,10 @@@ static void build_inv_iommu_pages(struc
                                  size_t size, u16 domid, int pde)
  {
        u64 pages;
-       int s;
+       bool s;
  
        pages = iommu_num_pages(address, size, PAGE_SIZE);
-       s     = 0;
+       s     = false;
  
        if (pages > 1) {
                /*
                 * TLB entries for this domain
                 */
                address = CMD_INV_IOMMU_ALL_PAGES_ADDRESS;
-               s = 1;
+               s = true;
        }
  
        address &= PAGE_MASK;
@@@ -874,10 -874,10 +874,10 @@@ static void build_inv_iotlb_pages(struc
                                  u64 address, size_t size)
  {
        u64 pages;
-       int s;
+       bool s;
  
        pages = iommu_num_pages(address, size, PAGE_SIZE);
-       s     = 0;
+       s     = false;
  
        if (pages > 1) {
                /*
                 * TLB entries for this domain
                 */
                address = CMD_INV_IOMMU_ALL_PAGES_ADDRESS;
-               s = 1;
+               s = true;
        }
  
        address &= PAGE_MASK;
@@@ -4284,6 -4284,7 +4284,6 @@@ static int alloc_hpet_msi(unsigned int 
  }
  
  struct irq_remap_ops amd_iommu_irq_ops = {
 -      .supported              = amd_iommu_supported,
        .prepare                = amd_iommu_prepare,
        .enable                 = amd_iommu_enable,
        .disable                = amd_iommu_disable,
index 9a20248e7068fbe54fc38a7f76342777efe567b8,e93eb8cd3df3f4b2764573a6785bb73a9519349f..450ef5001a65ab3bea19e1a9648324eea9951ede
@@@ -1,6 -1,6 +1,6 @@@
  /*
   * Copyright (C) 2007-2010 Advanced Micro Devices, Inc.
-  * Author: Joerg Roedel <j[email protected]>
+  * Author: Joerg Roedel <j[email protected]>
   *         Leo Duran <[email protected]>
   *
   * This program is free software; you can redistribute it and/or modify it
@@@ -2014,6 -2014,9 +2014,6 @@@ static bool detect_ivrs(void
        /* Make sure ACS will be enabled during PCI probe */
        pci_request_acs();
  
 -      if (!disable_irq_remap)
 -              amd_iommu_irq_remap = true;
 -
        return true;
  }
  
@@@ -2120,14 -2123,12 +2120,14 @@@ static int __init iommu_go_to_state(enu
  #ifdef CONFIG_IRQ_REMAP
  int __init amd_iommu_prepare(void)
  {
 -      return iommu_go_to_state(IOMMU_ACPI_FINISHED);
 -}
 +      int ret;
  
 -int __init amd_iommu_supported(void)
 -{
 -      return amd_iommu_irq_remap ? 1 : 0;
 +      amd_iommu_irq_remap = true;
 +
 +      ret = iommu_go_to_state(IOMMU_ACPI_FINISHED);
 +      if (ret)
 +              return ret;
 +      return amd_iommu_irq_remap ? 0 : -ENODEV;
  }
  
  int __init amd_iommu_enable(void)
index 861af9d8338a84b8cc19b24a88a9e0684dd49021,b62ff5493980b097d7a5b85f7984c7e09c86d454..72b0fd455e2444cc12a9ee2b678c6b0456c80503
@@@ -1,6 -1,6 +1,6 @@@
  /*
   * Copyright (C) 2009-2010 Advanced Micro Devices, Inc.
-  * Author: Joerg Roedel <j[email protected]>
+  * Author: Joerg Roedel <j[email protected]>
   *
   * This program is free software; you can redistribute it and/or modify it
   * under the terms of the GNU General Public License version 2 as published
@@@ -33,6 -33,7 +33,6 @@@ extern void amd_iommu_init_notifier(voi
  extern void amd_iommu_init_api(void);
  
  /* Needed for interrupt remapping */
 -extern int amd_iommu_supported(void);
  extern int amd_iommu_prepare(void);
  extern int amd_iommu_enable(void);
  extern void amd_iommu_disable(void);
index c448eb48340a555460546965a4f827ef91f8e302,a2b750110bd1692d7a3206160118e8de496de702..7c70cc29ffe6b4d5341587465de8cf3c643a8956
@@@ -1,6 -1,6 +1,6 @@@
  /*
   * Copyright (C) 2012 Advanced Micro Devices, Inc.
-  * Author: Joerg Roedel <j[email protected]>
+  * Author: Joerg Roedel <j[email protected]>
   *
   * This program is free software; you can redistribute it and/or modify it
   * under the terms of the GNU General Public License version 2 as published
@@@ -31,12 -31,16 +31,12 @@@ struct cpumask
  struct pci_dev;
  struct msi_msg;
  
 -extern int disable_irq_remap;
  extern int irq_remap_broken;
  extern int disable_sourceid_checking;
  extern int no_x2apic_optout;
  extern int irq_remapping_enabled;
  
  struct irq_remap_ops {
 -      /* Check whether Interrupt Remapping is supported */
 -      int (*supported)(void);
 -
        /* Initializes hardware and makes it ready for remapping interrupts */
        int  (*prepare)(void);
  
@@@ -85,6 -89,7 +85,6 @@@ extern struct irq_remap_ops amd_iommu_i
  #else  /* CONFIG_IRQ_REMAP */
  
  #define irq_remapping_enabled 0
 -#define disable_irq_remap     1
  #define irq_remap_broken      0
  
  #endif /* CONFIG_IRQ_REMAP */
This page took 0.09274 seconds and 4 git commands to generate.