Re: Fwd: Re: Hibernation on i386 failure...

2018-03-04 Thread Pavel Machek
On Sat 2018-03-03 19:03:48, Woody Suwalski wrote: > Pavel Machek wrote: > >Hi! > > > >>>On Tue 2018-01-09 16:54:51, Woody Suwalski wrote: > Hey Pavel, so you have found that issue earlier... Do you have a patch to > try? > >>>Did I? I do not remember clearly. > >>> > >>>Anyway, here are my

Re: [linux-stable-rc:linux-4.9.y 6083/6211] warning: __mcount_loc already exists: drivers/net/wireless/intel/iwlwifi/mvm/rx.o

2018-03-04 Thread Arnd Bergmann
On Sun, Mar 4, 2018 at 7:21 AM, kbuild test robot wrote: > tree: > https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git > linux-4.9.y > head: 85afb4e51ccfdb10f2969b24439ae2887fe0fcff > commit: c0ecbd663fe6961c6ff181a211f090005858656f [6083/6211] scsi: advansys: > fix u

[GIT PULL] of_overlay_fdt_apply() v7 for 4.17

2018-03-04 Thread Frank Rowand
Hi Rob, Please pull the changes to create the overlay FDT apply API. This is the v7 changes. -Frank The following changes since commit 7928b2cbe55b2a410a0f5c1f154610059c57b1b2: Linux 4.16-rc1 (2018-02-11 15:04:29 -0800) are available in the git repository at: git://git.kernel.org/pub/scm

Re: [PATCH] clarify how insecure CPU is

2018-03-04 Thread Pavel Machek
Hi! > > > > > > > > > > > > First, what is going on with X86_BUG_AMD_E400 and > > > > > > X86_BUG_AMD_APIC_C1E > > > > > > ? They seem to refer to the same bug, perhaps comment should mention > > > > > > that? (Do we need two flags for one bug?) > > > > > > > > > > > > Next, maybe X86_BUG_CPU_I

[PATCH] staging: ipx: Replace printk() with appropriate pr_*() macro

2018-03-04 Thread Arushi Singhal
Using pr_() is more concise than printk(KERN_). Replace printks having a log level with the appropriate pr_*() macros. Signed-off-by: Arushi Singhal --- drivers/staging/ipx/af_ipx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/ipx/af_ipx.c b/drivers/staging

[tip:perf/urgent] perf/x86/intel/uncore: Fix Skylake UPI event format

2018-03-04 Thread tip-bot for Kan Liang
Commit-ID: 317660940fd93201c2f92e25c27902c753fa Gitweb: https://git.kernel.org/tip/317660940fd93201c2f92e25c27902c753fa Author: Kan Liang AuthorDate: Fri, 2 Mar 2018 07:22:30 -0800 Committer: Ingo Molnar CommitDate: Sun, 4 Mar 2018 09:59:00 +0100 perf/x86/intel/uncore: Fix Skyl

Re: [PATCH net-next 3/5] net: mvpp2: use a data size of 10kB for Tx FIFO on port 0

2018-03-04 Thread Thomas Petazzoni
Hello, On Sun, 4 Mar 2018 06:29:59 +, Stefan Chulski wrote: > > Is there a reason to hardcode 10KB for port 0, and 3KB for the other ports ? > > Would there be use cases where the user may want different configurations > > ? > > Design requirement are 10KB TX FIFO for the 10Gb/sec and 2.5KB

Re: [PATCH net-next 5/5] net: mvpp2: jumbo frames support

2018-03-04 Thread Thomas Petazzoni
Hello, On Sun, 4 Mar 2018 06:56:02 +, Stefan Chulski wrote: > > > + if (port->pool_long->id == MVPP2_BM_JUMBO && port->id != 0) { > > > > Again, all over the place we hardcode the fact that Jumbo frames can only be > > used on port 0. I know port 0 is the only one that can do 10G, but are

Re: [PATCH] clarify how insecure CPU is

2018-03-04 Thread Borislav Petkov
On Sun, Mar 04, 2018 at 09:51:59AM +0100, Pavel Machek wrote: > diff --git a/arch/x86/include/asm/cpufeatures.h > b/arch/x86/include/asm/cpufeatures.h > index f41079d..4901742 100644 > --- a/arch/x86/include/asm/cpufeatures.h > +++ b/arch/x86/include/asm/cpufeatures.h > @@ -341,7 +341,7 @@ > #def

Re: [PATCH] Delete some unusefull operations for centaur CPU/platform

2018-03-04 Thread Ingo Molnar
* David Wang wrote: > For Centaur CPU, the ucode will make sure that each CPU core can keep cache > coherency with each other when the CPU core entering to any C state. So the > cache flush operations when enter C3 is not necessary and will cause large > C3 enter/exit latency. > And the bus maste

RE: [PATCH net-next 3/5] net: mvpp2: use a data size of 10kB for Tx FIFO on port 0

2018-03-04 Thread Stefan Chulski
> -Original Message- > From: Thomas Petazzoni [mailto:thomas.petazz...@bootlin.com] > Sent: Sunday, March 04, 2018 11:25 AM > To: Stefan Chulski > Cc: Antoine Tenart ; da...@davemloft.net; > Yan Markman ; net...@vger.kernel.org; linux- > ker...@vger.kernel.org; maxime.chevall...@bootlin.

[GIT PULL] Btrfs fixes for 4.16-rc4

2018-03-04 Thread David Sterba
Hi, please consider the follwing btrfs updates, there are bugfixes or fixes for user visible behaviour. No merge conflicts. Please pull, thanks. - when NR_CPUS is large, a SRCU structure can significantly inflate size of the main filesystem structure that would not be possible to allocate by

RE: [PATCH net-next 5/5] net: mvpp2: jumbo frames support

2018-03-04 Thread Stefan Chulski
> > To perform checksum in HW, HW obviously should work in store and > forward mode. Store all frame in TX FIFO and then check checksum. > > If mtu 1500B, everything fine and all port can do this. > > > > If mtu is 9KB and 9KB frame transmitted, Port 0 still can do HW checksum. > But ports 1 and 2

Re: [PATCH -tip] x86: kprobes: Cleanup preempt disabling and enabling

2018-03-04 Thread Masami Hiramatsu
On Sat, 3 Mar 2018 21:25:45 +0900 Masami Hiramatsu wrote: > On Sat, 3 Mar 2018 10:58:23 +0100 > Ingo Molnar wrote: > > > > > * Masami Hiramatsu wrote: > > > > > +/* > > > + * Interrupts are disabled on entry as trap3 is an interrupt gate and > > > they > > > + * remain disabled throughout t

[PATCH] staging: pi433: fix CamelCase for address_filtering enum

2018-03-04 Thread Valentin Vidic
Fixes checkpatch warnings: CHECK: Avoid CamelCase: CHECK: Avoid CamelCase: CHECK: Avoid CamelCase: Signed-off-by: Valentin Vidic --- drivers/staging/pi433/Documentation/pi433.txt | 12 ++-- drivers/staging/pi433/pi433_if.c | 6 +++--- drivers/staging/pi433/rf69.c

[PATCH] staging: pi433: fix CamelCase for flag enum

2018-03-04 Thread Valentin Vidic
Fixes checkpatch warnings: CHECK: Avoid CamelCase: CHECK: Avoid CamelCase: CHECK: Avoid CamelCase: CHECK: Avoid CamelCase: CHECK: Avoid CamelCase: CHECK: Avoid CamelCase: CHECK: Avoid CamelCase: CHECK: Avoid CamelCase: CHECK: Avoid CamelCase: Signed-off-by: Valentin Vid

[PATCH] staging: pi433: fix CamelCase for packetFormat enum

2018-03-04 Thread Valentin Vidic
Fixes checkpatch warnings: CHECK: Avoid CamelCase: CHECK: Avoid CamelCase: CHECK: Avoid CamelCase: Signed-off-by: Valentin Vidic --- drivers/staging/pi433/pi433_if.c | 8 drivers/staging/pi433/rf69.c | 8 drivers/staging/pi433/rf69.h | 2 +- drivers/staging

[PATCH] staging: pi433: fix CamelCase for afterSyncInterrupt

2018-03-04 Thread Valentin Vidic
Fixes checkpatch warning: CHECK: Avoid CamelCase: Signed-off-by: Valentin Vidic --- drivers/staging/pi433/pi433_if.c | 2 +- drivers/staging/pi433/rf69.c | 2 +- drivers/staging/pi433/rf69_enum.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/pi4

[PATCH] staging: pi433: fix CamelCase for Address variables

2018-03-04 Thread Valentin Vidic
Fixes checkpatch warnings: CHECK: Avoid CamelCase: CHECK: Avoid CamelCase: Signed-off-by: Valentin Vidic --- drivers/staging/pi433/rf69.c | 8 drivers/staging/pi433/rf69.h | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/staging/pi433/rf69.c b/driv

[PATCH] staging: pi433: fix CamelCase for paRamp enum

2018-03-04 Thread Valentin Vidic
Fixes checkpatch warning: CHECK: Avoid CamelCase: Signed-off-by: Valentin Vidic --- drivers/staging/pi433/Documentation/pi433.txt | 2 +- drivers/staging/pi433/pi433_if.h | 2 +- drivers/staging/pi433/rf69.c | 4 ++-- drivers/staging/pi433/rf69.h

[PATCH] nvmx: Check exit qualification RD/WR permission for MMIO accesses

2018-03-04 Thread KarimAllah Ahmed
Validate that a write MMIO access that follows a read MMIO access would have the correct access captured in the exit qualification. Cc: Paolo Bonzini Cc: Radim Krčmář Cc: k...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: KarimAllah Ahmed Message-Id: <1519841208-23349-1-git-se

Re: [PATCH] X86/KVM: Update the exit_qualification access bits while walking an address

2018-03-04 Thread Raslan, KarimAllah
On Fri, 2018-03-02 at 18:41 +0100, Paolo Bonzini wrote: > On 28/02/2018 19:06, KarimAllah Ahmed wrote: > > > > ... to avoid having a stale value when handling an EPT misconfig for MMIO > > regions. > > > > MMIO regions that are not passed-through to the guest are handled through > > EPT misconfig

[PATCH] drm/sun4i: move rgb mode_valid from connector to encoder

2018-03-04 Thread Giulio Benetti
mode_valid function must be connected to encoder, not connector. Otherwise it doesn't get called by drm. Move mode_valid function pointer to encoder helper functions, changing its prototype according to encoder helper function pointer. Signed-off-by: Giulio Benetti --- drivers/gpu/drm/sun4i/sun

Re: [PATCH] drm/sun4i: move rgb mode_valid from connector to encoder

2018-03-04 Thread Giulio Benetti
Hello everybody, I wanted to move function sun4i_rgb_encoder_mode_valid from connector section to encoder section. This is why it changes so many things, I don't know if it is the right way to do this. Let me know. Thanks -- Giulio Benetti CTO MICRONOVA SRL Sede: Via A. Niedda 3 - 35010 Vig

[tip:WIP.sched/core 19/22] kernel/sched/core.c:2836:18: error: passing argument 1 of 'mips_install_watch_registers' from incompatible pointer type

2018-03-04 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git WIP.sched/core head: ffce6fffa0033fa54d1bac1c7494862b71316978 commit: ecaf52c9ec5ad31395e5c06c01e293ebcf0e4350 [19/22] sched/headers: Simplify and clean up header usage in the scheduler config: mips-jz4740 (attached as .config)

Re: [PATCH 17/21] powerpc: Add missing prototype for sys_debug_setcontext

2018-03-04 Thread Michael Ellerman
Mathieu Malaterre writes: > In commit 81e7009ea46c ("powerpc: merge ppc signal.c and ppc64 signal32.c") > the function sys_debug_setcontext was added without a prototype. > > Fix compilation warning (treated as error in W=1): > > CC arch/powerpc/kernel/signal_32.o > arch/powerpc/kernel/sig

Re: [PATCH 15/21] powerpc: Add missing prototype for MMU_setup

2018-03-04 Thread Michael Ellerman
Mathieu Malaterre writes: > Add a function declaration for MMU_setup at the beginning of the file to > fix a warning (treated as error in W=1): > > CC kernel/sys.o > arch/powerpc/mm/init_32.c:102:13: error: no previous prototype for > ‘MMU_setup’ [-Werror=missing-prototypes] > void __init

Re: [PATCH 03/21] powerpc: Mark the variable earlycon_acpi_spcr_enable maybe_unused

2018-03-04 Thread Michael Ellerman
Mathieu Malaterre writes: > Re-use the object-like macro EARLYCON_USED_OR_UNUSED to mark > `earlycon_acpi_spcr_enable` as maybe_unused. > > Fix the following warning (treated as error in W=1) > > CC arch/powerpc/kernel/setup-common.o > In file included from ./include/linux/serial_8250.h:14

Re: [PATCH 05/21] powerpc: Avoid comparison of unsigned long >= 0 in pfn_valid

2018-03-04 Thread Michael Ellerman
Mathieu Malaterre writes: > Rewrite comparison since all values compared are of type `unsigned long`. > > Fix a warning (treated as error in W=1): > > CC arch/powerpc/kernel/irq.o > In file included from ./include/linux/bug.h:5:0, > from ./include/linux/cpumask.h:13, >

[PATCH] staging: comedi: "dont" is changed to "don't"

2018-03-04 Thread Arushi Singhal
"dont" is changed to "don't" in messages, "dont" is not correct english. Signed-off-by: Arushi Singhal --- drivers/staging/comedi/drivers/cb_pcidas64.c | 2 +- drivers/staging/comedi/drivers/das16.c | 2 +- drivers/staging/comedi/drivers/das16m1.c | 2 +- 3 files changed, 3 insertions(

Re: Fwd: Re: Hibernation on i386 failure...

2018-03-04 Thread Woody Suwalski
Pavel Machek wrote: On Sat 2018-03-03 19:03:48, Woody Suwalski wrote: Pavel Machek wrote: Hi! On Tue 2018-01-09 16:54:51, Woody Suwalski wrote: Hey Pavel, so you have found that issue earlier... Do you have a patch to try? Did I? I do not remember clearly. Anyway, here are my hibernation-r

Re: [PATCH v4 11/22] nvmem: meson-mx-efuse: Convert to use devm_nvmem_register()

2018-03-04 Thread kbuild test robot
Hi Andrey, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on linus/master] [also build test WARNING on v4.16-rc3 next-20180302] [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

[PATCH] nvmem: meson-mx-efuse: fix ptr_ret.cocci warnings

2018-03-04 Thread kbuild test robot
From: Fengguang Wu drivers/nvmem/meson-mx-efuse.c:237:1-3: WARNING: PTR_ERR_OR_ZERO can be used Use PTR_ERR_OR_ZERO rather than if(IS_ERR(...)) + PTR_ERR Generated by: scripts/coccinelle/api/ptr_ret.cocci Fixes: 37ef5352c0f7 ("nvmem: meson-mx-efuse: Convert to use devm_nvmem_register()") CC

[tip:WIP.sched/core 19/22] arch/m68k/include/asm/switch_to.h:30:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'

2018-03-04 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git WIP.sched/core head: ffce6fffa0033fa54d1bac1c7494862b71316978 commit: ecaf52c9ec5ad31395e5c06c01e293ebcf0e4350 [19/22] sched/headers: Simplify and clean up header usage in the scheduler config: m68k-sun3_defconfig (attached as

Hello Your 1.5 million Euros

2018-03-04 Thread Ms.Clara Sweet
Hello Your 1.5 million Euros had be transferred through lavantBank spain You advice to Contact Mr.Damrong Phomdouangsy send your information as follows: 1) Your full name... 2) Your private telephone numbers.. 3) Your contact address

Re: [Outreachy kernel] [PATCH] staging: comedi: "dont" is changed to "don't"

2018-03-04 Thread Julia Lawall
On Sun, 4 Mar 2018, Arushi Singhal wrote: > "dont" is changed to "don't" in messages, "dont" is not correct > english. The change is fine, but please rewrite the commit log in the imperative. julia > > Signed-off-by: Arushi Singhal > --- > drivers/staging/comedi/drivers/cb_pcidas64.c | 2 +-

[PATCH 3/3] irq/irq_sim: return the base of the irq range from irq_sim_init()

2018-03-04 Thread Bartosz Golaszewski
Returning the base of the allocated interrupt range from irq_sim_init() and devm_irq_sim_init() will allow users to handle the logic of associating irq numbers with any other driver-specific resources without having to use irq_sim_irqnum(). Signed-off-by: Bartosz Golaszewski --- kernel/irq/irq_s

[PATCH 0/3] irq_sim updates for v4.17

2018-03-04 Thread Bartosz Golaszewski
This series contains changes that have been discussed a while ago with Marc - irq_sim_init() should return the base of the allocated interrupt range so that users don't need the irq_sim API to map the interrupt number to its offset in the array of allocated interrupts. All external users have alre

[PATCH 2/3] irq/irq_sim: modify the return value check for irq_sim_init()

2018-03-04 Thread Bartosz Golaszewski
As discussed with Marc Zyngier: irq_sim_init() and its devres variant should return the base of the allocated interrupt range on success rather than 0. This will be modified later - first, change the way devm_irq_sim_init() check the return value. Signed-off-by: Bartosz Golaszewski --- kernel/ir

[PATCH 1/3] irq/irq_sim: explicitly pull in slab.h

2018-03-04 Thread Bartosz Golaszewski
We're calling kfree() in the irq_sim code but slab.h is pulled in indirectly via irq.h. Include it explicitly. Signed-off-by: Bartosz Golaszewski --- kernel/irq/irq_sim.c | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/irq/irq_sim.c b/kernel/irq/irq_sim.c index 24caabf1a0f7..bd7dc1db6

[no subject]

2018-03-04 Thread Alfred Chow
Good Day, I am sending you this message again. I am Mr. Alfred Cheuk Yu Chow, the Director for Credit & Marketing Chong Hing Bank, Hong Kong, Chong Hing Bank Centre, 24 Des Voeux Road Central, Hong Kong. I have a business proposal of $38,980,369.00. All confirmable documents to back

[PATCH 1/3 RESEND] tpm: add longer timeouts for creation commands.

2018-03-04 Thread Tomas Winkler
TPM2_CC_Create(0x153) and TPM2_CC_CreatePrimary (0x131) involve generation of crypto keys which can be a computationally intensive task. The timeout is set to 3min. Signed-off-by: Tomas Winkler --- drivers/char/tpm/tpm-interface.c | 4 drivers/char/tpm/tpm.h | 27

[PATCH 3/3] tpm_crb: use __le64 annotated variable for response buffer address

2018-03-04 Thread Tomas Winkler
This suppresses sparse warning drivers/char/tpm/tpm_crb.c:558:18: warning: cast to restricted __le64 Signed-off-by: Tomas Winkler --- drivers/char/tpm/tpm_crb.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/char/tpm/tpm_crb.c b/drivers/char/tpm/tpm_crb.c index

[PATCH 2/3] tpm: add new tpm2 commands according to TCG 1.36

2018-03-04 Thread Tomas Winkler
1. TPM2_CC_LAST has moved from 182 to 193 2. Convert tpm2_ordinal_duration from an array into a switch statement, as there are not so many commands that require special duration relative to a number of commands. Signed-off-by: Tomas Winkler --- drivers/char/tpm/tpm.h | 41 ++

[PATCH 1/2] regulator: qcom_spmi: Add support for SAW

2018-03-04 Thread Ilia Lin
Add support for SAW controlled regulators. The regulators defined as SAW controlled in the device tree will be controlled through special CPU registers instead of direct SPMI accesses. This is required especially for CPU supply regulators to synchronize with clock scaling and for Automatic Voltage

[PATCH 0/2] Add SAW support to QCOM SPMI driver

2018-03-04 Thread Ilia Lin
The SAW is the ???Subsystem Power Manager (SPM), Adaptive Voltage Scaling (AVS) and Dynamic Current Management (DCM) Wrapper???, that is, a core that contains logic to implement the SPM, AVS, and DCM functions. The SAW manages power controls for a client core such as a CPU. The PMIC regulators sup

[PATCH 2/2] dt-bindings: Add support for SAW documentation

2018-03-04 Thread Ilia Lin
Add support for SAW controlled regulators in 8x96. Document it. Signed-off-by: Ilia Lin --- .../bindings/regulator/qcom,spmi-regulator.txt | 45 ++ 1 file changed, 45 insertions(+) diff --git a/Documentation/devicetree/bindings/regulator/qcom,spmi-regulator.txt b/Docum

[PATCH v3 0/4] adis16209 driver cleanup

2018-03-04 Thread Shreeya Patel
This patchset has been introduced for the cleanup of adis16209 driver. This patchset cleans up miscellaneous code fragments and improves the code readability. Changes in v3 -Combine some patches into one from the previous series and add some more comments in patch *[1/4]. Introduce a new patch *

[PATCH v3 1/4] Staging: iio: adis16209: Remove and add some comments and group the definitions

2018-03-04 Thread Shreeya Patel
Remove some unnecessay comments and group the control register and register field macros together. Some of the register names does not make it's puporse very clear and hence, add some comments for more information. Also there are certain unit based comments which are not providing sufficient inform

[PATCH v3 2/4] Staging: iio: adis16209: Change some macro names

2018-03-04 Thread Shreeya Patel
Make some of the macro names according to the names given in the datasheet of the adis16209 driver. Signed-off-by: Shreeya Patel --- Changes in v3 -Introduce this new patch for v3 of the series. drivers/staging/iio/accel/adis16209.c | 48 +-- 1 file changed, 2

[PATCH v3 3/4] Staging: iio: adis16209: Adjust a switch statement

2018-03-04 Thread Shreeya Patel
Adjust a switch block to explicitly match channels and return -EINVAL as default case which makes the code semantically more clear. Signed-off-by: Shreeya Patel --- Changes in v3 -After split patch. drivers/staging/iio/accel/adis16209.c | 10 -- 1 file changed, 8 insertions(+), 2 del

[PATCH v3 4/4] Staging: iio: adis16209: Use sign_extend32 function

2018-03-04 Thread Shreeya Patel
Use sign_extend32 function instead of manually coding it. Signed-off-by: Shreeya Patel --- Changes in v3 -After split patch. drivers/staging/iio/accel/adis16209.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/staging/iio/accel/adis16209.c b/drivers/staging

[PATCH] gpio: mockup: fix a potential crash when creating debugfs entries

2018-03-04 Thread Bartosz Golaszewski
If we failed to create the top debugfs directory, we must not try to create the child nodes. We currently only check if gpio_mockup_dbg_dir is not NULL, but it can also contain an errno if debugfs is disabled in build options. Use IS_ERR_OR_NULL() instead. Signed-off-by: Bartosz Golaszewski ---

Re: [PATCH 2/3] crypto: ccp - return an actual key size from RSA max_size callback

2018-03-04 Thread Herbert Xu
On Sat, Mar 03, 2018 at 12:15:20AM +0100, Maciej S. Szmigiero wrote: > > However, what about the first patch from this series? > Without it, while it no longer should cause a buffer overflow, in-kernel > X.509 certificate verification will still fail with CCP driver loaded > (since CCP RSA implemen

Re: [PATCH v3 1/4] Staging: iio: adis16209: Remove and add some comments and group the definitions

2018-03-04 Thread Himanshu Jha
Hi Shreeya, On Sun, Mar 04, 2018 at 06:06:22PM +0530, Shreeya Patel wrote: > Remove some unnecessay comments and group the control > register and register field macros together. > Some of the register names does not make it's puporse > very clear and hence, add some comments for more > information

Re: Would you help to tell why async printk solution was not taken to upstream kernel ?

2018-03-04 Thread Sergey Senozhatsky
Cc-ing Steven On (03/04/18 20:10), Qixuan.Wu wrote: >Hi Sergey, petr, and Jan, > I find you wrote a patch set of "[PATCH v12 0/3] printk: Make printk() >completely async"(https://lkml.org/lkml/2016/5/13/275), and many people >have reviewd. But I did not see them be taken to upstre

[PATCH] nvmem: lpc18xx_otp: fix ptr_ret.cocci warnings

2018-03-04 Thread kbuild test robot
From: Fengguang Wu drivers/nvmem/lpc18xx_otp.c:90:1-3: WARNING: PTR_ERR_OR_ZERO can be used Use PTR_ERR_OR_ZERO rather than if(IS_ERR(...)) + PTR_ERR Generated by: scripts/coccinelle/api/ptr_ret.cocci Fixes: e738282235ec ("nvmem: lpc18xx_otp: Convert to use devm_nvmem_register()") CC: Andrey

Re: [PATCH v4 13/22] nvmem: lpc18xx_otp: Convert to use devm_nvmem_register()

2018-03-04 Thread kbuild test robot
Hi Andrey, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on linus/master] [also build test WARNING on v4.16-rc3 next-20180302] [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

Re: [PATCH v3 1/4] Staging: iio: adis16209: Remove and add some comments and group the definitions

2018-03-04 Thread Shreeya Patel
On Sun, 2018-03-04 at 18:26 +0530, Himanshu Jha wrote: > Hi Shreeya, > > On Sun, Mar 04, 2018 at 06:06:22PM +0530, Shreeya Patel wrote: > > > > Remove some unnecessay comments and group the control > > register and register field macros together. > > Some of the register names does not make it's

Re: [PATCH] staging: ipx: Replace printk() with appropriate pr_*() macro

2018-03-04 Thread Greg KH
On Sun, Mar 04, 2018 at 02:29:35PM +0530, Arushi Singhal wrote: > Using pr_() is more concise than printk(KERN_). > Replace printks having a log level with the appropriate pr_*() macros. > > Signed-off-by: Arushi Singhal > --- > drivers/staging/ipx/af_ipx.c | 2 +- > 1 file changed, 1 insertion(

Re: [PATCH] staging: pi433: fix CamelCase for packetFormat enum

2018-03-04 Thread Greg Kroah-Hartman
On Sun, Mar 04, 2018 at 10:55:56AM +0100, Valentin Vidic wrote: > Fixes checkpatch warnings: > > CHECK: Avoid CamelCase: > CHECK: Avoid CamelCase: > CHECK: Avoid CamelCase: > > Signed-off-by: Valentin Vidic > --- Hi, This is the friendly patch-bot of Greg Kroah-Hartman. You have sent

Re: [PATCH] clarify how insecure CPU is

2018-03-04 Thread Pavel Machek
On Sun 2018-03-04 10:29:18, Borislav Petkov wrote: > On Sun, Mar 04, 2018 at 09:51:59AM +0100, Pavel Machek wrote: > > diff --git a/arch/x86/include/asm/cpufeatures.h > > b/arch/x86/include/asm/cpufeatures.h > > index f41079d..4901742 100644 > > --- a/arch/x86/include/asm/cpufeatures.h > > +++ b/a

Re: [PATCH 8/9] ASoC: Intel: bytcr_rt5640: Drop unwanted ignore_suspend settings

2018-03-04 Thread Hans de Goede
Hi, On 01-03-18 18:17, Mark Brown wrote: On Thu, Mar 01, 2018 at 05:58:35PM +0100, Hans de Goede wrote: On 01-03-18 17:48, Mark Brown wrote: That sounds like what's missing is hookup of whatever the DSP uses to wake the system when it's getting to the bottom of the buffer? That's the normal

[PATCH 1/3] staging: lustre: Replace "be be" with "be"

2018-03-04 Thread Arushi Singhal
This patch replace "be be" with "be". Signed-off-by: Arushi Singhal --- drivers/staging/lustre/lnet/libcfs/debug.c | 2 +- drivers/staging/lustre/lustre/include/lprocfs_status.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/lustre/lnet/libcfs/

[PATCH 2/3] staging: lustre: Replace "to to" with "to"

2018-03-04 Thread Arushi Singhal
This patch replace "to to" with "to". Signed-off-by: Arushi Singhal --- drivers/staging/lustre/lustre/include/cl_object.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/lustre/lustre/include/cl_object.h b/drivers/staging/lustre/lustre/include/cl_object.h ind

[PATCH 3/3] staging: lustre: Replace "dont" with "don't"

2018-03-04 Thread Arushi Singhal
Replace "dont" with "don't". "Dont" is not same as "Do not" or "Don't". Signed-off-by: Arushi Singhal --- drivers/staging/lustre/lustre/fld/fld_cache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/lustre/lustre/fld/fld_cache.c b/drivers/staging/lustre/lust

[PATCH 0/3] staging: lustre: cleanup

2018-03-04 Thread Arushi Singhal
Spellcheck the comments. Remove the repeated, consecutive words with single word. Arushi Singhal (3): staging: lustre: Replace "be be" with "be" staging: lustre: Replace "to to" with "to" staging: lustre: Replace "dont" with "don't" drivers/staging/lustre/lnet/libcfs/debug.c |

Re: [PATCH] clarify how insecure CPU is

2018-03-04 Thread Borislav Petkov
On Sun, Mar 04, 2018 at 03:01:48PM +0100, Pavel Machek wrote: > > Not "might be needed" - "X86_BUG_AMD_APIC_C1E will be set if platform is > > affected". > > That's not what Thomas was explaining to me. It is in the comment he pasted: * Check whether the machine is affected by erratum 4

[GIT pull] irq udpate for 4.16

2018-03-04 Thread Thomas Gleixner
Linus, please pull the latest irq-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git irq-urgent-for-linus Just a documentation update for the missing device tree property of the R-Car M3N interrupt controller. Thanks, tglx -->

[GIT pull] timer fixes for 4.16

2018-03-04 Thread Thomas Gleixner
Linus, please pull the latest timers-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git timers-urgent-for-linus A small set of fixes from the timer departement: - Add a missing timer wheel clock forward when migrating timers off a unplugged CPU to

Re: [RFC PATCH V1 01/12] audit: add container id

2018-03-04 Thread Paul Moore
On Sat, Mar 3, 2018 at 4:19 AM, Serge E. Hallyn wrote: > On Thu, Mar 01, 2018 at 02:41:04PM -0500, Richard Guy Briggs wrote: > ... >> +static inline bool audit_containerid_set(struct task_struct *tsk) > > Hi Richard, > > the calls to audit_containerid_set() confused me. Could you make it > is_aud

[GIT pull] x86 fixes for 4.16

2018-03-04 Thread Thomas Gleixner
Linus, please pull the latest x86-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-urgent-for-linus A small set of fixes for x86: - Add missing instruction suffixes to assembly code so it can be compiled by newer GAS versions without warnings

[GIT pull] xp6/pti updates for 4.16

2018-03-04 Thread Thomas Gleixner
Linus, please pull the latest x86-pti-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-pti-for-linus Three fixes related to melted spectrum: - Sync the cpu_entry_area page table to initial_page_table on 32 bit. Otherwise suspend/resume fails because

Re: Would you help to tell why async printk solution was not taken to upstream kernel ?

2018-03-04 Thread Qixuan.Wu
Hi Sergey, Thank you for your fast reply. On (03/04/18 21:02), Sergey Senozhatsky wrote: > On (03/04/18 20:10), Qixuan.Wu wrote: >>Hi Sergey, petr, and Jan, >> I find you wrote a patch set of "[PATCH v12 0/3] printk: Make printk() >>completely async"(https://lkml.org/lkml/2016/5/

Re: [PATCH v2 0/4] net: Use strlcpy() for ethtool::get_strings

2018-03-04 Thread Andrew Lunn
On Fri, Mar 02, 2018 at 03:08:35PM -0800, Florian Fainelli wrote: > Hi all, > > After turning on KASAN on one of my systems, I started getting lots of out of > bounds errors while fetching a given port's statistics, and indeed using > memcpy() is unsafe for copying strings which have not been decl

Re: Would you help to tell why async printk solution was not taken to upstream kernel ?

2018-03-04 Thread Steven Rostedt
On Sun, 04 Mar 2018 23:08:23 +0800 "Qixuan.Wu" wrote: > Suppose there is one scenario that the system has 100 CPU(0~99). While CPU 0 > is > calling slow console, CPU 1~99 are calling printk at the same time. And > suppose > CPU 1 will be waiter, as per the patch, 2~99 will return directly. Af

Re: [PATCH 2/2] mmc: bcm2835: print some informational messages during reset

2018-03-04 Thread Michal Suchánek
On Thu, 15 Feb 2018 19:22:00 +0100 (CET) Stefan Wahren wrote: > Hi Michal, > > > Michal Suchánek hat am 14. Februar 2018 um > > 20:47 geschrieben: > > > > > > On Wed, 14 Feb 2018 08:50:16 -0800 > > Florian Fainelli wrote: > > > > > On February 14, 2018 6:38:58 AM PST, Michal Suchanek > >

[PATCH 0/3] staging: media: cleanup

2018-03-04 Thread Arushi Singhal
Spellcheck the comments. Remove the repeated, consecutive words with single word. Arushi Singhal (3): staging: media: Replace "be be" with "be" staging: media: Replace "cant" with "can't" staging: media: Replace "dont" with "don't" drivers/staging/media/atomisp/pci/atomisp2/css2400/ia_css_

[PATCH 1/3] staging: media: Replace "be be" with "be"

2018-03-04 Thread Arushi Singhal
This patch replace "be be" with "be". Signed-off-by: Arushi Singhal --- drivers/staging/media/atomisp/pci/atomisp2/css2400/ia_css_pipe_public.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/media/atomisp/pci/atomisp2/css2400/ia_css_pipe_public.h b/drivers/

[PATCH 2/3] staging: media: Replace "cant" with "can't"

2018-03-04 Thread Arushi Singhal
Replace "cant" with "can't". "cant" is not same as "Can not" or "Can't". Signed-off-by: Arushi Singhal --- drivers/staging/media/davinci_vpfe/vpfe_mc_capture.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/media/davinci_vpfe/vpfe_mc_capture.c b/drivers/stag

[PATCH 3/3] staging: media: Replace "dont" with "don't"

2018-03-04 Thread Arushi Singhal
Replace "dont" with "don't". "Dont" is not same as "Do not" or "Don't". Signed-off-by: Arushi Singhal --- drivers/staging/media/atomisp/pci/atomisp2/mmu/isp_mmu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/media/atomisp/pci/atomisp2/mmu/isp_mmu.c b/drive

Re: [Outreachy kernel] [PATCH 0/3] staging: media: cleanup

2018-03-04 Thread Julia Lawall
On Sun, 4 Mar 2018, Arushi Singhal wrote: > Spellcheck the comments. > Remove the repeated, consecutive words with single word. For the series: Acked-by: Julia Lawall But please look out for things to change in the code, not just in the comments. julia > > Arushi Singhal (3): > staging:

Re: [Outreachy kernel] [PATCH 0/3] staging: lustre: cleanup

2018-03-04 Thread Julia Lawall
On Sun, 4 Mar 2018, Arushi Singhal wrote: > Spellcheck the comments. > Remove the repeated, consecutive words with single word. > > Arushi Singhal (3): > staging: lustre: Replace "be be" with "be" > staging: lustre: Replace "to to" with "to" > staging: lustre: Replace "dont" with "don't"

Re: [PATCH 1/2] mmc: bcm2835: reset host on timeout

2018-03-04 Thread Michal Suchánek
On Wed, 14 Feb 2018 21:30:16 +0100 (CET) Stefan Wahren wrote: > Hi Michal, > > > Michal Suchánek hat am 14. Februar 2018 um > > 20:24 geschrieben: > > > > > > On Wed, 14 Feb 2018 17:49:31 +0100 > > Stefan Wahren wrote: > > > > > Hi Michal, > > > > > > [add Phil] > > > > > > Am 14.02.201

Re: [PATCH 1/2] mmc: bcm2835: reset host on timeout

2018-03-04 Thread Michal Suchánek
Hello, On Sat, 3 Mar 2018 14:58:45 +0100 (CET) Stefan Wahren wrote: > Hi Michal, > yesterday i finished my stress tests with Raspberry Pi 3. > > Scenario: > - copy Tumbleweed on SD card > (openSUSE-Tumbleweed-ARM-JeOS-raspberrypi3.aarch64-2018.02.02-Build1.2.raw, > Linux 4.14.15) > - setup loc

Re: [PATCH 1/2] mmc: bcm2835: reset host on timeout

2018-03-04 Thread Michal Suchánek
On Sat, 3 Mar 2018 14:58:45 +0100 (CET) Stefan Wahren wrote: > In a github issue, i've read that badblocks could reproduce the issue > more likely. How many iterations of badblocks? It doe snot reproduce the issue for me. Thanks Michal

Re: [RFC V2 1/3] perf, tools: Support wildcards on pmu name in dynamic pmu events

2018-03-04 Thread Andi Kleen
> > +#include > > #include > > #include > > #include > > @@ -241,7 +242,7 @@ PE_NAME opt_event_config > > if (!strncmp(name, "uncore_", 7) && > > strncmp($1, "uncore_", 7)) > > name += 7; > > - if (!str

[PATCH v2] xmon: Setup xmon debugger hooks when first break-point is set

2018-03-04 Thread Vaibhav Jain
Presently sysrq key for xmon('x') is registered during kernel init irrespective of the value of kernel param 'xmon'. Thus xmon is enabled even if 'xmon=off' is passed on the kernel command line. However this doesn't enable the kernel debugger hooks needed for instruction or data breakpoints. Thus w

Re: [PATCH] HID: Logitech K290: Add driver for the Logitech K290 USB keyboard

2018-03-04 Thread Florent Flament
On Sat, 2018-03-03 at 18:08 +0200, Andy Shevchenko wrote: > On Sat, Mar 3, 2018 at 12:04 AM, Florent Flament > wrote: > > With the generic HID driver, K290 keyboards' F1 to F12 keys send > > multimedia events by default, and standard keycodes when the > > function > > key is pressed. This driver a

[PATCH] xmon: Clear all breakpoints when xmon is disabled via debugfs

2018-03-04 Thread Vaibhav Jain
Presently when xmon is disabled by debugfs any existing instruction/data-access breakpoints set are not disabled. This may lead to kernel oops when those breakpoints are hit as the necessary debugger hooks aren't installed. Hence this patch introduces a new function named clear_all_bpt() which is

[PATCH] HID: Logitech K290: Add driver for the Logitech K290 USB keyboard

2018-03-04 Thread Florent Flament
With the generic HID driver, K290 keyboards' F1 to F12 keys send multimedia events by default, and standard keycodes when the function key is pressed. This driver allows to configure K290 keyboards, so that F1 to F12 have a standard behavior and send multimedia events when the function key is press

[PATCH] nvmem: meson-efuse: fix ptr_ret.cocci warnings

2018-03-04 Thread kbuild test robot
From: Fengguang Wu drivers/nvmem/meson-efuse.c:64:1-3: WARNING: PTR_ERR_OR_ZERO can be used Use PTR_ERR_OR_ZERO rather than if(IS_ERR(...)) + PTR_ERR Generated by: scripts/coccinelle/api/ptr_ret.cocci Fixes: 0d4f662ed6ff ("nvmem: meson-efuse: Do no gate COMPILE_TEST with MESON_SM") CC: Andr

Re: [PATCH v4 16/22] nvmem: meson-efuse: Do no gate COMPILE_TEST with MESON_SM

2018-03-04 Thread kbuild test robot
Hi Andrey, Thank you for the patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v4.16-rc3 next-20180302] [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/c

Re: [kbuild-all] [PATCH] nvmem: meson-efuse: fix ptr_ret.cocci warnings

2018-03-04 Thread Fabio Estevam
On Sun, Mar 4, 2018 at 2:56 PM, kbuild test robot wrote: > From: Fengguang Wu > > drivers/nvmem/meson-efuse.c:64:1-3: WARNING: PTR_ERR_OR_ZERO can be used > > > Use PTR_ERR_OR_ZERO rather than if(IS_ERR(...)) + PTR_ERR > > Generated by: scripts/coccinelle/api/ptr_ret.cocci > > Fixes: 0d4f662ed6f

Re: [RFC V2 1/3] perf, tools: Support wildcards on pmu name in dynamic pmu events

2018-03-04 Thread Jiri Olsa
On Sun, Mar 04, 2018 at 09:12:45AM -0800, Andi Kleen wrote: > > > +#include > > > #include > > > #include > > > #include > > > @@ -241,7 +242,7 @@ PE_NAME opt_event_config > > > if (!strncmp(name, "uncore_", 7) && > > > strncmp($1, "uncore_", 7)) > > >

Re: [PATCH 1/2] mmc: bcm2835: reset host on timeout

2018-03-04 Thread Stefan Wahren
Hi Michal, > Michal Suchánek hat am 4. März 2018 um 16:57 geschrieben: > > > On Wed, 14 Feb 2018 21:30:16 +0100 (CET) > Stefan Wahren wrote: > > > Hi Michal, > > > > > Michal Suchánek hat am 14. Februar 2018 um > > > 20:24 geschrieben: > > > > > > > > > On Wed, 14 Feb 2018 17:49:31 +0100

Re: [tip:WIP.sched/core 19/22] kernel/sched/core.c:2836:18: error: passing argument 1 of 'mips_install_watch_registers' from incompatible pointer type

2018-03-04 Thread Randy Dunlap
On 03/04/2018 02:52 AM, kbuild test robot wrote: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git > WIP.sched/core > head: ffce6fffa0033fa54d1bac1c7494862b71316978 > commit: ecaf52c9ec5ad31395e5c06c01e293ebcf0e4350 [19/22] sched/headers: > Simplify and clean up header usage

Re: [tip:WIP.sched/core 19/22] arch/m68k/include/asm/switch_to.h:30:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'

2018-03-04 Thread Randy Dunlap
On 03/04/2018 03:16 AM, kbuild test robot wrote: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git > WIP.sched/core > head: ffce6fffa0033fa54d1bac1c7494862b71316978 > commit: ecaf52c9ec5ad31395e5c06c01e293ebcf0e4350 [19/22] sched/headers: > Simplify and clean up header usage

Re: [PATCH 1/2] mmc: bcm2835: reset host on timeout

2018-03-04 Thread Stefan Wahren
Hi Michal, > Michal Suchánek hat am 4. März 2018 um 17:36 geschrieben: > > > On Sat, 3 Mar 2018 14:58:45 +0100 (CET) > Stefan Wahren wrote: > > > In a github issue, i've read that badblocks could reproduce the issue > > more likely. > > How many iterations of badblocks? It doe snot reproduce

[PATCH] phy: berlin-usb: adjust USB_PHY_RX_CTRL init flags

2018-03-04 Thread Alexander Monakov
Make the value written into the USB_PHY_RX_CTRL configuration register match 0xAA79 value written by manufacturer-supplied kernels for Sony NSZ-GS7 (Berlin2 SoC), Google Chromecast and Valve Steam Link (BG2CD). This fixes timeouts communicating to the internal hub on Steam Link. Cc: Kishon Vijay

  1   2   3   4   >