- 17 Jun, 2019 37 commits
-
-
Marek Vasut authored
Convert the DBSC QoS setting function to a simple table of register-value pairs and pass it to common rcar_qos_dbsc_setting() to write those values to matching registers. Signed-off-by:Marek Vasut <marek.vasut+renesas@gmail.com> Change-Id: I46b445a77b39412e7a41ae0e0e087a409d0c22e3
-
Marek Vasut authored
Convert the DBSC QoS setting function to a simple table of register-value pairs and pass it to common rcar_qos_dbsc_setting() to write those values to matching registers. Signed-off-by:Marek Vasut <marek.vasut+renesas@gmail.com> Change-Id: Ie2cbfdacf6d1c7eca4498ab7787b866a83660485
-
Marek Vasut authored
Convert the DBSC QoS setting function to a simple table of register-value pairs and pass it to common rcar_qos_dbsc_setting() to write those values to matching registers. Signed-off-by:Marek Vasut <marek.vasut+renesas@gmail.com> Change-Id: I62b133ea4f4129a641b779a782938976ad52fbfe
-
Marek Vasut authored
The DBSC QoS settings can be programmed by iterating over a table with register-value pairs and writing those to the registers, add function to do just that. Subsequent patches will convert the DBSC QoS setting functions for each SoC to this new function. Signed-off-by:Marek Vasut <marek.vasut+renesas@gmail.com> Change-Id: I949c46a0f032661a58000cb5f7829349e973438c
-
Marek Vasut authored
Fix checkpatch issues, clean up macro indentation. No functional change. Signed-off-by:Marek Vasut <marek.vasut+renesas@gmail.com> Change-Id: Id0f1e322b44562f9863e885583d89fbf47cab91b
-
Marek Vasut authored
Drop useless comments in dbsc_setting(). No functional change. Signed-off-by:Marek Vasut <marek.vasut+renesas@gmail.com> Change-Id: I8a113d253f39e5b6a61e16b1740f9a66b2540753
-
Marek Vasut authored
Convert the mstat table from a complex structure to simple sequence of uint64_t values, since the structure described just that and the loop can operate over incrementing sequence of addresses just fine. Signed-off-by:Marek Vasut <marek.vasut+renesas@gmail.com> Change-Id: If1917605e5540a38cbd763c56fc1e677573e7066
-
Marek Vasut authored
Pull out the mstat fix array into separate file, to align the structure of the driver with the other SoCs. No functional change. Signed-off-by:Marek Vasut <marek.vasut+renesas@gmail.com> Change-Id: Ifb6644063d8f463e2eb20bdadc5b69ab74ac591d
-
Marek Vasut authored
Use common qos_regs.h instead of a local copy in the V3M QoS init. Fill missing registers into qos_regs.h . No functional change. Signed-off-by:Marek Vasut <marek.vasut+renesas@gmail.com> Change-Id: I9aabff54abc05781ef606b0d09e4e9fbf7ec3968
-
Marek Vasut authored
The extra level of nesting is not necessary, drop it. No functional change. Signed-off-by:Marek Vasut <marek.vasut+renesas@gmail.com> Change-Id: I49df37734cd6016373a5850d3b9cf4a6569c36d6
-
Marek Vasut authored
Use common qos_regs.h instead of a local copy in the E3 QoS init. No functional change. Signed-off-by:Marek Vasut <marek.vasut+renesas@gmail.com> Change-Id: Ia4336d4b6173e1dbb671a003d904dbc5dc0c196d
-
Marek Vasut authored
Replace the remaining ad-hoc register addresses with proper macros. Signed-off-by:Marek Vasut <marek.vasut+renesas@gmail.com> Change-Id: If125f0c8ef77ed280107324edaa05f21979a2c27
-
Marek Vasut authored
The DBSC_SCFCTST2 is always written with the same value, no matter what the MD pin value is, drop the entire check and just write the register with the one and only possible value. Signed-off-by:Marek Vasut <marek.vasut+renesas@gmail.com> Change-Id: I44d48ad59293562539a0c1d8ffd66333714e041e
-
Marek Vasut authored
Move the DBSC write enabling and disabling to dbsc_setting() function, to make it local, instead of having it all over the code. Signed-off-by:Marek Vasut <marek.vasut+renesas@gmail.com> Change-Id: If8e5657c3230b5d82b551cb89b11c4d13a2d096b
-
Marek Vasut authored
Drop useless comments in dbsc_setting(). No functional change. Signed-off-by:Marek Vasut <marek.vasut+renesas@gmail.com> Change-Id: If54e770ce81c9a6610cd89c3d5f01ea9b96af521
-
Marek Vasut authored
Convert the mstat table from a complex structure to simple sequence of uint64_t values, since the structure described just that and the loop can operate over incrementing sequence of addresses just fine. Signed-off-by:Marek Vasut <marek.vasut+renesas@gmail.com> Change-Id: I5f797024c76f2c18b160ac50ede9e1eac24e6652
-
Marek Vasut authored
Pull out the mstat fix array into separate file, to align the structure of the driver with the other SoCs. No functional change. Signed-off-by:Marek Vasut <marek.vasut+renesas@gmail.com> Change-Id: I2559c5ceb06505361d026ebc1b762bebe17d920b
-
Marek Vasut authored
Use common qos_regs.h instead of a local copy in the D3 QoS init. Fill missing registers into qos_regs.h . No functional change. Signed-off-by:Marek Vasut <marek.vasut+renesas@gmail.com> Change-Id: Ie22a81bf5cbf3f8970c6e3fbb43ef52c26fb7168
-
Marek Vasut authored
Fix checkpatch issues, clean up macro indentation. No functional change. Signed-off-by:Marek Vasut <marek.vasut+renesas@gmail.com> Change-Id: I08c033b317685bef7537eb49de160e827b7791ad
-
Marek Vasut authored
The DBSC_SCFCTST2 is always written with the same value, no matter what the MD pin value is, drop the entire check and just write the register with the one and only possible value. Signed-off-by:Marek Vasut <marek.vasut+renesas@gmail.com> Change-Id: Icd3e12f814d4fdcddaec2d1415f0bbf92169284b
-
Marek Vasut authored
Drop useless comments in dbsc_setting(). No functional change. Signed-off-by:Marek Vasut <marek.vasut+renesas@gmail.com> Change-Id: I6fe03e16c63278aa6fc1bbcc72c07a450d3b7638
-
Marek Vasut authored
The extra level of nesting is not necessary, drop it. No functional change. Signed-off-by:Marek Vasut <marek.vasut+renesas@gmail.com> Change-Id: I6d268eae8df5794511d5211e5a59a36291adab3e
-
Marek Vasut authored
Use common qos_regs.h instead of a local copy in the M3N QoS init. No functional change. Signed-off-by:Marek Vasut <marek.vasut+renesas@gmail.com> Change-Id: I9670c9cdb320d6724175c22210d048af54490b47
-
Marek Vasut authored
Fix checkpatch issues, clean up macro indentation. No functional change. Signed-off-by:Marek Vasut <marek.vasut+renesas@gmail.com> Change-Id: Ifd397962c40d174c3af31cb440241cc8bd9335d3
-
Marek Vasut authored
The DBSC_SCFCTST2 is always written with the same value, no matter what the MD pin value is, drop the entire check and just write the register with the one and only possible value. Signed-off-by:Marek Vasut <marek.vasut+renesas@gmail.com> Change-Id: Idf26cf064e99e95f0140dd747183efe6a6d7f0bf
-
Marek Vasut authored
Drop useless comments in dbsc_setting(). No functional change. Signed-off-by:Marek Vasut <marek.vasut+renesas@gmail.com> Change-Id: I4460c55bf58f33ca72c9bbad99a28b5e4ef7421e
-
Marek Vasut authored
The extra level of nesting is not necessary, drop it. No functional change. Signed-off-by:Marek Vasut <marek.vasut+renesas@gmail.com> Change-Id: I086ab1f457866f0e2c3ccd67609c0be35631f893
-
Marek Vasut authored
Convert the mstat table from a complex structure to simple sequence of uint64_t values, since the structure described just that and the loop can operate over incrementing sequence of addresses just fine. Signed-off-by:Marek Vasut <marek.vasut+renesas@gmail.com> Change-Id: I41728b30087996edc9799f320bf6a3b4465538bd
-
Marek Vasut authored
Pull out the mstat fix array into separate file, to align the structure of the driver with the other SoCs. No functional change. Signed-off-by:Marek Vasut <marek.vasut+renesas@gmail.com> Change-Id: I21c18e80ab9225837e5553dadcf196605e878143
-
Marek Vasut authored
Use common qos_regs.h instead of a local copy in the M3W QoS init. Fill missing registers into qos_regs.h . No functional change. Signed-off-by:Marek Vasut <marek.vasut+renesas@gmail.com> Change-Id: I91175c86cdb94b9271c880df2cb65949f15f1bad
-
Marek Vasut authored
Fix checkpatch issues, clean up macro indentation. No functional change. Signed-off-by:Marek Vasut <marek.vasut+renesas@gmail.com> Change-Id: I605109b5e41219473a4cbc4a1929b84377ba0b67
-
Marek Vasut authored
The DBSC_SCFCTST2 is always written with the same value, no matter what the MD pin value is, drop the entire check and just write the register with the one and only possible value. Signed-off-by:Marek Vasut <marek.vasut+renesas@gmail.com> Change-Id: I4d8926eb3c44c61ec777c05c581ce8247f13daa6
-
Marek Vasut authored
Drop useless comments in dbsc_setting(). No functional change. Signed-off-by:Marek Vasut <marek.vasut+renesas@gmail.com> Change-Id: I9e3d025567ff4e10e2b4448e8a518b4eee13f6c5
-
Marek Vasut authored
The extra level of nesting is not necessary, drop it. No functional change. Signed-off-by:Marek Vasut <marek.vasut+renesas@gmail.com> Change-Id: I7b55a6fa53145ff0427e05656234917f486031df
-
Marek Vasut authored
Convert the mstat table from a complex structure to simple sequence of uint64_t values, since the structure described just that and the loop can operate over incrementing sequence of addresses just fine. Signed-off-by:Marek Vasut <marek.vasut+renesas@gmail.com> Change-Id: I379a1a5dfe2095d9477b364393ab120c4d8e1ba4
-
Marek Vasut authored
Pull out the mstat fix array into separate file, to align the structure of the driver with the other SoCs. No functional change. Signed-off-by:Marek Vasut <marek.vasut+renesas@gmail.com> Change-Id: Ia92abe11c425220a065d707c350644c955efef92
-
Marek Vasut authored
Use common qos_regs.h instead of a local copy in the H3 QoS init. Fill missing registers into qos_regs.h . No functional change. Signed-off-by:Marek Vasut <marek.vasut+renesas@gmail.com> Change-Id: I0b5ceab71be07e270885bdff403e5292e3373787
-
- 13 Jun, 2019 1 commit
-
-
Marek Vasut authored
Convert the R-Car Gen3 platform and both SCIF and Log drivers to multi-console API. Signed-off-by:Marek Vasut <marek.vasut+renesas@gmail.com> Change-Id: I18556973937d150b60453f9150d54ee612571e35
-
- 05 Jun, 2019 1 commit
-
-
James kung authored
According to Arm GIC spec(IHI0069E, section 4.6.1), when GICD_CTLR.DS == 0, Secure Group 1 interrupts are treated as Group 0 by a CPU interface if: - The PE does not implement EL3. - ICC_SRE_EL1(S).SRE == 0 When a cpu enter suspend or deep idle, it might be powered off. When the cpu resume, according to the GIC spec(IHI0069E, section 9.2.15, 9.2.16 and 9.2.22) the ICC_SRE_EL1.SRE reset value is 0 (if write is allowed) and G0/G1S/G1NS interrupt of the GIC cpu interface are all disabled. If a G1S SPI interrupt occurred and the target cpu of the SPI is assigned to a specific cpu which is in suspend and is powered off, when the cpu resume and start to initial the GIC cpu interface, the initial sequence might affect the interrupt group type of the pending interrupt on the cpu interface. Current initial sequence on the cpu interface is: 1. Enable G0 interrupt 2. Enable G1S interrupt 3. Enable ICC_SRE_EL1(S).SRE It is possible to treat the pending G1S interrupt as G0 interrupt on the cpu interface if the G1S SPI interrupt occurred between step2 and step3. To prevent the above situation happend, the initial sequence should be changed as follows: 1. Enable ICC_SRE_EL1(S).SRE 2. Enable G0 interrupt 3. Enable G1S interrupt Change-Id: Ie34f6e0b32eb9a1677ff72571fd4bfdb5cae25b0 Signed-off-by:James Kung <kong1191@gmail.com>
-
- 23 May, 2019 1 commit
-
-
Masahisa Kojima authored
Payload length of the get dram mapping information message is 0. The mbx_mem->len parameter should be 4, it only contains message header. Fixes: b67d2029 ("plat/synquacer: enable SCMI support") Signed-off-by:
Masahisa Kojima <masahisa.kojima@linaro.org> Change-Id: If1cd4c855da2dc5dc4b6da3bea152b8441971de7
-