Skip to contentSkip to conversation

mailbox: Add Tegra HSP driver

GIT PULL Applied Thierry Reding 3 participants 31 messages Nov 18, 2016 – Dec 4, 2016 Tegra architecture support

lore
Share & tools
lore
#0 lore raw

Hi ARM SoC maintainers,

The following changes since commit 1001354ca34179f3db924eb66672442a173147dc:

Linux 4.9-rc1 (2016-10-15 12:17:50 -0700)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux.git tags/tegra-for-4.10-mailbox

for you to fetch changes up to 68050eb6c611527232fe5574c7306e97e47499ef:

mailbox: tegra-hsp: Use after free in tegra_hsp_remove_doorbells() (2016-11-18 14:32:13 +0100)

Thanks,
Thierry

----------------------------------------------------------------
mailbox: Add Tegra HSP driver

This contains the device tree bindings and a driver for the Tegra HSP, a hardware block that provides hardware synchronization primitives and is the foundation for inter-processor communication between CPU and BPMP.

----------------------------------------------------------------
Dan Carpenter (1):
mailbox: tegra-hsp: Use after free in tegra_hsp_remove_doorbells()

Joseph Lo (2):
soc/tegra: Add Tegra186 support
dt-bindings: mailbox: Add Tegra HSP binding

Thierry Reding (2):
Merge branch 'for-4.10/soc' into for-4.10/mailbox
mailbox: Add Tegra HSP driver

 .../bindings/mailbox/nvidia,tegra186-hsp.txt       |  52 +++
 drivers/mailbox/Kconfig                            |   9 +
 drivers/mailbox/Makefile                           |   2 +
 drivers/mailbox/tegra-hsp.c                        | 479 +++++++++++++++++++++
 drivers/soc/tegra/Kconfig                          |  14 +
 include/dt-bindings/mailbox/tegra186-hsp.h         |  24 ++
 6 files changed, 580 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/mailbox/nvidia,tegra186-hsp.txt
 create mode 100644 drivers/mailbox/tegra-hsp.c
 create mode 100644 include/dt-bindings/mailbox/tegra186-hsp.h
#1 lore raw

[GIT PULL 2/10] firmware: Add Tegra IVC and BPMP support

Hi ARM SoC maintainers,

The following changes since commit 1001354ca34179f3db924eb66672442a173147dc:

Linux 4.9-rc1 (2016-10-15 12:17:50 -0700)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux.git tags/tegra-for-4.10-firmware

for you to fetch changes up to b704ed8095ee91af5f3f7343bb3be23aae1cb26d:

dt-bindings: firmware: Allow child nodes inside the Tegra BPMP (2016-11-18 14:33:44 +0100)

Thanks,
Thierry

----------------------------------------------------------------
firmware: Add Tegra IVC and BPMP support

IVC is an inter-processor communication protocol that uses shared memory to exchange data between processors. The BPMP driver makes use of this to communicate with the Boot and Power Management Processor (BPMP) and uses an additional hardware synchronization primitive from the HSP block to signal availability of new data (doorbell).

Firmware running on the BPMP implements a number of services such as the control of clocks and resets within the system, or the ability to ungate or gate power partitions.

----------------------------------------------------------------
Dan Carpenter (1):
mailbox: tegra-hsp: Use after free in tegra_hsp_remove_doorbells()

Joseph Lo (3):
soc/tegra: Add Tegra186 support
dt-bindings: mailbox: Add Tegra HSP binding
dt-bindings: firmware: Add bindings for Tegra BPMP

Stephen Warren (2):
dt-bindings: Add power domains to Tegra BPMP firmware
dt-bindings: firmware: Allow child nodes inside the Tegra BPMP

Thierry Reding (5):
Merge branch 'for-4.10/soc' into for-4.10/mailbox
mailbox: Add Tegra HSP driver
Merge branch 'for-4.10/mailbox' into for-4.10/firmware
firmware: tegra: Add IVC library
firmware: tegra: Add BPMP support

 .../bindings/firmware/nvidia,tegra186-bpmp.txt     |  108 ++
 .../bindings/mailbox/nvidia,tegra186-hsp.txt       |   52 +
 drivers/firmware/Kconfig                           |    1 +
 drivers/firmware/Makefile                          |    1 +
 drivers/firmware/tegra/Kconfig                     |   25 +
 drivers/firmware/tegra/Makefile                    |    2 +
 drivers/firmware/tegra/bpmp.c                      |  868 +++++++++++
 drivers/firmware/tegra/ivc.c                       |  695 +++++++++
 drivers/mailbox/Kconfig                            |    9 +
 drivers/mailbox/Makefile                           |    2 +
 drivers/mailbox/tegra-hsp.c                        |  479 ++++++
 drivers/soc/tegra/Kconfig                          |   14 +
 include/dt-bindings/clock/tegra186-clock.h         |  940 ++++++++++++
 include/dt-bindings/mailbox/tegra186-hsp.h         |   24 +
 include/dt-bindings/power/tegra186-powergate.h     |   39 +
 include/dt-bindings/reset/tegra186-reset.h         |  217 +++
 include/soc/tegra/bpmp-abi.h                       | 1601 ++++++++++++++++++++
 include/soc/tegra/bpmp.h                           |  141 ++
 include/soc/tegra/ivc.h                            |  109 ++
 19 files changed, 5327 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/firmware/nvidia,tegra186-bpmp.txt
 create mode 100644 Documentation/devicetree/bindings/mailbox/nvidia,tegra186-hsp.txt
 create mode 100644 drivers/firmware/tegra/Kconfig
 create mode 100644 drivers/firmware/tegra/Makefile
 create mode 100644 drivers/firmware/tegra/bpmp.c
 create mode 100644 drivers/firmware/tegra/ivc.c
 create mode 100644 drivers/mailbox/tegra-hsp.c
 create mode 100644 include/dt-bindings/clock/tegra186-clock.h
 create mode 100644 include/dt-bindings/mailbox/tegra186-hsp.h
 create mode 100644 include/dt-bindings/power/tegra186-powergate.h
 create mode 100644 include/dt-bindings/reset/tegra186-reset.h
 create mode 100644 include/soc/tegra/bpmp-abi.h
 create mode 100644 include/soc/tegra/bpmp.h
 create mode 100644 include/soc/tegra/ivc.h
#2 lore raw

[GIT PULL 2/10] firmware: Add Tegra IVC and BPMP support

Quoted 43 lines · Thierry Reding

Hi ARM SoC maintainers,

The following changes since commit 1001354ca34179f3db924eb66672442a173147dc:

Linux 4.9-rc1 (2016-10-15 12:17:50 -0700)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux.git tags/tegra-for-4.10-firmware

for you to fetch changes up to b704ed8095ee91af5f3f7343bb3be23aae1cb26d:

dt-bindings: firmware: Allow child nodes inside the Tegra BPMP (2016-11-18 14:33:44 +0100)

Thanks,
Thierry

----------------------------------------------------------------
firmware: Add Tegra IVC and BPMP support

IVC is an inter-processor communication protocol that uses shared memory to exchange data between processors. The BPMP driver makes use of this to communicate with the Boot and Power Management Processor (BPMP) and uses an additional hardware synchronization primitive from the HSP block to signal availability of new data (doorbell).

Firmware running on the BPMP implements a number of services such as the control of clocks and resets within the system, or the ability to ungate or gate power partitions.

----------------------------------------------------------------
Dan Carpenter (1):
mailbox: tegra-hsp: Use after free in tegra_hsp_remove_doorbells()

Joseph Lo (3):
soc/tegra: Add Tegra186 support
dt-bindings: mailbox: Add Tegra HSP binding
dt-bindings: firmware: Add bindings for Tegra BPMP

Stephen Warren (2):
dt-bindings: Add power domains to Tegra BPMP firmware
dt-bindings: firmware: Allow child nodes inside the Tegra BPMP

Quoted 6 lines

Thierry Reding (5):
Merge branch 'for-4.10/soc' into for-4.10/mailbox
mailbox: Add Tegra HSP driver
Merge branch 'for-4.10/mailbox' into for-4.10/firmware
firmware: tegra: Add IVC library
firmware: tegra: Add BPMP support

Hi,

Again the format of the pull request here is a little confusing, since it's a cumulative shotlog and diffstat, while you already sent the bulk of this as part of the driver branch (1/10). It'd have been better to use that branch as the base when you generate the pull request since that's the delta we see when we merge it in.

Also, I can't seem to find the key you use to sign these tags with, it isn't uploaded on pgp.mit.edu. Can you remedy that please, and get it signed as needed?

All that being said, I've merged this into next/drivers. Thanks!

-Olof

#3 lore raw

[GIT PULL 2/10] firmware: Add Tegra IVC and BPMP support

Quoted 51 lines · Olof Johansson
Quoted 43 lines · Thierry Reding

Hi ARM SoC maintainers,

The following changes since commit 1001354ca34179f3db924eb66672442a173147dc:

Linux 4.9-rc1 (2016-10-15 12:17:50 -0700)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux.git tags/tegra-for-4.10-firmware

for you to fetch changes up to b704ed8095ee91af5f3f7343bb3be23aae1cb26d:

dt-bindings: firmware: Allow child nodes inside the Tegra BPMP (2016-11-18 14:33:44 +0100)

Thanks,
Thierry

----------------------------------------------------------------
firmware: Add Tegra IVC and BPMP support

IVC is an inter-processor communication protocol that uses shared memory to exchange data between processors. The BPMP driver makes use of this to communicate with the Boot and Power Management Processor (BPMP) and uses an additional hardware synchronization primitive from the HSP block to signal availability of new data (doorbell).

Firmware running on the BPMP implements a number of services such as the control of clocks and resets within the system, or the ability to ungate or gate power partitions.

----------------------------------------------------------------
Dan Carpenter (1):
mailbox: tegra-hsp: Use after free in tegra_hsp_remove_doorbells()

Joseph Lo (3):
soc/tegra: Add Tegra186 support
dt-bindings: mailbox: Add Tegra HSP binding
dt-bindings: firmware: Add bindings for Tegra BPMP

Stephen Warren (2):
dt-bindings: Add power domains to Tegra BPMP firmware
dt-bindings: firmware: Allow child nodes inside the Tegra BPMP

Quoted 6 lines

Thierry Reding (5):
Merge branch 'for-4.10/soc' into for-4.10/mailbox
mailbox: Add Tegra HSP driver
Merge branch 'for-4.10/mailbox' into for-4.10/firmware
firmware: tegra: Add IVC library
firmware: tegra: Add BPMP support

Quoted 7 lines

Hi,

Again the format of the pull request here is a little confusing, since it's a cumulative shotlog and diffstat, while you already sent the bulk of this as part of the driver branch (1/10). It'd have been better to use that branch as the base when you generate the pull request since that's the delta we see when we merge it in.

In the past there had been occasions where it hadn't been clear what a given branch was going to pull in as additional dependencies, so adding the complete shortlog seemed like a good way to document this in a more explicit way.

If you prefer working things out yourself I can tweak the scripts to generate the pull requests on top of their respective dependencies.

Quoted 3 lines

Also, I can't seem to find the key you use to sign these tags with, it isn't uploaded on pgp.mit.edu. Can you remedy that please, and get it signed as needed?

Works for me:

	http://pgp.mit.edu/pks/lookup?op=get&search=0xDD23ACD77F3EB3A1

Thierry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20161121/a9fa1298/attachment.sig>

#4 lore raw

[GIT PULL 2/10] firmware: Add Tegra IVC and BPMP support

Quoted 60 lines · Thierry Reding
Quoted 51 lines · Olof Johansson
Quoted 43 lines · Thierry Reding

Hi ARM SoC maintainers,

The following changes since commit 1001354ca34179f3db924eb66672442a173147dc:

Linux 4.9-rc1 (2016-10-15 12:17:50 -0700)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux.git tags/tegra-for-4.10-firmware

for you to fetch changes up to b704ed8095ee91af5f3f7343bb3be23aae1cb26d:

dt-bindings: firmware: Allow child nodes inside the Tegra BPMP (2016-11-18 14:33:44 +0100)

Thanks,
Thierry

----------------------------------------------------------------
firmware: Add Tegra IVC and BPMP support

IVC is an inter-processor communication protocol that uses shared memory to exchange data between processors. The BPMP driver makes use of this to communicate with the Boot and Power Management Processor (BPMP) and uses an additional hardware synchronization primitive from the HSP block to signal availability of new data (doorbell).

Firmware running on the BPMP implements a number of services such as the control of clocks and resets within the system, or the ability to ungate or gate power partitions.

----------------------------------------------------------------
Dan Carpenter (1):
mailbox: tegra-hsp: Use after free in tegra_hsp_remove_doorbells()

Joseph Lo (3):
soc/tegra: Add Tegra186 support
dt-bindings: mailbox: Add Tegra HSP binding
dt-bindings: firmware: Add bindings for Tegra BPMP

Stephen Warren (2):
dt-bindings: Add power domains to Tegra BPMP firmware
dt-bindings: firmware: Allow child nodes inside the Tegra BPMP

Quoted 6 lines

Thierry Reding (5):
Merge branch 'for-4.10/soc' into for-4.10/mailbox
mailbox: Add Tegra HSP driver
Merge branch 'for-4.10/mailbox' into for-4.10/firmware
firmware: tegra: Add IVC library
firmware: tegra: Add BPMP support

Quoted 7 lines

Hi,

Again the format of the pull request here is a little confusing, since it's a cumulative shotlog and diffstat, while you already sent the bulk of this as part of the driver branch (1/10). It'd have been better to use that branch as the base when you generate the pull request since that's the delta we see when we merge it in.

Quoted 7 lines

In the past there had been occasions where it hadn't been clear what a given branch was going to pull in as additional dependencies, so adding the complete shortlog seemed like a good way to document this in a more explicit way.

If you prefer working things out yourself I can tweak the scripts to generate the pull requests on top of their respective dependencies.

It's really about the order we'll merge the patches and the diffstat that git merge will generate and display (which is the one I usually verify against).

So being clear is definitely useful, but doing the diffstat on the incremental changes is still preferred.

Quoted 7 lines
Quoted 3 lines

Also, I can't seem to find the key you use to sign these tags with, it isn't uploaded on pgp.mit.edu. Can you remedy that please, and get it signed as needed?

Works for me:

	http://pgp.mit.edu/pks/lookup?op=get&search=0xDD23ACD77F3EB3A1

Odd, I searched for it and didn't find it. But yeah, it's there.

-Olof

#5 lore raw

[GIT PULL 3/10] reset: Add Tegra BPMP reset driver

In reply to Thierry Reding

Hi ARM SoC maintainers,

The following changes since commit 1001354ca34179f3db924eb66672442a173147dc:

Linux 4.9-rc1 (2016-10-15 12:17:50 -0700)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux.git tags/tegra-for-4.10-reset

for you to fetch changes up to dc606c5205536a828c17bd96f06559dafaf75fb7:

reset: Add Tegra BPMP reset driver (2016-11-18 14:34:56 +0100)

Thanks,
Thierry

----------------------------------------------------------------
reset: Add Tegra BPMP reset driver

This contains a patch which implements a reset driver using the services provided by the BPMP firmware (via the MRQ_RESET request).

----------------------------------------------------------------
Dan Carpenter (1):
mailbox: tegra-hsp: Use after free in tegra_hsp_remove_doorbells()

Joseph Lo (3):
soc/tegra: Add Tegra186 support
dt-bindings: mailbox: Add Tegra HSP binding
dt-bindings: firmware: Add bindings for Tegra BPMP

Stephen Warren (2):
dt-bindings: Add power domains to Tegra BPMP firmware
dt-bindings: firmware: Allow child nodes inside the Tegra BPMP

Thierry Reding (7):
Merge branch 'for-4.10/soc' into for-4.10/mailbox
mailbox: Add Tegra HSP driver
Merge branch 'for-4.10/mailbox' into for-4.10/firmware
firmware: tegra: Add IVC library
firmware: tegra: Add BPMP support
Merge branch 'for-4.10/firmware' into for-4.10/reset
reset: Add Tegra BPMP reset driver

 .../bindings/firmware/nvidia,tegra186-bpmp.txt     |  108 ++
 .../bindings/mailbox/nvidia,tegra186-hsp.txt       |   52 +
 drivers/firmware/Kconfig                           |    1 +
 drivers/firmware/Makefile                          |    1 +
 drivers/firmware/tegra/Kconfig                     |   25 +
 drivers/firmware/tegra/Makefile                    |    2 +
 drivers/firmware/tegra/bpmp.c                      |  868 +++++++++++
 drivers/firmware/tegra/ivc.c                       |  695 +++++++++
 drivers/mailbox/Kconfig                            |    9 +
 drivers/mailbox/Makefile                           |    2 +
 drivers/mailbox/tegra-hsp.c                        |  479 ++++++
 drivers/reset/Kconfig                              |    1 +
 drivers/reset/Makefile                             |    1 +
 drivers/reset/tegra/Kconfig                        |    2 +
 drivers/reset/tegra/Makefile                       |    1 +
 drivers/reset/tegra/reset-bpmp.c                   |   71 +
 drivers/soc/tegra/Kconfig                          |   14 +
 include/dt-bindings/clock/tegra186-clock.h         |  940 ++++++++++++
 include/dt-bindings/mailbox/tegra186-hsp.h         |   24 +
 include/dt-bindings/power/tegra186-powergate.h     |   39 +
 include/dt-bindings/reset/tegra186-reset.h         |  217 +++
 include/soc/tegra/bpmp-abi.h                       | 1601 ++++++++++++++++++++
 include/soc/tegra/bpmp.h                           |  141 ++
 include/soc/tegra/ivc.h                            |  109 ++
 24 files changed, 5403 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/firmware/nvidia,tegra186-bpmp.txt
 create mode 100644 Documentation/devicetree/bindings/mailbox/nvidia,tegra186-hsp.txt
 create mode 100644 drivers/firmware/tegra/Kconfig
 create mode 100644 drivers/firmware/tegra/Makefile
 create mode 100644 drivers/firmware/tegra/bpmp.c
 create mode 100644 drivers/firmware/tegra/ivc.c
 create mode 100644 drivers/mailbox/tegra-hsp.c
 create mode 100644 drivers/reset/tegra/Kconfig
 create mode 100644 drivers/reset/tegra/Makefile
 create mode 100644 drivers/reset/tegra/reset-bpmp.c
 create mode 100644 include/dt-bindings/clock/tegra186-clock.h
 create mode 100644 include/dt-bindings/mailbox/tegra186-hsp.h
 create mode 100644 include/dt-bindings/power/tegra186-powergate.h
 create mode 100644 include/dt-bindings/reset/tegra186-reset.h
 create mode 100644 include/soc/tegra/bpmp-abi.h
 create mode 100644 include/soc/tegra/bpmp.h
 create mode 100644 include/soc/tegra/ivc.h
#6 lore raw

[GIT PULL 3/10] reset: Add Tegra BPMP reset driver

Quoted 36 lines · Thierry Reding

Hi ARM SoC maintainers,

The following changes since commit 1001354ca34179f3db924eb66672442a173147dc:

Linux 4.9-rc1 (2016-10-15 12:17:50 -0700)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux.git tags/tegra-for-4.10-reset

for you to fetch changes up to dc606c5205536a828c17bd96f06559dafaf75fb7:

reset: Add Tegra BPMP reset driver (2016-11-18 14:34:56 +0100)

Thanks,
Thierry

----------------------------------------------------------------
reset: Add Tegra BPMP reset driver

This contains a patch which implements a reset driver using the services provided by the BPMP firmware (via the MRQ_RESET request).

----------------------------------------------------------------
Dan Carpenter (1):
mailbox: tegra-hsp: Use after free in tegra_hsp_remove_doorbells()

Joseph Lo (3):
soc/tegra: Add Tegra186 support
dt-bindings: mailbox: Add Tegra HSP binding
dt-bindings: firmware: Add bindings for Tegra BPMP

Stephen Warren (2):
dt-bindings: Add power domains to Tegra BPMP firmware
dt-bindings: firmware: Allow child nodes inside the Tegra BPMP

Quoted 8 lines

Thierry Reding (7):
Merge branch 'for-4.10/soc' into for-4.10/mailbox
mailbox: Add Tegra HSP driver
Merge branch 'for-4.10/mailbox' into for-4.10/firmware
firmware: tegra: Add IVC library
firmware: tegra: Add BPMP support
Merge branch 'for-4.10/firmware' into for-4.10/reset
reset: Add Tegra BPMP reset driver

Same comments apply here, since this branch only adds one more driver.

Merged into next/drivers with the other branches so far.

-Olof

#7 lore raw

[GIT PULL 4/10] bus: Add Tegra GMI support

In reply to Thierry Reding

Hi ARM SoC maintainers,

The following changes since commit 1001354ca34179f3db924eb66672442a173147dc:

Linux 4.9-rc1 (2016-10-15 12:17:50 -0700)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux.git tags/tegra-for-4.10-bus

for you to fetch changes up to 40eb47767852a9122ef99a48f8d208ec6327e07f:

bus: Add support for Tegra Generic Memory Interface (2016-11-15 17:27:53 +0100)

Thanks,
Thierry

----------------------------------------------------------------
bus: Add Tegra GMI support

This provides a driver to enable the use of the Generic Memory Interface found on Tegra SoCs that can host various types of high-speed devices.

----------------------------------------------------------------
Mirza Krak (2):
dt/bindings: Add bindings for Tegra GMI controller
bus: Add support for Tegra Generic Memory Interface

 .../devicetree/bindings/bus/nvidia,tegra20-gmi.txt | 132 ++++++++++
 drivers/bus/Kconfig                                |   7 +
 drivers/bus/Makefile                               |   1 +
 drivers/bus/tegra-gmi.c                            | 284 +++++++++++++++++++++
 4 files changed, 424 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/bus/nvidia,tegra20-gmi.txt
 create mode 100644 drivers/bus/tegra-gmi.c
#8 lore raw

[GIT PULL 4/10] bus: Add Tegra GMI support

Quoted 14 lines · Thierry Reding

Hi ARM SoC maintainers,

The following changes since commit 1001354ca34179f3db924eb66672442a173147dc:

Linux 4.9-rc1 (2016-10-15 12:17:50 -0700)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux.git tags/tegra-for-4.10-bus

for you to fetch changes up to 40eb47767852a9122ef99a48f8d208ec6327e07f:

bus: Add support for Tegra Generic Memory Interface (2016-11-15 17:27:53 +0100)

Quoted 8 lines

Thanks,
Thierry

----------------------------------------------------------------
bus: Add Tegra GMI support

This provides a driver to enable the use of the Generic Memory Interface found on Tegra SoCs that can host various types of high-speed devices.

Merged, thanks.

-Olof

#9 lore raw

[GIT PULL 4/10] bus: Add Tegra GMI support

In reply to Thierry Reding
Quoted 14 lines · Thierry Reding

Hi ARM SoC maintainers,

The following changes since commit 1001354ca34179f3db924eb66672442a173147dc:

Linux 4.9-rc1 (2016-10-15 12:17:50 -0700)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux.git tags/tegra-for-4.10-bus

for you to fetch changes up to 40eb47767852a9122ef99a48f8d208ec6327e07f:

bus: Add support for Tegra Generic Memory Interface (2016-11-15 17:27:53 +0100)

Quoted 8 lines

Thanks,
Thierry

----------------------------------------------------------------
bus: Add Tegra GMI support

This provides a driver to enable the use of the Generic Memory Interface found on Tegra SoCs that can host various types of high-speed devices.

Merged, thanks!

-Olof

#10 lore raw

[GIT PULL 5/10] soc: tegra: Core SoC changes for v4.10-rc1

In reply to Thierry Reding

Hi ARM SoC maintainers,

The following changes since commit 1001354ca34179f3db924eb66672442a173147dc:

Linux 4.9-rc1 (2016-10-15 12:17:50 -0700)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux.git tags/tegra-for-4.10-soc

for you to fetch changes up to 4522112069a976908e32e5dd3231c9272d19794a:

soc/tegra: pmc: Use consistent naming for PM domains (2016-11-15 15:51:56 +0100)

Thanks,
Thierry

----------------------------------------------------------------
soc: tegra: Core SoC changes for v4.10-rc1

This contains mostly cleanup and new feature work on the power management controller as well as the addition of a Kconfig symbol for the new Tegra186 (Parker) SoC generation.

----------------------------------------------------------------
Jon Hunter (4):
soc/tegra: pmc: Guard against uninitialised PMC clock soc/tegra: pmc: Simplify IO rail bit handling soc/tegra: pmc: Check return code for pm_genpd_init() soc/tegra: pmc: Remove genpd when adding provider fails

Joseph Lo (1):
soc/tegra: Add Tegra186 support

Laxman Dewangan (3):
soc/tegra: pmc: Use BIT macro for register field definition soc/tegra: pmc: Correct type of variable for tegra_pmc_readl() soc/tegra: pmc: Add I/O pad voltage support

Thierry Reding (3):
soc/tegra: pmc: Use consistent ordering of bit definitions soc/tegra: pmc: Clean-up I/O rail error messages soc/tegra: pmc: Use consistent naming for PM domains

 drivers/soc/tegra/Kconfig |  14 ++
 drivers/soc/tegra/pmc.c   | 398 +++++++++++++++++++++++++++++++++++-----------
 include/soc/tegra/pmc.h   | 126 +++++++++++----
 3 files changed, 414 insertions(+), 124 deletions(-)
#11 lore raw

[GIT PULL 5/10] soc: tegra: Core SoC changes for v4.10-rc1

Quoted 17 lines · Thierry Reding

Hi ARM SoC maintainers,

The following changes since commit 1001354ca34179f3db924eb66672442a173147dc:

Linux 4.9-rc1 (2016-10-15 12:17:50 -0700)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux.git tags/tegra-for-4.10-soc

for you to fetch changes up to 4522112069a976908e32e5dd3231c9272d19794a:

soc/tegra: pmc: Use consistent naming for PM domains (2016-11-15 15:51:56 +0100)

Thanks,
Thierry

Quoted 7 lines

----------------------------------------------------------------
soc: tegra: Core SoC changes for v4.10-rc1

This contains mostly cleanup and new feature work on the power management controller as well as the addition of a Kconfig symbol for the new Tegra186 (Parker) SoC generation.

Merged, thanks.

-Olof

#12 lore raw

[GIT PULL 6/10] dt-bindings: Cleanups and additions for v4.10-rc1

In reply to Thierry Reding

Hi ARM SoC maintainers,

The following changes since commit 1001354ca34179f3db924eb66672442a173147dc:

Linux 4.9-rc1 (2016-10-15 12:17:50 -0700)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux.git tags/tegra-for-4.10-dt-bindings

for you to fetch changes up to 2e002bdedcdcbd6a708f5698a09eb32df568efb8:

dt-bindings: Add documentation for Tegra186 Denver (2016-11-17 18:09:05 +0100)

Thanks,
Thierry

----------------------------------------------------------------
dt-bindings: Cleanups and additions for v4.10-rc1

Contains two small patches, one fixing a typo and the other adding the compatible string for the Denver CPUs found on the new Tegra186 SoCs.

----------------------------------------------------------------
Mirza Krak (1):
serial: tegra20-hsuart: Fix typo in dmas DT binding description

Thierry Reding (1):
dt-bindings: Add documentation for Tegra186 Denver

 Documentation/devicetree/bindings/arm/cpus.txt                     | 1 +
 Documentation/devicetree/bindings/serial/nvidia,tegra20-hsuart.txt | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)
#13 lore raw

[GIT PULL 6/10] dt-bindings: Cleanups and additions for v4.10-rc1

Quoted 14 lines · Thierry Reding

Hi ARM SoC maintainers,

The following changes since commit 1001354ca34179f3db924eb66672442a173147dc:

Linux 4.9-rc1 (2016-10-15 12:17:50 -0700)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux.git tags/tegra-for-4.10-dt-bindings

for you to fetch changes up to 2e002bdedcdcbd6a708f5698a09eb32df568efb8:

dt-bindings: Add documentation for Tegra186 Denver (2016-11-17 18:09:05 +0100)

Quoted 8 lines

Thanks,
Thierry

----------------------------------------------------------------
dt-bindings: Cleanups and additions for v4.10-rc1

Contains two small patches, one fixing a typo and the other adding the compatible string for the Denver CPUs found on the new Tegra186 SoCs.

Merged, thanks.

-Olof

#14 lore raw

[GIT PULL 7/10] ARM: tegra: Device tree changes for v4.10-rc1

In reply to Thierry Reding

Hi ARM SoC maintainers,

The following changes since commit 1001354ca34179f3db924eb66672442a173147dc:

Linux 4.9-rc1 (2016-10-15 12:17:50 -0700)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux.git tags/tegra-for-4.10-arm-dt

for you to fetch changes up to 5e8a724d143308f3195375951b0c8f01b2ca59fe:

ARM: tegra: apalis-tk1: Drop leading 0 from unit-address (2016-11-08 11:14:02 +0100)

Thanks,
Thierry

----------------------------------------------------------------
ARM: tegra: Device tree changes for v4.10-rc1

Adds support for GMI on Tegra20 and Tegra30 and enables the GPU on Nyan Chromebooks. It also enables sound support on various Toradex devices.

----------------------------------------------------------------
Marcel Ziswiler (1):
ARM: tegra: apalis/colibri t30: Integrate audio

Mirza Krak (2):
ARM: tegra: Add Tegra20 GMI support
ARM: tegra: Add Tegra30 GMI support

Paul Kocialkowski (1):
ARM: tegra: nyan: Enable GPU node and related supply

Thierry Reding (1):
ARM: tegra: apalis-tk1: Drop leading 0 from unit-address

 arch/arm/boot/dts/tegra124-apalis.dtsi |  2 +-
 arch/arm/boot/dts/tegra124-nyan.dtsi   |  8 +++++-
 arch/arm/boot/dts/tegra20.dtsi         | 13 +++++++++
 arch/arm/boot/dts/tegra30-apalis.dtsi  | 49 ++++++++++++++++++++++++++++++++++
 arch/arm/boot/dts/tegra30-colibri.dtsi | 49 ++++++++++++++++++++++++++++++++++
 arch/arm/boot/dts/tegra30.dtsi         | 13 +++++++++
 6 files changed, 132 insertions(+), 2 deletions(-)
#15 lore raw

[GIT PULL 7/10] ARM: tegra: Device tree changes for v4.10-rc1

Quoted 14 lines · Thierry Reding

Hi ARM SoC maintainers,

The following changes since commit 1001354ca34179f3db924eb66672442a173147dc:

Linux 4.9-rc1 (2016-10-15 12:17:50 -0700)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux.git tags/tegra-for-4.10-arm-dt

for you to fetch changes up to 5e8a724d143308f3195375951b0c8f01b2ca59fe:

ARM: tegra: apalis-tk1: Drop leading 0 from unit-address (2016-11-08 11:14:02 +0100)

Quoted 8 lines

Thanks,
Thierry

----------------------------------------------------------------
ARM: tegra: Device tree changes for v4.10-rc1

Adds support for GMI on Tegra20 and Tegra30 and enables the GPU on Nyan Chromebooks. It also enables sound support on various Toradex devices.

Merged, thanks!

-Olof

#16 lore raw

[GIT PULL 8/10] ARM: tegra: Default configuration updates for v4.10-rc1

In reply to Thierry Reding

Hi ARM SoC maintainers,

The following changes since commit 1001354ca34179f3db924eb66672442a173147dc:

Linux 4.9-rc1 (2016-10-15 12:17:50 -0700)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux.git tags/tegra-for-4.10-arm-defconfig

for you to fetch changes up to dafba3f6fb8614a114f939e5626447d71db864af:

ARM: tegra: Enable GMI driver in default configuration (2016-11-08 11:49:41 +0100)

Thanks,
Thierry

----------------------------------------------------------------
ARM: tegra: Default configuration updates for v4.10-rc1

Enable audio support for various Toradex devices as well as the GMI.

----------------------------------------------------------------
Marcel Ziswiler (1):
ARM: tegra: Enable SGTL5000 audio

Thierry Reding (2):
ARM: tegra: Update default configuration for v4.9-rc1
ARM: tegra: Enable GMI driver in default configuration

 arch/arm/configs/tegra_defconfig | 27 +++++++++++++--------------
 1 file changed, 13 insertions(+), 14 deletions(-)
#17 lore raw

[GIT PULL 8/10] ARM: tegra: Default configuration updates for v4.10-rc1

Quoted 26 lines · Thierry Reding

Hi ARM SoC maintainers,

The following changes since commit 1001354ca34179f3db924eb66672442a173147dc:

Linux 4.9-rc1 (2016-10-15 12:17:50 -0700)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux.git tags/tegra-for-4.10-arm-defconfig

for you to fetch changes up to dafba3f6fb8614a114f939e5626447d71db864af:

ARM: tegra: Enable GMI driver in default configuration (2016-11-08 11:49:41 +0100)

Thanks,
Thierry

----------------------------------------------------------------
ARM: tegra: Default configuration updates for v4.10-rc1

Enable audio support for various Toradex devices as well as the GMI.

----------------------------------------------------------------
Marcel Ziswiler (1):
ARM: tegra: Enable SGTL5000 audio

Quoted 7 lines

Thierry Reding (2):
ARM: tegra: Update default configuration for v4.9-rc1
ARM: tegra: Enable GMI driver in default configuration

 arch/arm/configs/tegra_defconfig | 27 +++++++++++++--------------
 1 file changed, 13 insertions(+), 14 deletions(-)

--

Merged, thanks.

-Olof

#18 lore raw

[GIT PULL 9/10] arm64: tegra: Device tree changes for v4.10-rc1

In reply to Thierry Reding

Hi ARM SoC maintainers,

The following changes since commit 1001354ca34179f3db924eb66672442a173147dc:

Linux 4.9-rc1 (2016-10-15 12:17:50 -0700)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux.git tags/tegra-for-4.10-arm64-dt

for you to fetch changes up to cc13b4fa4ac780cec6c21b64a39ab2950e95e8f6:

arm64: tegra: Add NVIDIA P2771 board support (2016-11-18 14:35:53 +0100)

Thanks,
Thierry

----------------------------------------------------------------
arm64: tegra: Device tree changes for v4.10-rc1

This adds initial support for Tegra186, the P3310 processor module as well as the P2771 development board. Not much is functional, but there is enough to boot to an initial ramdisk with debug serial output.

----------------------------------------------------------------
Dan Carpenter (1):
mailbox: tegra-hsp: Use after free in tegra_hsp_remove_doorbells()

Joseph Lo (6):
soc/tegra: Add Tegra186 support
dt-bindings: mailbox: Add Tegra HSP binding
dt-bindings: firmware: Add bindings for Tegra BPMP
arm64: tegra: Add Tegra186 support
arm64: tegra: Add NVIDIA P3310 processor module support
arm64: tegra: Add NVIDIA P2771 board support

Stephen Warren (2):
dt-bindings: Add power domains to Tegra BPMP firmware
dt-bindings: firmware: Allow child nodes inside the Tegra BPMP

Thierry Reding (12):
Merge branch 'for-4.10/soc' into for-4.10/mailbox
mailbox: Add Tegra HSP driver
Merge branch 'for-4.10/mailbox' into for-4.10/firmware
firmware: tegra: Add IVC library
firmware: tegra: Add BPMP support
Merge branch 'for-4.10/firmware' into for-4.10/arm64/dt
arm64: tegra: Add CPU nodes for Tegra186
arm64: tegra: Add serial ports on Tegra186
arm64: tegra: Add I2C controllers on Tegra186
arm64: tegra: Add SDHCI controllers on Tegra186
arm64: tegra: Add GPIO controllers on Tegra186
arm64: tegra: Enable PSCI on P3310

 .../bindings/firmware/nvidia,tegra186-bpmp.txt     |  108 ++
 .../bindings/mailbox/nvidia,tegra186-hsp.txt       |   52 +
 arch/arm64/boot/dts/nvidia/Makefile                |    1 +
 arch/arm64/boot/dts/nvidia/tegra186-p2771-0000.dts |    8 +
 arch/arm64/boot/dts/nvidia/tegra186-p3310.dtsi     |   64 +
 arch/arm64/boot/dts/nvidia/tegra186.dtsi           |  402 +++++
 drivers/firmware/Kconfig                           |    1 +
 drivers/firmware/Makefile                          |    1 +
 drivers/firmware/tegra/Kconfig                     |   25 +
 drivers/firmware/tegra/Makefile                    |    2 +
 drivers/firmware/tegra/bpmp.c                      |  868 +++++++++++
 drivers/firmware/tegra/ivc.c                       |  695 +++++++++
 drivers/mailbox/Kconfig                            |    9 +
 drivers/mailbox/Makefile                           |    2 +
 drivers/mailbox/tegra-hsp.c                        |  479 ++++++
 drivers/soc/tegra/Kconfig                          |   14 +
 include/dt-bindings/clock/tegra186-clock.h         |  940 ++++++++++++
 include/dt-bindings/mailbox/tegra186-hsp.h         |   24 +
 include/dt-bindings/power/tegra186-powergate.h     |   39 +
 include/dt-bindings/reset/tegra186-reset.h         |  217 +++
 include/soc/tegra/bpmp-abi.h                       | 1601 ++++++++++++++++++++
 include/soc/tegra/bpmp.h                           |  141 ++
 include/soc/tegra/ivc.h                            |  109 ++
 23 files changed, 5802 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/firmware/nvidia,tegra186-bpmp.txt
 create mode 100644 Documentation/devicetree/bindings/mailbox/nvidia,tegra186-hsp.txt
 create mode 100644 arch/arm64/boot/dts/nvidia/tegra186-p2771-0000.dts
 create mode 100644 arch/arm64/boot/dts/nvidia/tegra186-p3310.dtsi
 create mode 100644 arch/arm64/boot/dts/nvidia/tegra186.dtsi
 create mode 100644 drivers/firmware/tegra/Kconfig
 create mode 100644 drivers/firmware/tegra/Makefile
 create mode 100644 drivers/firmware/tegra/bpmp.c
 create mode 100644 drivers/firmware/tegra/ivc.c
 create mode 100644 drivers/mailbox/tegra-hsp.c
 create mode 100644 include/dt-bindings/clock/tegra186-clock.h
 create mode 100644 include/dt-bindings/mailbox/tegra186-hsp.h
 create mode 100644 include/dt-bindings/power/tegra186-powergate.h
 create mode 100644 include/dt-bindings/reset/tegra186-reset.h
 create mode 100644 include/soc/tegra/bpmp-abi.h
 create mode 100644 include/soc/tegra/bpmp.h
 create mode 100644 include/soc/tegra/ivc.h
#19 lore raw

[GIT PULL 9/10] arm64: tegra: Device tree changes for v4.10-rc1

Quoted 40 lines · Thierry Reding

Hi ARM SoC maintainers,

The following changes since commit 1001354ca34179f3db924eb66672442a173147dc:

Linux 4.9-rc1 (2016-10-15 12:17:50 -0700)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux.git tags/tegra-for-4.10-arm64-dt

for you to fetch changes up to cc13b4fa4ac780cec6c21b64a39ab2950e95e8f6:

arm64: tegra: Add NVIDIA P2771 board support (2016-11-18 14:35:53 +0100)

Thanks,
Thierry

----------------------------------------------------------------
arm64: tegra: Device tree changes for v4.10-rc1

This adds initial support for Tegra186, the P3310 processor module as well as the P2771 development board. Not much is functional, but there is enough to boot to an initial ramdisk with debug serial output.

----------------------------------------------------------------
Dan Carpenter (1):
mailbox: tegra-hsp: Use after free in tegra_hsp_remove_doorbells()

Joseph Lo (6):
soc/tegra: Add Tegra186 support
dt-bindings: mailbox: Add Tegra HSP binding
dt-bindings: firmware: Add bindings for Tegra BPMP
arm64: tegra: Add Tegra186 support
arm64: tegra: Add NVIDIA P3310 processor module support
arm64: tegra: Add NVIDIA P2771 board support

Stephen Warren (2):
dt-bindings: Add power domains to Tegra BPMP firmware
dt-bindings: firmware: Allow child nodes inside the Tegra BPMP

Quoted 13 lines

Thierry Reding (12):
Merge branch 'for-4.10/soc' into for-4.10/mailbox
mailbox: Add Tegra HSP driver
Merge branch 'for-4.10/mailbox' into for-4.10/firmware
firmware: tegra: Add IVC library
firmware: tegra: Add BPMP support
Merge branch 'for-4.10/firmware' into for-4.10/arm64/dt
arm64: tegra: Add CPU nodes for Tegra186
arm64: tegra: Add serial ports on Tegra186
arm64: tegra: Add I2C controllers on Tegra186
arm64: tegra: Add SDHCI controllers on Tegra186
arm64: tegra: Add GPIO controllers on Tegra186
arm64: tegra: Enable PSCI on P3310

The drivers->dt dependency here is annoying. Any chance you can respin without it?

We've been encouraging people to consider using numerical clock/gpio/reset numbers on initial submission to avoid these dependencies on dt-bindings includes, and then follow up with a move to the symbolic names between -rc1 and -rc2. Mind doing the same here?

Thanks!

-Olof

#20 lore raw

[GIT PULL 9/10] arm64: tegra: Device tree changes for v4.10-rc1

Quoted 55 lines · Olof Johansson
Quoted 40 lines · Thierry Reding

Hi ARM SoC maintainers,

The following changes since commit 1001354ca34179f3db924eb66672442a173147dc:

Linux 4.9-rc1 (2016-10-15 12:17:50 -0700)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux.git tags/tegra-for-4.10-arm64-dt

for you to fetch changes up to cc13b4fa4ac780cec6c21b64a39ab2950e95e8f6:

arm64: tegra: Add NVIDIA P2771 board support (2016-11-18 14:35:53 +0100)

Thanks,
Thierry

----------------------------------------------------------------
arm64: tegra: Device tree changes for v4.10-rc1

This adds initial support for Tegra186, the P3310 processor module as well as the P2771 development board. Not much is functional, but there is enough to boot to an initial ramdisk with debug serial output.

----------------------------------------------------------------
Dan Carpenter (1):
mailbox: tegra-hsp: Use after free in tegra_hsp_remove_doorbells()

Joseph Lo (6):
soc/tegra: Add Tegra186 support
dt-bindings: mailbox: Add Tegra HSP binding
dt-bindings: firmware: Add bindings for Tegra BPMP
arm64: tegra: Add Tegra186 support
arm64: tegra: Add NVIDIA P3310 processor module support
arm64: tegra: Add NVIDIA P2771 board support

Stephen Warren (2):
dt-bindings: Add power domains to Tegra BPMP firmware
dt-bindings: firmware: Allow child nodes inside the Tegra BPMP

Quoted 13 lines

Thierry Reding (12):
Merge branch 'for-4.10/soc' into for-4.10/mailbox
mailbox: Add Tegra HSP driver
Merge branch 'for-4.10/mailbox' into for-4.10/firmware
firmware: tegra: Add IVC library
firmware: tegra: Add BPMP support
Merge branch 'for-4.10/firmware' into for-4.10/arm64/dt
arm64: tegra: Add CPU nodes for Tegra186
arm64: tegra: Add serial ports on Tegra186
arm64: tegra: Add I2C controllers on Tegra186
arm64: tegra: Add SDHCI controllers on Tegra186
arm64: tegra: Add GPIO controllers on Tegra186
arm64: tegra: Enable PSCI on P3310

Quoted 7 lines

The drivers->dt dependency here is annoying. Any chance you can respin without it?

We've been encouraging people to consider using numerical clock/gpio/reset numbers on initial submission to avoid these dependencies on dt-bindings includes, and then follow up with a move to the symbolic names between -rc1 and -rc2. Mind doing the same here?

Yes, I can do that. Would it be acceptable to have a dt-bindings->dt dependency? Stephen's already done a good job of avoiding this kind of dependency by getting the bindings, and hence dt-bindings headers, merged ahead of Linux kernel support because he had already gotten the bindings reviewed and finalized during his work on U-Boot.

I've been told in the past that it's not necessary to strictly split DT bindings patches from driver patches, but I suppose if a dt-bindings->dt is acceptable, then splitting things up more strictly would actually be the preferable solution here because it also avoids the slight churn of converting to symbolic values later on.

Thierry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20161121/ca5e5c61/attachment-0001.sig>

#21 lore raw

[GIT PULL 9/10] arm64: tegra: Device tree changes for v4.10-rc1

Quoted 70 lines · Thierry Reding
Quoted 55 lines · Olof Johansson
Quoted 40 lines · Thierry Reding

Hi ARM SoC maintainers,

The following changes since commit 1001354ca34179f3db924eb66672442a173147dc:

Linux 4.9-rc1 (2016-10-15 12:17:50 -0700)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux.git tags/tegra-for-4.10-arm64-dt

for you to fetch changes up to cc13b4fa4ac780cec6c21b64a39ab2950e95e8f6:

arm64: tegra: Add NVIDIA P2771 board support (2016-11-18 14:35:53 +0100)

Thanks,
Thierry

----------------------------------------------------------------
arm64: tegra: Device tree changes for v4.10-rc1

This adds initial support for Tegra186, the P3310 processor module as well as the P2771 development board. Not much is functional, but there is enough to boot to an initial ramdisk with debug serial output.

----------------------------------------------------------------
Dan Carpenter (1):
mailbox: tegra-hsp: Use after free in tegra_hsp_remove_doorbells()

Joseph Lo (6):
soc/tegra: Add Tegra186 support
dt-bindings: mailbox: Add Tegra HSP binding
dt-bindings: firmware: Add bindings for Tegra BPMP
arm64: tegra: Add Tegra186 support
arm64: tegra: Add NVIDIA P3310 processor module support
arm64: tegra: Add NVIDIA P2771 board support

Stephen Warren (2):
dt-bindings: Add power domains to Tegra BPMP firmware
dt-bindings: firmware: Allow child nodes inside the Tegra BPMP

Quoted 13 lines

Thierry Reding (12):
Merge branch 'for-4.10/soc' into for-4.10/mailbox
mailbox: Add Tegra HSP driver
Merge branch 'for-4.10/mailbox' into for-4.10/firmware
firmware: tegra: Add IVC library
firmware: tegra: Add BPMP support
Merge branch 'for-4.10/firmware' into for-4.10/arm64/dt
arm64: tegra: Add CPU nodes for Tegra186
arm64: tegra: Add serial ports on Tegra186
arm64: tegra: Add I2C controllers on Tegra186
arm64: tegra: Add SDHCI controllers on Tegra186
arm64: tegra: Add GPIO controllers on Tegra186
arm64: tegra: Enable PSCI on P3310

Quoted 7 lines

The drivers->dt dependency here is annoying. Any chance you can respin without it?

We've been encouraging people to consider using numerical clock/gpio/reset numbers on initial submission to avoid these dependencies on dt-bindings includes, and then follow up with a move to the symbolic names between -rc1 and -rc2. Mind doing the same here?

Yes, I can do that. Would it be acceptable to have a dt-bindings->dt dependency? Stephen's already done a good job of avoiding this kind of dependency by getting the bindings, and hence dt-bindings headers, merged ahead of Linux kernel support because he had already gotten the bindings reviewed and finalized during his work on U-Boot.

Quoted 5 lines

I've been told in the past that it's not necessary to strictly split DT bindings patches from driver patches, but I suppose if a dt-bindings->dt is acceptable, then splitting things up more strictly would actually be the preferable solution here because it also avoids the slight churn of converting to symbolic values later on.

Sorry, haven't been looking at this older for a while so this reply is high-latency.

If you want to do a separate dt-bindings branch that includes the headers and is present in both the dt and drivers branch, that'd work. If the changes are trivial though, and just contains a few clocks, I think we should just have them opencoded on the original merge, and then move over once the include files have gone in. I'd be willing to merge such conversions between -rc1 and -rc2.

That's in particular the case when there's an external driver tree/maintainer, since it avoids the three-way handshake, etc.

-Olof

#22 lore raw

[GIT PULL v2 9/10] arm64: tegra: Device tree changes for v4.10-rc1

In reply to Thierry Reding

Hi ARM SoC maintainers,

The following changes since commit 1001354ca34179f3db924eb66672442a173147dc:

Linux 4.9-rc1 (2016-10-15 12:17:50 -0700)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux.git tags/tegra-for-4.10-arm64-dt-numeric-ids

for you to fetch changes up to 99575bceebd60b572f0ccf9a900fdb970922ca49:

arm64: tegra: Add NVIDIA P2771 board support (2016-11-21 10:43:42 +0100)

The only change since the original pull request is the replacement of symbolic names in DTS files by their numerical equivalents to remove the dependency on the driver branchs, as requested by Olof.

I have three patches to reintroduce these symbols that I can resend after v4.10-rc1.

Thanks,
Thierry

----------------------------------------------------------------
arm64: tegra: Device tree changes for v4.10-rc1

This adds initial support for Tegra186, the P3310 processor module as well as the P2771 development board. Not much is functional, but there is enough to boot to an initial ramdisk with debug serial output.

----------------------------------------------------------------
Joseph Lo (3):
arm64: tegra: Add Tegra186 support
arm64: tegra: Add NVIDIA P3310 processor module support
arm64: tegra: Add NVIDIA P2771 board support

Thierry Reding (6):
arm64: tegra: Add CPU nodes for Tegra186
arm64: tegra: Add serial ports on Tegra186
arm64: tegra: Add I2C controllers on Tegra186
arm64: tegra: Add SDHCI controllers on Tegra186
arm64: tegra: Add GPIO controllers on Tegra186
arm64: tegra: Enable PSCI on P3310

 arch/arm64/boot/dts/nvidia/Makefile                |   1 +
 arch/arm64/boot/dts/nvidia/tegra186-p2771-0000.dts |   8 +
 arch/arm64/boot/dts/nvidia/tegra186-p3310.dtsi     |  64 ++++
 arch/arm64/boot/dts/nvidia/tegra186.dtsi           | 398 +++++++++++++++++++++
 4 files changed, 471 insertions(+)
 create mode 100644 arch/arm64/boot/dts/nvidia/tegra186-p2771-0000.dts
 create mode 100644 arch/arm64/boot/dts/nvidia/tegra186-p3310.dtsi
 create mode 100644 arch/arm64/boot/dts/nvidia/tegra186.dtsi
#23 lore raw

[GIT PULL v2 9/10] arm64: tegra: Device tree changes for v4.10-rc1

Quoted 6 lines · CET Thierry Reding

arm64: tegra: Device tree changes for v4.10-rc1

This adds initial support for Tegra186, the P3310 processor module as well as the P2771 development board. Not much is functional, but there is enough to boot to an initial ramdisk with debug serial output.

Pulled into next/dt64, thanks!

Arnd

#24 lore raw

[GIT PULL 10/10] arm64: tegra: Default configuration updates for v4.10-rc1

In reply to Thierry Reding

Hi ARM SoC maintainers,

The following changes since commit 1001354ca34179f3db924eb66672442a173147dc:

Linux 4.9-rc1 (2016-10-15 12:17:50 -0700)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux.git tags/tegra-for-4.10-arm64-defconfig

for you to fetch changes up to c6299451bb45bf3370cc3aa53891fb9d48bed774:

arm64: defconfig: Enable Tegra186 SoC (2016-11-15 16:26:03 +0100)

Thanks,
Thierry

----------------------------------------------------------------
arm64: tegra: Default configuration updates for v4.10-rc1

Enable Tegra186 support.

----------------------------------------------------------------
Joseph Lo (1):
arm64: defconfig: Enable Tegra186 SoC

 arch/arm64/configs/defconfig | 1 +
 1 file changed, 1 insertion(+)
#25 lore raw

[GIT PULL 10/10] arm64: tegra: Default configuration updates for v4.10-rc1

Quoted 4 lines · CET Thierry Reding

arm64: tegra: Default configuration updates for v4.10-rc1

Enable Tegra186 support.

This was already in next/arm64 (but I didn't see a notification), and with the arm64-dt branch now merged as well, we should have everything you sent.

Arnd

#26 lore raw

[GIT PULL 10/10] arm64: tegra: Default configuration updates for v4.10-rc1

Quoted 9 lines · Arnd Bergmann
Quoted 4 lines · CET Thierry Reding

arm64: tegra: Default configuration updates for v4.10-rc1

Enable Tegra186 support.

This was already in next/arm64 (but I didn't see a notification), and with the arm64-dt branch now merged as well, we should have everything you sent.

I had also sent a couple of individual patches that seemed to not have it made into v4.9 and v4.8 for some reason (they were part of the pull requests, as far as I can tell). Do you think you could pull those in as well?

Thanks,
Thierry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20161130/b14ea724/attachment.sig>

#27 lore raw

[GIT PULL 10/10] arm64: tegra: Default configuration updates for v4.10-rc1

Quoted 7 lines · CET Thierry Reding
Quoted 6 lines · Arnd Bergmann
Quoted 4 lines · CET Thierry Reding

arm64: tegra: Default configuration updates for v4.10-rc1

Enable Tegra186 support.

Quoted 8 lines
Quoted 3 lines

This was already in next/arm64 (but I didn't see a notification), and with the arm64-dt branch now merged as well, we should have everything you sent.

I had also sent a couple of individual patches that seemed to not have it made into v4.9 and v4.8 for some reason (they were part of the pull requests, as far as I can tell). Do you think you could pull those in as well?

Most likely yes, but I have trouble finding them right now. Can you just resend them?

Arnd

#28 lore raw
In reply to Thierry Reding

Hi,

Quoted 24 lines · Thierry Reding

Hi ARM SoC maintainers,

The following changes since commit 1001354ca34179f3db924eb66672442a173147dc:

Linux 4.9-rc1 (2016-10-15 12:17:50 -0700)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux.git tags/tegra-for-4.10-mailbox

for you to fetch changes up to 68050eb6c611527232fe5574c7306e97e47499ef:

mailbox: tegra-hsp: Use after free in tegra_hsp_remove_doorbells() (2016-11-18 14:32:13 +0100)

Thanks,
Thierry

----------------------------------------------------------------
mailbox: Add Tegra HSP driver

This contains the device tree bindings and a driver for the Tegra HSP, a hardware block that provides hardware synchronization primitives and is the foundation for inter-processor communication between CPU and BPMP.

Quoted 6 lines

----------------------------------------------------------------
Dan Carpenter (1):
mailbox: tegra-hsp: Use after free in tegra_hsp_remove_doorbells()

Joseph Lo (2):
soc/tegra: Add Tegra186 support

I don't think you really needed to merge this in here, since all you need it for is to fulfill the kconfig dependency and enable the driver, right? That'd happen when the driver and soc branch is merged at the toplevel anyway.

Anyhow, no damage done, I've merged this in. I would say that it'd be a little more logical to send the SoC branch before the driver branch given this dependency though.

-Olof

#29 lore raw
Quoted 31 lines · Olof Johansson

Hi,

Quoted 28 lines · Thierry Reding

Hi ARM SoC maintainers,

The following changes since commit 1001354ca34179f3db924eb66672442a173147dc:

Linux 4.9-rc1 (2016-10-15 12:17:50 -0700)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux.git tags/tegra-for-4.10-mailbox

for you to fetch changes up to 68050eb6c611527232fe5574c7306e97e47499ef:

mailbox: tegra-hsp: Use after free in tegra_hsp_remove_doorbells() (2016-11-18 14:32:13 +0100)

Thanks,
Thierry

----------------------------------------------------------------
mailbox: Add Tegra HSP driver

This contains the device tree bindings and a driver for the Tegra HSP, a hardware block that provides hardware synchronization primitives and is the foundation for inter-processor communication between CPU and BPMP.

----------------------------------------------------------------
Dan Carpenter (1):
mailbox: tegra-hsp: Use after free in tegra_hsp_remove_doorbells()

Quoted 6 lines
Quoted 2 lines

Joseph Lo (2):
soc/tegra: Add Tegra186 support

I don't think you really needed to merge this in here, since all you need it for is to fulfill the kconfig dependency and enable the driver, right? That'd happen when the driver and soc branch is merged at the toplevel anyway.

The reason I did this is that I wanted each branch to be buildable as a way to confirm that the dependencies are correct. In order to do that I need the Kconfig symbol to enable the driver.

I suppose there are other ways I could've done that, though. Maybe in the future new SoC Kconfig symbols should just be introduced way ahead of time, so that they're already in a release or two before actual code starts to emerge.

Quoted 3 lines

Anyhow, no damage done, I've merged this in. I would say that it'd be a little more logical to send the SoC branch before the driver branch given this dependency though.

The reason that the SoC branch was sent after is because only the first commit in that branch was pulled into the mailbox branch.

In retrospect, I think perhaps a better approach would've been to have a separate branch with only the Kconfig symbol addition and pull that in where needed.

Thanks,
Thierry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20161121/84d12034/attachment.sig>

#30 lore raw
Quoted 35 lines · Thierry Reding
Quoted 34 lines · Olof Johansson

Hi,

Quoted 30 lines · Thierry Reding

Hi ARM SoC maintainers,

The following changes since commit 1001354ca34179f3db924eb66672442a173147dc:

Linux 4.9-rc1 (2016-10-15 12:17:50 -0700)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux.git tags/tegra-for-4.10-mailbox

for you to fetch changes up to 68050eb6c611527232fe5574c7306e97e47499ef:

mailbox: tegra-hsp: Use after free in tegra_hsp_remove_doorbells() (2016-11-18 14:32:13 +0100)

Thanks,
Thierry

----------------------------------------------------------------
mailbox: Add Tegra HSP driver

This contains the device tree bindings and a driver for the Tegra HSP, a hardware block that provides hardware synchronization primitives and is the foundation for inter-processor communication between CPU and BPMP.

----------------------------------------------------------------
Dan Carpenter (1):
mailbox: tegra-hsp: Use after free in tegra_hsp_remove_doorbells()

Joseph Lo (2):
soc/tegra: Add Tegra186 support

Quoted 7 lines
Quoted 3 lines

I don't think you really needed to merge this in here, since all you need it for is to fulfill the kconfig dependency and enable the driver, right? That'd happen when the driver and soc branch is merged at the toplevel anyway.

The reason I did this is that I wanted each branch to be buildable as a way to confirm that the dependencies are correct. In order to do that I need the Kconfig symbol to enable the driver.

Good point, but that's more of a local setup thing for you, and not something that necessarily needs to go upstream.

Quoted 4 lines

I suppose there are other ways I could've done that, though. Maybe in the future new SoC Kconfig symbols should just be introduced way ahead of time, so that they're already in a release or two before actual code starts to emerge.

That'd work too!

Quoted 10 lines
Quoted 3 lines

Anyhow, no damage done, I've merged this in. I would say that it'd be a little more logical to send the SoC branch before the driver branch given this dependency though.

The reason that the SoC branch was sent after is because only the first commit in that branch was pulled into the mailbox branch.

In retrospect, I think perhaps a better approach would've been to have a separate branch with only the Kconfig symbol addition and pull that in where needed.

That could work, but the whole branch-merge-features-then-enable it workflow is quite acceptable as well.

-Olof