linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [GIT PULL] ARC updates for 4.7-rc1
@ 2016-05-19  6:24 Vineet Gupta
  2016-05-19 16:50 ` Linus Torvalds
  2016-05-19 20:34 ` Linus Torvalds
  0 siblings, 2 replies; 4+ messages in thread
From: Vineet Gupta @ 2016-05-19  6:24 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: Noam Camus, Gilad Ben Yossef, Tal Zilcer, Jose Abreu,
	Alexey Brodkin, Jason Cooper, Marc Zyngier, Daniel Lezcano,
	arcml, lkml

Hi Linus,

We have a relatively big changeset for ARC for 4.7.

The highlight is support for EZChip (now Mellanox) NPS-400 network processor, a
400-Gb throughput C-programmable packet processor based on ARC700 cores from
Synopsys (http://www.mellanox.com/related-docs/prod_npu/PB_NPS-400.pdf)

Also present are irqchip and clocksource drivers for NPS as agreed with respective
maintainers to go via ARC tree due to an soc header dependency.
I have the needed ACKs from Jason, Marc, Daniel. You might run into a trivial
merge conflict in drivers/irqchip/*

This EZChip platform support required some deep changes in ARC architecture code
and also opportunity to cleanup past sins (legacy irq domains, missing irq domain
lookup, hard coded timer irqs...)

Please pull.

Thx,
-Vineet

--------->
The following changes since commit 44549e8f5eea4e0a41b487b63e616cb089922b99:

  Linux 4.6-rc7 (2016-05-08 14:38:32 -0700)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/vgupta/arc.git/ tags/arc-4.7-rc1

for you to fetch changes up to 776d7f1694a7d678291354a05f0243965708306a:

  arc: axs103_smp: Fix CPU frequency to 100MHz for dual-core (2016-05-18 10:50:18
+0530)

----------------------------------------------------------------
ARC updates for 4.7-rc1

- Support for EZChip (now Mellanox) NPS-400 Network processor based on ARC700
    http://www.mellanox.com/related-docs/prod_npu/PB_NPS-400.pdf
- NPS interrupt controller and clocksource drivers
- ARC timers probed off DT
- ARC iqrchips switching to linear domain (upgrade from legacy domains)

----------------------------------------------------------------
Alexey Brodkin (4):
      ARC: use fixed frequencies in arc_set_early_base_baud()
      ARC: Don't try to use value of top level clock-frequency in DT
      ARC: RIP arc_{get|set}_core_freq() clk API
      arc: axs103_smp: Fix CPU frequency to 100MHz for dual-core

Jose Abreu (1):
      arc: axs10x: Add DT bindings for I2S PLL Clock

Noam Camus (18):
      ARC: clockevent: switch to cpu notifier for clockevent setup
      ARC: clockevent: Prepare for DT based probe
      Documentation: Add EZchip vendor to binding list
      soc: Support for EZchip SoC
      clocksource: Add NPS400 timers driver
      irqchip: add nps Internal and external irqchips
      ARC: clean out UAPI byteorder.h clean off Kconfig symbol
      ARC: Make vmalloc size configurable
      ARC: rwlock: disable interrupts in !LLSC variant
      ARC: Mark secondary cpu online only after all HW setup is done
      ARC: [plat-eznps] Add eznps board defconfig and dts
      ARC: [plat-eznps] Add eznps platform
      ARC: [plat-eznps] Use dedicated user stack top
      ARC: [plat-eznps] Use dedicated atomic/bitops/cmpxchg
      ARC: [plat-eznps] Use dedicated SMP barriers
      ARC: [plat-eznps] Use dedicated identity auxiliary register.
      ARC: [plat-eznps] Use dedicated COMMAND_LINE_SIZE
      ARC: Add eznps platform to Kconfig and Makefile

Tal Zilcer (1):
      ARC: [plat-eznps] Use dedicated cpu_relax()

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [GIT PULL] ARC updates for 4.7-rc1
  2016-05-19  6:24 [GIT PULL] ARC updates for 4.7-rc1 Vineet Gupta
@ 2016-05-19 16:50 ` Linus Torvalds
  2016-05-19 20:34 ` Linus Torvalds
  1 sibling, 0 replies; 4+ messages in thread
From: Linus Torvalds @ 2016-05-19 16:50 UTC (permalink / raw)
  To: Vineet Gupta
  Cc: Noam Camus, Gilad Ben Yossef, Tal Zilcer, Jose Abreu,
	Alexey Brodkin, Jason Cooper, Marc Zyngier, Daniel Lezcano,
	arcml, lkml

On Wed, May 18, 2016 at 11:24 PM, Vineet Gupta
<Vineet.Gupta1@synopsys.com> wrote:
> Hi Linus,
>
> We have a relatively big changeset for ARC for 4.7.

.. this pull request is missing the diffstat, though, so it's hard to
see that your "big changeset" matches what I actually get.

To make matters worse, the shortlog doesn't match what I get _either_.
It looks like the message was just cut off in the middle, and it's
missing the last third of the shortlog and the diffstat it is supposed
to have.

I did pull it, because the last commit info matched, and the diffstat
and shortlog look reasonable despite not matching what is in the pull
request.

But please please PLEASE make sure this doesn't keep happening.

               Linus

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [GIT PULL] ARC updates for 4.7-rc1
  2016-05-19  6:24 [GIT PULL] ARC updates for 4.7-rc1 Vineet Gupta
  2016-05-19 16:50 ` Linus Torvalds
@ 2016-05-19 20:34 ` Linus Torvalds
  2016-05-20  4:03   ` Vineet Gupta
  1 sibling, 1 reply; 4+ messages in thread
From: Linus Torvalds @ 2016-05-19 20:34 UTC (permalink / raw)
  To: Vineet Gupta
  Cc: Noam Camus, Gilad Ben Yossef, Tal Zilcer, Jose Abreu,
	Alexey Brodkin, Jason Cooper, Marc Zyngier, Daniel Lezcano,
	arcml, lkml

On Wed, May 18, 2016 at 11:24 PM, Vineet Gupta
<Vineet.Gupta1@synopsys.com> wrote:
>
> The highlight is support for EZChip (now Mellanox) NPS-400 network processor [..]

Oh, and that brought in the

    drivers/irqchip/irq-eznps.c

driver that is compile-test enabled.

And that driver is not 64-bit clean:

  In file included from drivers/irqchip/irq-eznps.c:39:0:
  include/soc/nps/common.h: In function ‘nps_host_reg_non_cl’:
  include/soc/nps/common.h:148:9: warning: cast to pointer from
integer of different size [-Wint-to-pointer-cast]
    return (void *)reg_address.value;
           ^
  include/soc/nps/common.h: In function ‘nps_host_reg’:
  include/soc/nps/common.h:162:9: warning: cast to pointer from
integer of different size [-Wint-to-pointer-cast]
    return (void *)reg_address.value;
           ^

so it needs to either be disabled or fixed. Annoying everybody else
with warnings is not an option.

            Linus

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [GIT PULL] ARC updates for 4.7-rc1
  2016-05-19 20:34 ` Linus Torvalds
@ 2016-05-20  4:03   ` Vineet Gupta
  0 siblings, 0 replies; 4+ messages in thread
From: Vineet Gupta @ 2016-05-20  4:03 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: Arnd Bergmann, Noam Camus, Gilad Ben Yossef, Tal Zilcer,
	Jose Abreu, Alexey Brodkin, Jason Cooper, Marc Zyngier,
	Daniel Lezcano, arcml, lkml, Thomas Gleixner

On Friday 20 May 2016 02:04 AM, Linus Torvalds wrote:
> On Wed, May 18, 2016 at 11:24 PM, Vineet Gupta
> <Vineet.Gupta1@synopsys.com> wrote:
>>
>> The highlight is support for EZChip (now Mellanox) NPS-400 network processor [..]
> 
> Oh, and that brought in the
> 
>     drivers/irqchip/irq-eznps.c
> 
> driver that is compile-test enabled.
> 
> And that driver is not 64-bit clean:
> 
>   In file included from drivers/irqchip/irq-eznps.c:39:0:
>   include/soc/nps/common.h: In function ‘nps_host_reg_non_cl’:
>   include/soc/nps/common.h:148:9: warning: cast to pointer from
> integer of different size [-Wint-to-pointer-cast]
>     return (void *)reg_address.value;
>            ^
>   include/soc/nps/common.h: In function ‘nps_host_reg’:
>   include/soc/nps/common.h:162:9: warning: cast to pointer from
> integer of different size [-Wint-to-pointer-cast]
>     return (void *)reg_address.value;
>            ^
> 
> so it needs to either be disabled or fixed. Annoying everybody else
> with warnings is not an option.

Sorry about that. We already have a fix from Arnd which was just waiting for
things to settle down per discussion here:

https://lkml.org/lkml/2016/5/13/132

I guess it was wrong call on my part to not include it in this pull request.

Another lesson learnt to not add other subsys stuff via your tree. I should have
merged the new soc header in 4.6 and paved way for NPS changes via other trees.
Live and learn !

Is inline patch below OK or else I can send a pull request:

----------->
>From 69d911ecf3e2a0dd6bf99b2e5c36fbabf09dfa75 Mon Sep 17 00:00:00 2001
From: Arnd Bergmann <arnd@arndb.de>
Date: Thu, 12 May 2016 23:03:35 +0200
Subject: [PATCH] irqchip: nps: add 64BIT dependency

The newly added nps irqchip driver causes build warnings on ARM64.

include/soc/nps/common.h: In function 'nps_host_reg_non_cl':
include/soc/nps/common.h:148:9: warning: cast to pointer from integer of different
size [-Wint-to-pointer-cast]

As the driver is only used on ARC, we don't need to see it without
COMPILE_TEST elsewhere, and we can avoid the warnings by only
building on 32-bit architectures even with CONFIG_COMPILE_TEST.

Acked-by: Marc Zyngier <narc.zyngier@arm.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
---
 drivers/irqchip/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/irqchip/Kconfig b/drivers/irqchip/Kconfig
index 1ab632a94db3..8e97c2ab560c 100644
--- a/drivers/irqchip/Kconfig
+++ b/drivers/irqchip/Kconfig
@@ -247,6 +247,7 @@ config MVEBU_ODMI

 config EZNPS_GIC
 	bool "NPS400 Global Interrupt Manager (GIM)"
+	depends on ARC || (COMPILE_TEST && !64BIT)
 	select IRQ_DOMAIN
 	help
 	  Support the EZchip NPS400 global interrupt controller
-- 
2.5.0

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-05-20  4:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-19  6:24 [GIT PULL] ARC updates for 4.7-rc1 Vineet Gupta
2016-05-19 16:50 ` Linus Torvalds
2016-05-19 20:34 ` Linus Torvalds
2016-05-20  4:03   ` Vineet Gupta

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).