Age | Commit message (Collapse) | Author |
|
The function kstrtobool_from_user is added to the Mali code, but has
also been cherry-picked into Linux 4.4.28.
To resolve compilation problems, we remove the Mali version.
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
This is required for runtime power management.
|
|
This patch adds power domain information to GPU device
using SCPI power domains.
Signed-off-by: Manish Pandey <manish.pandey2@arm.com>
Signed-off-by: Jon Medhurst <tixy@linaro.org>
|
|
SCPI Power domains for device power managment
(partially backported-from commit ID :-
bdeaa21affa696279ed9b676d6e4f8ddc6f42a54)
Signed-off-by: Manish Pandey <manish.pandey2@arm.com>
Signed-off-by: Jon Medhurst <tixy@linaro.org>
|
|
platform independent runtime PM implementation using
runtime autosuspend framework
Signed-off-by: Manish Pandey <manish.pandey2@arm.com>
Signed-off-by: Jon Medhurst <tixy@linaro.org>
|
|
Signed-off-by: Jon Medhurst <tixy@linaro.org>
|
|
Signed-off-by: Jon Medhurst <tixy@linaro.org>
|
|
Signed-off-by: Jon Medhurst <tixy@linaro.org>
|
|
Mali driver is hard coded to the name "clk_mali" and latest kernels
use the clock-output-names in preference to any phandles when looking
for clocks, so this name shold match expectations.
|
|
The Android gralloc for Juno expects an ION driver and as we don't have
a custom one we need this dummy one. Which begs the question, what is its
purpose and is it actually used for anything...?
Signed-off-by: Jon Medhurst <tixy@linaro.org>
|
|
Add configuration options to have the Mali GPU driver
built-in with Gator enabled.
Signed-off-by: Guillaume Tucker <guillaume.tucker@arm.com>
|
|
Setting up the OPPs via a module relies on the module being loaded at
the right time. For Juno that means that it has to be loaded after the
SCPI clocks are loaded but before the core mali driver. Getting that
ordering right is quite a pain and now that the SCPI is a platform
driver, using module_init is a guarantee for failure, as it's always
going to happen before any platform driver is loaded.
Instead, make setting up the opps a function that the driver
provides as a weak, dummy function that can be overridden by platforms
providing a strong function if they need to set up OPPs.
Signed-off-by: Javi Merino <javi.merino@arm.com>
Signed-off-by: Jon Medhurst <tixy@linaro.org>
|
|
Fix juno_mali_opp.c for the LSK 3.18 kernel. This still needs to be
called at the right point in time, that is to say after SCPI has been
initialised and before the Mali GPU driver gets initialised.
[Commit message wording by Guillaume Tucker <guillaume.tucker@arm.com>]
Signed-off-by: Jon Medhurst <tixy@linaro.org>
|
|
Fix juno_soc/Kbuild for both built-in and module
mali_kbase.ko configurations. The juno_mali_opp.ko
needs to be inserted manually first.
Signed-off-by: Guillaume Tucker <guillaume.tucker@arm.com>
|
|
Add drivers/gpu/arm/midgard and drivers/base/ump to
top-level Kconfig and Kbuild files.
Signed-off-by: Guillaume Tucker <guillaume.tucker@arm.com>
|
|
Contents extracted from TX041-SW-99002-r15p0-00rel0.tgz
downloaded from developer.arm.com
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
Juno isn't really that compatible with Versatile Express and the only
thing in Linux that tests for that string is the platform code which
registers smp ops in 32-bit kernels. These won't work on Juno as it uses
PSCI, so remove this compatible string and let 32-bit kernels work
properly.
Signed-off-by: Jon Medhurst <tixy@linaro.org>
|
|
Juno can be run with CPUs set to 32-bit mode, so add links to the arm64
device-trees so be can easily build 32-bit kernels for that scenario.
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
Signed-off-by: Jon Medhurst <tixy@linaro.org>
|
|
File generated with:
cat android/configs/android-base.cfg \
android/configs/android-recommended.cfg \
| sed -e "/KEEP ALPHABETICALLY SORTED/d" \
>linaro/configs/android.conf
# Below are additional configs which are missing from the cfg files
# (which seem rather unmaintained).
# Needed for mapping background/foreground/boost tasks onto specific
# CPUs (e.g. big or LITTLE)
echo CONFIG_CPUSETS=y >>linaro/configs/android.conf
echo CONFIG_PROC_PID_CPUSET=y >>linaro/configs/android.conf
Signed-off-by: Jon Medhurst <tixy@linaro.org>
|
|
|
|
File generated with:
cat android/configs/android-base.cfg \
android/configs/android-recommended.cfg \
| sed -e "/KEEP ALPHABETICALLY SORTED/d" \
>linaro/configs/android.conf
# Below are additional configs which are missing from the cfg files
# (which seem rather unmaintained).
# Needed for mapping background/foreground/boost tasks onto specific
# CPUs (e.g. big or LITTLE)
echo CONFIG_CPUSETS=y >>linaro/configs/android.conf
echo CONFIG_PROC_PID_CPUSET=y >>linaro/configs/android.conf
Signed-off-by: Jon Medhurst <tixy@linaro.org>
|
|
Setup SoC thermal zones driven by their respective temperature sensors
on Juno. Create passive trip points in the SoC thermal zone and bind
them to cpufreq cooling devices that support the power extensions.
Fix conflicts with existing entries.
Signed-off-by: Lukasz Luba <lukasz.luba@arm.com>
Signed-off-by: Jon Medhurst <tixy@linaro.org>
|
|
The core and the cluster sleep state entry latencies can't be same as
cluster sleep involves more work compared to core level e.g. shared
cache maintenance.
Experiments have shown on an average about 100us more latency for the
cluster sleep state compared to the core level sleep. This patch fixes
the entry latency for the cluster sleep state.
Fixes: 28e10a8f3a03 ("arm64: dts: juno: Add idle-states to device tree")
Cc: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Cc: "Jon Medhurst (Tixy)" <tixy@linaro.org>
Reviewed-by: Liviu Dudau <Liviu.Dudau@arm.com>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
(cherry picked from commit 909e481e2467f202b97d42beef246e8829416a85)
Signed-off-by: Jon Medhurst <tixy@linaro.org>
|
|
The PCIe root complex on Juno translates the MMIO mapped
at 0x5f800000 to the PIO address range starting at 0
(which is common because PIO addresses are generally < 64k).
Correct the DT to reflect this.
Signed-off-by: Jeremy Linton <jeremy.linton@arm.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
(cherry picked from commit 4c9456df8849204435c4de1849120b916975d75d)
Signed-off-by: Jon Medhurst <tixy@linaro.org>
|
|
The juno dts have entries for the hwmon scpi, let's create thermal zones
for the temperature sensors described in the Juno ARM Development
Platform Implementation Details.
Cc: Liviu Dudau <liviu.dudau@arm.com>
Cc: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Cc: Rob Herring <robh+dt@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Acked-by: Punit Agrawal <punit.agrawal@arm.com>
Signed-off-by: Javi Merino <javi.merino@arm.com>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
(cherry picked from commit f7b636a8d83c7c1285c55248e35458e03a007df3)
Signed-off-by: Jon Medhurst <tixy@linaro.org>
|
|
The Juno development platform has an external expansion bus which can
be used for additional hardware (e.g. LogicTile Express daughterboards).
Add this bus to the Juno base device-tree.
Acked-by: Liviu Dudau <Liviu.Dudau@arm.com>
Signed-off-by: Brian Starkey <brian.starkey@arm.com>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
(cherry picked from commit f5f7e45537e4ff534436c00d5671c1df84b0c390)
Signed-off-by: Jon Medhurst <tixy@linaro.org>
|
|
Commit fa38a82096a1 ("scripts/dtc: Update to upstream version
53bf130b1cdd") added warnings on node name unit-address presence/absence
mismatch in device trees.
This patch fixes those warning on all the juno/vexpress platforms where
unit-address is present in node name while the reg/ranges property is
not present. It also adds unit-address to all smb bus node.
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
(cherry picked from commit 6d6acd140ab3d46348ec3a9dbfd386d9ca42b825)
Signed-off-by: Jon Medhurst <tixy@linaro.org>
|
|
This can be a example of adding SBSA Generic Watchdog device node
into some dts files for the Soc which contains SBSA Generic Watchdog.
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Fu Wei <fu.wei@linaro.org>
[edited subject and moved change to dtsi file]
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
(cherry picked from commit 4739f744530a78bbf7e92b5cf93c10bf1ee09f41)
Signed-off-by: Jon Medhurst <tixy@linaro.org>
|
|
ARM's Juno platforms have two HDLCD controllers, each linked to an NXP
TDA19988 HDMI transmitter that provides output encoding. Add them
to the device tree.
Acked-by: Sudeep Holla <sudeep.holla@arm.com>
Signed-off-by: Liviu Dudau <Liviu.Dudau@arm.com>
(cherry picked from commit 9fd9288ed0899f9e318a97d73e777d6d3357265e)
Signed-off-by: Jon Medhurst <tixy@linaro.org>
|
|
Juno r2 is identical to Juno r1 with Cortex A57 cores replaced by
Cortex A72 cores.
Acked-by: Rob Herring <robh@kernel.org>
Acked-by: Liviu Dudau <Liviu.Dudau@arm.com>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
(cherry picked from commit e6d7f6dc857f6e8efafc68217a598bd5d532034f)
Signed-off-by: Jon Medhurst <tixy@linaro.org>
|
|
The PCIe controller is found on all Juno SoC version. However it's not
functional on R0 due to some hardware bug.
In preparation to add Juno R2 support, this patch moves the
pcie-controller defination to base DTS file. It's marked as disabled by
default and is enabled for Juno R1 explicitly.
Acked-by: Liviu Dudau <Liviu.Dudau@arm.com>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
(cherry picked from commit 36582c60de2789feb91b63ff4ed8ec9381fa4d1e)
Signed-off-by: Jon Medhurst <tixy@linaro.org>
|
|
The ARMv8 Foundation model sports a command line parameter to use
a GICv3 emulation instead of the default GICv2 interrupt controller.
Add a new .dts file which reuses most of the definitions of the
existing model while just adding the required properties for the
GICv3 node.
This allows the public Foundation model to run with a GICv3.
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
(cherry picked from commit 6ba29e916e15c11341b0e043ed643555143e9e64)
Signed-off-by: Jon Medhurst <tixy@linaro.org>
|
|
The ARMv8 Foundation model can be run with a GICv2 or a GICv3.
To prepare for the GICv3 version of the .dts without code duplication,
move most of the nodes of the existing DT (except the GIC) into an
include file and just keep that include statement and the GIC node in
the current foundation-v8.dts.
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
(cherry picked from commit d11a8979667818d44f25ebe4efeed258d9f770e8)
Signed-off-by: Jon Medhurst <tixy@linaro.org>
|
|
The Foundation model GIC mapping is wrong, as the GICC region should
be 8kB instead of 4kB (the model implements the GICv2 architecture).
This defect prevents the driver from switching to EOImode==1.
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
(cherry picked from commit e6b512285a46c71e056e15985140d8a078937b7d)
Signed-off-by: Jon Medhurst <tixy@linaro.org>
|
|
To prepare the ARM foundation model to support GICv3, we adjust
the #address-cells property of the current GICv2 node to be
compatible with the two cells required for GICv3 later.
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
(cherry picked from commit 26447231fe8cb695369a392d8e018c035455ac8c)
Signed-off-by: Jon Medhurst <tixy@linaro.org>
|
|
The DMA-330 has an "irq_abort" interrupt line on which it signals faults
separately from the "irq[n:0]" channel interrupts. On Juno, this is
wired up to SPI 92; add it to the DT so that DMAC faults are correctly
reported for the driver to reset the thing, rather than leaving it
locked up and waiting to time out.
CC: Liviu Dudau <liviu.dudau@arm.com>
CC: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
(cherry picked from commit aeb2ee5683e51305aff274d8b0a50af69b3ab310)
Signed-off-by: Jon Medhurst <tixy@linaro.org>
|
|
This patch adds idle-states bindings data collected through a set of
benchmarking experiments (latency and energy consumption) on Juno
boards. Latencies data represents the worst case scenarios as required
by the DT idle-states bindings.
Signed-off-by: Jon Medhurst <tixy@linaro.org>
Acked-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
(cherry picked from commit 28e10a8f3a03f39d087bb6180be2fb1f407664e5)
Signed-off-by: Jon Medhurst <tixy@linaro.org>
|
|
otherwise we will get mediacode error like this:
E /system/bin/mediaextractor: libminijail: prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER): Invalid argument
Change-Id: I8c3f25a0101785c11aaefdf405d6e2ae6ef17963
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
|
|
File generated with:
cat android/configs/android-base.cfg \
android/configs/android-recommended.cfg \
| sed -e "/KEEP ALPHABETICALLY SORTED/d" \
>linaro/configs/android.conf
|
|
Signed-off-by: Jon Medhurst <tixy@linaro.org>
|
|
We need this available to use as a broadcast timer on Juno r0 which has
a broken memory mapped architected timer.
Signed-off-by: Jon Medhurst <tixy@linaro.org>
|
|
So we can turn off SELinux on kernel commandline. This is useful
for developers who update a file system by methods that don't
preserve security attributes of files.
Signed-off-by: Jon Medhurst <tixy@linaro.org>
|
|
Signed-off-by: Jon Medhurst <tixy@linaro.org>
|
|
From Linux 4.3, merge_config.sh will error out if a config fragment is
missing. So, to make our life simpler, add a dummy empty fragment so we
can still use the same build scripts with different kernel trees.
|
|
|
|
|
|
File generated with:
cat android/configs/android-base.cfg \
android/configs/android-recommended.cfg \
| sed -e "/KEEP ALPHABETICALLY SORTED/d" \
>linaro/configs/android.conf
# Below are additional configs which are missing from the cfg files
# (which seem rather unmaintained).
# Needed for mapping background/foreground/boost tasks onto specific
# CPUs (e.g. big or LITTLE)
echo CONFIG_CPUSETS=y >>linaro/configs/android.conf
echo CONFIG_PROC_PID_CPUSET=y >>linaro/configs/android.conf
Signed-off-by: Jon Medhurst <tixy@linaro.org>
|
|
4.4-armlt-base
|
|
4.4-armlt-base
|
|
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Signed-off-by: Andrey Konovalov <andrey.konovalov@linaro.org>
|