On Mon, Jan 15, 2018 at 6:53 AM, Greentime Hu wrote:
> From: Greentime Hu
>
> This patch adds definitions for the ELF format, relocation types, vdso
> locations and EXEC_PAGESIZE.
>
> Signed-off-by: Vincent Chen
> Signed-off-by: Greentime Hu
Acked-by: Arnd Bergmann
On Mon, Jan 15, 2018 at 6:53 AM, Greentime Hu wrote:
> From: Greentime Hu
>
> This patch adds support for system calls.
>
> Signed-off-by: Vincent Chen
> Signed-off-by: Greentime Hu
You seem to have finally addressed all my previous concerns, looks good.
Reviewed-by: Arnd Bergmann
On Mon, Jan 15, 2018 at 6:53 AM, Greentime Hu wrote:
> From: Greentime Hu
>
> This patch adds VDSO support. The VDSO code is currently used for
> sys_rt_sigreturn() and optimised gettimeofday() (using the SoC timer counter).
>
> Signed-off-by: Vincent Chen
> Signed-off-by: Greentime Hu
Acked-b
We accidentally used a logical AND instead of a bitwise AND here.
Fixes: cee8113a295a ("soc: xilinx: xlnx_vcu: Add Xilinx ZYNQMP VCU logicoreIP
init driver")
Signed-off-by: Dan Carpenter
diff --git a/drivers/soc/xilinx/xlnx_vcu.c b/drivers/soc/xilinx/xlnx_vcu.c
index c1d6f1b190b6..a840c0272135
On Wed, Jan 17, 2018 at 8:31 PM, Seth Forshee
wrote:
> On Wed, Jan 17, 2018 at 07:56:59PM +0100, Alban Crequy wrote:
>> On Wed, Jan 17, 2018 at 3:29 PM, Seth Forshee
>> wrote:
>> > On Wed, Jan 17, 2018 at 11:59:06AM +0100, Alban Crequy wrote:
>> >> [Adding Tejun, David, Tom for question about cus
On Mon, Jan 15, 2018 at 5:24 PM, Ludovic Desroches
wrote:
> It can be useful for the pinmuxing layer to know which device is
> requesting a GPIO. Add a consumer variant for gpiod_request to
> reach this goal.
>
> GPIO chips managed by pin controllers should provide the new
> request_consumer oper
On Mon, Jan 15, 2018 at 6:53 AM, Greentime Hu wrote:
> From: Greentime Hu
>
> This patch adds support for signal handling.
>
> Signed-off-by: Vincent Chen
> Signed-off-by: Greentime Hu
I never feel qualified enough to properly review signal handling code, so
no Ack from me for this code even t
On Mon, Jan 15, 2018 at 6:53 AM, Greentime Hu wrote:
> From: Greentime Hu
>
> This patch add support for various library functions.
>
> Signed-off-by: Vincent Chen
> Signed-off-by: Greentime Hu
Acked-by: Arnd Bergmann
On Mon, Jan 15, 2018 at 10:43:18AM +0100, Peter Zijlstra wrote:
> On Tue, Jan 02, 2018 at 03:44:57PM +, Morten Rasmussen wrote:
>
> > Vincent already proposed, why can't we just modify Brendan's
> > CPU_NEWLY_IDLE proposal to do a stats update from idle_balance() every
> > 32ms regardless of w
Do not allocate space for rcu boost field when
RCU BOOST is not configured.
Signed-off-by: Liu Changcheng
diff --git a/kernel/rcu/tree.h b/kernel/rcu/tree.h
index 46a5d19..88f087e 100644
--- a/kernel/rcu/tree.h
+++ b/kernel/rcu/tree.h
@@ -129,6 +129,7 @@ struct rcu_node {
On Mon, Jan 15, 2018 at 6:53 AM, Greentime Hu wrote:
> From: Greentime Hu
>
> This patch adds ptrace support.
>
> Signed-off-by: Vincent Chen
> Signed-off-by: Greentime Hu
I must have missed this patch earlier, unfortunately I don't think
this is ready:
> +long arch_ptrace(struct task_struct
On Mon, Jan 15, 2018 at 09:26:09AM +0100, Vincent Guittot wrote:
> Le Wednesday 03 Jan 2018 à 10:16:00 (+0100), Vincent Guittot a écrit :
> > Hi Peter,
> >
> > On 22 December 2017 at 21:42, Peter Zijlstra wrote:
> > > On Fri, Dec 22, 2017 at 07:56:29PM +0100, Peter Zijlstra wrote:
> > >> Right; b
On Mon, Jan 15, 2018 at 6:53 AM, Greentime Hu wrote:
> From: Greentime Hu
>
> This patch adds L2 cache support.
>
> Signed-off-by: Vincent Chen
> Signed-off-by: Greentime Hu
Acked-by: Arnd Bergmann
On Wed, Jan 17, 2018 at 09:09:19PM +0100, Arnd Bergmann wrote:
> Mark, not sure how you want to proceed from here: if this is a branch
> that can get rebased, it might be best to do that merge again, or even
> drop one of the two copies of my earlier patch. Otherwise I can send
> a new version of
On Mon, Jan 15, 2018 at 6:53 AM, Greentime Hu wrote:
> From: Greentime Hu
>
> This patch adds support for loadable modules.
One detail:
You still seem to have both the ELF_REL and ELF_RELA based functions
implemented here, you should drop the unused ELF_REL version:
> diff --git a/arch/nds32/k
On Mon, Jan 15, 2018 at 6:53 AM, Greentime Hu wrote:
> From: Greentime Hu
>
> This patch adds support for timer.
>
> Signed-off-by: Vincent Chen
> Signed-off-by: Greentime Hu
> Reviewed-by: Linus Walleij
Acked-by: Arnd Bergmann
On Mon, Jan 15, 2018 at 6:53 AM, Greentime Hu wrote:
> From: Greentime Hu
>
> This patch adds support for device tree.
>
> Signed-off-by: Vincent Chen
> Signed-off-by: Greentime Hu
Acked-by: Arnd Bergmann
On Mon, Jan 15, 2018 at 6:53 AM, Greentime Hu wrote:
> From: Greentime Hu
>
> This patch adds nds32 defconfig.
>
> Signed-off-by: Vincent Chen
> Signed-off-by: Greentime Hu
Acked-by: Arnd Bergmann
We need to call of_node_put() for device nodes obtained with
of_find_node_by_path().
Fixes: 3aa0582fdb82 ("of: platform: populate /firmware/ node from
of_platform_default_populate_init()")
Reported-by: Loys Ollivier
Cc: Rob Herring
Cc: Frank Rowand
Signed-off-by: Sudeep Holla
---
drivers/of/
Commit-ID: a0c9259dc4e1923a98356967ce8b732da1979df8
Gitweb: https://git.kernel.org/tip/a0c9259dc4e1923a98356967ce8b732da1979df8
Author: Thomas Gleixner
AuthorDate: Wed, 17 Jan 2018 16:01:47 +0100
Committer: Thomas Gleixner
CommitDate: Thu, 18 Jan 2018 11:38:41 +0100
irq/matrix: Spread
On Mon, Jan 15, 2018 at 6:53 AM, Greentime Hu wrote:
> From: Greentime Hu
>
> Signed-off-by: Greentime Hu
Please add a changelog text to every single commit, otherwise:
Acked-by: Arnd Bergmann
On Mon, Jan 15, 2018 at 6:53 AM, Greentime Hu wrote:
> From: Greentime Hu
>
> This patch adds nds32 L2 cache controller binding documents.
>
> Signed-off-by: Greentime Hu
> Reviewed-by: Rob Herring
Acked-by: Arnd Bergmann
On Wed, 17 Jan 2018, Lingutla Chandrasekhar wrote:
> In case when timers are migrated to a CPU, after it exits
> idle, but before timer base is forwarded, either from
> run_timer_softirq()/mod_timer()/add_timer_on(), it's
> possible that migrated timers are queued, based on older
> clock value. Th
On Mon, Jan 15, 2018 at 6:53 AM, Greentime Hu wrote:
> From: Greentime Hu
>
> This patch adds an irqchip driver document for the Andestech Internal Vector
> Interrupt Controller.
>
> Signed-off-by: Rick Chen
> Signed-off-by: Greentime Hu
> Reviewed-by: Rob Herring
Acked-by: Arnd Bergmann
On Mon, Jan 15, 2018 at 6:53 AM, Greentime Hu wrote:
> From: Greentime Hu
>
> This patch introduces some miscellaneous header files.
>
> Signed-off-by: Vincent Chen
> Signed-off-by: Greentime Hu
Acked-by: Arnd Bergmann
On 16.01.2018 19:38, Kamil Konieczny wrote:
> Export and import were optional in async hash. As most drivers were
> rewritten, they become mandatory now, so correct init of ahash
> transformation.
>
> Signed-off-by: Kamil Konieczny
Please drop this patch, as there is one more driver needed for c
On Wed, Jan 17, 2018 at 09:14:10PM +0100, Jernej Skrabec wrote:
> Currently, if one of the factors isn't present, bit 0 gets always set to
> 1. For example, A83T has NMP PLLs modelled as NKMP PLL without K. Since
> K is not specified, it's offset, width and shift is 0. Driver assumes
> that lowest
On Wed, Jan 17, 2018 at 11:11 AM, Henrique de Moraes Holschuh
wrote:
> On Wed, 17 Jan 2018, Dmitry Vyukov wrote:
>> On Wed, Jan 17, 2018 at 10:32 AM, Pavel Machek wrote:
>> > On Fri 2018-01-12 17:58:01, syzbot wrote:
>> >> syzkaller hit the following crash on
>> >> 19d28fbd306e7ae7c1acf05c3e6968b
Commit-ID: f23d74f6c66c3697e032550eeef3f640391a3a7d
Gitweb: https://git.kernel.org/tip/f23d74f6c66c3697e032550eeef3f640391a3a7d
Author: Tom Lendacky
AuthorDate: Wed, 17 Jan 2018 17:41:41 -0600
Committer: Thomas Gleixner
CommitDate: Thu, 18 Jan 2018 11:48:59 +0100
x86/mm: Rework wbinvd,
On Wed, Jan 17, 2018 at 11:03:24PM +0100, Noralf Trønnes wrote:
>
> Den 17.01.2018 18.00, skrev Daniel Thompson:
> >
> >
> >On 16/01/18 10:31, Meghana Madhyastha wrote:
> >>Add helper functions backlight_enable and backlight_disable to
> >>enable/disable a backlight device. These helper functions
Hi,
On Wed, Jan 17, 2018 at 09:14:11PM +0100, Jernej Skrabec wrote:
> This commit changes formula from this:
>
> Freq = (parent_freq * N * K) / (M * P)
>
> to this:
>
> Freq = (parent_freq / M) * N * K / P
>
> This improves situation when N is in the range 1-255. PLL parent clock
> is almost a
On Mon, Jan 15, 2018 at 6:53 AM, Greentime Hu wrote:
> From: Greentime Hu
>
> This patch adds Makefile, Kconfig and vmlinux.lds.S files required for
> building
> an nds32 kernel.
>
> Signed-off-by: Vincent Chen
> Signed-off-by: Greentime Hu
I find some new details every time I look here ;-)
Add helper functions for the translation between parent index and
register value in the generic multiplexer function. The purpose of
this change is avoid duplicating the code in other clock providers,
using the same generic logic.
Signed-off-by: Jerome Brunet
---
drivers/clk/clk-mux.c| 7
This series exports an helper providing the divider mask in the generic
divider and helpers to translate the between the index and the register
value in the generic mux.
The goal is to avoid duplicating this code in clock providers deriving
from these generic clocks, something I plan do doing in u
Hi Jason,
On 2017/10/18 22:03, Jason Baron wrote:
>
>
> On 10/17/2017 11:37 AM, Davidlohr Bueso wrote:
>> On Fri, 13 Oct 2017, Jason Baron wrote:
>>
>>> The ep_poll_safewake() function is used to wakeup potentially nested
>>> epoll
>>> file descriptors. The function uses ep_call_nested() to prev
On Wed, Jan 17, 2018 at 05:09:57PM +, Daniel Thompson wrote:
> On 16/01/18 10:34, Meghana Madhyastha wrote:
> >Add devm_of_find_backlight and the corresponding release
> >function because some drivers use devres versions of functions
> >for acquiring device resources.
> >
> >Signed-off-by: Megh
On Mon, Jan 15, 2018 at 6:53 AM, Greentime Hu wrote:
> From: Greentime Hu
>
> This patch adds nds32 CPU binding documents.
>
> Signed-off-by: Vincent Chen
> Signed-off-by: Rick Chen
> Signed-off-by: Zong Li
> Signed-off-by: Greentime Hu
> Reviewed-by: Rob Herring
> ---
> Documentation/devic
On Mon, Jan 15, 2018 at 6:53 AM, Greentime Hu wrote:
> From: Greentime Hu
>
> This patch adds nds32 SoC(AE3XX and AG101P) binding documents.
>
> Signed-off-by: Greentime Hu
> Reviewed-by: Rob Herring
Acked-by: Arnd Bergmann
On Mon, Jan 15, 2018 at 6:53 AM, Greentime Hu wrote:
> From: Greentime Hu
>
> This patch is used to support nds32 architecture to use these faraday
> mac IP.
>
> Signed-off-by: Greentime Hu
Acked-by: Arnd Bergmann
Commit-ID: 64f29d1bc9fb8196df3d0f1df694245230e208c0
Gitweb: https://git.kernel.org/tip/64f29d1bc9fb8196df3d0f1df694245230e208c0
Author: Matthew Wilcox
AuthorDate: Wed, 17 Jan 2018 07:14:12 -0800
Committer: Thomas Gleixner
CommitDate: Thu, 18 Jan 2018 11:56:48 +0100
lockdep: Assign lock
Commit-ID: 08f36ff642342fb058212099757cb5d40f158c2a
Gitweb: https://git.kernel.org/tip/08f36ff642342fb058212099757cb5d40f158c2a
Author: Matthew Wilcox
AuthorDate: Wed, 17 Jan 2018 07:14:13 -0800
Committer: Thomas Gleixner
CommitDate: Thu, 18 Jan 2018 11:56:48 +0100
lockdep: Make lockde
Commit-ID: 05b93801a23c21a6f355f4c492c51715d6ccc96d
Gitweb: https://git.kernel.org/tip/05b93801a23c21a6f355f4c492c51715d6ccc96d
Author: Matthew Wilcox
AuthorDate: Wed, 17 Jan 2018 07:14:14 -0800
Committer: Thomas Gleixner
CommitDate: Thu, 18 Jan 2018 11:56:49 +0100
lockdep: Convert som
On Mon, Jan 15, 2018 at 6:57 AM, Greentime Hu wrote:
> From: Rick Chen
>
> Add a document to describe Andestech atcpit100 timer and
> binding information.
>
> Signed-off-by: Rick Chen
> Signed-off-by: Greentime Hu
> Acked-by: Rob Herring
Acked-by: Arnd Bergmann
Export clk_div_mask() in clk-provider header so every clock providers
derived from the generic clock divider may share the definition instead
of redefining it.
Signed-off-by: Jerome Brunet
---
drivers/clk/clk-divider.c| 24 +++-
include/linux/clk-provider.h | 1 +
2 file
On Mon, Jan 15, 2018 at 6:57 AM, Greentime Hu wrote:
> From: Rick Chen
>
> VDSO needs real-time cycle count to ensure the time accuracy.
> Unlike others, nds32 architecture does not define clock source,
> hence VDSO needs atcpit100 offering real-time cycle count
> to derive the correct time.
>
>
commit 4cd13c21b207e ("softirq: Let ksoftirqd do its job") has the
effect of deferring timer handling in case of high CPU load, hence
delaying the delayed work allthought the worker is running which
high realtime priority.
As hrtimers are not managed by softirqs, this patch replaces the
delayed wo
The merge between commit abaca806fd13 ("IIO: ADC: stm32-dfsdm: code
optimization") and commit 2353758bc2d4 ("IIO: ADC: stm32-dfsdm: avoid
unused-variable warning") left one variable behind that is no longer
needed and can be removed, as shown by the gcc warning:
drivers/iio/adc/stm32-dfsdm-core.c:
On Tue, Jan 16, 2018 at 03:28:27PM +0100, Peter Zijlstra wrote:
C'mon... you can do it... I believe in you..., you can give me that commit
message, even if it is a single sentence...
:-)))
> Requested-by: Josh Poimboeuf
> Signed-off-by: Peter Zijlstra (Intel)
> ---
> arch/x86/include/asm/cpuf
The patch
ASoC: Intel: remove select on non-existing SND_SOC_INTEL_COMMON
has been applied to the asoc tree at
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git
All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24
The patch
spi: a3700: Allow to enable or disable FIFO mode
has been applied to the spi tree at
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git
All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to
The patch
spi: a3700: Add full-duplex support
has been applied to the spi tree at
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git
All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
The patch
spi: a3700: Clear DATA_OUT when performing a read
has been applied to the spi tree at
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git
All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent t
The patch
spi: a3700: Set frequency limits at startup
has been applied to the spi tree at
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git
All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linu
On Thu, Jan 18, 2018 at 12:20:32PM +0200, Mika Westerberg wrote:
> On Wed, Jan 17, 2018 at 12:53:41PM +0100, Takashi Iwai wrote:
> > Unfortunately we couldn't get approval yet, since it's a prototype
> > machine.
>
> In that case, I think the system itself and its ACPI tables should be
> fixed if
On Thu, 18 Jan 2018 12:26:37 +0100,
Mika Westerberg wrote:
>
> On Thu, Jan 18, 2018 at 12:20:32PM +0200, Mika Westerberg wrote:
> > On Wed, Jan 17, 2018 at 12:53:41PM +0100, Takashi Iwai wrote:
> > > Unfortunately we couldn't get approval yet, since it's a prototype
> > > machine.
> >
> > In that
On Tue, Jan 16, 2018 at 03:28:28PM +0100, Peter Zijlstra wrote:
> Add a type field to the alternative description. For now this will be
> used to annotate static_cpu_has() but possible future uses include
> using it to implement alternative alignment and special NOP handling.
>
> Suggested-by: Bor
On 18.1.2018 11:28, Dan Carpenter wrote:
> We accidentally used a logical AND instead of a bitwise AND here.
>
> Fixes: cee8113a295a ("soc: xilinx: xlnx_vcu: Add Xilinx ZYNQMP VCU logicoreIP
> init driver")
> Signed-off-by: Dan Carpenter
>
> diff --git a/drivers/soc/xilinx/xlnx_vcu.c b/drivers/
Add cpld-syscon node to support the cpld control for hns-dsaf
on the hip07 SoC.
Signed-off-by: Huazhong Tan
---
arch/arm64/boot/dts/hisilicon/hip07.dtsi | 8
1 file changed, 8 insertions(+)
diff --git a/arch/arm64/boot/dts/hisilicon/hip07.dtsi
b/arch/arm64/boot/dts/hisilicon/hip07.dts
On Tue, Jan 09, 2018 at 04:09:04PM -0800, Megha Dey wrote:
>
> +static void mcryptd_skcipher_encrypt(struct crypto_async_request *base,
> + int err)
> +{
> + struct skcipher_request *req = skcipher_request_cast(base);
> + struct mc
Hi Brian,
On 01/11/2018 12:16 PM, Philippe CORNU wrote:
> Hi Brian,
>
> On 01/09/2018 07:55 PM, Brian Norris wrote:
>> Hi Philippe,
>>
>> On Tue, Jan 09, 2018 at 10:48:43AM +, Philippe CORNU wrote:
>>> Hi Brian,
>>>
>>> And many thanks for implementing these TODOs.
>>
>> And thanks for adding
On Wed, Jan 17, 2018 at 05:42:19PM +, Suzuki K Poulose wrote:
> We issue the enable() call back for all CPU hwcaps capabilities
> available on the system, on all the CPUs. So far we have ignored
> the argument passed to the call back, which had a prototype to
> accept a "void *" for use with on
The lvds encoder chip was omitted by oversight. Add it.
Fixes: 0e4323899973 ("ARM: dts: at91: add devicetree for the Axentia Nattis
with Natte power")
Signed-off-by: Peter Rosin
---
arch/arm/boot/dts/at91-nattis-2-natte-2.dts | 31 ++---
1 file changed, 28 insertions(+),
The node is referred to as a DAI from the sound node and should
therefore have a #sound-dai-cells property.
Fixes: 21dd0ece34c2 ("ARM: dts: at91: add devicetree for the Axentia TSE-850")
Signed-off-by: Peter Rosin
---
arch/arm/boot/dts/at91-tse850-3.dts | 1 +
1 file changed, 1 insertion(+)
dif
Hi!
Here's a series that is of the "documentation" kind. It fixes things
that don't really need fixing, but the fixes are correct none-the-less
and should prevent possible confusion.
Changes since v1:
- One more fix added to patch 1/3. The size of the rootfs partition
should be 504MB, as the f
The nattis currently relies on the cmdline to correctly configure the
MTD partition table, and the one given in the device tree is simply
ignored. Which is fortunate, since the device tree partition table is
bonkers and does not match reality.
So, in order to avoid confusion, fix the device tree p
On Thu, Jan 18, 2018 at 04:32:26PM +0530, Meghana Madhyastha wrote:
> On Wed, Jan 17, 2018 at 05:09:57PM +, Daniel Thompson wrote:
> > On 16/01/18 10:34, Meghana Madhyastha wrote:
> > >Add devm_of_find_backlight and the corresponding release
> > >function because some drivers use devres version
In case when timers are migrated to a CPU, after it exits
idle, but before timer base is forwarded, either from
run_timer_softirq()/mod_timer()/add_timer_on(), it's
possible that migrated timers are queued, based on older
clock value. This can cause delays in handling those timers.
For example, co
On Wed 2018-01-17 12:05:51, Tejun Heo wrote:
> Hello, Steven.
>
> On Wed, Jan 17, 2018 at 12:12:51PM -0500, Steven Rostedt wrote:
> > From what I gathered, you said an OOM would trigger, and then the
> > network console would not be able to allocate memory and it would
> > trigger a printk too, an
Removal of IOMMUs cannot be done reliably.
This is similar to exynos iommu driver.
Signed-off-by: Jeffy Chen
Reviewed-by: Tomasz Figa
---
Changes in v4:
Rewrite commit message.
Changes in v3:
Also remove remove() and module_exit() as Tomasz suggested.
Changes in v2: None
drivers/iommu/rock
From: Tomasz Figa
Currently if the driver encounters an error while attaching device, it
will leave the IOMMU in an inconsistent state. Even though it shouldn't
really happen in reality, let's just add proper error path to keep
things consistent.
Signed-off-by: Tomasz Figa
Signed-off-by: Jeffy
Move request_irq to the end of rk_iommu_probe().
Suggested-by: Robin Murphy
Signed-off-by: Jeffy Chen
---
Changes in v4: None
Changes in v3:
Loop platform_get_irq() as Robin suggested.
Changes in v2: None
drivers/iommu/rockchip-iommu.c | 38 +-
1 file chan
This series fixes some issues in rockchip iommu driver, and add of_iommu
support in it.
Changes in v4:
Rewrite commit message.
Changes in v3:
Also remove remove() and module_exit() as Tomasz suggested.
Loop platform_get_irq() as Robin suggested.
Add struct rk_iommudata.
Squash iommu/rockchip: Us
From: Tomasz Figa
This patch converts the rockchip-iommu driver to use the in-kernel
iopoll helpers to wait for certain status bits to change in registers
instead of an open-coded custom macro.
Signed-off-by: Tomasz Figa
Signed-off-by: Jeffy Chen
---
Changes in v4: None
Changes in v3: None
Ch
From: Tomasz Figa
Due to the bug in current code, only first IOMMU has the TLB lines
flushed in rk_iommu_zap_lines. This patch fixes the inner loop to
execute for all IOMMUs and properly flush the TLB.
Signed-off-by: Tomasz Figa
Signed-off-by: Jeffy Chen
---
Changes in v4: None
Changes in v3:
Use the first registered IOMMU device for dma mapping operations, and
drop the domain platform device.
This is similar to exynos iommu driver.
Signed-off-by: Jeffy Chen
Reviewed-by: Tomasz Figa
---
Changes in v4: None
Changes in v3: None
Changes in v2: None
drivers/iommu/rockchip-iommu.c | 8
Add clocks in vop iommu nodes, since we are going to control clocks in
rockchip iommu driver.
Signed-off-by: Jeffy Chen
---
Changes in v4: None
Changes in v3: None
Changes in v2: None
arch/arm/boot/dts/rk3036.dtsi | 2 ++
arch/arm/boot/dts/rk3288.dtsi | 4
2 files changed, 6 insertions(+)
From: Tomasz Figa
Current code relies on master driver enabling necessary clocks before
IOMMU is accessed, however there are cases when the IOMMU should be
accessed while the master is not running yet, for example allocating
V4L2 videobuf2 buffers, which is done by the VB2 framework using DMA
map
There would be some masters sharing the same IOMMU device. Put them in
the same iommu group and share the same iommu domain.
Signed-off-by: Jeffy Chen
---
Changes in v4: None
Changes in v3:
Remove rk_iommudata->domain.
Changes in v2: None
drivers/iommu/rockchip-iommu.c | 22 ++
It's hard to undo bus_set_iommu() in the error path, so move it to the
end of rk_iommu_probe().
Signed-off-by: Jeffy Chen
Reviewed-by: Tomasz Figa
---
Changes in v4: None
Changes in v3: None
Changes in v2:
Move bus_set_iommu() to rk_iommu_probe().
drivers/iommu/rockchip-iommu.c | 15 ++---
When the power domain is powered off, the IOMMU cannot be accessed and
register programming must be deferred until the power domain becomes
enabled.
Add runtime PM support, and use runtime PM device link from IOMMU to
master to startup and shutdown IOMMU.
Signed-off-by: Jeffy Chen
---
Changes i
The patch
ASoC: use seq_file to dump the contents of dai_list,platform_list and
codec_list
has been applied to the asoc tree at
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git
All being well this means that it will be integrated into the linux-next
tree (usually someti
Converts the rockchip-iommu driver to use the OF_IOMMU infrastructure,
which allows attaching master devices to their IOMMUs automatically
according to DT properties.
Signed-off-by: Jeffy Chen
---
Changes in v4: None
Changes in v3:
Add struct rk_iommudata.
Squash iommu/rockchip: Use iommu_group_
On Thu, Jan 18, 2018 at 5:13 AM, Masahiro Yamada
wrote:
> The 'oldnoconfig' is really confusing due to its counter-intuitive name.
> It was renamed by commit fb16d8912db5 ("kconfig: replace 'oldnoconfig'
> with 'olddefconfig', and keep the old name as an alias").
>
> The 'oldnoconfig' has been kep
Add missing iommu_device_sysfs_remove in error path.
Signed-off-by: Jeffy Chen
Reviewed-by: Tomasz Figa
---
Changes in v4: None
Changes in v3: None
Changes in v2: None
drivers/iommu/rockchip-iommu.c | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/drivers/iommu/rockchi
On 18/01/18 11:45, Dave Martin wrote:
On Wed, Jan 17, 2018 at 05:42:19PM +, Suzuki K Poulose wrote:
We issue the enable() call back for all CPU hwcaps capabilities
available on the system, on all the CPUs. So far we have ignored
the argument passed to the call back, which had a prototype to
Introduce start/end markers of __x86_indirect_thunk_* functions.
These thunk functions are placed in .text.__x86.indirect_thunk.*
sections. So this puts those sections in the end of kernel text
and adds __indirect_thunk_start/end so that other subsystem
(e.g. kprobes) can identify it.
Signed-off-b
Hi,
This is a series of patches to fix kprobes issues on the
kernel with CONFIG_RETPOLINE=y.
- [1/3]: This introduces __x86_indirect_thunk_* boundary
symbols so that kprobes easily identify those functions.
- [2/3]: Mark __x86_indirect_thunk_* as blacklisted function
for kprobes
Mark __x86_indirect_thunk_* functions as blacklist for kprobes
because those functions can be called from anywhere in the kernel
including blacklist functions of kprobes.
Signed-off-by: Masami Hiramatsu
---
arch/x86/lib/retpoline.S |3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff
On Thu, Jan 18, 2018 at 04:29:23PM +0530, Meghana Madhyastha wrote:
> On Wed, Jan 17, 2018 at 11:03:24PM +0100, Noralf Trønnes wrote:
> >
> > Den 17.01.2018 18.00, skrev Daniel Thompson:
> > >
> > >
> > >On 16/01/18 10:31, Meghana Madhyastha wrote:
> > >>Add helper functions backlight_enable and b
Since indirect jump instructions will be replaced by jump
to __x86_indirect_thunk_*, those jmp instruction must be
treated as an indirect jump. Since optprobe prohibits to
optimize probes in the function which uses an indirect jump,
it also needs to find out the function which jump to
__x86_indirec
On Tue, Jan 09, 2018 at 06:57:35PM +0100, Krzysztof Kozlowski wrote:
> Replace GPL license statement with SPDX GPL-2.0 license identifier and
> correct the module license to GPLv2.
>
> The license itself was a generic GPL because of copy-and-paste from old
> drivers/char/hw_random/exynos-rng.c dri
On Wed, Jan 10, 2018 at 12:02:46PM +0800, sean.w...@mediatek.com wrote:
> From: Sean Wang
>
> When hw_random device's quality is non-zero, it will automatically fill
> the kernel's entropy pool at boot. For the purpose, one conservative
> quality value is being picked up as the default value.
>
Hi, Marc
On Thu, 2018-01-18 at 08:54 +, Marc Zyngier wrote:
> On 18/01/18 01:53, Yang, Shunyong wrote:
> >
> > Hi, Marc
> >
> > On Wed, 2018-01-17 at 10:43 +, Marc Zyngier wrote:
> > >
> > > On 17/01/18 10:20, Yang, Shunyong wrote:
> > > >
> > > >
> > > > Hi, Thomas and Marc,
> > > >
On Wed, Jan 10, 2018 at 03:15:43PM +, Robin Murphy wrote:
> phys_to_dma() is an internal helper for certain DMA API implementations,
> and is not appropriate for drivers to use. It appears that what the CESA
> driver really wants to be using is dma_map_resource() - admittedly that
> didn't exis
On Thu, Jan 11, 2018 at 10:06:39PM +0100, Martin Kaiser wrote:
> Use the SIMPLE_DEV_PM_OPS() macro instead of populating a struct
> dev_pm_ops directly. The suspend and resume functions will now be used
> for both hibernation and suspend to ram.
>
> If power management is disabled, SIMPLE_DEV_PM_O
On Thu, 2018-01-18 at 21:01 +0900, Masami Hiramatsu wrote:
>
> +#define X86_INDIRECT_THUNK(reg)\
> + *(.text.__x86.indirect_thunk.##reg)
Note that we don't actually care about those being in their own
section, named after the register. That was just a hangover from the
initi
On Tue, Jan 16, 2018 at 06:08:53PM +0100, Noralf Trønnes wrote:
>
> Den 16.01.2018 11.36, skrev Meghana Madhyastha:
> >Replace of_find_backlight_by_node and of the code around it
> >with of_find_backlight helper to avoid repetition of code.
> >
> >Signed-off-by: Meghana Madhyastha
> >---
> > dri
On 18/01/18 12:00, Robin Murphy wrote:
[...]
+struct enable_arg {
+ int (*enable)(struct arm64_cpu_capabilities const *);
+ struct arm64_cpu_capabilities const *cap;
+};
+
+static int __enable_cpu_capability(void *arg)
+{
+ struct enable_arg const *e = arg;
+
+ return e->enable(e->cap
There is no remove callbacks in meson's clock controllers and
of_clk_del_provider is never called if of_clk_add_hw_provider has been
executed, introducing a potential memory leak.
Fixing this by the using the devm variant.
In reality, the leak would never happen since these controllers are
never u
This changeset feature a couple of clean-ups in the probe
function of meson's clock controllers. It is the beginning
of a refactoring of meson's clock controllers
Jerome Brunet (2):
clk: meson: use dev pointer where possible
clk: meson: use devm_of_clk_add_hw_provider
drivers/clk/meson/axg.c
701 - 800 of 981 matches
Mail list logo