From: Markus Elfring
Date: Sun, 20 Aug 2017 20:32:10 +0200
Three update suggestions were taken into account
from static source code analysis.
Markus Elfring (3):
Delete an error message for a failed memory allocation in
__get_or_create_frag()
Delete an unnecessary return statement in update
From: Markus Elfring
Date: Sun, 20 Aug 2017 20:00:09 +0200
Omit an extra message for a memory allocation failure in this function.
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring
---
fs/ceph/inode.c | 7 ++-
1 file changed, 2 insertions(+), 5 deleti
From: Markus Elfring
Date: Sun, 20 Aug 2017 20:08:25 +0200
The script "checkpatch.pl" pointed information out like the following.
WARNING: void function return statements are not generally useful
Thus remove such a statement in the affected function.
Signed-off-by: Markus Elfring
---
fs/ceph
From: Markus Elfring
Date: Sun, 20 Aug 2017 20:22:02 +0200
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
The script “checkpatch.pl” pointed information out like the following.
Comparison to NULL could be written …
Thus fix the affected source code pla
Hi Christophe,
> 'spi' is known to be NULL, so we dereference a NULL pointer here.
> Use 'pr_crit()' instead of 'dev_crit()' to report the message.
>
> Signed-off-by: Christophe JAILLET
> ---
> drivers/net/ieee802154/ca8210.c | 5 +
> 1 file changed, 1 insertion(+), 4 deletions(-)
patch has
unsubscribe git
**`**
Glad to write to you this message,
I wish to seek for your sincere help in setting up a charitable
organization to help the less privileged people, the elderly people
and also vulnerable people under your care,
I want to use my late husband wealth of $3,000,000.00 to set up a
charity found
From: Long Li
Finally, when CIFS wants to umount, do a proper shutdown on transport.
Signed-off-by: Long Li
---
fs/cifs/connect.c | 8
1 file changed, 8 insertions(+)
diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c
index b337ca7..f65950f 100644
--- a/fs/cifs/connect.c
+++ b/fs/cif
From: Long Li
With SMBDirect connected, use it for receiving data via RDMA recv.
Signed-off-by: Long Li
---
fs/cifs/connect.c | 8
1 file changed, 8 insertions(+)
diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c
index f65950f..9b0da7f 100644
--- a/fs/cifs/connect.c
+++ b/fs/cifs/co
From: Long Li
To prepare for protocol implementation, add constants and user-configurable
values in the protocol.
Signed-off-by: Long Li
---
fs/cifs/smbdirect.c | 78 +
fs/cifs/smbdirect.h | 20 ++
2 files changed, 98 insertions(
From: Long Li
When "rdma" is specified in the mount option, CIFS attempts to connect to
SMBDirect instead of TCP socket.
Signed-off-by: Long Li
---
fs/cifs/connect.c | 15 +++
1 file changed, 15 insertions(+)
diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c
index d5d0ecd..309eb
From: Long Li
When SMB READ is finished, deregister the memory regions if RDMA write is used
for this SMB READ. smbd_deregister_mr may need to do local invalidation and
sleep, if server remote invalidation is not used.
Signed-off-by: Long Li
---
fs/cifs/smb2pdu.c | 10 ++
1 file chan
From: Long Li
The channel value for requesting server remote invalidating local memory
registration should be 0x0002
Signed-off-by: Long Li
---
fs/cifs/smb2pdu.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/cifs/smb2pdu.h b/fs/cifs/smb2pdu.h
index 18700fd..0417a3
From: Long Li
With SMBDirect connected, use it for sending data via RDMA send.
Signed-off-by: Long Li
---
fs/cifs/transport.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/fs/cifs/transport.c b/fs/cifs/transport.c
index ba62aaf..bddb699 100644
--- a/fs/cifs/transport.c
+++ b/fs/ci
From: Long Li
When RDMA write is used for SMB READ, the returned data length is returned in
DataRemaining in the response packet. Reading it properly by adding a parameter
to specifiy where the returned data length is.
Signed-off-by: Long Li
---
fs/cifs/cifsglob.h | 10 --
fs/cifs/ci
From: Long Li
On write I/O finish, deregister the memory region if this was for a RDMA read.
The call to smbd_deregister_mr will do local invalidation and possibly wait, if
remote invalidate is not used.
Signed-off-by: Long Li
---
fs/cifs/smb2pdu.c | 12
1 file changed, 12 inser
From: Long Li
Export SMBDirect debug counters to /proc/fs/cifs/DebugData, for debugging and
troubleshooting.
Signed-off-by: Long Li
---
fs/cifs/cifs_debug.c | 46 ++
1 file changed, 46 insertions(+)
diff --git a/fs/cifs/cifs_debug.c b/fs/cifs/cifs_
From: Long Li
If I/O size is larger than rdma_readwrite_threshold, use RDMA write for SMB
READ by specifying channel SMB2_CHANNEL_RDMA_V1 or
SMB2_CHANNEL_RDMA_V1_INVALIDATE, depending on SMB dialect used. When RDMA write
is used, there is no need to read from the transport for incoming payload
From: Long Li
When sending I/O, if size is larger than rdma_readwrite_threshold we prepare to
send SMB WRITE packet for a RDMA read via memory registration. The actual I/O
is done out-of-the-band, so modify the relevant fields in the packet
accordingly.
Signed-off-by: Long Li
---
fs/cifs/sm
From: Long Li
When we assemble the SMB READ packet header, we need to know the I/O layout if
this request is to use a RDMA write. rdata has all the information we need for
memory registration. Add rdata to smb2_new_read_req.
Signed-off-by: Long Li
---
fs/cifs/smb2pdu.c | 14 +-
1
From: Long Li
To prepare for RDMA read/write using memory registration, add memory
registartion pointers to upper layer data I/O context.
Signed-off-by: Long Li
---
fs/cifs/cifsglob.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/fs/cifs/cifsglob.h b/fs/cifs/cifsglob.h
index dc5404d..
From: Long Li
When connecting over SMBDirect, the transport negotiates its maximum I/O sizes
with the server and determines how to choose to do RDMA send/recv vs
read/write. Expose these maximum I/O sizes to upper layer so we will get the
correct sized payloads.
Signed-off-by: Long Li
---
f
From: Long Li
Do a reconnect on SMBDirect when it is used as the connection. Reconnect can
happen for many reasons and it's mostly the decision of upper layer SMB2 not
SMBDirect.
Signed-off-by: Long Li
---
fs/cifs/connect.c | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --g
From: Long Li
Starting with SMB2 dialect 3.0, Microsoft introduced SMBDirect transport
protocol for transferring upper layer (SMB2) payload over RDMA via Infiniband,
RoCE or iWARP. The prococol is published in [MS-SMBD]
(https://msdn.microsoft.com/en-us/library/hh536346.aspx).
The patch v2 ad
From: Long Li
Add "rdma" to CIFS mount option, which tells CIFS this is for connecting to a
SMB server over SMBDirect. Add checks to validate this feature is only used on
SMB 3.X dialects.
To connect to SMBDirect, use "mount.cifs -o rdma,vers=3.x".
Signed-off-by: Long Li
---
fs/cifs/cifs_de
From: Long Li
Add SMBDirect as an optional connection to SMB session defined in CIFS. When
connection is on SMBDirect, upper layer uses this connection to carry payloads.
With the transport hooked up, add SMBDirect code to Makefile.
Signed-off-by: Long Li
---
fs/cifs/Makefile | 2 +-
fs/ci
From: Long Li
Add code to implement SMBDirect transport and protocol.
1. Add APIs in header file. Upper layer code uses transport through the APIs.
2. Define SMBDirect connection in the header file. A connection is based on a
RC QP in RDMA.
3. The implementation doesn't maintain send buffers or
On Sun, Aug 20, 2017 at 2:31 PM, Masahiro Yamada
wrote:
> Hi Arnd,
>
> This patch was picked up for linux-next
> (I assume it was queued up for 4.14-rc1)
> but I see this warning in Linus' tree.
>
> If we are not comfortable with this warning in the 4.13 release,
> shall I include this patch in th
On 6/29/2017 6:18 PM, Paul E. McKenney wrote:
On Thu, Jun 29, 2017 at 10:29:12AM -0600, Jeffrey Hugo wrote:
On 6/27/2017 6:11 PM, Paul E. McKenney wrote:
On Tue, Jun 27, 2017 at 04:32:09PM -0600, Jeffrey Hugo wrote:
On 6/22/2017 9:34 PM, Paul E. McKenney wrote:
On Wed, Jun 21, 2017 at 09:18:5
On Sun, Aug 20, 2017 at 3:19 PM, Masahiro Yamada
wrote:
> 2017-07-20 16:24 GMT+09:00 Arnd Bergmann :
>> - enable all three warnings with "make W=1" in 4.13, but leave them
>> disabled by default.
>> - backport Linus' patch, plus the follow-up for W=1 to stable kernels,
>> to allow stable kerne
On Tue, 01 Aug 2017 06:06:20 PDT (-0700), andriy.shevche...@linux.intel.com
wrote:
> On Mon, 2017-07-31 at 17:59 -0700, Palmer Dabbelt wrote:
>> Many ports (m32r, microblaze, mips, parisc, score, and sparc) use
>> functionally identical copies of various GCC library routine files,
>> which came up
From: Markus Elfring
Date: Sun, 20 Aug 2017 22:11:33 +0200
Some update suggestions were taken into account
from static source code analysis.
Markus Elfring (4):
Delete an error message for a failed memory allocation in
btrfsic_process_superblock()
Adjust 32 checks for null pointers
Improv
When checking for property "read-only" it's better to use the more
generic device_property_present as in addition to device tree nodes
it also covers other node types like ACPI nodes.
In addition switch to a logical or.
Signed-off-by: Heiner Kallweit
---
drivers/nvmem/core.c | 6 ++
1 file
From: Markus Elfring
Date: Sun, 20 Aug 2017 21:10:17 +0200
Omit an extra message for a memory allocation failure in this function.
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring
---
fs/btrfs/check-integrity.c | 4 +---
1 file changed, 1 insertion(+), 3
From: Markus Elfring
Date: Sun, 20 Aug 2017 21:36:31 +0200
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
The script “checkpatch.pl” pointed information out like the following.
Comparison to NULL could be written …
Thus fix the affected source code pla
From: Markus Elfring
Date: Sun, 20 Aug 2017 21:55:56 +0200
Replace the specification of data types by pointer dereferences
as the parameter for the operator "sizeof" to make the corresponding size
determination a bit safer according to the Linux coding style convention.
This issue was detected b
From: Markus Elfring
Date: Sun, 20 Aug 2017 22:02:54 +0200
The variable "tm_list" will eventually be set to an appropriate pointer
a bit later. Thus omit the explicit initialisation at the beginning.
Signed-off-by: Markus Elfring
---
fs/btrfs/ctree.c | 2 +-
1 file changed, 1 insertion(+), 1 d
Hi all,
While fuzzing with syzkaller inside Qemu I've stumbled on the
following warning which is reproducible with
==
// autogenerated by syzkaller (http://github.com/google/syzkaller)
#define _GNU_SOURCE
#include
#include
#include
#includ
On Sun, 20 Aug 2017 18:28:41 +0200,
Dmitry Torokhov wrote:
>
> On Sun, Aug 20, 2017 at 11:19:38AM +0200, Julia Lawall wrote:
> > No need to set .owner here. The core will do it.
> >
> > Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci
> >
> > Fixes: 52cf590518d7 ("input/keyboard:
Two typos in switchdev.txt
Signed-off-by: Chris Packham
---
Documentation/networking/switchdev.txt | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Documentation/networking/switchdev.txt
b/Documentation/networking/switchdev.txt
index 3e7b946dea27..5e40e1f68873 100644
---
On Mittwoch, 16. August 2017 09:53:13 CEST Namhyung Kim wrote:
> Hi Milian,
>
> On Sun, Aug 06, 2017 at 11:24:35PM +0200, Milian Wolff wrote:
> > The inlined frames use a fake symbol that is tracked in a special
> > map inside the dso, which is always sorted by name. All other
>
> It seems the ab
On Sun, Aug 20, 2017 at 01:31:01PM -0600, Jeffrey Hugo wrote:
> On 6/29/2017 6:18 PM, Paul E. McKenney wrote:
> >On Thu, Jun 29, 2017 at 10:29:12AM -0600, Jeffrey Hugo wrote:
> >>On 6/27/2017 6:11 PM, Paul E. McKenney wrote:
> >>>On Tue, Jun 27, 2017 at 04:32:09PM -0600, Jeffrey Hugo wrote:
> O
Hi Alexandre,
Am 20.08.2017 um 10:32 schrieb Alexandre Belloni:
> On 20/08/2017 at 03:36:30 +0200, Andreas Färber wrote:
>> +static int rtd119x_rtc_read_time(struct device *dev, struct rtc_time *tm)
>> +{
>> +struct rtd119x_rtc *data = dev_get_drvdata(dev);
>> +time64_t t;
>> +u32 day;
Am 20.08.2017 um 17:40 schrieb Andrew Lunn:
>> +static void rtd119x_rtc_set_enabled(struct device *dev, bool enable)
>> +{
>> +struct rtd119x_rtc *data = dev_get_drvdata(dev);
>> +u32 val;
>> +
>> +val = readl_relaxed(data->base + RTD_RTCEN);
>> +dev_info(dev, "%s: rtcen = 0x%08x\n"
On Sun, Aug 20, 2017 at 09:06:51AM +0530, Oza Oza wrote:
> On Sun, Aug 20, 2017 at 2:34 AM, Bjorn Helgaas wrote:
> > On Fri, Aug 04, 2017 at 09:18:16PM +0530, Oza Pawandeep wrote:
> >> PERST must be asserted around ~500ms before the reboot is applied.
> >>
> >> During soft reset (e.g., "reboot" fr
From: Colin Ian King
Arrays aesni_simd_skciphers and aesni_simd_skciphers2 are local to the
source and do not need to be in global scope, so make them static.
Cleans up sparse warnings:
symbol 'aesni_simd_skciphers' was not declared. Should it be static?
symbol 'aesni_simd_skciphers2' was not de
From: Colin Ian King
Trivial fix to spelling mistake in dev_err messages
Signed-off-by: Colin Ian King
---
drivers/soc/ti/knav_dma.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/soc/ti/knav_dma.c b/drivers/soc/ti/knav_dma.c
index 026182d3b27c..f463e04be412 10
On Wed, Aug 2, 2017 at 9:51 AM, Bartosz Golaszewski wrote:
> We now provide resource managed versions of irq_alloc_generic_chip()
> and irq_setup_generic_chip(). Use them in all relevant gpio drivers.
>
> Bartosz Golaszewski (6):
> gpio: sta2x11: use devres for irq generic chip
> gpio: ml-ioh
When registering the rtc device to be used to handle alarm timers,
get_device is used to ensure the device doesn't go away but the module can
still be unloaded. Call try_module_get to ensure the rtc driver will not go
away.
Reported-by: Michal Simek
Signed-off-by: Alexandre Belloni
---
kernel/t
On Wed, Aug 9, 2017 at 2:24 PM, Bartosz Golaszewski wrote:
> We now provide resource managed versions of irq_alloc_generic_chip()
> and irq_setup_generic_chip(). Use them in all relevant gpio drivers.
>
> v1 -> v2:
> - added three patches which explicitly disable driver unbinding for
> non-modu
On Wed, Aug 16, 2017 at 4:44 PM, Thomas Gleixner wrote:
> I merged the irq part (1+2) into a separate branch, which can be consumed
> by the gpio folks so the mockup driver patch can be merged as well.
>
>git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git irq/for-gpio
Awesome, thanks
On 08/19/2017 11:20 AM, Shubham Bansal wrote:
[...]
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 61a0cb1..cc31f8b 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -50,7 +50,7 @@ config ARM
select HAVE_ARCH_SECCOMP_FILTER if (AEABI && !OABI_COMPAT)
select HAVE_ARCH
On Mon, Aug 14, 2017 at 1:20 PM, Bartosz Golaszewski wrote:
> Shrink the driver by removing the code dealing with dummy interrupts
> and replacing it with calls to the irq_sim API.
>
> Signed-off-by: Bartosz Golaszewski
> Acked-by: Jonathan Cameron
> Reviewed-by: Linus Walleij
I applied this
> With the below #ifdef __LITTLE_ENDIAN spanning the entire
> bpf_int_jit_compile(), a user can then enable and compile
> eBPF JIT for big endian, even set the bpf_jit_enable to 1
> to turn it on, but it won't JIT anything, which is contrary
> to the expectation.
>
> This should rather be a hard de
Things have been pretty calm, and rc6 is out there. Nothing
particular really stands out - it all looks normal, with just under
half of the patch being drivers (networking stands out, but there's
infiniband, sound and misc other things too), a third of the rest
being arch updates, and the rest is
Hi!
I'm afraid I keep getting a quite reliable, but random, splat when running
KVM:
[ cut here ]
WARNING: CPU: 5 PID: 5826 at arch/x86/kvm/mmu.c:717
mmu_spte_clear_track_bits+0x123/0x170
Modules linked in: tun nbd arc4 rtl8xxxu mac80211 cfg80211 rfkill nouveau video
ttm
C
Add an eBPF function bpf_handle_fs_get_mode(handle_fs) to get the mode
of a an abstract object wrapping either a file, a dentry, a path, or an
inode.
Signed-off-by: Mickaël Salaün
Cc: Alexei Starovoitov
Cc: Andy Lutomirski
Cc: Daniel Borkmann
Cc: David S. Miller
Cc: James Morris
Cc: Kees Coo
This step mechanism may be useful to return an information about the
error without being able to write to TH_LOG_STREAM.
Set _metadata->no_print to true to print this counter.
Signed-off-by: Mickaël Salaün
Cc: Andy Lutomirski
Cc: Arnaldo Carvalho de Melo
Cc: Kees Cook
Cc: Shuah Khan
Cc: Will
The seccomp(2) syscall can be used by a task to apply a Landlock rule to
itself. As a seccomp filter, a Landlock rule is enforced for the current
task and all its future children. A rule is immutable and a task can
only add new restricting rules to itself, forming a chain of rules.
A Landlock rule
Handle 33 filesystem-related LSM hooks for the Landlock filesystem
event: LANDLOCK_SUBTYPE_EVENT_FS.
A Landlock event wrap LSM hooks for similar kernel object types (e.g.
struct file, struct path...). Multiple LSM hooks can trigger the same
Landlock event.
Landlock handle nine coarse-grained acti
Add a new type of eBPF program used by Landlock rules.
This new BPF program type will be registered with the Landlock LSM
initialization.
Add an initial Landlock Kconfig.
Signed-off-by: Mickaël Salaün
Cc: Alexei Starovoitov
Cc: Andy Lutomirski
Cc: Daniel Borkmann
Cc: David S. Miller
Cc: Jam
The goal of the program subtype is to be able to have different static
fine-grained verifications for a unique program type.
The struct bpf_verifier_ops gets a new optional function:
is_valid_subtype(). This new verifier is called at the beginning of the
eBPF program verification to check if the (
Add a basic sandbox tool to create a process isolated from some part of
the system. This sandbox create a read-only environment. It is only
allowed to write to a character device such as a TTY:
# :> X
# echo $?
0
# ./samples/bpf/landlock1 /bin/sh -i
Launching a new sandboxed process.
#
This documentation can be built with the Sphinx framework.
Signed-off-by: Mickaël Salaün
Cc: Alexei Starovoitov
Cc: Andy Lutomirski
Cc: Daniel Borkmann
Cc: David S. Miller
Cc: James Morris
Cc: Jonathan Corbet
Cc: Kees Cook
Cc: Serge E. Hallyn
---
Changes since v6:
* add a check for ctx->
2017-08-21 4:22 GMT+09:00 Arnd Bergmann :
> On Sun, Aug 20, 2017 at 2:31 PM, Masahiro Yamada
> wrote:
>> Hi Arnd,
>>
>> This patch was picked up for linux-next
>> (I assume it was queued up for 4.14-rc1)
>> but I see this warning in Linus' tree.
>>
>> If we are not comfortable with this warning in
A landlocked process has less privileges than a non-landlocked process
and must then be subject to additional restrictions when manipulating
processes. To be allowed to use ptrace(2) and related syscalls on a
target process, a landlocked process must have a subset of the target
process' rules.
Sig
Test basic context access, ptrace protection and filesystem event with
multiple cases.
Signed-off-by: Mickaël Salaün
Cc: Alexei Starovoitov
Cc: Andy Lutomirski
Cc: Daniel Borkmann
Cc: David S. Miller
Cc: James Morris
Cc: Kees Cook
Cc: Serge E. Hallyn
Cc: Shuah Khan
Cc: Will Drewry
---
C
Hi,
This seventh series add some changes to the previous one [1], including a
simplified landlock_context, architecture-independent rules, more documentation
and multiples fixes.
As planed [6], I simplified and make the FS event more generic for the IOCTL,
LOCK or FCNTL actions. The action flags
Fix build:
mm/compaction.c: In function ‘isolate_freepages_block’:
mm/compaction.c:469:4: error: implicit declaration of function
‘pageblock_skip_persistent’ [-Werror=implicit-function-declaration]
if (pageblock_skip_persistent(page, order)) {
^
mm/compaction.c:470:5: error: implicit decl
On Thu, 17 Aug 2017, Roman Gushchin wrote:
> Hi David!
>
> Please, find an updated version of docs patch below.
>
Looks much better, thanks! I think the only pending issue is discussing
the relationship of memory.oom_kill_all_tasks with /proc/pid/oom_score_adj
== OOM_SCORE_ADJ_MIN.
Hi
> Signed-off-by: Daniel Baluta
> ---
> Documentation/devicetree/bindings/sound/simple-scu-card.txt | 1 +
> sound/soc/generic/simple-scu-card.c | 4
> 2 files changed, 5 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/sound/simple-scu-card.txt
On Wed, 16 Aug 2017, Roman Gushchin wrote:
> It's natural to expect that inside a container there are their own sshd,
> "activity manager" or some other stuff, which can play with oom_score_adj.
> If it can override the upper cgroup-level settings, the whole delegation model
> is broken.
>
I don
On Sun, Aug 20, 2017 at 8:23 PM, Lukas Wunner wrote:
> On Sun, Aug 20, 2017 at 06:05:05PM +0200, Rafael J. Wysocki wrote:
>> From: Rafael J. Wysocki
>>
>> Reorganize the power management part of admin-guide by adding a
>> description of major power management strategies supported by the
>> kernel
2017-08-21 7:13 GMT+08:00 Adam Borowski :
> Hi!
> I'm afraid I keep getting a quite reliable, but random, splat when running
> KVM:
I reported something similar before. https://lkml.org/lkml/2017/6/29/64
Regards,
Wanpeng Li
>
> [ cut here ]
> WARNING: CPU: 5 PID: 5826 at
From: Joseph Chen
Signed-off-by: Joseph Chen
Acked-by: Linus Walleij
Acked-by: Rob Herring
Signed-off-by: Heiko Stuebner
---
.../devicetree/bindings/pinctrl/pinctrl-rk805.txt | 63 ++
1 file changed, 63 insertions(+)
create mode 100644 Documentation/devicetree/bindings/
From: Joseph Chen
Signed-off-by: Joseph Chen
Acked-by: Linus Walleij
Acked-for-MFD-by: Lee Jones
Signed-off-by: Heiko Stuebner
---
drivers/mfd/rk808.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/mfd/rk808.c b/drivers/mfd/rk808.c
index 18329c8b4fe7..c803d2d5dfb7 100644
--- a/d
Hi Lee,
as we talked about on IRC on friday, here are the patches enabling
rk805 support in the common rk808 driver. As we agreed I've dropped
the cosmetic patches for clk and rtc adding the rk805 to the Kconfig
helptext and I've also dropped the input driver patch, which Dmitry
already applied.
From: Elaine Zhang
Add support for the rk805 regulator. The regulator module consists
of 4 DCDCs, 3 LDOs.
The output voltages are configurable and are meant to supply power
to the main processor and other components.
Signed-off-by: Elaine Zhang
Signed-off-by: Joseph Chen
Acked-by: Mark Brown
From: Joseph Chen
RK805 is one of Rockchip PMICs family, it has 2 output only GPIOs.
This driver is also designed for other Rockchip PMICs to expend.
Different PMIC maybe have different pin features, for example,
RK816 has one pin which can be used for TS or GPIO(input/out).
The mainly differenc
From: Joseph Chen
Signed-off-by: Joseph Chen
Acked-for-MFD-by: Lee Jones
Signed-off-by: Heiko Stuebner
---
drivers/mfd/rk808.c | 17 +
1 file changed, 17 insertions(+)
diff --git a/drivers/mfd/rk808.c b/drivers/mfd/rk808.c
index c803d2d5dfb7..216fbf6adec9 100644
--- a/drivers
From: Elaine Zhang
the rk8xx chip id is:
((MSB << 8) | LSB) & 0xfff0
Signed-off-by: Elaine Zhang
Signed-off-by: Joseph Chen
Acked-for-MFD-by: Lee Jones
Signed-off-by: Heiko Stuebner
---
drivers/mfd/rk808.c | 21 +++--
include/linux/mfd/rk808.h | 1 +
2 files changed,
From: Elaine Zhang
Add device tree bindings documentation for Rockchip's RK805 PMIC.
Signed-off-by: Elaine Zhang
Signed-off-by: Joseph Chen
Acked-by: Rob Herring
Acked-for-MFD-by: Lee Jones
Signed-off-by: Heiko Stuebner
---
Documentation/devicetree/bindings/mfd/rk808.txt | 22 +
From: Elaine Zhang
The RK805 chip is a Power Management IC (PMIC) for multimedia and handheld
devices. It contains the following components:
- Regulators
- RTC
- Clocking
Both RK808 and RK805 chips are using a similar register map,
so we can reuse the RTC and Clocking functionality.
From: Elaine Zhang
Signed-off-by: Elaine Zhang
Signed-off-by: Joseph Chen
Acked-for-MFD-by: Lee Jones
Signed-off-by: Heiko Stuebner
---
include/linux/mfd/rk808.h | 120 ++
1 file changed, 120 insertions(+)
diff --git a/include/linux/mfd/rk808.h b/
Hi Arnd,
2017-08-21 4:51 GMT+09:00 Arnd Bergmann :
> On Sun, Aug 20, 2017 at 3:19 PM, Masahiro Yamada
> wrote:
>> 2017-07-20 16:24 GMT+09:00 Arnd Bergmann :
>>> - enable all three warnings with "make W=1" in 4.13, but leave them
>>> disabled by default.
>>> - backport Linus' patch, plus the fol
> On 21 Aug 2017, at 02:37, SF Markus Elfring
> wrote:
>
> From: Markus Elfring
> Date: Sun, 20 Aug 2017 20:32:10 +0200
>
> Three update suggestions were taken into account
> from static source code analysis.
>
> Markus Elfring (3):
> Delete an error message for a failed memory allocation i
在 2017/8/17 23:10, Rob Herring 写道:
On Thu, Aug 10, 2017 at 04:32:13PM +0800, Tao Wang wrote:
From: Tao Wang
This adds documentation of device tree bindings for the
thermal sensor controller of hi3660 SoC.
Signed-off-by: Tao Wang
---
.../devicetree/bindings/thermal/hisi-tsensor.txt | 23
3.16 doesn't need this, because 3.16 doesn't support Loongson-3 R2/R3.
Huacai
On Fri, Aug 18, 2017 at 9:13 PM, Ben Hutchings wrote:
> 3.16.47-rc1 review patch. If anyone has any objections, please let me know.
>
> --
>
> From: Huacai Chen
>
> commit 17c99d9421695a0e0de18bf1e709
Elaine Zhang (3):
clk: rockchip: add rv1108 ACLK_GAMC and PCLK_GMAC ID
clk: rockchip: rv1108: add ACLK_GMAC and PCLK_GMAC clk id
clk: rockchip: rv1108: rename macphy to mac
drivers/clk/rockchip/clk-rv1108.c | 14 --
include/dt-bindings/clock/rv1108-cru.h | 8 +---
2 fi
Signed-off-by: Elaine Zhang
---
drivers/clk/rockchip/clk-rv1108.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/clk/rockchip/clk-rv1108.c
b/drivers/clk/rockchip/clk-rv1108.c
index d1065dd9f442..0e441ec21e90 100644
--- a/drivers/clk/rockchip/clk-rv1108.c
+++ b/drivers/clk/rockchip
This MAC has no internal phy for rv1108.
Signed-off-by: Elaine Zhang
---
drivers/clk/rockchip/clk-rv1108.c | 12 ++--
include/dt-bindings/clock/rv1108-cru.h | 6 +++---
2 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/drivers/clk/rockchip/clk-rv1108.c
b/drivers/clk/r
This patch exports gmac aclk and pclk for dts reference.
Signed-off-by: Elaine Zhang
---
include/dt-bindings/clock/rv1108-cru.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/dt-bindings/clock/rv1108-cru.h
b/include/dt-bindings/clock/rv1108-cru.h
index f269d833e41a..2239ae2a19b9
Hello,
On (08/18/17 00:04), Laurent Dufour wrote:
> This is a port on kernel 4.13 of the work done by Peter Zijlstra to
> handle page fault without holding the mm semaphore [1].
>
> The idea is to try to handle user space page faults without holding the
> mmap_sem. This should allow better concur
On Sat, 19 Aug 2017, Jarkko Sakkinen wrote:
> Hi James,
>
> Not much this time except a few fixes.
>
> /Jarkko
>
> The following changes since commit 76e22e212a850bbd16cf49f9c586d4635507e0b5:
>
> apparmor: fix incorrect type assignment when freeing proxies (2017-08-18
> 06:45:37 -0700)
>
>
On Friday, August 11, 2017 10:57 AM, Zhang Rui wrote:
> On Mon, 2017-07-24 at 19:29 +0300, Mikko Perttunen wrote:
>> On Tegra186, the BPMP (Boot and Power Management Processor) exposes
>> an
>> interface to thermal sensors on the system-on-chip. This driver
>> implements access to the interface.
Folks,
Ok, people did talk, exchanged ideas, lovely :) What happens now? Do I
repost this or go back to PCI bus flags or something else? Thanks.
On 14/08/17 19:45, Alexey Kardashevskiy wrote:
> Folks,
>
> Is there anything to change besides those compiler errors and David's
> comment in 5/5? O
From: Chris Packham
Date: Mon, 21 Aug 2017 08:52:54 +1200
> Two typos in switchdev.txt
>
> Signed-off-by: Chris Packham
Applied.
From: Christophe JAILLET
Date: Sun, 20 Aug 2017 06:35:00 +0200
> If 'irq_of_parse_and_map()' or 'of_address_to_resource()' fail, 'err' is
> known to be 0 at this point.
> So return -ENODEV instead in the first case and use 'of_iomap()' instead of
> the equivalent 'of_address_to_resource()/ioremap
Convert exec test output to TAP13 format, using the ksft framework.
Signed-off-by: Paul Elder
---
Changes from v1: Fixed a couple coding style errors and changed a forgotten
printf() to ksft_print_msg()
tools/testing/selftests/exec/execveat.c | 151 ++--
1 file chan
On Mon, Aug 21, 2017 at 2:55 AM, Bjorn Helgaas wrote:
> On Sun, Aug 20, 2017 at 09:06:51AM +0530, Oza Oza wrote:
>> On Sun, Aug 20, 2017 at 2:34 AM, Bjorn Helgaas wrote:
>> > On Fri, Aug 04, 2017 at 09:18:16PM +0530, Oza Pawandeep wrote:
>> >> PERST must be asserted around ~500ms before the reboo
101 - 200 of 243 matches
Mail list logo