Skip to contentSkip to conversation

qcom SoC changes for v3.16

GIT PULL Superseded Kumar Gala 5 participants 13 messages May 23, 2014 – Sep 5, 2014

Subsystems (3)
lore
Share & tools
lore

Kumar Gala

author
#0 lore raw

The following changes since commit c9eaa447e77efe77b7fa4c953bd62de8297fd6c5:

Linux 3.15-rc1 (2014-04-13 14:18:35 -0700)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/galak/linux-qcom.git tags/qcom-soc-for-3.16

for you to fetch changes up to 87cfb00d666cca3abf36f755279cde1b27b9c377:

ARM: qcom: Select PINCTRL by default for ARCH_QCOM (2014-05-22 11:50:42 -0500)

----------------------------------------------------------------
Qualcomm ARM Based SoC Updates for v3.16

* Enabling building pinctrl and AMBA bus support
* Clean up debug UART selection

----------------------------------------------------------------
Andy Gross (1):
ARM: qcom: Select PINCTRL by default for ARCH_QCOM

Ivan T. Ivanov (1):
ARM: debug: qcom: make UART address selection configuration option

Srinivas Kandagatla (1):
ARM: qcom: Enable ARM_AMBA option for Qualcomm SOCs.

  arch/arm/Kconfig.debug       | 81 ++++++++++++++++++--------------------------
  arch/arm/include/debug/msm.S | 46 +++----------------------
  arch/arm/mach-msm/Kconfig    |  3 --
  arch/arm/mach-qcom/Kconfig   |  2 ++
  4 files changed, 40 insertions(+), 92 deletions(-)

--
Employee of Qualcomm Innovation Center, Inc.
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation

#1 lore raw
Quoted 10 lines · Kumar Gala

The following changes since commit c9eaa447e77efe77b7fa4c953bd62de8297fd6c5:

   Linux 3.15-rc1 (2014-04-13 14:18:35 -0700)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/galak/linux-qcom.git tags/qcom-soc-for-3.16

for you to fetch changes up to 87cfb00d666cca3abf36f755279cde1b27b9c377:

Quoted 7 lines

ARM: qcom: Select PINCTRL by default for ARCH_QCOM (2014-05-22 11:50:42 -0500)

----------------------------------------------------------------
Qualcomm ARM Based SoC Updates for v3.16

* Enabling building pinctrl and AMBA bus support
* Clean up debug UART selection

Pulled into next/soc, thanks!

Arnd

#2 lore raw
In reply to Kumar Gala
Quoted 2 lines · Kumar Gala

Ivan T. Ivanov (1):
ARM: debug: qcom: make UART address selection configuration option

This one just landed in linux-next (next-20140526).

It removed the Kconfig options DEBUG_MSM_UART1, DEBUG_MSM_UART3, and DEBUG_MSM_UART3. It did not touch these references to their macros:

    arch/arm/mach-msm/io.c:60:#if defined(CONFIG_DEBUG_MSM_UART1) || defined(CONFIG_DEBUG_MSM_UART2) || \
    arch/arm/mach-msm/io.c:61:                defined(CONFIG_DEBUG_MSM_UART3)
    arch/arm/mach-msm/io.c:79:#if defined(CONFIG_DEBUG_MSM_UART1) || defined(CONFIG_DEBUG_MSM_UART2) || \
    arch/arm/mach-msm/io.c:80:                defined(CONFIG_DEBUG_MSM_UART3)

Is a patch to fix this queued somewhere?

Paul Bolle

#3 lore raw
Quoted 6 lines · Paul Bolle
Quoted 2 lines · Kumar Gala

Ivan T. Ivanov (1):
ARM: debug: qcom: make UART address selection configuration option

This one just landed in linux-next (next-20140526).

Quoted 9 lines

It removed the Kconfig options DEBUG_MSM_UART1, DEBUG_MSM_UART3, and DEBUG_MSM_UART3. It did not touch these references to their macros:

     arch/arm/mach-msm/io.c:60:#if defined(CONFIG_DEBUG_MSM_UART1) || defined(CONFIG_DEBUG_MSM_UART2) || \
     arch/arm/mach-msm/io.c:61:                defined(CONFIG_DEBUG_MSM_UART3)
     arch/arm/mach-msm/io.c:79:#if defined(CONFIG_DEBUG_MSM_UART1) || defined(CONFIG_DEBUG_MSM_UART2) || \
     arch/arm/mach-msm/io.c:80:                defined(CONFIG_DEBUG_MSM_UART3)

Is a patch to fix this queued somewhere?

Not yet, but I'll send one in a minute.

Thanks,
Georgi

#4 lore raw
Quoted 14 lines · Georgi Djakov
Quoted 13 lines · Paul Bolle
Quoted 2 lines · Kumar Gala

Ivan T. Ivanov (1):
ARM: debug: qcom: make UART address selection configuration option

This one just landed in linux-next (next-20140526).

It removed the Kconfig options DEBUG_MSM_UART1, DEBUG_MSM_UART3, and DEBUG_MSM_UART3. It did not touch these references to their macros:

     arch/arm/mach-msm/io.c:60:#if defined(CONFIG_DEBUG_MSM_UART1) || defined(CONFIG_DEBUG_MSM_UART2) || \
     arch/arm/mach-msm/io.c:61:                defined(CONFIG_DEBUG_MSM_UART3)
     arch/arm/mach-msm/io.c:79:#if defined(CONFIG_DEBUG_MSM_UART1) || defined(CONFIG_DEBUG_MSM_UART2) || \
     arch/arm/mach-msm/io.c:80:                defined(CONFIG_DEBUG_MSM_UART3)
Quoted 4 lines
Quoted 2 lines

Is a patch to fix this queued somewhere?

Not yet, but I'll send one in a minute.

Right, I have missed this. Thanks.

Ivan

#5 lore raw
In reply to Paul Bolle
Quoted 6 lines · Paul Bolle
Quoted 2 lines · Kumar Gala

Ivan T. Ivanov (1):
ARM: debug: qcom: make UART address selection configuration option

This one just landed in linux-next (next-20140526).

Quoted 9 lines

It removed the Kconfig options DEBUG_MSM_UART1, DEBUG_MSM_UART3, and DEBUG_MSM_UART3. It did not touch these references to their macros:

    arch/arm/mach-msm/io.c:60:#if defined(CONFIG_DEBUG_MSM_UART1) || defined(CONFIG_DEBUG_MSM_UART2) || \
    arch/arm/mach-msm/io.c:61:                defined(CONFIG_DEBUG_MSM_UART3)
    arch/arm/mach-msm/io.c:79:#if defined(CONFIG_DEBUG_MSM_UART1) || defined(CONFIG_DEBUG_MSM_UART2) || \
    arch/arm/mach-msm/io.c:80:                defined(CONFIG_DEBUG_MSM_UART3)

Is a patch to fix this queued somewhere?

Hm, there was some conflicts, which where resolved by Stephen Rothwell [1], but maybe there is still something wrong. Have to check.

Regards,
Ivan

[1] https://lkml.org/lkml/2014/5/25/147

Quoted 3 lines

Paul Bolle

#6 lore raw

PATCH 1/1 ARM: msm: Update the references to DEBUG_MSM_UARTx

In reply to Paul Bolle

The Kconfig options DEBUG_MSM_UART1, DEBUG_MSM_UART2 and DEBUG_MSM_UART3 are removed, but they are still referenced in arch/arm/mach-msm/io.c Fix this by updating the reference to the new Kconfig option.

---
 arch/arm/mach-msm/io.c |    6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
arch/arm/mach-msm/io.c +2 -4
index 34e0947..b042dca 100644
@@ -57,8 +57,7 @@ static struct map_desc msm_io_desc[] __initdata = {
 		.length =   MSM_SHARED_RAM_SIZE,
 		.type =     MT_DEVICE,
 	},
-#if defined(CONFIG_DEBUG_MSM_UART1) || defined(CONFIG_DEBUG_MSM_UART2) || \
-		defined(CONFIG_DEBUG_MSM_UART3)
+#if defined(CONFIG_DEBUG_MSM_UART)
 	{
 		/* Must be last: virtual and pfn filled in by debug_ll_addr() */
 		.length = SZ_4K,
@@ -76,8 +75,7 @@ void __init msm_map_common_io(void)
 	 * pages are peripheral interface or not.
 	 */
 	asm("mcr p15, 0, %0, c15, c2, 4" : : "r" (0));
-#if defined(CONFIG_DEBUG_MSM_UART1) || defined(CONFIG_DEBUG_MSM_UART2) || \
-		defined(CONFIG_DEBUG_MSM_UART3)
+#if defined(CONFIG_DEBUG_MSM_UART)
 #ifdef CONFIG_MMU
 	debug_ll_addr(&msm_io_desc[size - 1].pfn,
 		      &msm_io_desc[size - 1].virtual);
Signature · 1 line
1.7.9.5
#7 lore raw

Re: [PATCH] ARM: msm: Update the references to DEBUG_MSM_UARTx

Hi Georgi,

Quoted 25 lines · Georgi Djakov

The Kconfig options DEBUG_MSM_UART1, DEBUG_MSM_UART2 and DEBUG_MSM_UART3 are removed, but they are still referenced in arch/arm/mach-msm/io.c Fix this by updating the reference to the new Kconfig option.

---
 arch/arm/mach-msm/io.c |    6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
arch/arm/mach-msm/io.c +1 -2
index 34e0947..b042dca 100644
@@ -57,8 +57,7 @@ static struct map_desc msm_io_desc[] __initdata = {
 		.length =   MSM_SHARED_RAM_SIZE,
 		.type =     MT_DEVICE,
 	},
-#if defined(CONFIG_DEBUG_MSM_UART1) || defined(CONFIG_DEBUG_MSM_UART2) || \
-		defined(CONFIG_DEBUG_MSM_UART3)
+#if defined(CONFIG_DEBUG_MSM_UART)
 	{
 		/* Must be last: virtual and pfn filled in by debug_ll_addr() */
 		.length = SZ_4K,

arch/arm/mach-msm/io.c void __init msm_map_common_io(void) · line 81

Quoted 9 lines
arch/arm/mach-msm/io.c +1 -2
@@ -76,8 +75,7 @@ void __init msm_map_common_io(void)
 	 * pages are peripheral interface or not.
 	 */
 	asm("mcr p15, 0, %0, c15, c2, 4" : : "r" (0));
-#if defined(CONFIG_DEBUG_MSM_UART1) || defined(CONFIG_DEBUG_MSM_UART2) || \
-		defined(CONFIG_DEBUG_MSM_UART3)
+#if defined(CONFIG_DEBUG_MSM_UART)
 #ifdef CONFIG_MMU
 	debug_ll_addr(&msm_io_desc[size - 1].pfn,
 		      &msm_io_desc[size - 1].virtual);

Should I now redo https://lkml.org/lkml/2014/5/15/249 by making the (outdated) checks in arch/arm/mach-msm/board-trout.c and arch/arm/mach-msm/board-trout-gpio.c also use CONFIG_DEBUG_MSM_UART?

Paul Bolle

#8 lore raw

Re: [PATCH] ARM: msm: Update the references to DEBUG_MSM_UARTx

Quoted 1 line · Paul Bolle

Hi Georgi,

Hi Paul,

Quoted 32 lines · Georgi Djakov
Quoted 30 lines

The Kconfig options DEBUG_MSM_UART1, DEBUG_MSM_UART2 and DEBUG_MSM_UART3 are removed, but they are still referenced in arch/arm/mach-msm/io.c Fix this by updating the reference to the new Kconfig option.

---
  arch/arm/mach-msm/io.c |    6 ++----
  1 file changed, 2 insertions(+), 4 deletions(-)
arch/arm/mach-msm/io.c +1 -4
index 34e0947..b042dca 100644
@@ -57,8 +57,7 @@ static struct map_desc msm_io_desc[] __initdata = {
  		.length =   MSM_SHARED_RAM_SIZE,
  		.type =     MT_DEVICE,
  	},
-#if defined(CONFIG_DEBUG_MSM_UART1) || defined(CONFIG_DEBUG_MSM_UART2) || \
-		defined(CONFIG_DEBUG_MSM_UART3)
+#if defined(CONFIG_DEBUG_MSM_UART)
  	{
  		/* Must be last: virtual and pfn filled in by debug_ll_addr() */
  		.length = SZ_4K,
@@ -76,8 +75,7 @@ void __init msm_map_common_io(void)
  	 * pages are peripheral interface or not.
  	 */
  	asm("mcr p15, 0, %0, c15, c2, 4" : : "r" (0));
-#if defined(CONFIG_DEBUG_MSM_UART1) || defined(CONFIG_DEBUG_MSM_UART2) || \
-		defined(CONFIG_DEBUG_MSM_UART3)
Quoted 9 lines

arch/arm/mach-msm/io.c void __init msm_map_common_io(void) · line 81

Quoted 4 lines
arch/arm/mach-msm/io.c +1 -0
+#if defined(CONFIG_DEBUG_MSM_UART)
  #ifdef CONFIG_MMU
  	debug_ll_addr(&msm_io_desc[size - 1].pfn,
  		      &msm_io_desc[size - 1].virtual);

Should I now redo https://lkml.org/lkml/2014/5/15/249 by making the (outdated) checks in arch/arm/mach-msm/board-trout.c and arch/arm/mach-msm/board-trout-gpio.c also use CONFIG_DEBUG_MSM_UART?

Hm, not exactly. It seems that this board has multiple UARTs that can be used for debug, so we should also check for the UART PHYS address. I will prepare a patch to fix this too.

Thanks,
Georgi

#9 lore raw

PATCH v2 1/1 ARM: msm: Update the references to DEBUG_MSM_UARTx

In reply to Paul Bolle

The Kconfig options DEBUG_MSM_UART1, DEBUG_MSM_UART2, DEBUG_MSM_UART3, MSM_DEBUG_UART1, MSM_DEBUG_UART2 and MSM_DEBUG_UART3 are removed, but they are still referenced in the following files:

	arch/arm/mach-msm/io.c,
	arch/arm/mach-msm/board-trout.c
	arch/arm/mach-msm/board-trout-gpio.c

Fix this by updating the reference to the new Kconfig option.

---

Changes since v1:
- Fixed similar issue in board-trout.c and board-trout-gpio.c

Applies to next-20140526.

 arch/arm/mach-msm/board-trout-gpio.c |    2 +-
 arch/arm/mach-msm/board-trout.c      |    2 +-
 arch/arm/mach-msm/io.c               |    6 ++----
 3 files changed, 4 insertions(+), 6 deletions(-)
arch/arm/mach-msm/board-trout-gpio.c +1 -1
index 87e1d01..e24930e 100644
@@ -94,7 +94,7 @@ static int trout_gpio_to_irq(struct gpio_chip *chip, unsigned offset)
 	}
 
 static struct msm_gpio_chip msm_gpio_banks[] = {
-#if defined(CONFIG_MSM_DEBUG_UART1)
+#if defined(CONFIG_DEBUG_MSM_UART) && (CONFIG_DEBUG_UART_PHYS == 0xa9a00000)
 	/* H2W pins <-> UART1 */
 	TROUT_GPIO_BANK("MISC2", 0x00,   TROUT_GPIO_MISC2_BASE, 0x40),
 #else
arch/arm/mach-msm/board-trout.c +1 -1
index 015d544..8369dfd 100644
@@ -90,7 +90,7 @@ static void __init trout_map_io(void)
 	msm_map_common_io();
 	iotable_init(trout_io_desc, ARRAY_SIZE(trout_io_desc));
 
-#ifdef CONFIG_MSM_DEBUG_UART3
+#if defined(CONFIG_DEBUG_MSM_UART) && (CONFIG_DEBUG_UART_PHYS == 0xa9c00000)
 	/* route UART3 to the "H2W" extended usb connector */
 	writeb(0x80, TROUT_CPLD_BASE + 0x00);
 #endif
arch/arm/mach-msm/io.c +2 -4
index 34e0947..b042dca 100644
@@ -57,8 +57,7 @@ static struct map_desc msm_io_desc[] __initdata = {
 		.length =   MSM_SHARED_RAM_SIZE,
 		.type =     MT_DEVICE,
 	},
-#if defined(CONFIG_DEBUG_MSM_UART1) || defined(CONFIG_DEBUG_MSM_UART2) || \
-		defined(CONFIG_DEBUG_MSM_UART3)
+#if defined(CONFIG_DEBUG_MSM_UART)
 	{
 		/* Must be last: virtual and pfn filled in by debug_ll_addr() */
 		.length = SZ_4K,
@@ -76,8 +75,7 @@ void __init msm_map_common_io(void)
 	 * pages are peripheral interface or not.
 	 */
 	asm("mcr p15, 0, %0, c15, c2, 4" : : "r" (0));
-#if defined(CONFIG_DEBUG_MSM_UART1) || defined(CONFIG_DEBUG_MSM_UART2) || \
-		defined(CONFIG_DEBUG_MSM_UART3)
+#if defined(CONFIG_DEBUG_MSM_UART)
 #ifdef CONFIG_MMU
 	debug_ll_addr(&msm_io_desc[size - 1].pfn,
 		      &msm_io_desc[size - 1].virtual);
Signature · 1 line
1.7.9.5
#10 lore raw

Re: [PATCH v2] ARM: msm: Update the references to DEBUG_MSM_UARTx

Quoted 7 lines · Georgi Djakov

The Kconfig options DEBUG_MSM_UART1, DEBUG_MSM_UART2, DEBUG_MSM_UART3, MSM_DEBUG_UART1, MSM_DEBUG_UART2 and MSM_DEBUG_UART3 are removed, but they are still referenced in the following files:

	arch/arm/mach-msm/io.c,
	arch/arm/mach-msm/board-trout.c
	arch/arm/mach-msm/board-trout-gpio.c
Quoted 5 lines

Fix this by updating the reference to the new Kconfig option.

---

This patch is included neither in v3.16-rc1 nor in next-20140619. Did it run into problems or is it already queued somewhere?

Quoted 51 lines

Changes since v1:
- Fixed similar issue in board-trout.c and board-trout-gpio.c

Applies to next-20140526.

 arch/arm/mach-msm/board-trout-gpio.c |    2 +-
 arch/arm/mach-msm/board-trout.c      |    2 +-
 arch/arm/mach-msm/io.c               |    6 ++----
 3 files changed, 4 insertions(+), 6 deletions(-)
arch/arm/mach-msm/board-trout-gpio.c +1 -1
index 87e1d01..e24930e 100644
@@ -94,7 +94,7 @@ static int trout_gpio_to_irq(struct gpio_chip *chip, unsigned offset)
 	}
 
 static struct msm_gpio_chip msm_gpio_banks[] = {
-#if defined(CONFIG_MSM_DEBUG_UART1)
+#if defined(CONFIG_DEBUG_MSM_UART) && (CONFIG_DEBUG_UART_PHYS == 0xa9a00000)
 	/* H2W pins <-> UART1 */
 	TROUT_GPIO_BANK("MISC2", 0x00,   TROUT_GPIO_MISC2_BASE, 0x40),
 #else
arch/arm/mach-msm/board-trout.c +1 -1
index 015d544..8369dfd 100644
@@ -90,7 +90,7 @@ static void __init trout_map_io(void)
 	msm_map_common_io();
 	iotable_init(trout_io_desc, ARRAY_SIZE(trout_io_desc));
 
-#ifdef CONFIG_MSM_DEBUG_UART3
+#if defined(CONFIG_DEBUG_MSM_UART) && (CONFIG_DEBUG_UART_PHYS == 0xa9c00000)
 	/* route UART3 to the "H2W" extended usb connector */
 	writeb(0x80, TROUT_CPLD_BASE + 0x00);
 #endif
arch/arm/mach-msm/io.c +1 -2
index 34e0947..b042dca 100644
@@ -57,8 +57,7 @@ static struct map_desc msm_io_desc[] __initdata = {
 		.length =   MSM_SHARED_RAM_SIZE,
 		.type =     MT_DEVICE,
 	},
-#if defined(CONFIG_DEBUG_MSM_UART1) || defined(CONFIG_DEBUG_MSM_UART2) || \
-		defined(CONFIG_DEBUG_MSM_UART3)
+#if defined(CONFIG_DEBUG_MSM_UART)
 	{
 		/* Must be last: virtual and pfn filled in by debug_ll_addr() */
 		.length = SZ_4K,

arch/arm/mach-msm/io.c void __init msm_map_common_io(void) · line 81

Quoted 9 lines
arch/arm/mach-msm/io.c +1 -2
@@ -76,8 +75,7 @@ void __init msm_map_common_io(void)
 	 * pages are peripheral interface or not.
 	 */
 	asm("mcr p15, 0, %0, c15, c2, 4" : : "r" (0));
-#if defined(CONFIG_DEBUG_MSM_UART1) || defined(CONFIG_DEBUG_MSM_UART2) || \
-		defined(CONFIG_DEBUG_MSM_UART3)
+#if defined(CONFIG_DEBUG_MSM_UART)
 #ifdef CONFIG_MMU
 	debug_ll_addr(&msm_io_desc[size - 1].pfn,
 		      &msm_io_desc[size - 1].virtual);

Paul Bolle

#11 lore raw

Re: [PATCH v2] ARM: msm: Update the references to DEBUG_MSM_UARTx

Quoted 8 lines · Paul Bolle
Quoted 7 lines · Georgi Djakov

The Kconfig options DEBUG_MSM_UART1, DEBUG_MSM_UART2, DEBUG_MSM_UART3, MSM_DEBUG_UART1, MSM_DEBUG_UART2 and MSM_DEBUG_UART3 are removed, but they are still referenced in the following files:

	arch/arm/mach-msm/io.c,
	arch/arm/mach-msm/board-trout.c
	arch/arm/mach-msm/board-trout-gpio.c
Quoted 7 lines
Quoted 5 lines

Fix this by updating the reference to the new Kconfig option.

---

This patch is included neither in v3.16-rc1 nor in next-20140619.

Still true for v3.17-rc3 and next-20140904.

Quoted 1 line

Did it run into problems or is it already queued somewhere?

This issue was reported three months ago but is still present. Should I perhaps submit the trivial patch that removes the checks for these macros and the code they now hide?

Quoted 52 lines
Quoted 52 lines

Changes since v1:
- Fixed similar issue in board-trout.c and board-trout-gpio.c

Applies to next-20140526.

 arch/arm/mach-msm/board-trout-gpio.c |    2 +-
 arch/arm/mach-msm/board-trout.c      |    2 +-
 arch/arm/mach-msm/io.c               |    6 ++----
 3 files changed, 4 insertions(+), 6 deletions(-)
arch/arm/mach-msm/board-trout-gpio.c +1 -1
index 87e1d01..e24930e 100644
@@ -94,7 +94,7 @@ static int trout_gpio_to_irq(struct gpio_chip *chip, unsigned offset)
 	}
 
 static struct msm_gpio_chip msm_gpio_banks[] = {
-#if defined(CONFIG_MSM_DEBUG_UART1)
+#if defined(CONFIG_DEBUG_MSM_UART) && (CONFIG_DEBUG_UART_PHYS == 0xa9a00000)
 	/* H2W pins <-> UART1 */
 	TROUT_GPIO_BANK("MISC2", 0x00,   TROUT_GPIO_MISC2_BASE, 0x40),
 #else
arch/arm/mach-msm/board-trout.c +1 -1
index 015d544..8369dfd 100644
@@ -90,7 +90,7 @@ static void __init trout_map_io(void)
 	msm_map_common_io();
 	iotable_init(trout_io_desc, ARRAY_SIZE(trout_io_desc));
 
-#ifdef CONFIG_MSM_DEBUG_UART3
+#if defined(CONFIG_DEBUG_MSM_UART) && (CONFIG_DEBUG_UART_PHYS == 0xa9c00000)
 	/* route UART3 to the "H2W" extended usb connector */
 	writeb(0x80, TROUT_CPLD_BASE + 0x00);
 #endif
arch/arm/mach-msm/io.c +1 -2
index 34e0947..b042dca 100644
@@ -57,8 +57,7 @@ static struct map_desc msm_io_desc[] __initdata = {
 		.length =   MSM_SHARED_RAM_SIZE,
 		.type =     MT_DEVICE,
 	},
-#if defined(CONFIG_DEBUG_MSM_UART1) || defined(CONFIG_DEBUG_MSM_UART2) || \
-		defined(CONFIG_DEBUG_MSM_UART3)
+#if defined(CONFIG_DEBUG_MSM_UART)
 	{
 		/* Must be last: virtual and pfn filled in by debug_ll_addr() */
 		.length = SZ_4K,
@@ -76,8 +75,7 @@ void __init msm_map_common_io(void)
 	 * pages are peripheral interface or not.
Quoted 8 lines

arch/arm/mach-msm/io.c void __init msm_map_common_io(void) · line 81

Quoted 8 lines
arch/arm/mach-msm/io.c +1 -2
 	 */
 	asm("mcr p15, 0, %0, c15, c2, 4" : : "r" (0));
-#if defined(CONFIG_DEBUG_MSM_UART1) || defined(CONFIG_DEBUG_MSM_UART2) || \
-		defined(CONFIG_DEBUG_MSM_UART3)
+#if defined(CONFIG_DEBUG_MSM_UART)
 #ifdef CONFIG_MMU
 	debug_ll_addr(&msm_io_desc[size - 1].pfn,
 		      &msm_io_desc[size - 1].virtual);

Paul Bolle

#12 lore raw

Re: [PATCH v2] ARM: msm: Update the references to DEBUG_MSM_UARTx

Quoted 11 lines · Paul Bolle
Quoted 10 lines · Paul Bolle
Quoted 9 lines · Georgi Djakov

The Kconfig options DEBUG_MSM_UART1, DEBUG_MSM_UART2, DEBUG_MSM_UART3, MSM_DEBUG_UART1, MSM_DEBUG_UART2 and MSM_DEBUG_UART3 are removed, but they are still referenced in the following files:

	arch/arm/mach-msm/io.c,
	arch/arm/mach-msm/board-trout.c
	arch/arm/mach-msm/board-trout-gpio.c

Fix this by updating the reference to the new Kconfig option.

Quoted 8 lines
Quoted 5 lines
Quoted 3 lines

---

This patch is included neither in v3.16-rc1 nor in next-20140619.

Still true for v3.17-rc3 and next-20140904.

Hi Paul,
It was pulled yesterday into the msm/cleanup branch of the arm-soc tree.

Thanks,
Georgi