[PATCH 1/2] decnet: dn_rtmsg: constify nf_hook_ops structures

2017-07-29 Thread Julia Lawall
The nf_hook_ops structure is only passed as the second argument to nf_register_net_hook or nf_unregister_net_hook, both of which are declared as const. Thus the nf_hook_ops structure itself can be const. Done with the help of Coccinelle. // @r disable optional_qualifier@ identifier i; position

[PATCH 0/2] constify nf_hook_ops structures

2017-07-29 Thread Julia Lawall
The nf_hook_ops structure is only passed as the second argument to nf_register_net_hook or nf_unregister_net_hook, both of which are declared as const. Thus the nf_hook_ops structure itself can be const. Done with the help of Coccinelle. --- net/decnet/netfilter/dn_rtmsg.c|2 +- net/ip

[PATCH 2/2] netfilter: ipt_CLUSTERIP: constify nf_hook_ops structures

2017-07-29 Thread Julia Lawall
The nf_hook_ops structure is only passed as the second argument to nf_register_net_hook or nf_unregister_net_hook, both of which are declared as const. Thus the nf_hook_ops structure itself can be const. Done with the help of Coccinelle. // @r disable optional_qualifier@ identifier i; position

Re: [PATCH] clk: Remove recursion in clk_core_{prepare,enable}()

2017-07-29 Thread kbuild test robot
Hi Stephen, [auto build test WARNING on clk/clk-next] [also build test WARNING on v4.13-rc2 next-20170728] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Stephen-Boyd/clk-Remove-recursion-in-clk

Re: Send a large patch right now or is it better to do it later?

2017-07-29 Thread Dan Carpenter
On Fri, Jul 28, 2017 at 05:16:56PM +0200, Marcus Wolf wrote: > Hi Greg, > > according to the proposals of Walter Harms, I revised the rf69.c: I replaced > some macros with inline functions and removed some obsolete ifdefs. According > to > walter this will improve the resource situation. In addi

[PATCH 2/5] Fix "ERROR: code indent should use tabs where possible"

2017-07-29 Thread SZ Lin
ERROR: code indent should use tabs where possible +^I^I "Need to wait for TPM to finish\n");$ Signed-off-by: SZ Lin --- drivers/char/tpm/tpm_ibmvtpm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/char/tpm/tpm_ibmvtpm.c b/drivers/char/tpm/tpm_ibmvtpm.c index

[PATCH 5/5] Use __func__ instead of function name

2017-07-29 Thread SZ Lin
Fix following checkpatch.pl warning: WARNING: Prefer using '"%s...", __func__' to using the function's name, in a string Signed-off-by: SZ Lin --- drivers/char/tpm/tpm_ibmvtpm.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/char/tpm/tpm_ibmvtpm.c b/driv

[PATCH 0/5] tpm: tpm_ibmvtpm: - style fix

2017-07-29 Thread SZ Lin
Fix styling WARNINGs and Errors of tpm_ibmvtpm.c driver by using checkpatch.pl SZ Lin (5): Fix packed and aligned attribute warnings. Fix "ERROR: code indent should use tabs where possible" Fix 'void function return statements are not generally useful' warning Remove unneccessary 'out of m

[PATCH 3/5] Fix 'void function return statements are not generally useful' warning

2017-07-29 Thread SZ Lin
WARNING: void function return statements are not generally useful + return; +} Signed-off-by: SZ Lin --- drivers/char/tpm/tpm_ibmvtpm.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/char/tpm/tpm_ibmvtpm.c b/drivers/char/tpm/tpm_ibmvtpm.c index 23913fc86158..e53b9fb517d9 100644

[PATCH 1/5] Fix packed and aligned attribute warnings.

2017-07-29 Thread SZ Lin
WARNING: __packed is preferred over __attribute__((packed)) +} __attribute__((packed, aligned(8))); WARNING: __aligned(size) is preferred over __attribute__((aligned(size))) +} __attribute__((packed, aligned(8))); Signed-off-by: SZ Lin --- drivers/char/tpm/tpm_ibmvtpm.h | 2 +- 1 file changed,

[PATCH 4/5] Remove unneccessary 'out of memory' message

2017-07-29 Thread SZ Lin
WARNING: Possible unnecessary 'out of memory' message + if (!ibmvtpm->rtce_buf) { + dev_err(ibmvtpm->dev, "Failed to allocate memory for rtce buffer\n"); WARNING: Possible unnecessary 'out of memory' message + if (!ibmvtpm) { +

Re: wake_wide mechanism clarification

2017-07-29 Thread Joel Fernandes
Hi Mike, I have take spent some time understanding the email thread and previous discussions. Unfortunately the second condition we are checking for in the wake_wide still didn't make sense to me (mentioned below) :-( On Fri, Jun 30, 2017 at 10:02 AM, Mike Galbraith wrote: > On Fri, 2017-06-30 a

[PATCH] [BUGFIX] gpio: reject invalid gpio before getting gpio_desc

2017-07-29 Thread Masami Hiramatsu
Check user-given gpio number and reject it before calling gpio_to_desc() because gpio_to_desc() is for kernel driver and it expects given gpio number is valid (means 0 to 511). If given number is invalid, gpio_to_desc() calls WARN() and dump registers and stack for debug. This means user can easily

Re: [PATCH v2 4/4] clk: meson: gxbb-aoclk: Add CEC 32k clock

2017-07-29 Thread Chris Moore
Hi, Sorry I forgot to reply to all in my previous post :( I hope this corrects things. Le 28/07/2017 à 11:53, Neil Armstrong a écrit : [snip] +static long aoclk_cec_32k_round_rate(struct clk_hw *hw, unsigned long rate, + unsigned long *prate) +{ +const struct cec_32k_

Re: [PATCH] PM / Domains: Ensure genpd name is set before creating debugfs entry

2017-07-29 Thread Ulf Hansson
On 28 July 2017 at 20:55, Dave Gerlach wrote: > Hi, > On 07/28/2017 01:48 PM, Dave Gerlach wrote: >> Commit b6a1d093f96b ("PM / Domains: Extend generic power domain >> debugfs") extends the existing generic power domain debugfs to provide >> more information about each genpd, however it creates a

Re: [B.A.T.M.A.N.] [PATCH][V2] batman-adv: fix various spelling mistakes

2017-07-29 Thread Sven Eckelmann
On Montag, 26. Juni 2017 11:26:44 CEST Colin King wrote: > From: Colin Ian King > > Trivial fix to spelling mistakes in batadv_dbg debug messages and > also in a comment and ensure comment line is not wider than 80 > characters > > "ourselve" -> "ourselves" > "surpressed" -> "suppressed" > "trou

Re: wake_wide mechanism clarification

2017-07-29 Thread Joel Fernandes
+Michael Wang on his current email address (old one bounced). (my reply was to Mike Galbraith but I also meant to CC Michael Wang for the discussion). Thanks On Sat, Jul 29, 2017 at 1:01 AM, Joel Fernandes wrote: > Hi Mike, > > I have take spent some time understanding the email thread and > prev

Re: [PATCH 1/2] ata: mediatek: add support for MediaTek SATA controller

2017-07-29 Thread kbuild test robot
Hi Ryder, [auto build test WARNING on tj-libata/for-next] [also build test WARNING on v4.13-rc2 next-20170728] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Ryder-Lee/Add-support-for-MediaTek-A

[PATCH 1/1] usb: xhci: Add debugfs interface for xHCI driver

2017-07-29 Thread Lu Baolu
This adds debugfs consumer for xHCI driver. The debugfs entries read all host registers, device/endpoint contexts, command ring, event ring and various endpoint rings. With these entries, users can check the registers and memory spaces used by a host during run time, or save all the information wit

Re: [PATCH V8 1/6] PM / Domains: Add support to select performance-state of domains

2017-07-29 Thread Ulf Hansson
On 28 July 2017 at 13:00, Viresh Kumar wrote: > On 21-07-17, 10:35, Ulf Hansson wrote: >> >> > +/* >> >> > + * Returns true if anyone in genpd's parent hierarchy has >> >> > + * set_performance_state() set. >> >> > + */ >> >> > +static bool genpd_has_set_performance_state(struct generic_pm_domain

Re: [PATCH] Staging: pi433: fix some warnings detected using sparse

2017-07-29 Thread Elia Geretto
On Fri, 2017-07-28 at 17:17 +0300, Dan Carpenter wrote: > On Fri, Jul 28, 2017 at 02:56:26PM +0200, Elia Geretto wrote: > > This patch corrects some visibility issues regarding some functions > > and > > solves a warning related to a non-matching union. After this patch, > > sparse produces only on

Re: [PATCH 2/2] mm: replace TIF_MEMDIE checks by tsk_is_oom_victim

2017-07-29 Thread kbuild test robot
Hi Michal, [auto build test ERROR on cgroup/for-next] [also build test ERROR on v4.13-rc2 next-20170728] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Michal-Hocko/mm-oom-do-not-rely-on-TIF_MEM

Re: [PATCH 0/2] constify nf_hook_ops structures

2017-07-29 Thread Florian Westphal
Julia Lawall wrote: > The nf_hook_ops structure is only passed as the second argument to > nf_register_net_hook or nf_unregister_net_hook, both of which are > declared as const. Thus the nf_hook_ops structure itself can be > const. Right, also see http://patchwork.ozlabs.org/patch/793767/ This

Re: [PATCH 0/2] constify nf_hook_ops structures

2017-07-29 Thread Julia Lawall
On Sat, 29 Jul 2017, Florian Westphal wrote: > Julia Lawall wrote: > > The nf_hook_ops structure is only passed as the second argument to > > nf_register_net_hook or nf_unregister_net_hook, both of which are > > declared as const. Thus the nf_hook_ops structure itself can be > > const. > > Rig

Re: [PATCH 1/1] staging: pi433: fix problem with division in rf69_set_deviation

2017-07-29 Thread Marcus Wolf
Hi Greg, already had a discussion concerning that patch with Dan yesterday. I really don't know what's going on there. I detached the patch once more from my outbox and had a very close look in an editor and looked at it with a difftool. In my outbox the patch is fine. I really don't knwo why it

Re: [PATCH v2] fortify: Use WARN instead of BUG for now

2017-07-29 Thread kbuild test robot
Hi Kees, [auto build test ERROR on linus/master] [also build test ERROR on v4.13-rc2 next-20170728] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Kees-Cook/fortify-Use-WARN-instead-of-BUG-for-n

Re: [PATCH 1/1][staging-next] staging: pi433: Make functions rf69_set_dc_cut_off_frequency_intern static

2017-07-29 Thread Marcus Wolf
Hi Greg, also had a very close look to this patch. Even in your reply I can't find any problems with line wraps or other corruptions :-/ But we have alternative patches, solving these problems as well. You e.g. could use the patch [PATCH] Make functions rf69_set_bandwidth_intern and rf69_set_dc_

Re: [PATCH 3/3] mm/sched: memdelay: memory health interface for systems and workloads

2017-07-29 Thread Peter Zijlstra
So no, this doesn't have a change in hell of making it. On Thu, Jul 27, 2017 at 11:30:10AM -0400, Johannes Weiner wrote: > +static void domain_cpu_update(struct memdelay_domain *md, int cpu, > + int old, int new) > +{ > + enum memdelay_domain_state state; > + stru

[PATCH] watchdog: moxart_wdt: Replace decimal permissions with 4 digit octal

2017-07-29 Thread SZ Lin
ERROR: Use 4 digit octal (0777) not decimal permissions This error was detected by checkpatch.pl Signed-off-by: SZ Lin --- drivers/watchdog/moxart_wdt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/watchdog/moxart_wdt.c b/drivers/watchdog/moxart_wdt.c index 2c4a73

[PATCH] dlm: constify kset_uevent_ops structure

2017-07-29 Thread Julia Lawall
The kset_uevent_ops structure is only passed as the second argument to kset_create_and_add, which is declared as const. Thus the kset_uevent_ops structure itself can be const. Done with the help of Coccinelle. // @r disable optional_qualifier@ identifier i; position p; @@ static struct kset_uev

Re: [PATCH 2/2] sched: Implement interface for cgroup unified hierarchy

2017-07-29 Thread Peter Zijlstra
On Thu, Jul 20, 2017 at 02:48:08PM -0400, Tejun Heo wrote: > There are a couple interface issues which can be addressed in cgroup2 > interface. > > * Stats from cpuacct being reported separately from the cpu stats. > > * Use of different time units. Writable control knobs use > microseconds, s

Re: [PATCH 0/2] constify nf_hook_ops structures

2017-07-29 Thread Florian Westphal
Julia Lawall wrote: > > > On Sat, 29 Jul 2017, Florian Westphal wrote: > > > Julia Lawall wrote: > > > The nf_hook_ops structure is only passed as the second argument to > > > nf_register_net_hook or nf_unregister_net_hook, both of which are > > > declared as const. Thus the nf_hook_ops struc

Re: [PATCH 0/2] constify nf_hook_ops structures

2017-07-29 Thread Julia Lawall
On Sat, 29 Jul 2017, Florian Westphal wrote: > Julia Lawall wrote: > > > > > > On Sat, 29 Jul 2017, Florian Westphal wrote: > > > > > Julia Lawall wrote: > > > > The nf_hook_ops structure is only passed as the second argument to > > > > nf_register_net_hook or nf_unregister_net_hook, both of w

Re: [RFC PATCH v2] membarrier: expedited private command

2017-07-29 Thread Peter Zijlstra
On Sat, Jul 29, 2017 at 11:58:40AM +1000, Nicholas Piggin wrote: > I haven't had time to read the thread and understand exactly why you need > this extra barrier, I'll do it next week. Thanks for cc'ing us on it. Bottom of here: https://lkml.kernel.org/r/20170727135610.jwjfvyuacqzj5...@hirez.prog

Re: [RFC] perf: Delayed userspace unwind (Was: [PATCH v3 00/10] x86: ORC unwinder)

2017-07-29 Thread Peter Zijlstra
On Fri, Jul 28, 2017 at 08:35:16PM -0700, Andy Lutomirski wrote: > I haven't checked task_work specifically, but a bunch of the exit work > is permitted to sleep, which is potentially useful. Yes. > If this becomes successful enough that we could eventually deprecate > the old code, I wonder if

[PATCH] staging: pi433: Use matching enum types calling rf69_set_packet_format

2017-07-29 Thread Elia Geretto
This patch fixes the following four warnings found using sparse: drivers/staging/pi433/pi433_if.c:211:9: warning: mixing different enum types drivers/staging/pi433/pi433_if.c:211:9: int enum optionOnOff versus drivers/staging/pi433/pi433_if.c:211:9: int enum packetFormat drivers/staging/p

Re: [PATCH v2] staging: octeon: fix line over 80 characters

2017-07-29 Thread kbuild test robot
Hi John, [auto build test WARNING on staging/staging-testing] [also build test WARNING on v4.13-rc2 next-20170728] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/catalinnow-gmail-com/staging-oct

Re: [PATCH 4/5] mtd: spi-nor: Add driver for Adaptrum Anarion QSPI controller

2017-07-29 Thread Marek Vasut
On 07/29/2017 12:07 AM, Alexandru Gagniuc wrote: > Add support for the QSPI controller found in Adaptrum Anarion SOCs. > This controller is designed specifically to handle SPI NOR chips, and > the driver is modeled as such. > > Because the system is emulated on an FPGA, we don't have a way to test

Re: [PATCH 0/2] constify nf_hook_ops structures

2017-07-29 Thread Florian Westphal
Julia Lawall wrote: > On Sat, 29 Jul 2017, Florian Westphal wrote: > > From a quick glance I don't see why we can't e.g. constify > > nf_conntrack_l3/4_proto too. It is not going to be as simple > > as just placing const everywhere, but I see no requirement for > > having these writeable. > > I w

Re: [RFC PATCH v2] membarrier: expedited private command

2017-07-29 Thread Nicholas Piggin
On Sat, 29 Jul 2017 11:23:33 +0200 Peter Zijlstra wrote: > On Sat, Jul 29, 2017 at 11:58:40AM +1000, Nicholas Piggin wrote: > > I haven't had time to read the thread and understand exactly why you need > > this extra barrier, I'll do it next week. Thanks for cc'ing us on it. > > Bottom of here

Re: [RFC PATCH v2] membarrier: expedited private command

2017-07-29 Thread Nicholas Piggin
On Sat, 29 Jul 2017 19:45:43 +1000 Nicholas Piggin wrote: > hmm, we might be able to restrict iteration > to mm_cpumask(current->mm), no? Oh that's been discussed too. I'll read back over it too.

DO GET BACK IF INTERESTED!!

2017-07-29 Thread Micheal Lenn
Hello I am Mr Micheal Lennings , an Auditor Officer, PNC bank here in U.S.A. I believe it is the wish of God for me to come across you now. I have been in search of someone with this last name ,so when I saw you online, I was pushed to contact you and see how best we can assist each other. I a

Re: [PATCH 0/2] constify nf_hook_ops structures

2017-07-29 Thread Julia Lawall
On Sat, 29 Jul 2017, Florian Westphal wrote: > Julia Lawall wrote: > > On Sat, 29 Jul 2017, Florian Westphal wrote: > > > From a quick glance I don't see why we can't e.g. constify > > > nf_conntrack_l3/4_proto too. It is not going to be as simple > > > as just placing const everywhere, but I s

Re: [PATCH] x86/boot: check overlap between kernel and EFI_BOOT_SERVICES_*

2017-07-29 Thread kbuild test robot
/x86-boot-check-overlap-between-kernel-and-EFI_BOOT_SERVICES_/20170729-170209 base: https://git.kernel.org/pub/scm/linux/kernel/git/efi/efi.git next config: x86_64-lkp (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce: # save the attached .config to linux build

[PATCH] f2fs: add app/fs io stat

2017-07-29 Thread Chao Yu
This patch enables inner app/fs io stats and introduces below virtual fs nodes for exposing stats info: /sys/fs/f2fs//iostat_enable /proc/fs/f2fs//iostat_info Signed-off-by: Chao Yu --- fs/f2fs/checkpoint.c | 34 +- fs/f2fs/data.c | 35 +++---

[PATCH BUGFIX] block, bfq: consider also in_service_entity to state whether an entity is active

2017-07-29 Thread Paolo Valente
Groups of BFQ queues are represented by generic entities in BFQ. When a queue belonging to a parent entity is deactivated, the parent entity may need to be deactivated too, in case the deactivated queue was the only active queue for the parent entity. This deactivation may need to be propagated upw

[PATCH 0/6] net: moxa: Fix style issues

2017-07-29 Thread SZ Lin
This patch set fixs the WARNINGs found by the checkpatch.pl tool SZ Lin (6): net: moxa: Remove braces from single-line body net: moxa: Prefer 'unsigned int' to bare use of 'unsigned' net: moxa: Fix comparison to NULL could be written with ! net: moxa: Remove extra space after a cast net:

[PATCH 2/6] net: moxa: Prefer 'unsigned int' to bare use of 'unsigned'

2017-07-29 Thread SZ Lin
Use 'unsigned int' instead of 'unsigned' This warning is found using checkpatch.pl Signed-off-by: SZ Lin --- drivers/net/ethernet/moxa/moxart_ether.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethernet/moxa/moxart_ether.c b/drivers/net/ethernet/moxa/moxa

[PATCH 3/6] net: moxa: Fix comparison to NULL could be written with !

2017-07-29 Thread SZ Lin
Fixed coding style for null comparisons in moxart_ether driver to be more consistent with the rest of the kernel coding style Signed-off-by: SZ Lin --- drivers/net/ethernet/moxa/moxart_ether.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethernet/moxa/moxar

[PATCH 1/6] net: moxa: Remove braces from single-line body

2017-07-29 Thread SZ Lin
Remove unnecessary braces from single-line if statement This warning is found using checkpatch.pl Signed-off-by: SZ Lin --- drivers/net/ethernet/moxa/moxart_ether.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/net/ethernet/moxa/moxart_ether.c b/drivers/net/ether

[PATCH 4/6] net: moxa: Remove extra space after a cast

2017-07-29 Thread SZ Lin
No space is necessary after a cast This warning is found using checkpatch.pl Signed-off-by: SZ Lin --- drivers/net/ethernet/moxa/moxart_ether.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/moxa/moxart_ether.c b/drivers/net/ethernet/moxa/moxart_ether.c

[PATCH 6/6] net: moxa: Add spaces preferred around that '{+,-}'

2017-07-29 Thread SZ Lin
This patch fixes all checkpatch occurences of "CHECK: spaces preferred around that '{+,-}' (ctx:VxV)" in moxart_ether code. Signed-off-by: SZ Lin --- drivers/net/ethernet/moxa/moxart_ether.h | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/net/ethernet/moxa/mox

[PATCH 5/6] net: moxa: Fix for typo in comment to function moxart_mac_setup_desc_ring()

2017-07-29 Thread SZ Lin
Signed-off-by: SZ Lin --- drivers/net/ethernet/moxa/moxart_ether.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/moxa/moxart_ether.c b/drivers/net/ethernet/moxa/moxart_ether.c index 31e179a651ae..2e4effa9fe45 100644 --- a/drivers/net/ethernet/moxa/moxar

Re: [RFC PATCH v2] membarrier: expedited private command

2017-07-29 Thread Peter Zijlstra
On Sat, Jul 29, 2017 at 07:48:56PM +1000, Nicholas Piggin wrote: > On Sat, 29 Jul 2017 19:45:43 +1000 > Nicholas Piggin wrote: > > > hmm, we might be able to restrict iteration > > to mm_cpumask(current->mm), no? > > Oh that's been discussed too. I'll read back over it too. Right, the main pro

Re: strace-4.18 test suite oopses sparc64 4.12 and 4.13-rc kernels

2017-07-29 Thread Anatoly Pugachev
On Fri, Jul 28, 2017 at 11:45 AM, Mikael Pettersson wrote: > It's an rpmbuild --rebuild of Fedora's strace-4.18-1.fc24.src.rpm, but > according to the > build log the following should do it: > > export CFLAGS='-O2 -g -pipe -Wall -Werror=format-security > -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fst

Re: [PATCH 1/1][staging-next] staging: pi433: Make functions rf69_set_dc_cut_off_frequency_intern static

2017-07-29 Thread Dan Carpenter
On Sat, Jul 29, 2017 at 11:09:23AM +0200, Marcus Wolf wrote: > Hi Greg, > > also had a very close look to this patch. Even in your reply I can't find any > problems with line wraps or other corruptions :-/ > Here are the relevant lines from Greg's email: > +++ b/drivers/staging/pi433/rf69.c >

Re: [PATCH 2/2] mfd: ds1374: Add Dallas/Maxim DS1374 Multi Function Device

2017-07-29 Thread Alexandre Belloni
On 17/07/2017 at 08:51:17 +0100, Lee Jones wrote: > > +static int ds1374_probe(struct i2c_client *client, > > + const struct i2c_device_id *id) > > +{ > > + struct ds1374 *ds1374; > > + u32 mode; > > + int err; > > + > > + ds1374 = devm_kzalloc(&client->dev, sizeof(struct

Re: [PATCH -tip v7 1/2] irq: Make irqentry text section unconditional

2017-07-29 Thread kbuild test robot
-section-unconditional/20170729-170710 config: h8300-h8300h-sim_defconfig (attached as .config) compiler: h8300-linux-gcc (GCC) 6.2.0 reproduce: wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # save the

Re: [PATCH -tip v7 1/2] irq: Make irqentry text section unconditional

2017-07-29 Thread kbuild test robot
-section-unconditional/20170729-170710 config: xtensa-common_defconfig (attached as .config) compiler: xtensa-linux-gcc (GCC) 4.9.0 reproduce: wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # save the

[PATCH] rtc: ds1374: Fix decimal permission coding issue

2017-07-29 Thread SZ Lin
Fixed ERROR: Use 4 digit octal (0777) not decimal permissions to fulfill the current coding-style This error was detected by checkpatch.pl Signed-off-by: SZ Lin --- drivers/rtc/rtc-ds1374.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/rtc/rtc-ds1374.c b/drivers/rt

Re: strace-4.18 test suite oopses sparc64 4.12 and 4.13-rc kernels

2017-07-29 Thread Mikael Pettersson
Anatoly Pugachev writes: > On Fri, Jul 28, 2017 at 11:45 AM, Mikael Pettersson > wrote: > > It's an rpmbuild --rebuild of Fedora's strace-4.18-1.fc24.src.rpm, but > > according to the > > build log the following should do it: > > > > export CFLAGS='-O2 -g -pipe -Wall -Werror=format-securit

Re: [PATCHv2] i2c: add sc18is600 driver

2017-07-29 Thread Wolfram Sang
Hi, thanks for V2. On Sat, Jul 01, 2017 at 05:08:31PM +0200, Sebastian Reichel wrote: > This adds an I²C master driver for SPI -> I²C bus bridge chips. > It currently supports NXP's SC18IS600 and SC18IS601, as well as > Silicon Labs' CP2120. The driver was only tested on SC18IS600. I prefer 'I2C

Yes you have standing to sue GRSecurity.

2017-07-29 Thread nisus
It has come to my attention that some entities are claiming that you, dear Linux Hackers, (1)need to go through some foundation or get some permission from upon high in-order to sue the progenitors of GRSecurity for their violation of section 6 of the terms underwhich the linux kernel is distri

Re: [PATCH] tinydrm: repaper: add CONFIG_THERMAL dependency

2017-07-29 Thread Noralf Trønnes
Den 27.07.2017 11.58, skrev Arnd Bergmann: The new RePaper driver uses the thermal subsystem, and fails to link when it is built-in but thermal is a loadable module: drivers/gpu/drm/tinydrm/repaper.o: In function `repaper_probe': repaper.c:(.text+0x540): undefined reference to `thermal_zone_get

Re: [PATCH v12 5/8] virtio-balloon: VIRTIO_BALLOON_F_SG

2017-07-29 Thread Wei Wang
On 07/29/2017 07:08 AM, Michael S. Tsirkin wrote: On Thu, Jul 27, 2017 at 10:50:11AM +0800, Wei Wang wrote: OK I thought this over. While we might need these new APIs in the future, I think that at the moment, there's a way to implement this feature that is significantly simpler. Just add each s

Re: [PATCH v3] vfio: platform: reset: Add Broadcom FlexRM reset module

2017-07-29 Thread Auger Eric
Hi Anup, On 20/07/2017 13:17, Anup Patel wrote: > This patch adds Broadcom FlexRM low-level reset for > VFIO platform. > > It will do the following: > 1. Disable/Deactivate each FlexRM ring > 2. Flush each FlexRM ring > > The cleanup sequence for FlexRM rings is adapted from > Broadcom FlexRM mai

Re: [PATCH] x86/boot: check overlap between kernel and EFI_BOOT_SERVICES_*

2017-07-29 Thread kbuild test robot
-Horiguchi/x86-boot-check-overlap-between-kernel-and-EFI_BOOT_SERVICES_/20170729-170209 base: https://git.kernel.org/pub/scm/linux/kernel/git/efi/efi.git next reproduce: # apt-get install sparse make ARCH=x86_64 allmodconfig make C=1 CF=-D__CHECK_ENDIAN__ sparse warnings: (new

[RFC PATCH] x86/boot: efi_kernel_boot_services_overlap can be static

2017-07-29 Thread kbuild test robot
Fixes: 7ebe6cf3a6da ("x86/boot: check overlap between kernel and EFI_BOOT_SERVICES_*") Signed-off-by: Fengguang Wu --- misc.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/boot/compressed/misc.c b/arch/x86/boot/compressed/misc.c index b23159f..981d5f3 100644 --

Yes you have standing to sue GRSecurity

2017-07-29 Thread nisus
It has come to my attention that some entities are claiming that you, dear Linux Hackers, (1)need to go through some foundation or get some permission from upon high in-order to sue the progenitors of GRSecurity for their violation of section 6 of the terms underwhich the linux kernel is distri

[PATCH] f2fs: provide f2fs_balance_fs to __write_data_page for dentry pages

2017-07-29 Thread Yunlong Song
f2fs_balance_fs of dentry pages is skipped in __write_data_page due to deadlock of gc_mutex in write_checkpoint flow. This patch enables f2fs_balance_fs for normal dentry page writeback to ensure there are always enough free segments. Reported-by: Chao Yu Signed-off-by: Yunlong Song --- fs/f2fs

Re: [PATCH v2] f2fs: provide f2fs_balance_fs to __write_node_page

2017-07-29 Thread Yunlong Song
Hi, Jay, Not sure yet, whether it is just the case or not, at least we strengthen f2fs_balance_fs in some corner cases. And maybe there are still some corner cases which we have not considered yet. See my new patch "provide f2fs_balance_fs to __write_data_page for dentry pages", which is re

Re: [PATCH v2] f2fs: provide f2fs_balance_fs to __write_node_page

2017-07-29 Thread Yunlong Song
Hi Chao, Nice suggestion, I have sent out a new patch to implement it. On 2017/7/29 8:19, Chao Yu wrote: Hi Yunlong, On 2017/7/27 20:13, Yunlong Song wrote: v1->v2, fix some dead lock problems under some heavy load test On 2017/7/27 20:11, Yunlong Song wrote: Let node writeback also do f

Re: [PATCH v5 1/2] platform: Add driver for RAVE Supervisory Processor

2017-07-29 Thread kbuild test robot
/20170729-210238 config: blackfin-allyesconfig (attached as .config) compiler: bfin-uclinux-gcc (GCC) 6.2.0 reproduce: wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # save the attached .config to linux

Re: [PATCH 3/3] mm/sched: memdelay: memory health interface for systems and workloads

2017-07-29 Thread kbuild test robot
-loadavg-consolidate-LOAD_INT-LOAD_FRAC-macros/20170729-191658 config: arm-sunxi_defconfig (attached as .config) compiler: arm-linux-gnueabi-gcc (Debian 6.1.1-9) 6.1.1 20160705 reproduce: wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross

Re: [PATCH 1/1] usb: xhci: Add debugfs interface for xHCI driver

2017-07-29 Thread Greg KH
On Sat, Jul 29, 2017 at 04:18:03PM +0800, Lu Baolu wrote: > +static void xhci_debugfs_create_files(struct xhci_hcd *xhci, > + struct xhci_file_map *files, > + size_t nentries, void *data, > + struc

Re: [PATCH] Staging: pi433: fix some warnings detected using sparse

2017-07-29 Thread kbuild test robot
/Staging-pi433-fix-some-warnings-detected-using-sparse/20170729-205713 config: blackfin-allyesconfig (attached as .config) compiler: bfin-uclinux-gcc (GCC) 6.2.0 reproduce: wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin

[PATCHv3] uapi libc compat: add fallback for unsupported libcs

2017-07-29 Thread Felix Janda
libc-compat.h aims to prevent symbol collisions between uapi and libc headers for each supported libc. This requires continuous coordination between them. The goal of this commit is to improve the situation for libcs (such as musl) which are not yet supported and/or do not wish to be explicitly su

[PATCH v3 02/12] ASoC: sun4i-i2s: Add clkdiv offsets to quirks

2017-07-29 Thread codekipper
From: Marcus Cooper The BCLKDIV and MCLKDIV found on newer SoCs start from an offset of 1. Add the functionality to adjust the division values according to the needs to the device being used. Signed-off-by: Marcus Cooper --- sound/soc/sunxi/sun4i-i2s.c | 8 ++-- 1 file changed, 6 insertion

[PATCH v3 00/12] ASoC: Add I2S support for Allwinner H3 SoCs

2017-07-29 Thread codekipper
From: Marcus Cooper Hi All, please find attached a series of patches to bring i2s support to the Allwinner H3 SoC. This has been tested with the following setups: A20 Olimex EVB connected to a pcm5102 Orange Pi 2 connected to a uda1380 Orange Pi 2 hdmi audio playback Pine 64 connected to the aud

[PATCH v3 09/12] ASoC: sun4i-i2s: Add regmap field to set format

2017-07-29 Thread codekipper
From: Marcus Cooper On the newer SoCs the bits to configure the operational mode are located in a different register. Add a regmap field so that this location can be configured. Signed-off-by: Marcus Cooper --- sound/soc/sunxi/sun4i-i2s.c | 15 --- 1 file changed, 12 insertions(+),

[PATCH v3 10/12] ASoC: sun4i-i2s: Check for slave select bit

2017-07-29 Thread codekipper
From: Marcus Cooper The newer SoCs do not have this setting. Instead they set the pin direction. Add a check to see if the bit is valid and if so set it accordingly. Signed-off-by: Marcus Cooper --- sound/soc/sunxi/sun4i-i2s.c | 38 ++ 1 file changed, 22 ins

[PATCH v3 07/12] ASoC: sun4i-i2s: bclk and lrclk polarity tidyup

2017-07-29 Thread codekipper
From: Marcus Cooper On newer SoCs the bit fields for the blck and lrclk polarity are in a different locations. Use regmap fields to set the polarity bits as intended. Signed-off-by: Marcus Cooper --- sound/soc/sunxi/sun4i-i2s.c | 45 - 1 file changed

[PATCH v3 12/12] ASoC: sun4i-i2s: Add support for H3

2017-07-29 Thread codekipper
From: Marcus Cooper The sun8i-h3 introduces a lot of changes to the i2s block such as different register locations, extended clock division and more operational modes. As we have to consider the earlier implementation then these changes need to be isolated. Signed-off-by: Marcus Cooper --- ...

[PATCH v3 11/12] ASoC: sun4i-i2s: Update global enable with bitmask

2017-07-29 Thread codekipper
From: Marcus Cooper The default value of the config register is different on newer SoCs and therefore enabling/disabling with a register write will clear bits used to set the direction of the clock and frame pins. Signed-off-by: Marcus Cooper --- sound/soc/sunxi/sun4i-i2s.c | 7 --- 1 file

[PATCH v3 06/12] ASoC: sun4i-i2s: Add changes for wss and sr

2017-07-29 Thread codekipper
From: Marcus Cooper On newer SoCs the location of the slot width select and sample resolution are different and also there is a bigger range of support. For the current supported rates then an offset is required. Signed-off-by: Marcus Cooper --- sound/soc/sunxi/sun4i-i2s.c | 31 ++

[PATCH v3 08/12] ASoC: sun4i-i2s: Add mclk enable regmap field

2017-07-29 Thread codekipper
From: Marcus Cooper The location of the mclk output enable bit is different on newer SoCs. Use a regmap field to enable it. Signed-off-by: Marcus Cooper --- sound/soc/sunxi/sun4i-i2s.c | 22 +++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/sound/soc/sunxi/s

[PATCH v3 05/12] ASoC: sun4i-i2s: Add regmap fields for channels

2017-07-29 Thread codekipper
From: Marcus Cooper On the original i2s block the channel mapping and selection were configured for stereo audio by default: This is not the case with the newer SoCs and they are also located at different offsets. To support the newer SoC then regmap fields have been added to the quirks and thes

[PATCH v3 04/12] ASoC: sun4i-i2s: Add TX FIFO offset to quirks

2017-07-29 Thread codekipper
From: Marcus Cooper It has been seen that the newer SoCs have a different TX FIFO address. Add this to the quirks structure. Signed-off-by: Marcus Cooper --- sound/soc/sunxi/sun4i-i2s.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/sound/soc/sunxi/sun4i-i2s.c b/soun

[PATCH v3 03/12] ASoC: sun4i-i2s: Add regmap config to quirks

2017-07-29 Thread codekipper
From: Marcus Cooper The newer SoCs have a larger range than the original SoC that this driver was developed for. By adding the regmap config to the quirks then the driver can initialise the managed register map correctly. Signed-off-by: Marcus Cooper --- sound/soc/sunxi/sun4i-i2s.c | 10 ++

[PATCH v3 01/12] ASoC: sun4i-i2s: Extend quirks scope

2017-07-29 Thread codekipper
From: Marcus Cooper In preparation for the changes required to support newer SoCs then quirks has been moved and also added to the device structure. Signed-off-by: Marcus Cooper --- sound/soc/sunxi/sun4i-i2s.c | 22 ++ 1 file changed, 14 insertions(+), 8 deletions(-) diff

Re: [PATCH] kselftest: exec: make exec test output conform to TAP13

2017-07-29 Thread Paul Elder
On 07/27/2017 01:58 AM, Shuah Khan wrote: > Hi Paul, > > Please see comments below: > > On 07/25/2017 11:12 AM, Paul Elder wrote: >> Convert exec test output to TAP13 format, using the ksft framework. >> >> Signed-off-by: Paul Elder >> --- >> >> Depends on Shuah Khan's patch: "[PATCH 2/3] selfte

Re: [PATCH 1/5] of: Add vendor prefix for Adaptrum, Inc.

2017-07-29 Thread Andreas Färber
Hi Alexandru, Am 29.07.2017 um 00:07 schrieb Alexandru Gagniuc: > Signed-off-by: Alexandru Gagniuc > --- > Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + > 1 file changed, 1 insertion(+) Not sure why I'm CC'ed here, but it looks sane, so Reviewed-by: Andreas Färber If this patc

Re: wake_wide mechanism clarification

2017-07-29 Thread Mike Galbraith
On Sat, 2017-07-29 at 01:01 -0700, Joel Fernandes wrote: > Hi Mike, > > I have take spent some time understanding the email thread and > previous discussions. Unfortunately the second condition we are > checking for in the wake_wide still didn't make sense to me (mentioned > below) :-( > > On Fri

Re: [RESEND PATCH 2/6] ipc: mqueue: Replace timespec with timespec64

2017-07-29 Thread Richard Guy Briggs
On 2017-07-28 11:52, Deepa Dinamani wrote: > struct timespec is not y2038 safe. Replace > all uses of timespec by y2038 safe struct timespec64. > > Even though timespec is used here to represent timeouts, > replace these with timespec64 so that it facilitates > in verification by creating a y2038

Re: Yes you have standing to sue GRSecurity

2017-07-29 Thread Paul G. Allen
I have not contributed to the kernel for some time (I have been working on some stuff, but nothing that's been contributed), so I don't know if any of my code would be infringed (or if it's even in the latest kernels). My work was on AGP and VIA drivers, so I am wondering if GRSecurity's patches a

blk-mq breaks suspend even with runtime PM patch

2017-07-29 Thread Oleksandr Natalenko
Hello Jens, Christoph. Unfortunately, even with "block: disable runtime-pm for blk-mq" patch applied blk-mq breaks suspend to RAM for me. It is reproducible on my laptop as well as in a VM. I use complex disk layout involving MD, LUKS and LVM, and managed to get these warnings from VM via seri

[PATCH] net-next: stmmac: dwmac-sun8i: fix of_table.cocci warnings

2017-07-29 Thread Julia Lawall
b.com/0day-ci/linux/commits/Corentin-Labbe/dt-bindings-net-add-compatible-for-internal-sun8i-h3-sun8i-v3s-PHYs/20170729-174950 base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next dwmac-sun8i.c |1 + 1 file changed, 1 insertion(+) --- a/drivers/net/ethernet/stmi

MikeeUSA warning (Re: Yes you have standing to sue GRSecurity.)

2017-07-29 Thread Adam Borowski
Note that this is quite clearly yet another of MikeeUSA's sockpuppets. And you guys really don't want to be caught in another of his troll threads. Yeah, GRsecurity is a problem, but don't let our dear Mikee milk it. -- ⢀⣴⠾⠻⢶⣦⠀ What Would Jesus Do, MUD/MMORPG edition: ⣾⠁⢰⠒⠀⣿⡁ • multiplay with

Re: [PATCH v2 02/10] drivers/hwmon/occ: Add command transport method for P8 and P9

2017-07-29 Thread kbuild test robot
-Controller-OCC-hwmon-driver/20170729-233004 base: https://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git hwmon-next config: i386-allmodconfig (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce: # save the attached .config to linux build tree

[PATCH] md: replace seq_release_private with seq_release

2017-07-29 Thread Cihangir Akturk
Since commit f15146380d28 ("fs: seq_file - add event counter to simplify poll() support"), md.c code has been no longer used the private field of the struct seq_file, but seq_release_private() has been continued to be used to release the allocated seq_file. This seems to have been forgotten. So con

  1   2   >