08 Nov, 2019
1 commit
27 Jan, 2019
1 commit
22 Jan, 2019
1 commit
14 Jan, 2019
1 commit
26 May, 2018
2 commits
-
** Not yet queued for inclusion in mainline **
In order to prevent aliasing attacks on the branch predictor,
invalidate the BTB on CPUs that are known to be affected when taking
a prefetch abort on a address that is outside of a user task limit.Signed-off-by: Marc Zyngier
Signed-off-by: Will Deacon
Signed-off-by: Alex Shi -
** Not yet queued for inclusion in mainline **
In order to avoid aliasing attacks against the branch predictor,
some implementations require to invalidate the BTB when switching
from one user context to another.For this, we reuse the existing implementation for Cortex-A8, and
apply it to A9, A12 and A17.Signed-off-by: Marc Zyngier
Signed-off-by: Will Deacon
Signed-off-by: Alex Shi
11 May, 2018
3 commits
-
Enable regulatory rules database config:
CONFIG_CFG80211_INTERNAL_REGDB(Run "make savedefconfig" to change the defconfig)
Signed-off-by: Fugang Duan
Reviewed-by: Haibo Chen
(cherry picked from commit: 2044e8f366119b79b17cfe47bb91c40c39e9b440) -
Enable regulatory rules database config:
CONFIG_CFG80211_INTERNAL_REGDBSigned-off-by: Fugang Duan
Reviewed-by: Haibo Chen
(cherry picked from commit: 99a27c4880a091d74ab5e3fb112a2d778f7c26b0) -
Driver should return when un-supported country code set by regdb.
Signed-off-by: Fugang Duan
Reviewed-by: Haibo Chen
(cherry picked from commit: 9b3b65ec3df5ed7b404784ae4ef4cf9f906c0520)
10 May, 2018
1 commit
-
Fixes: a2e6a7833495 (MLK-16136-9 irqchip: imx-irqsteer: adjust irq config
via 'endian')This patch fixes mask register offset calculation, when endian is not
default value 0 (i.e imx8mq).Signed-off-by: Antoine Bouyer
Signed-off-by: Fugang Duan
(cherry picked from commit 8a5643a5bd1f5b6490431bd96ef3cd004efd83b1)
08 May, 2018
1 commit
-
commit b62dd733a100 ("MLK-18127 ARM: dts: imx7ulp-evk: few correction
for usdhc1") add property "no-1-8-v" for the usdhc1 which limit the
wifi. The sd slot on base board share this usdhc1, so the usdhc1
in imx7ulp-evk-sd1.dts also inherit this property.delete the "no-1-8-v" property, then the sd slot can support SD3.0
Signed-off-by: Haibo Chen
(cherry picked from commit 6cb30044642b43f9e55d63beca61bc1397d3d996)
07 May, 2018
2 commits
-
The correct default should be 0x04000021. In which we have the open
drain input option for field [25:26] with a pull up resistor and low
drive strength. This will allow the end point device to drive low the
wake and clkreq signals when necessary and don't have the PCIe
driving back to the endpoint device.Signed-off-by: Richard Zhu
(cherry picked from commit 2d3e439c1b32d78807bfc74dfc90f62aa897a709) -
Enable the AHCI_IMX defaultly in imx_v7_defconfig
Signed-off-by: Richard Zhu
(cherry picked from commit a090146de2ef4be0ac9ccf2225a5bb4926a503dd)
06 May, 2018
3 commits
-
remove the obsolete code to fix build break for 4.14 kernel
Signed-off-by: Xianzhong
(cherry picked from commit 17ef2e4e9f62f2ab24d5c6d3e053da38687b4519) -
"DRIVER_ATTR" no longer supported in 4.14 linux kernel,
using "DRIVER_ATTR_RW" to replace it.Signed-off-by: Yuchou Gan
(cherry picked from commit cee4766bd6dc3d48e95578098ef981ec67af8153) -
MX8 chips does not have GC355. So no need to build the drivers
Signed-off-by : Xianzhong Li
Reviewed-by : Prabhu Sundararaj(cherry picked from commit a85b9583d459d6a0888db30564f0136739d7ec26)
03 May, 2018
1 commit
-
The MIPI DSI config the DPI as 480 * 854, so correct the touch
display-coords property, to aligned with MIPI DSI.Signed-off-by: Haibo Chen
(cherry picked from commit a00aa0ea7199fb04e425a49a4221d9202782eecf)
30 Apr, 2018
1 commit
-
- For i.MX 6 and 7 check if the Secure Firmware (OPTEE) is present.
If present don't do the RNG instantation in the CAAM driverReviewed-by: Silvano Di Ninno
Signed-off-by: Cedric Neveux
(cherry picked from commit 2b9489d18b6eca5b1f72689602f0eed16e88db84)
27 Apr, 2018
8 commits
-
Add some necessary configs for qualcomm wifi QCA6174 qcacld-2.0
and remove the ath10k configs.
(Run "make savedefconfig" to change the defconfig)Reviewed-by: Andy Tian
Signed-off-by: Fugang Duan -
Fix the build warning with [-Wpointer-compare] parameters.
Reviewed-by: Bough Chen
Signed-off-by: Fugang Duan
(cherry picked from commit:414b9eb9d5dd309988e409698ae4173967305a74) -
If enable _BLIT0:SC_C_SEL0, the prg for _BLIT0
will connect to _BLIT1, so _BLIT1 will have two prgs,
and _BLIT1 could works for multi planes conversion.
Check the plane num and dynamic enable or disable SC_C_SEL0.Signed-off-by: yuchou gan
-
This patch adds prg_put_auxiliary() helper support so that users may
set a particular PRG not serve as an auxiliary one.Signed-off-by: Yuchou Gan
-
As the display will also use dprc0-irq, which will disturb the
interrupt for blit engine if blit engine use irq.
Refine the first frame process so that blit engine never use irq any more.Signed-off-by: yuchou gan
-
On qxp b0 board, _BLIT1 will have aux_prg if enable PRG0_SEL.
Signed-off-by: yuchou gan
-
On QXP B0 board, prg1 can alternative connect to
dpr_channel1 and channel2. And if enable PRG0_SEL:BLIT0,
prg1 will connect to channel2, so it could
support 2-plane format tile to linear convert.Signed-off-by: yuchou gan
-
Add SC_C_SEL0 for imx8qm/qxp B0.
Signed-off-by: yuchou gan
26 Apr, 2018
6 commits
-
there are 2 test failed on 8QXP FB. CL151757 fixed bug #20196,
for image objects using host ptr, set the cacheable flag correctly.merged CL151774 fix build error cause by CL151757.
Signed-off-by: Xianzhong
(cherry picked from commit 0be7546b8798645cea95e7dc935c43380f763458) -
When pm is running power ON to OFF (not broadcast), gckCOMMAND_Stall is called for synchronization.
But it does not blocks more events.Signed-off-by: Xianzhong
(cherry picked from commit 1e2fae3d33a5e4b0690722dc112fd5a77eb90eac) -
When power ON to other mode with broadcast (SUSPEND_BROADCAST,
IDLE_BROADCAST, OFF_BROADCAST), command->powerSemaphore is acquired after check idle.
code sequence:
check commit atom
check idle
>>> at this point, other thread may have new commits at this
>>> point.
Acquire command->powerSemaphore
... do clock offThis can cause unexpected interrupts after clock OFF or power
OFF.To fix: try to acquire powerSemaphore before check commit atom,
abort when failure, because command commit is in progress.fix bug #19216, #19230.
Signed-off-by: Xianzhong
(cherry picked from commit 5228271314e8f575e4bbd9d3087c220b6a344b7d) -
When pm (SetPowerManagementState) is running power ON to
SUSPEND_BROADCAST, it only checks wait-link FE, but not Async FE. Clock
can be off when read AsyncFE Acknowledge register and other.pm thread:
...
check commit atom ok
>> check idle OK
(former stopIsr before cl144673 is here)
set GPU clock off
...isr:
gcmkONERROR(ReadRegister(AQ_INTR_ACKNOWLEDGE_Address));
gckEVENT_Interrupt
>>> here, at this point, all interrupt comes, check idle in
>>> pm thread can pass.
gcmkONERROR(ReadRegister(AQ_INTR_ACKNOWLEDGE_EX_Address));
gckFE_UpdateAvaiable -> ReadRegister(GCREG_FE_ASYNC_STATUS_Address)If gcmkONERROR(ReadRegister(AQ_INTR_ACKNOWLEDGE_EX_Address))
fail of clock off, then gckHARDWARE_Interrupt fails. In isrRoutine, it
won't wake up threadRoutine. Then it's stuck!
ReadRegister(GCREG_FE_ASYNC_STATUS_Address) failure can cause
unexpected behavior, too.Former stopIsr (free_irq, before cl144673) can remove isr before
GPU clock off. So the issue is hidden.To fix:
1. We should return success when either FE or AsyncFE reports
correct interrupts, so that isr can wake up threadRoutine for either FE.
That means, only need return ERROR when both FEs reports ERROR.
2. Add check for status of
ReadRegister(GCREG_FE_ASYNC_STATUS_Address).Fix bug #19216, #19230.
merged BUG#19216 BUG#19230 CL152073 add missing part for CL151955
Signed-off-by: Xianzhong
(cherry picked from commit 274841e0b05704726e28cc10185b6fb5973969f4) -
1. slightly increate performance for interrupt handler
2. refine powerMutex lock
3. remove obsolete power management mode
4. code refinement preparing fix for bug #19216, #19230Signed-off-by: Xianzhong
(cherry picked from commit e002022c3143b3e266af893b02bb913e3d156c54) -
Using uninitialized value minf when calling snprintf.
Initilize it to fix.Date: 25th Apr, 2018
Signed-off-by: Yuchou Gan
25 Apr, 2018
3 commits
-
Currently, WiFi only work on SDIO2.0 mode, so add property
"no-1-8-v", otherwise following warning log will be printsdhci-esdhc-imx 40380000.usdhc: could not get ultra high speed state, work on normal mode
The regulator reg_vsd_3v3 and reg_sd1_vmmc has the same
regulator name, so will trigger the following error log:VSD_3V3: Failed to create debugfs directory
So change the regulator name of reg_sd1_vmmc.
According to the spec suggestion, ibe need to be enabled
for usdhc clock pin, and clock is better to pull down.Signed-off-by: Haibo Chen
(cherry picked from commit b62dd733a100e35e93543642149bcf8b61e13242) -
When CONFIG_GENERIC_CLOCKEVENTS_MIN_ADJUST=n, the call path
hrtimer_reprogram -> clockevents_program_event ->
clockevents_program_min_delta will not retry if the clock event driver
returns -ETIME.If the driver could not satisfy the program_min_delta for any reason, the
lack of a retry means the CPU may not receive a tick interrupt, potentially
until the counter does a full period. This leads to rcu_sched timeout
messages as the stalled CPU is detected by other CPUs, and other issues if
the CPU is holding locks or other resources at the point at which it
stalls.There have been a couple of observed mechanisms through which a clock event
driver could not satisfy the requested min_delta and return -ETIME.With the MIPS GIC driver, the shared execution resource within MT cores
means inconventient latency due to execution of instructions from other
hardware threads in the core, within gic_next_event, can result in an event
being set in the past.Additionally under virtualisation it is possible to get unexpected latency
during a clockevent device's set_next_event() callback which can make it
return -ETIME even for a delta based on min_delta_ns.It isn't appropriate to use MIN_ADJUST in the virtualisation case as
occasional hypervisor induced high latency will cause min_delta_ns to
quickly increase to the maximum.Instead, borrow the retry pattern from the MIN_ADJUST case, but without
making adjustments. Retry up to 10 times, each time increasing the
attempted delta by min_delta, before giving up.[ Matt: Reworked the loop and made retry increase the delta. ]
Signed-off-by: James Hogan
Signed-off-by: Matt Redfearn
Signed-off-by: Thomas Gleixner
Cc: linux-mips@linux-mips.org
Cc: Daniel Lezcano
Cc: "Martin Schwidefsky"
Cc: James Hogan
Link: https://lkml.kernel.org/r/1508422643-6075-1-git-send-email-matt.redfearn@mips.com -
Dump the error info only when there is an error. If the gcdALLOC_ON_FAULT is not enabled, still need to check
the HW status to decide whether to dump the exception info or notSigned-off-by: Ella Feng
Reviewed-by: Xianzhong Li
24 Apr, 2018
3 commits
-
Save the meta data info in the _gcsVIDMEM_NODE.
DCSS can query the meta data, and get the tile statust buffer info.Date: Apr 13, 2018
Signed-off-by: Yong Gan yong.gan@nxp.com
(cherry picked from commit cea92256fec8380e6e185d65c7746988e7c6426e) -
For overlay framebuffer, when its grayscale is '0' and the format
bpp is 32, enable the global alpha blending by default which can
make the overlay fb can display the framebuffer content as long as
it is unblanked.Signed-off-by: Fancy Fang
(cherry picked from commit fede70b9066b03c24347619775fd7d007c5ddafb) -
fix audio bus mode hang issue on imx6sl. The root cause of
this issue is that busfreq mode passed to TEE side is wrong,
it will lead to ccm setting is wrong in TEE.Signed-off-by: Bai Ping
Tested-by: Anson huang
20 Apr, 2018
2 commits
-
Fixes: a6fd1613cca4 ("MLK-18036-2 Delete *optee.dts files")
Signed-off-by: Leonard Crestez
Reviewed-by: Clement Faure
(cherry picked from commit 4706425bb745850c8d28608ebcaffd239a945e63) -
A specific node for OCRAM mapping in optee as been added in
the device tree. These dedicated optee device trees can be
removed.Signed-off-by: Clement Faure
Acked-by: Peng Fan
(cherry picked from commit a6fd1613cca4a5008c347d4473b92b119385644c)