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


Groups > linux.kernel > #1317360 > unrolled thread

(none)

Started byRichard Weinberger <richard@nod.at>
First post2016-01-25 23:30 +0100
Last post2016-01-26 12:00 +0100
Articles 16 on this page of 36 — 12 participants

Back to article view | Back to linux.kernel


Contents

  (none) Richard Weinberger <richard@nod.at> - 2016-01-25 23:30 +0100
    [PATCH 12/22] nvmem: Fix dependencies for !HAS_IOMEM archs Richard Weinberger <richard@nod.at> - 2016-01-25 23:30 +0100
      Re: [PATCH 12/22] nvmem: Fix dependencies for !HAS_IOMEM archs Srinivas Kandagatla <srinivas.kandagatla@linaro.org> - 2016-01-26 12:20 +0100
        Re: [PATCH 12/22] nvmem: Fix dependencies for !HAS_IOMEM archs Richard Weinberger <richard@nod.at> - 2016-01-26 15:30 +0100
    [PATCH 18/22] irqchip: Fix dependencies for !HAS_IOMEM archs Richard Weinberger <richard@nod.at> - 2016-01-25 23:30 +0100
      [tip:irq/urgent] irqchip: Fix dependencies for archs w/  o HAS_IOMEM tip-bot for Richard Weinberger <tipbot@zytor.com> - 2016-01-26 16:10 +0100
    [PATCH 19/22] thermal: Fix dependencies for !HAS_IOMEM archs Richard Weinberger <richard@nod.at> - 2016-01-25 23:30 +0100
    [PATCH 02/22] phy: Fix dependencies for !HAS_IOMEM archs Richard Weinberger <richard@nod.at> - 2016-01-25 23:30 +0100
    [PATCH 20/22] clocksource: Fix dependencies for !HAS_IOMEM archs Richard Weinberger <richard@nod.at> - 2016-01-25 23:30 +0100
      [tip:timers/urgent] clocksource: Fix dependencies for archs w/  o HAS_IOMEM tip-bot for Richard Weinberger <tipbot@zytor.com> - 2016-01-26 16:50 +0100
    [PATCH 15/22] watchdog: Fix dependencies for !HAS_IOMEM archs Richard Weinberger <richard@nod.at> - 2016-01-25 23:30 +0100
      Re: [PATCH 15/22] watchdog: Fix dependencies for !HAS_IOMEM archs Guenter Roeck <linux@roeck-us.net> - 2016-01-26 03:50 +0100
    [PATCH 10/22] mailbox: Fix dependencies for !HAS_IOMEM archs Richard Weinberger <richard@nod.at> - 2016-01-25 23:30 +0100
    [PATCH 21/22] mtd: cs553x: Fix dependencies for !HAS_IOMEM archs Richard Weinberger <richard@nod.at> - 2016-01-25 23:30 +0100
      Re: [PATCH 21/22] mtd: cs553x: Fix dependencies for !HAS_IOMEM archs Geert Uytterhoeven <geert@linux-m68k.org> - 2016-01-26 12:10 +0100
        Re: [PATCH 21/22] mtd: cs553x: Fix dependencies for !HAS_IOMEM archs Richard Weinberger <richard@nod.at> - 2016-01-26 15:00 +0100
    [PATCH 16/22] iio: imu: Fix dependencies for !HAS_IOMEM archs Richard Weinberger <richard@nod.at> - 2016-01-25 23:30 +0100
      Re: [PATCH 16/22] iio: imu: Fix dependencies for !HAS_IOMEM archs Paul Bolle <pebolle@tiscali.nl> - 2016-01-26 01:20 +0100
        Re: [PATCH 16/22] iio: imu: Fix dependencies for !HAS_IOMEM archs Richard Weinberger <richard@nod.at> - 2016-01-26 09:20 +0100
    [PATCH 05/22] hw_random: Fix dependencies for !HAS_IOMEM archs Richard Weinberger <richard@nod.at> - 2016-01-25 23:30 +0100
      Re: [PATCH 05/22] hw_random: Fix dependencies for !HAS_IOMEM archs Daniel Thompson <daniel.thompson@linaro.org> - 2016-01-26 11:00 +0100
      Re: [PATCH 05/22] hw_random: Fix dependencies for !HAS_IOMEM archs Herbert Xu <herbert@gondor.apana.org.au> - 2016-01-26 15:50 +0100
    [PATCH 01/22] power: reset: Fix dependencies for !HAS_IOMEM archs Richard Weinberger <richard@nod.at> - 2016-01-25 23:40 +0100
      Re: [PATCH 01/22] power: reset: Fix dependencies for !HAS_IOMEM archs Florian Fainelli <f.fainelli@gmail.com> - 2016-01-27 00:40 +0100
        Re: [PATCH 01/22] power: reset: Fix dependencies for !HAS_IOMEM archs Richard Weinberger <richard@nod.at> - 2016-01-27 09:10 +0100
    [PATCH 06/22] iio: adc: Fix dependencies for !HAS_IOMEM archs Richard Weinberger <richard@nod.at> - 2016-01-25 23:40 +0100
    [PATCH 07/22] fpga: Fix dependencies for !HAS_IOMEM archs Richard Weinberger <richard@nod.at> - 2016-01-25 23:40 +0100
      Re: [PATCH 07/22] fpga: Fix dependencies for !HAS_IOMEM archs Moritz Fischer <moritz.fischer@ettus.com> - 2016-01-26 00:40 +0100
    [PATCH 08/22] hwtracing: Fix dependencies for !HAS_IOMEM archs Richard Weinberger <richard@nod.at> - 2016-01-25 23:40 +0100
    [PATCH 03/22] scsi: Fix dependencies for !HAS_IOMEM and !HAS_DMA archs Richard Weinberger <richard@nod.at> - 2016-01-25 23:40 +0100
      Re: [PATCH 03/22] scsi: Fix dependencies for !HAS_IOMEM and !HAS_DMA  archs John Garry <john.garry@huawei.com> - 2016-01-26 11:20 +0100
        Re: [PATCH 03/22] scsi: Fix dependencies for !HAS_IOMEM and !HAS_DMA  archs Richard Weinberger <richard@nod.at> - 2016-01-26 11:40 +0100
          Re: [PATCH 03/22] scsi: Fix dependencies for !HAS_IOMEM and !HAS_DMA  archs John Garry <john.garry@huawei.com> - 2016-01-26 12:00 +0100
            Re: [PATCH 03/22] scsi: Fix dependencies for !HAS_IOMEM and !HAS_DMA archs "Martin K. Petersen" <martin.petersen@oracle.com> - 2016-01-27 03:20 +0100
    [PATCH 04/22] staging: iio: Fix dependencies for !HAS_IOMEM archs Richard Weinberger <richard@nod.at> - 2016-01-25 23:40 +0100
      Re: [PATCH 04/22] staging: iio: Fix dependencies for !HAS_IOMEM archs Geert Uytterhoeven <geert@linux-m68k.org> - 2016-01-26 12:00 +0100

Page 2 of 2 — ← Prev page 1 [2]


#1317687 — Re: [PATCH 05/22] hw_random: Fix dependencies for !HAS_IOMEM archs

FromDaniel Thompson <daniel.thompson@linaro.org>
Date2016-01-26 11:00 +0100
SubjectRe: [PATCH 05/22] hw_random: Fix dependencies for !HAS_IOMEM archs
Message-ID<qV8zM-2fZ-31@gated-at.bofh.it>
In reply to#1317372
On 25/01/16 22:24, Richard Weinberger wrote:
> Not every arch has io memory.
> So, unbreak the build by fixing the dependencies.
>
> Signed-off-by: Richard Weinberger <richard@nod.at>

Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org>

Thanks for cleaning up after me!

> ---
>   drivers/char/hw_random/Kconfig | 1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/drivers/char/hw_random/Kconfig b/drivers/char/hw_random/Kconfig
> index dbf2271..ff00331 100644
> --- a/drivers/char/hw_random/Kconfig
> +++ b/drivers/char/hw_random/Kconfig
> @@ -372,6 +372,7 @@ config HW_RANDOM_XGENE
>   config HW_RANDOM_STM32
>   	tristate "STMicroelectronics STM32 random number generator"
>   	depends on HW_RANDOM && (ARCH_STM32 || COMPILE_TEST)
> +	depends on HAS_IOMEM
>   	help
>   	  This driver provides kernel-side support for the Random Number
>   	  Generator hardware found on STM32 microcontrollers.
>

[toc] | [prev] | [next] | [standalone]


#1318001 — Re: [PATCH 05/22] hw_random: Fix dependencies for !HAS_IOMEM archs

FromHerbert Xu <herbert@gondor.apana.org.au>
Date2016-01-26 15:50 +0100
SubjectRe: [PATCH 05/22] hw_random: Fix dependencies for !HAS_IOMEM archs
Message-ID<qVd6r-5vL-43@gated-at.bofh.it>
In reply to#1317372
On Mon, Jan 25, 2016 at 11:24:04PM +0100, Richard Weinberger wrote:
> Not every arch has io memory.
> So, unbreak the build by fixing the dependencies.
> 
> Signed-off-by: Richard Weinberger <richard@nod.at>

Patch applied.  Thanks.
-- 
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

[toc] | [prev] | [next] | [standalone]


#1317374 — [PATCH 01/22] power: reset: Fix dependencies for !HAS_IOMEM archs

FromRichard Weinberger <richard@nod.at>
Date2016-01-25 23:40 +0100
Subject[PATCH 01/22] power: reset: Fix dependencies for !HAS_IOMEM archs
Message-ID<qUXXI-2jh-3@gated-at.bofh.it>
In reply to#1317360
Not every arch has io memory.
So, unbreak the build by fixing the dependencies.

Signed-off-by: Richard Weinberger <richard@nod.at>
---
 drivers/power/reset/Kconfig | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/power/reset/Kconfig b/drivers/power/reset/Kconfig
index 1131cf7..0a6408a 100644
--- a/drivers/power/reset/Kconfig
+++ b/drivers/power/reset/Kconfig
@@ -148,6 +148,7 @@ config POWER_RESET_KEYSTONE
 config POWER_RESET_SYSCON
 	bool "Generic SYSCON regmap reset driver"
 	depends on OF
+	depends on HAS_IOMEM
 	select MFD_SYSCON
 	help
 	  Reboot support for generic SYSCON mapped register reset.
@@ -155,6 +156,7 @@ config POWER_RESET_SYSCON
 config POWER_RESET_SYSCON_POWEROFF
 	bool "Generic SYSCON regmap poweroff driver"
 	depends on OF
+	depends on HAS_IOMEM
 	select MFD_SYSCON
 	help
 	  Poweroff support for generic SYSCON mapped register poweroff.
-- 
1.8.4.5

[toc] | [prev] | [next] | [standalone]


#1318474 — Re: [PATCH 01/22] power: reset: Fix dependencies for !HAS_IOMEM archs

FromFlorian Fainelli <f.fainelli@gmail.com>
Date2016-01-27 00:40 +0100
SubjectRe: [PATCH 01/22] power: reset: Fix dependencies for !HAS_IOMEM archs
Message-ID<qVlnl-385-25@gated-at.bofh.it>
In reply to#1317374
On 25/01/16 14:24, Richard Weinberger wrote:
> Not every arch has io memory.
> So, unbreak the build by fixing the dependencies.
> 
> Signed-off-by: Richard Weinberger <richard@nod.at>
> ---
>  drivers/power/reset/Kconfig | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/drivers/power/reset/Kconfig b/drivers/power/reset/Kconfig
> index 1131cf7..0a6408a 100644
> --- a/drivers/power/reset/Kconfig
> +++ b/drivers/power/reset/Kconfig
> @@ -148,6 +148,7 @@ config POWER_RESET_KEYSTONE
>  config POWER_RESET_SYSCON
>  	bool "Generic SYSCON regmap reset driver"
>  	depends on OF
> +	depends on HAS_IOMEM
>  	select MFD_SYSCON

Should this dependency go into REGMAP_MMIO instead? MFD_SYSCON in itself
does not issue I/O accesses per-se, but does use helpers from regmap,
which in turn do it.

>  	help
>  	  Reboot support for generic SYSCON mapped register reset.
> @@ -155,6 +156,7 @@ config POWER_RESET_SYSCON
>  config POWER_RESET_SYSCON_POWEROFF
>  	bool "Generic SYSCON regmap poweroff driver"
>  	depends on OF
> +	depends on HAS_IOMEM
>  	select MFD_SYSCON

Likewise.
-- 
Florian

[toc] | [prev] | [next] | [standalone]


#1318739 — Re: [PATCH 01/22] power: reset: Fix dependencies for !HAS_IOMEM archs

FromRichard Weinberger <richard@nod.at>
Date2016-01-27 09:10 +0100
SubjectRe: [PATCH 01/22] power: reset: Fix dependencies for !HAS_IOMEM archs
Message-ID<qVtkR-wF-3@gated-at.bofh.it>
In reply to#1318474
Am 27.01.2016 um 00:34 schrieb Florian Fainelli:
> On 25/01/16 14:24, Richard Weinberger wrote:
>> Not every arch has io memory.
>> So, unbreak the build by fixing the dependencies.
>>
>> Signed-off-by: Richard Weinberger <richard@nod.at>
>> ---
>>  drivers/power/reset/Kconfig | 2 ++
>>  1 file changed, 2 insertions(+)
>>
>> diff --git a/drivers/power/reset/Kconfig b/drivers/power/reset/Kconfig
>> index 1131cf7..0a6408a 100644
>> --- a/drivers/power/reset/Kconfig
>> +++ b/drivers/power/reset/Kconfig
>> @@ -148,6 +148,7 @@ config POWER_RESET_KEYSTONE
>>  config POWER_RESET_SYSCON
>>  	bool "Generic SYSCON regmap reset driver"
>>  	depends on OF
>> +	depends on HAS_IOMEM
>>  	select MFD_SYSCON
> 
> Should this dependency go into REGMAP_MMIO instead? MFD_SYSCON in itself
> does not issue I/O accesses per-se, but does use helpers from regmap,
> which in turn do it.

Hmmm, AFAICT this would not work as REGMAP_MMIO is not user visible and directly enabled
via "select" instead of "depends on". Hence, dependencies are ignored.

Thanks,
//richard

[toc] | [prev] | [next] | [standalone]


#1317375 — [PATCH 06/22] iio: adc: Fix dependencies for !HAS_IOMEM archs

FromRichard Weinberger <richard@nod.at>
Date2016-01-25 23:40 +0100
Subject[PATCH 06/22] iio: adc: Fix dependencies for !HAS_IOMEM archs
Message-ID<qUXXI-2jh-11@gated-at.bofh.it>
In reply to#1317360
Not every arch has io memory.
So, unbreak the build by fixing the dependencies.

Signed-off-by: Richard Weinberger <richard@nod.at>
---
 drivers/iio/adc/Kconfig | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/iio/adc/Kconfig b/drivers/iio/adc/Kconfig
index 605ff42..283ded7 100644
--- a/drivers/iio/adc/Kconfig
+++ b/drivers/iio/adc/Kconfig
@@ -175,6 +175,7 @@ config DA9150_GPADC
 config EXYNOS_ADC
 	tristate "Exynos ADC driver support"
 	depends on ARCH_EXYNOS || ARCH_S3C24XX || ARCH_S3C64XX || (OF && COMPILE_TEST)
+	depends on HAS_IOMEM
 	help
 	  Core support for the ADC block found in the Samsung EXYNOS series
 	  of SoCs for drivers such as the touchscreen and hwmon to use to share
@@ -207,6 +208,7 @@ config INA2XX_ADC
 config IMX7D_ADC
 	tristate "IMX7D ADC driver"
 	depends on ARCH_MXC || COMPILE_TEST
+	depends on HAS_IOMEM
 	help
 	  Say yes here to build support for IMX7D ADC.
 
@@ -409,6 +411,7 @@ config TWL6030_GPADC
 config VF610_ADC
 	tristate "Freescale vf610 ADC driver"
 	depends on OF
+	depends on HAS_IOMEM
 	select IIO_BUFFER
 	select IIO_TRIGGERED_BUFFER
 	help
-- 
1.8.4.5

[toc] | [prev] | [next] | [standalone]


#1317376 — [PATCH 07/22] fpga: Fix dependencies for !HAS_IOMEM archs

FromRichard Weinberger <richard@nod.at>
Date2016-01-25 23:40 +0100
Subject[PATCH 07/22] fpga: Fix dependencies for !HAS_IOMEM archs
Message-ID<qUXXI-2jh-9@gated-at.bofh.it>
In reply to#1317360
Not every arch has io memory.
So, unbreak the build by fixing the dependencies.

Signed-off-by: Richard Weinberger <richard@nod.at>
---
 drivers/fpga/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/fpga/Kconfig b/drivers/fpga/Kconfig
index c9b9fdf..36c54af 100644
--- a/drivers/fpga/Kconfig
+++ b/drivers/fpga/Kconfig
@@ -21,6 +21,7 @@ config FPGA_MGR_SOCFPGA
 
 config FPGA_MGR_ZYNQ_FPGA
 	tristate "Xilinx Zynq FPGA"
+	depends on HAS_IOMEM
 	help
 	  FPGA manager driver support for Xilinx Zynq FPGAs.
 
-- 
1.8.4.5

[toc] | [prev] | [next] | [standalone]


#1317410 — Re: [PATCH 07/22] fpga: Fix dependencies for !HAS_IOMEM archs

FromMoritz Fischer <moritz.fischer@ettus.com>
Date2016-01-26 00:40 +0100
SubjectRe: [PATCH 07/22] fpga: Fix dependencies for !HAS_IOMEM archs
Message-ID<qUYTM-2XX-13@gated-at.bofh.it>
In reply to#1317376
On Mon, Jan 25, 2016 at 11:24 PM, Richard Weinberger <richard@nod.at> wrote:
> Not every arch has io memory.
> So, unbreak the build by fixing the dependencies.
>
> Signed-off-by: Richard Weinberger <richard@nod.at>

Acked-by: Moritz Fischer <moritz.fischer@ettus.com>

[toc] | [prev] | [next] | [standalone]


#1317379 — [PATCH 08/22] hwtracing: Fix dependencies for !HAS_IOMEM archs

FromRichard Weinberger <richard@nod.at>
Date2016-01-25 23:40 +0100
Subject[PATCH 08/22] hwtracing: Fix dependencies for !HAS_IOMEM archs
Message-ID<qUXXJ-2jh-19@gated-at.bofh.it>
In reply to#1317360
Not every arch has io memory.
So, unbreak the build by fixing the dependencies.

Signed-off-by: Richard Weinberger <richard@nod.at>
---
 drivers/hwtracing/intel_th/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/hwtracing/intel_th/Kconfig b/drivers/hwtracing/intel_th/Kconfig
index b7a9073..467dae9 100644
--- a/drivers/hwtracing/intel_th/Kconfig
+++ b/drivers/hwtracing/intel_th/Kconfig
@@ -1,5 +1,6 @@
 config INTEL_TH
 	tristate "Intel(R) Trace Hub controller"
+	depends on HAS_IOMEM
 	help
 	  Intel(R) Trace Hub (TH) is a set of hardware blocks (subdevices) that
 	  produce, switch and output trace data from multiple hardware and
-- 
1.8.4.5

[toc] | [prev] | [next] | [standalone]


#1317380 — [PATCH 03/22] scsi: Fix dependencies for !HAS_IOMEM and !HAS_DMA archs

FromRichard Weinberger <richard@nod.at>
Date2016-01-25 23:40 +0100
Subject[PATCH 03/22] scsi: Fix dependencies for !HAS_IOMEM and !HAS_DMA archs
Message-ID<qUXXJ-2jh-31@gated-at.bofh.it>
In reply to#1317360
Not every arch has io or DMA memory.
So, unbreak the build by fixing the dependencies.

Signed-off-by: Richard Weinberger <richard@nod.at>
---
 drivers/scsi/hisi_sas/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/scsi/hisi_sas/Kconfig b/drivers/scsi/hisi_sas/Kconfig
index 37a0c71..f9157f4 100644
--- a/drivers/scsi/hisi_sas/Kconfig
+++ b/drivers/scsi/hisi_sas/Kconfig
@@ -2,5 +2,6 @@ config SCSI_HISI_SAS
 	tristate "HiSilicon SAS"
 	select SCSI_SAS_LIBSAS
 	select BLK_DEV_INTEGRITY
+	depends on HAS_IOMEM && HAS_DMA
 	help
 		This driver supports HiSilicon's SAS HBA
-- 
1.8.4.5

[toc] | [prev] | [next] | [standalone]


#1317692 — Re: [PATCH 03/22] scsi: Fix dependencies for !HAS_IOMEM and !HAS_DMA archs

FromJohn Garry <john.garry@huawei.com>
Date2016-01-26 11:20 +0100
SubjectRe: [PATCH 03/22] scsi: Fix dependencies for !HAS_IOMEM and !HAS_DMA archs
Message-ID<qV8T8-2E6-13@gated-at.bofh.it>
In reply to#1317380
On 25/01/2016 22:24, Richard Weinberger wrote:
> Not every arch has io or DMA memory.
> So, unbreak the build by fixing the dependencies.
>
> Signed-off-by: Richard Weinberger <richard@nod.at>
> ---
>   drivers/scsi/hisi_sas/Kconfig | 1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/drivers/scsi/hisi_sas/Kconfig b/drivers/scsi/hisi_sas/Kconfig
> index 37a0c71..f9157f4 100644
> --- a/drivers/scsi/hisi_sas/Kconfig
> +++ b/drivers/scsi/hisi_sas/Kconfig
> @@ -2,5 +2,6 @@ config SCSI_HISI_SAS
>   	tristate "HiSilicon SAS"
>   	select SCSI_SAS_LIBSAS
>   	select BLK_DEV_INTEGRITY
> +	depends on HAS_IOMEM && HAS_DMA
>   	help
>   		This driver supports HiSilicon's SAS HBA
>

I think that there is already a fix for depencencies from Geert:
http://git.kernel.org/cgit/linux/kernel/git/jejb/scsi.git/log/?h=fixes

Cheers,
John

[toc] | [prev] | [next] | [standalone]


#1317721 — Re: [PATCH 03/22] scsi: Fix dependencies for !HAS_IOMEM and !HAS_DMA archs

FromRichard Weinberger <richard@nod.at>
Date2016-01-26 11:40 +0100
SubjectRe: [PATCH 03/22] scsi: Fix dependencies for !HAS_IOMEM and !HAS_DMA archs
Message-ID<qV9cu-2Od-9@gated-at.bofh.it>
In reply to#1317692
Am 26.01.2016 um 11:15 schrieb John Garry:
> On 25/01/2016 22:24, Richard Weinberger wrote:
>> Not every arch has io or DMA memory.
>> So, unbreak the build by fixing the dependencies.
>>
>> Signed-off-by: Richard Weinberger <richard@nod.at>
>> ---
>>   drivers/scsi/hisi_sas/Kconfig | 1 +
>>   1 file changed, 1 insertion(+)
>>
>> diff --git a/drivers/scsi/hisi_sas/Kconfig b/drivers/scsi/hisi_sas/Kconfig
>> index 37a0c71..f9157f4 100644
>> --- a/drivers/scsi/hisi_sas/Kconfig
>> +++ b/drivers/scsi/hisi_sas/Kconfig
>> @@ -2,5 +2,6 @@ config SCSI_HISI_SAS
>>       tristate "HiSilicon SAS"
>>       select SCSI_SAS_LIBSAS
>>       select BLK_DEV_INTEGRITY
>> +    depends on HAS_IOMEM && HAS_DMA
>>       help
>>           This driver supports HiSilicon's SAS HBA
>>
> 
> I think that there is already a fix for depencencies from Geert:
> http://git.kernel.org/cgit/linux/kernel/git/jejb/scsi.git/log/?h=fixes

Hmm, right. But we still need HAS_IOMEM too.

Thanks,
//richard

[toc] | [prev] | [next] | [standalone]


#1317732 — Re: [PATCH 03/22] scsi: Fix dependencies for !HAS_IOMEM and !HAS_DMA archs

FromJohn Garry <john.garry@huawei.com>
Date2016-01-26 12:00 +0100
SubjectRe: [PATCH 03/22] scsi: Fix dependencies for !HAS_IOMEM and !HAS_DMA archs
Message-ID<qV9vP-2Vi-7@gated-at.bofh.it>
In reply to#1317721
On 26/01/2016 10:31, Richard Weinberger wrote:
> Am 26.01.2016 um 11:15 schrieb John Garry:
>> On 25/01/2016 22:24, Richard Weinberger wrote:
>>> Not every arch has io or DMA memory.
>>> So, unbreak the build by fixing the dependencies.
>>>
>>> Signed-off-by: Richard Weinberger <richard@nod.at>
>>> ---
>>>    drivers/scsi/hisi_sas/Kconfig | 1 +
>>>    1 file changed, 1 insertion(+)
>>>
>>> diff --git a/drivers/scsi/hisi_sas/Kconfig b/drivers/scsi/hisi_sas/Kconfig
>>> index 37a0c71..f9157f4 100644
>>> --- a/drivers/scsi/hisi_sas/Kconfig
>>> +++ b/drivers/scsi/hisi_sas/Kconfig
>>> @@ -2,5 +2,6 @@ config SCSI_HISI_SAS
>>>        tristate "HiSilicon SAS"
>>>        select SCSI_SAS_LIBSAS
>>>        select BLK_DEV_INTEGRITY
>>> +    depends on HAS_IOMEM && HAS_DMA
>>>        help
>>>            This driver supports HiSilicon's SAS HBA
>>>
>>
>> I think that there is already a fix for depencencies from Geert:
>> http://git.kernel.org/cgit/linux/kernel/git/jejb/scsi.git/log/?h=fixes
>
> Hmm, right. But we still need HAS_IOMEM too.
>
> Thanks,
> //richard
> --
> To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>

We can just add HAS_IOMEM dependency on the scsi fixes branch, ok?

Cheers,
John

[toc] | [prev] | [next] | [standalone]


#1318557 — Re: [PATCH 03/22] scsi: Fix dependencies for !HAS_IOMEM and !HAS_DMA archs

From"Martin K. Petersen" <martin.petersen@oracle.com>
Date2016-01-27 03:20 +0100
SubjectRe: [PATCH 03/22] scsi: Fix dependencies for !HAS_IOMEM and !HAS_DMA archs
Message-ID<qVnSa-4Ua-13@gated-at.bofh.it>
In reply to#1317732
>>>>> "John" == John Garry <john.garry@huawei.com> writes:

John> We can just add HAS_IOMEM dependency on the scsi fixes branch, ok?

Yes, please submit a patch against 4.5/scsi-fixes.

-- 
Martin K. Petersen	Oracle Linux Engineering

[toc] | [prev] | [next] | [standalone]


#1317381 — [PATCH 04/22] staging: iio: Fix dependencies for !HAS_IOMEM archs

FromRichard Weinberger <richard@nod.at>
Date2016-01-25 23:40 +0100
Subject[PATCH 04/22] staging: iio: Fix dependencies for !HAS_IOMEM archs
Message-ID<qUXXJ-2jh-35@gated-at.bofh.it>
In reply to#1317360
Not every arch has io memory.
So, unbreak the build by fixing the dependencies.

Signed-off-by: Richard Weinberger <richard@nod.at>
---
 drivers/staging/iio/adc/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/staging/iio/adc/Kconfig b/drivers/staging/iio/adc/Kconfig
index 58d4517..b9519be 100644
--- a/drivers/staging/iio/adc/Kconfig
+++ b/drivers/staging/iio/adc/Kconfig
@@ -6,6 +6,7 @@ menu "Analog to digital converters"
 config AD7606
 	tristate "Analog Devices AD7606 ADC driver"
 	depends on GPIOLIB || COMPILE_TEST
+	depends on HAS_IOMEM
 	select IIO_BUFFER
 	select IIO_TRIGGERED_BUFFER
 	help
-- 
1.8.4.5

[toc] | [prev] | [next] | [standalone]


#1317735 — Re: [PATCH 04/22] staging: iio: Fix dependencies for !HAS_IOMEM archs

FromGeert Uytterhoeven <geert@linux-m68k.org>
Date2016-01-26 12:00 +0100
SubjectRe: [PATCH 04/22] staging: iio: Fix dependencies for !HAS_IOMEM archs
Message-ID<qV9vQ-2Vi-23@gated-at.bofh.it>
In reply to#1317381
On Mon, Jan 25, 2016 at 11:24 PM, Richard Weinberger <richard@nod.at> wrote:
> Not every arch has io memory.
> So, unbreak the build by fixing the dependencies.
>
> Signed-off-by: Richard Weinberger <richard@nod.at>

Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

[toc] | [prev] | [standalone]


Page 2 of 2 — ← Prev page 1 [2]

Back to top | Article view | linux.kernel


csiph-web