Re: [PATCH v3] printk: Add console owner and waiter logic to load balance console writes

2017-11-03 Thread Steven Rostedt
On Thu, 2 Nov 2017 21:09:32 -0700 John Hubbard wrote: > On 11/02/2017 03:16 PM, Vlastimil Babka wrote: > > On 11/02/2017 06:45 PM, Steven Rostedt wrote: > > ...>__DEVKMSG_LOG_BIT_ON = 0, > >>__DEVKMSG_LOG_BIT_OFF, > >> @@ -1753,8 +1760,56 @@ asmlinkage int

[PATCH 2/2] arm-ccn: perf: Prevent module unload while PMU is in use

2017-11-03 Thread Suzuki K Poulose
When the PMU driver is built as a module, the perf expects the pmu->module to be valid, so that the driver is prevented from being unloaded while it is in use. Fix the CCN pmu driver to fill in this field. Fixes: commit a33b0daab73a0 ("bus: ARM CCN PMU driver") Cc: Pawel Moll

[PATCH 1/2] perf: arm_spe: Prevent module unload while the PMU is in use

2017-11-03 Thread Suzuki K Poulose
When the PMU driver is built as a module, the perf expects the pmu->module to be valid, so that the driver is prevented from being unloaded while it is in use. Fix the SPE pmu driver to fill in this field. Cc: Will Deacon Cc: Mark Rutland

Re: [PATCH V3 04/11] clk: sprd: add gate clock support

2017-11-03 Thread Chunyan Zhang
Hi Julien, On 3 November 2017 at 01:45, Julien Thierry wrote: > Hi, > > > On 02/11/17 06:56, Chunyan Zhang wrote: >> >> Some clocks on the Spreadtrum's SoCs are just simple gates. Add >> support for those clocks. >> >> Signed-off-by: Chunyan Zhang

Re: [PATCH V3 05/11] clk: sprd: add mux clock support

2017-11-03 Thread Chunyan Zhang
On 3 November 2017 at 02:22, Julien Thierry wrote: > > > On 02/11/17 18:11, Julien Thierry wrote: >> >> Hi, >> >> On 02/11/17 06:56, Chunyan Zhang wrote: >>> >>> This patch adds clock multiplexor support for Spreadtrum platforms, >>> the mux clocks also can be found in

Re: [PATCH -next] ipmi watchdog: fix typo in parameter description

2017-11-03 Thread Corey Minyard
On 11/03/2017 04:52 AM, Wei Yongjun wrote: Fix typo in parameter description. Thanks, queued for next release. -corey Signed-off-by: Wei Yongjun --- drivers/char/ipmi/ipmi_watchdog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH -next] ipmi_si_platform: Fix typo in parameter description

2017-11-03 Thread Corey Minyard
On 11/03/2017 04:52 AM, Wei Yongjun wrote: Fix typo in parameter description. Thanks, queued for next release. -corey Fixes: 95e300c052fd ("ipmi: Make the DMI probe into a generic platform probe") Signed-off-by: Wei Yongjun --- drivers/char/ipmi/ipmi_si_platform.c

Re: [PATCH 2/2] arm-ccn: perf: Prevent module unload while PMU is in use

2017-11-03 Thread Will Deacon
On Fri, Nov 03, 2017 at 11:45:18AM +, Suzuki K Poulose wrote: > When the PMU driver is built as a module, the perf expects the > pmu->module to be valid, so that the driver is prevented from > being unloaded while it is in use. Fix the CCN pmu driver to > fill in this field. > > Fixes: commit

Re: [PATCH v2 3/4] platform/x86: topstar-laptop: add platform device

2017-11-03 Thread Andy Shevchenko
On Sun, Oct 29, 2017 at 1:52 AM, Guillaume Douézan-Grard wrote: > * add platform device to support further addition of a led subsystem, > > * add existing input device to the new platform device. > #include > #include > #include > +#include > #include >

Re: [PATCH v1 1/1] mm: buddy page accessed before initialized

2017-11-03 Thread Michal Hocko
On Thu 02-11-17 12:10:39, Pavel Tatashin wrote: > > > > > > Yes, but as I said, unfortunately memset(1) with CONFIG_VM_DEBUG does not > > > catch this case. So, when CONFIG_VM_DEBUG is enabled kexec reboots without > > > issues. > > > > Can we make the init pattern to catch this? > >

Re: [PATCH 1/2] shmem: drop lru_add_drain_all from shmem_wait_for_pins

2017-11-03 Thread David Herrmann
Hi On Fri, Nov 3, 2017 at 9:24 AM, Michal Hocko wrote: > On Fri 03-11-17 00:46:18, Hugh Dickins wrote: >> On Thu, 2 Nov 2017, Michal Hocko wrote: >> > From: Michal Hocko >> > >> > syzkaller has reported the following lockdep splat >> >

Re: [PATCH v2 2/3] hwmon: (aspeed-pwm-tacho) Deassert reset in probe

2017-11-03 Thread Guenter Roeck
On 11/02/2017 07:32 PM, Joel Stanley wrote: On Fri, Nov 3, 2017 at 1:54 AM, Guenter Roeck wrote: On Thu, Nov 02, 2017 at 02:53:48PM +1100, Joel Stanley wrote: The ASPEED SoC must deassert a reset in order to use the PWM/tach peripheral. Again, you claim that the current

Re: [PATCH 13/17] coresight etr: Do not clean ETR trace buffer

2017-11-03 Thread Suzuki K Poulose
On 02/11/17 20:36, Mathieu Poirier wrote: On Thu, Oct 19, 2017 at 06:15:49PM +0100, Suzuki K Poulose wrote: We zero out the entire trace buffer used for ETR before it is enabled, for helping with debugging. Since we could be restoring a session in perf mode, this could destroy the data. I'm

Re: [Patch v11 2/4] irqchip/qeic: merge qeic_of_init into qe_ic_init

2017-11-03 Thread Marc Zyngier
On 01/11/17 01:36, Zhao Qiang wrote: > qeic_of_init just get device_node of qeic from dtb and call qe_ic_init, > pass the device_node to qe_ic_init. > So merge qeic_of_init into qe_ic_init to get the qeic node in > qe_ic_init. > > Signed-off-by: Zhao Qiang > --- >

[PATCH net-next 4/5] net: dsa: lan9303: Remove unnecessary parentheses

2017-11-03 Thread Egil Hjelmeland
Remove scripts/checkpatch.pl CHECKs by remove unnecessary parentheses Signed-off-by: Egil Hjelmeland --- drivers/net/dsa/lan9303-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/dsa/lan9303-core.c b/drivers/net/dsa/lan9303-core.c

Re: mptsas driver cannot detect hotplugging disk with the LSI SCSI SAS1068 controller in Ubuntu guest on VMware

2017-11-03 Thread Hannes Reinecke
On 11/03/2017 04:38 AM, Gavin Guo wrote: > On Sat, Oct 28, 2017 at 11:35 AM, Gavin Guo wrote: >> On Fri, Oct 27, 2017 at 10:53 PM, Hannes Reinecke wrote: >>> On 10/27/2017 04:02 PM, Gavin Guo wrote: Hi Hannes, Thank you for looking into the

[PATCH net-next 0/5] net: dsa: lan9303: Linting

2017-11-03 Thread Egil Hjelmeland
This series is non-functional. - Correct some errors in comments and documentation. Remove scripts/checkpatch.pl WARNINGs and most CHECKs: - Replace msleep(1) with usleep_range() - Remove unnecessary parentheses - Adjust indenting Egil Hjelmeland (5): net: dsa: lan9303: Correct register

[PATCH] clk: sunxi-ng: a83t: Fix i2c buses bits

2017-11-03 Thread Mylène Josserand
i2c1 and i2c2 bits for CCU are not bit 0 but bit 1 and bit 2. Because of that, the i2c0 (bit 0) was not correctly configured. Fixed the correct bits for i2c1 and i2c2. Signed-off-by: Mylène Josserand --- drivers/clk/sunxi-ng/ccu-sun8i-a83t.c | 4 ++-- 1 file

[PATCH net-next 2/5] net: dsa: lan9303: Fix syntax errors in device tree examples

2017-11-03 Thread Egil Hjelmeland
Signed-off-by: Egil Hjelmeland --- Documentation/devicetree/bindings/net/dsa/lan9303.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/net/dsa/lan9303.txt

Re: [PATCH 4/8] irqchip/qeic: move qeic driver from drivers/soc/fsl/qe

2017-11-03 Thread Marc Zyngier
On 01/11/17 01:34, Zhao Qiang wrote: > move the driver from drivers/soc/fsl/qe to drivers/irqchip, > merge qe_ic.h and qe_ic.c into irq-qeic.c. > > Signed-off-by: Zhao Qiang > --- > drivers/irqchip/Makefile| 1 + > drivers/irqchip/irq-qeic.c | 601 >

Re: KASAN: use-after-free Read in refcount_inc_not_zero

2017-11-03 Thread Xin Long
On Fri, Nov 3, 2017 at 1:35 AM, syzbot wrote: > Hello, > > syzkaller hit the following crash on > 73d3393ada4f70fa3df5639c8d438f2f034c0ecb > git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/master > compiler:

[PATCH] regmap: Add a config option for hwspinlock

2017-11-03 Thread Mark Brown
Unlike other lock types hwspinlocks are optional and can be built modular so we can't use them unconditionally in regmap so add a config option that drivers that want to use hwspinlocks with regmap can select which will ensure that hwspinlock is built in. Signed-off-by: Mark Brown

Re: [PATCH] staging: wlan-ng: resolve sparse endianness error.

2017-11-03 Thread Greg KH
On Tue, Oct 24, 2017 at 11:06:18PM -0700, Matthew Giassa wrote: > Adding le16_to_cpu conversion in prism2sta.c, to resolve outstanding > sparse errors as noted in the current TODO in staging-next. Original > error: > > CHECK drivers/staging//wlan-ng/prism2usb.c >

Re: [PATCH v2] USB: add SPDX identifiers to all remaining files in drivers/usb/

2017-11-03 Thread Greg Kroah-Hartman
On Fri, Nov 03, 2017 at 12:50:57PM +0200, Felipe Balbi wrote: > Greg Kroah-Hartman writes: > > > It's good to have SPDX identifiers in all files to make it easier to > > audit the kernel tree for correct licenses. > > > > Update the drivers/usb/ and include/linux/usb*

Re: [PATCH] soc: qcom: remove unused label

2017-11-03 Thread Arnd Bergmann
On Wed, Oct 18, 2017 at 10:30 AM, Arnd Bergmann wrote: > The newly added driver comes with a harmless warning: > > drivers/soc/qcom/rmtfs_mem.c: In function 'qcom_rmtfs_mem_probe': > drivers/soc/qcom/rmtfs_mem.c:211:1: error: label 'remove_cdev' defined but > not used

Re: [PATCH v2 1/4] platform/x86: topstar-laptop: non-functional changes

2017-11-03 Thread Andy Shevchenko
On Sun, Oct 29, 2017 at 1:50 AM, Guillaume Douézan-Grard wrote: > Minor consistency changes to prepare further addition of platform device > and LED. > > More precisely: > > * more consistent naming (module description, header text, devices names > and programming

Re: [PATCH v2 4/4] platform/x86: topstar-laptop: add optional WLAN LED workaround

2017-11-03 Thread Andy Shevchenko
On Sun, Oct 29, 2017 at 1:53 AM, Guillaume Douézan-Grard wrote: > Topstar U931 laptops provide an LED synced with the WLAN adapter > hard-blocking state. Unfortunately, some models seem to be defective, > making impossible to hard-block the adapter with the WLAN switch

Re: KASAN: use-after-free Read in do_raw_spin_lock

2017-11-03 Thread Dmitry Vyukov
On Fri, Nov 3, 2017 at 2:51 AM, Paul Moore wrote: > On Thu, Nov 2, 2017 at 1:52 PM, syzbot > > wrote: >> Hello, >> >> syzkaller hit the following crash on >> ebe6e90ccc6679cb01d2b280e4b61e6092d4bedb >>

Re: [PATCH net-next V2 3/3] tun: add eBPF based queue selection method

2017-11-03 Thread Willem de Bruijn
On Tue, Oct 31, 2017 at 7:32 PM, Jason Wang wrote: > This patch introduces an eBPF based queue selection method based on > the flow steering policy ops. Userspace could load an eBPF program > through TUNSETSTEERINGEBPF. This gives much more flexibility compare > to simple but

Re: [PATCH] xen/pvcalls: fix unsigned less than zero error check

2017-11-03 Thread Juergen Gross
On 03/11/17 09:42, Colin King wrote: > From: Colin Ian King > > The check on bedata->ref is never true because ref is an unsigned > integer. Fix this by assigning signed int ret to the return of the > call to gnttab_claim_grant_reference so the -ve return can be

Re: [PATCH v4 3/3] KVM: MMU: consider host cache mode in MMIO page check

2017-11-03 Thread Haozhong Zhang
On 11/03/17 17:24 +0800, Xiao Guangrong wrote: > > > On 11/03/2017 05:02 PM, Haozhong Zhang wrote: > > On 11/03/17 16:51 +0800, Haozhong Zhang wrote: > > > On 11/03/17 14:54 +0800, Xiao Guangrong wrote: > > > > > > > > > > > > On 11/03/2017 01:53 PM, Haozhong Zhang wrote: > > > > > Some

[PATCH 2/3] ARMv8: layerscape: add the pcie ep function support

2017-11-03 Thread Bao Xiaowei
Add the pcie controller ep function support of layerscape base on pcie ep framework. Signed-off-by: Bao Xiaowei --- v2: - fix the ioremap function used but no ioumap issue - optimize the code structure - add code comments drivers/pci/dwc/pci-layerscape.c | 122

[PATCH -next] ipmi watchdog: fix typo in parameter description

2017-11-03 Thread Wei Yongjun
Fix typo in parameter description. Signed-off-by: Wei Yongjun --- drivers/char/ipmi/ipmi_watchdog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/char/ipmi/ipmi_watchdog.c b/drivers/char/ipmi/ipmi_watchdog.c index 76b2706..09e8463 100644

[PATCH 1/3] ARMv8: dts: ls1046a: add the property of IB and OB

2017-11-03 Thread Bao Xiaowei
Add the property of inbind and outbind windows number for ep driver. add the inband or outband window entry for pcie controller ep driver used in dts. Signed-off-by: Bao Xiaowei Acked-by: Minghuan Lian --- v2: - no change

[PATCH 3/3] ARMv8: pcie: make the DWC EP driver support for layerscape

2017-11-03 Thread Bao Xiaowei
Layerscape pcie controllers support RC or EP mode, Add the EP mode support in Kconfig, the driver will support both RC and EP mode, and the driver is able to judge the pcie controllers work on RC or EP mode. Signed-off-by: Bao Xiaowei Acked-by: Minghuan Lian

[PATCH 0/3] dts: Add the property of IB and OB

2017-11-03 Thread Bao Xiaowei
Depend on http://patchwork.ozlabs.org/patch/815382/ Bao Xiaowei (3): ARMv8: dts: ls1046a: add the property of IB and OB ARMv8: layerscape: add the pcie ep function support ARMv8: pcie: make the DWC EP driver support for layerscape arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 6 ++

[PATCH -next] ipmi_si_platform: Fix typo in parameter description

2017-11-03 Thread Wei Yongjun
Fix typo in parameter description. Fixes: 95e300c052fd ("ipmi: Make the DMI probe into a generic platform probe") Signed-off-by: Wei Yongjun --- drivers/char/ipmi/ipmi_si_platform.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 2/3] nvme: compare NQN string with right size

2017-11-03 Thread Javier González
Compare subnqns using NVMF_NQN_SIZE as it is < 256 Signed-off-by: Javier González --- drivers/nvme/host/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/nvme/host/core.c b/drivers/nvme/host/core.c index bd1d5ff911c9..ae8ab0a1ef0d 100644 ---

Re: [PATCH v2] printk: Add console owner and waiter logic to load balance console writes

2017-11-03 Thread Jan Kara
Hi, On Thu 02-11-17 13:06:05, Steven Rostedt wrote: > + if (spin) { > + /* We spin waiting for the owner to release us > */ > + spin_acquire(_owner_dep_map, 0, 0, > _THIS_IP_); > + /* Owner

[PATCH] x86/mm: Define _PAGE_TABLE using _KERNPG_TABLE

2017-11-03 Thread Borislav Petkov
From: Borislav Petkov ... so that the difference is obvious. No functionality change. Signed-off-by: Borislav Petkov --- arch/x86/include/asm/pgtable_types.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/x86/include/asm/pgtable_types.h

[PATCH 2/9] rcutorture: Remove unused script, config2frag.sh

2017-11-03 Thread SeongJae Park
'config2frag.sh' is not used from anywhere. Just remove it. Fixes: c87b9c601ac8 ("rcutorture: Add KVM-based test framework") Signed-off-by: SeongJae Park --- .../selftests/rcutorture/bin/config2frag.sh| 25 -- 1 file changed, 25 deletions(-)

Re: [PATCH] scsi: hisi_sas: select CONFIG_RAS

2017-11-03 Thread Arnd Bergmann
On Fri, Nov 3, 2017 at 11:14 AM, John Garry wrote: > + Shiju, who authored the original patch > >> index d42f29a5eb65..6ad8a6251d21 100644 >> --- a/drivers/scsi/hisi_sas/Kconfig >> +++ b/drivers/scsi/hisi_sas/Kconfig >> @@ -4,6 +4,7 @@ config SCSI_HISI_SAS >>

Re: [PATCH 2/2] staging: greybus/loopback: use ktime_get() for time intervals

2017-11-03 Thread Bryan O'Donoghue
On 02/11/17 14:32, Arnd Bergmann wrote: This driver is the only one using the deprecated timeval_to_ns() helper. Changing it from do_gettimeofday() to ktime_get() makes the code more efficient, more robust against concurrent settimeofday(), more accurate and lets us get rid of that helper in the

Re: [PATCH v2] USB: add SPDX identifiers to all remaining files in drivers/usb/

2017-11-03 Thread Greg Kroah-Hartman
On Fri, Nov 03, 2017 at 11:28:30AM +0100, Greg Kroah-Hartman wrote: > It's good to have SPDX identifiers in all files to make it easier to > audit the kernel tree for correct licenses. > > Update the drivers/usb/ and include/linux/usb* files with the correct > SPDX license identifier based on the

[PATCH] tracing: make PREEMPTIRQ_EVENTS depend on TRACING

2017-11-03 Thread Arnd Bergmann
When CONFIG_TRACING is disabled, the new preemptirq events tracer produces a build failure: In file included from kernel/trace/trace_irqsoff.c:17:0: kernel/trace/trace.h: In function 'trace_test_and_set_recursion': kernel/trace/trace.h:542:28: error: 'struct task_struct' has no member named

Re: [PATCH v17 1/6] lib/xbitmap: Introduce xbitmap

2017-11-03 Thread Tetsuo Handa
I'm commenting without understanding the logic. Wei Wang wrote: > + > +bool xb_preload(gfp_t gfp); > + Want __must_check annotation, for __radix_tree_preload() is marked with __must_check annotation. By error failing to check result of xb_preload() will lead to preemption kept disabled

Re: [PATCH 00/23] KAISER: unmap most of the kernel from userspace page tables

2017-11-03 Thread Kirill A. Shutemov
On Wed, Nov 01, 2017 at 03:14:11PM -0700, Dave Hansen wrote: > On 11/01/2017 01:54 AM, Ingo Molnar wrote: > > Beyond the inevitable cavalcade of (solvable) problems that will pop up > > during > > review, one major item I'd like to see addressed is runtime > > configurability: it > > should be

Re: [PATCH 1/8] ls1043ardb: add qe node to ls1043ardb

2017-11-03 Thread Marc Zyngier
On 01/11/17 01:34, Zhao Qiang wrote: > Signed-off-by: Zhao Qiang > --- > arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dts | 16 ++ > arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi| 66 > +++ > 2 files changed, 82 insertions(+) This patch needs

[PATCH] USB: dummy-hcd: don't set gadget.speed in dummy_hub_control()

2017-11-03 Thread Roger Quadros
There will never be a case when gadget.speed isn't already USB_SPEED_FULL if connection is not USB-3 and gadget.speed is not USB_SPEED_HIGH or USB_SPEED_LOW. Remove the unnecessary code. Signed-off-by: Roger Quadros --- drivers/usb/gadget/udc/dummy_hcd.c | 2 -- 1 file changed,

[PATCH v2 3/3] perf: Fix ftrace builtin when kernel doesn't have function_graph

2017-11-03 Thread Julien Thierry
When linux is built without support for function graph tracer, the ftrace builtin of perf will fail when trying to reset max_graph_depth because the file does not exist. This prevents the use of function tracer from perf. Only try to write the file max_graph_depth file when it exists.

Re: [PATCH v4 2/3] media: ov7740: Document device tree bindings

2017-11-03 Thread Sakari Ailus
Hi Rob, On Wed, Nov 01, 2017 at 04:51:57PM -0500, Rob Herring wrote: > On Tue, Oct 31, 2017 at 09:11:44AM +0800, Wenyou Yang wrote: > > Add the device tree binding documentation for the ov7740 sensor driver. > > > > Signed-off-by: Wenyou Yang > > --- > > > > Changes

Re: [PATCH v2 0/4] Topstar ACPI LED Workaround

2017-11-03 Thread Andy Shevchenko
On Sun, Oct 29, 2017 at 1:49 AM, Guillaume Douézan-Grard wrote: > Hi Andy, > > Thank you for your review. Changes since the previous submission are > highlighted below. Thanks for an update. Unfortunately patch series needs more work (and we have time, since it's -rc7

Re: [PATCH v2 2/4] platform/x86: topstar-laptop: change to generic module

2017-11-03 Thread Andy Shevchenko
On Sun, Oct 29, 2017 at 1:51 AM, Guillaume Douézan-Grard wrote: I can't take it without commit message. Basically it reverts the commit 15165594da65 ("topstar-laptop: convert to module_acpi_driver()") So, can you just try git revert and explain in a commit message "why

Re: [PATCH v4 2/3] KVM: add converters between pfn_t and kvm_pfn_t

2017-11-03 Thread Dan Williams
On Thu, Nov 2, 2017 at 10:53 PM, Haozhong Zhang wrote: > Signed-off-by: Haozhong Zhang Can you also add some text to the changelog saying why we need these converters? > --- > include/linux/kvm_host.h | 4 > 1 file changed, 4

[PATCH V13 09/10] mmc: block: blk-mq: Stop using card_busy_detect()

2017-11-03 Thread Adrian Hunter
card_busy_detect() doesn't set a correct timeout, and it doesn't take care of error status bits. Stop using it for blk-mq. Signed-off-by: Adrian Hunter --- drivers/mmc/core/block.c | 117 +++ 1 file changed, 109 insertions(+),

[PATCH V13 06/10] mmc: sdhci-pci: Add CQHCI support for Intel GLK

2017-11-03 Thread Adrian Hunter
Add CQHCI initialization and implement CQHCI operations for Intel GLK. Signed-off-by: Adrian Hunter --- drivers/mmc/host/Kconfig | 1 + drivers/mmc/host/sdhci-pci-core.c | 155 +- 2 files changed, 155 insertions(+), 1

[PATCH V13 07/10] mmc: block: blk-mq: Add support for direct completion

2017-11-03 Thread Adrian Hunter
For blk-mq, add support for completing requests directly in the ->done callback. That means that error handling and urgent background operations must be handled by recovery_work in that case. Signed-off-by: Adrian Hunter --- drivers/mmc/core/block.c | 100

Re: [PATCH 1/2] x86/crypto/sha256-mb: fix panic due to unaligned access

2017-11-03 Thread Herbert Xu
On Mon, Oct 16, 2017 at 06:51:30PM +0300, Andrey Ryabinin wrote: > struct sha256_ctx_mgr allocated in sha256_mb_mod_init() via kzalloc() > and later passed in sha256_mb_flusher_mgr_flush_avx2() function where > instructions vmovdqa used to access the struct. vmovdqa requires > 16-bytes aligned

Re: [PATCH] crypto: ccm - preserve the IV buffer

2017-11-03 Thread Herbert Xu
On Tue, Oct 31, 2017 at 03:42:35PM +0100, Romain Izard wrote: > The IV buffer used during CCM operations is used twice, during both the > hashing step and the ciphering step. > > When using a hardware accelerator that updates the contents of the IV > buffer at the end of ciphering operations, the

[PATCH v4 13/17] bindings: PCI: artpec: Add support for endpoint mode

2017-11-03 Thread Niklas Cassel
The PCIe controller integrated in ARTPEC-6 SoCs is capable of operating in endpoint mode. Add endpoint mode support to the artpec6 driver. Signed-off-by: Niklas Cassel Acked-by: Rob Herring --- Documentation/devicetree/bindings/pci/axis,artpec6-pcie.txt

[PATCH v4 10/17] PCI: dwc: artpec6: Remove unused defines

2017-11-03 Thread Niklas Cassel
Commit b015b37e6693 ("PCI: artpec6: Stop enabling writes to DBI read-only registers") removed the only write using these defines, but it did not remove the defines. Remove the defines since they are now unused. Signed-off-by: Niklas Cassel ---

[PATCH 10/19] perf tools: Add struct perf_data_file

2017-11-03 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Add struct perf_data_file to represent a single file within a perf_data struct. Signed-off-by: Jiri Olsa Cc: Andi Kleen Cc: Changbin Du Cc: David Ahern Cc: Jin Yao

[PATCH 06/19] tools include uapi: Grab a copy of linux/prctl.h

2017-11-03 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo We will use it to generate tables for beautifying prctl's 'option' arg and some of the others eventually. Cc: Andy Lutomirski Cc: Adrian Hunter Cc: David Ahern Cc: Jiri Olsa

[PATCH 08/19] perf script: Print information about per-event-dump files

2017-11-03 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo For a file generated by "perf sched record sleep 50": # perf script --per-event-dump [ perf script: Wrote 23.121 MB perf.data.sched:sched_switch.dump (206015 samples) ] [ perf script: Wrote 0.000 MB perf.data.sched:sched_stat_wait.dump (0

[PATCH 14/19] perf callchain: Fix double mapping al->addr for children without self period

2017-11-03 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim Milian Wolff found a problem he described in [1] and that for him would get fixed: "Note how most of the large offset values are now gone. Most notably, we get proper srcline resolution for the random.h and complex headers." Then Namhyung found the root

[PATCH 13/19] perf stat: Make --per-thread update shadow stats to show metrics

2017-11-03 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa We should support this because it would allow easily to collect metrics for different threads in applications. Original patch from posted by Jin Yao in here [1]. 1. Current output, for example: root@skl:/tmp# perf stat --per-thread -p 21623 ^C Performance

[PATCH 05/19] perf script: Allow creating per-event dump files

2017-11-03 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Introduce a new option to dump trace output to files named by the monitored events and update perf-script documentation accordingly. Shown below is output of perf script command with the newly introduced option. $ perf record -e cycles

pull-request: wireless-drivers-next 2017-11-03

2017-11-03 Thread Kalle Valo
Hi Dave, another pull request to net-next for v4.15. I'm at the airport on my way to Netdev 2.2, so please pay extra attention if I made any stupid mistakes. And as always, please let me know if there are any problems. If Linus does not release final v4.14 on Sunday, and gives us one more week

Re: [PATCH v8 0/2] crypto: s5p-sss: Add HASH support for Exynos

2017-11-03 Thread Herbert Xu
On Wed, Oct 25, 2017 at 05:27:33PM +0200, Kamil Konieczny wrote: > First patch change spaces to tabs, second adds HASH support for Exynos. > Changes: > > version 8: > - fixes suggested by Vladimir Zapolskiy: drop first condition check in > s5p_hash_import, delete unused include delay.h, fix

[PATCH 2/8] serdev: fix receive_buf return value when no callback

2017-11-03 Thread Johan Hovold
The receive_buf callback is supposed to return the number of bytes processed and should specifically not return a negative errno. Due to missing sanity checks in the serdev tty-port controller, a driver not providing a receive_buf callback could cause the flush_to_ldisc() worker to spin in a

[PATCH 6/8] serdev: ttyport: release tty lock sooner on open

2017-11-03 Thread Johan Hovold
Release the tty lock once tty-driver open returns to make it clear that it does not protect neither tty->termios or the serport flags. Signed-off-by: Johan Hovold --- drivers/tty/serdev/serdev-ttyport.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

[PATCH 8/8] serdev: ttyport: do not used keyed wakeup in write_wakeup

2017-11-03 Thread Johan Hovold
Serdev does not use the file abstraction and specifically there will never be anyone polling a file descriptor for POLLOUT events. Just use plain wake_up_interruptible() in the write_wakeup callback and document why it's there. Signed-off-by: Johan Hovold ---

[PATCH 7/8] serdev: ttyport: ignore carrier detect to avoid hangups

2017-11-03 Thread Johan Hovold
Serdev currently does not support hangups so make sure to set CLOCAL to prevent loss of carrier from triggering one. Note however that not all tty drivers honour CLOCAL. Signed-off-by: Johan Hovold --- drivers/tty/serdev/serdev-ttyport.c | 2 ++ 1 file changed, 2

[PATCH 1/8] serdev: ttyport: add missing receive_buf sanity checks

2017-11-03 Thread Johan Hovold
The receive_buf tty-port callback should return the number of bytes accepted and must specifically never return a negative errno (or a value larger than the buffer size) to the tty layer. A serdev driver not providing a receive_buf callback would currently cause the flush_to_ldisc() worker to

RE: [PATCH] platform/x86: dell-*wmi*: Relay failed initial probe to dependent drivers

2017-11-03 Thread Mario.Limonciello
> -Original Message- > From: Darren Hart [mailto:dvh...@infradead.org] > Sent: Thursday, November 2, 2017 7:57 PM > To: Limonciello, Mario > Cc: Andy Shevchenko ; LKML ker...@vger.kernel.org>; platform-driver-...@vger.kernel.org; >

Re: [PATCH v2] f2fs: fix out-of-free problem caused by atomic write

2017-11-03 Thread Yunlong Song
Test: Newest kernel source code from f2fs-dev 1G zram with f2fs 8 threads to atomic write one same file on zram there are four kinds of atomic write at the same time: 1 no atomic start, with atomic commit 2 no atomic start, no atomic commit 3 atomic start, with atomic commit 4 atomic start, no

[PATCH v4 19/20] cpufreq: add support for CPU DVFS based on SCMI message protocol

2017-11-03 Thread Sudeep Holla
On some ARM based systems, a separate Cortex-M based System Control Processor(SCP) provides the overall power, clock, reset and system control including CPU DVFS. SCMI Message Protocol is used to communicate with the SCP. This patch adds a cpufreq driver for such systems using SCMI interface to

[PATCH v4 15/20] firmware: arm_scmi: add device power domain support using genpd

2017-11-03 Thread Sudeep Holla
This patch hooks up the support for device power domain provided by SCMI using the Linux generic power domain infrastructure. Cc: Kevin Hilman Cc: Ulf Hansson Signed-off-by: Sudeep Holla --- drivers/firmware/Kconfig

[PATCH v4 00/20] firmware: ARM System Control and Management Interface(SCMI) support

2017-11-03 Thread Sudeep Holla
Hi all, ARM System Control and Management Interface(SCMI) is more flexible and easily extensible than any of the existing interfaces. Many vendors were involved in the making of this formal specification and is now published[1]. There is a strong trend in the industry to provide

[PATCH v4 17/20] hwmon: (core) Add hwmon_max to hwmon_sensor_types enumeration

2017-11-03 Thread Sudeep Holla
It's useful to know the maximum types of sensor supported by hwmon framework. It can be used to allocate some data structures when sorting the monitors based on their type. This will be used by scmi hwmon support. Cc: linux-hw...@vger.kernel.org Acked-by: Guenter Roeck

[PATCH v4 20/20] cpufreq: scmi: add support for fast frequency switching

2017-11-03 Thread Sudeep Holla
The cpufreq core provides option for drivers to implement fast_switch callback which is invoked for frequency switching from interrupt context. This patch adds support for fast_switch callback in SCMI cpufreq driver by making use of polling based SCMI transfer. It also sets the flag

[PATCH v4 10/20] firmware: arm_scmi: probe and initialise all the supported protocols

2017-11-03 Thread Sudeep Holla
Now that we have basic support for all the protocols in the specification, let's probe them individually and initialise them. Cc: Arnd Bergmann Signed-off-by: Sudeep Holla --- drivers/firmware/arm_scmi/driver.c | 51 +- 1

Re: [PATCH v2 4/4] platform/x86: topstar-laptop: add optional WLAN LED workaround

2017-11-03 Thread Guillaume Douézan-Grard
On Fri, Nov 03, 2017 at 02:50:52PM +0200, Andy Shevchenko wrote: > On Sun, Oct 29, 2017 at 1:53 AM, Guillaume Douézan-Grard > wrote: > > Topstar U931 laptops provide an LED synced with the WLAN adapter > > hard-blocking state. Unfortunately, some models seem to be

Re: [PATCH 3/3] printk: Add ability to set loglevel via "console=" cmdline

2017-11-03 Thread Petr Mladek
On Thu 2017-09-28 17:43:57, Calvin Owens wrote: > This extends the "console=" interface to allow setting the per-console > loglevel by adding "/N" to the string, where N is the desired loglevel > expressed as a base 10 integer. Invalid values are silently ignored. > > Cc: Petr Mladek

Re: [PATCH v2] scsi: be2iscsi: Use kasprintf

2017-11-03 Thread Himanshu Jha
On Wed, Oct 11, 2017 at 09:06:14PM +0530, Himanshu Jha wrote: Hi James, Just a reminder, is my patch in our queue ? Thanks Himanshu Jha > Use kasprintf instead of combination of kmalloc and sprintf. > Also, remove BEISCSI_MSI_NAME macro used to specify size of string as > kasprintf handles

Re: [PATCH v10 20/38] x86, mpparse: Use memremap to map the mpf and mpc data

2017-11-03 Thread Tom Lendacky
On 11/3/2017 10:12 AM, Tomeu Vizoso wrote: On 17 July 2017 at 23:10, Tom Lendacky wrote: The SMP MP-table is built by UEFI and placed in memory in a decrypted state. These tables are accessed using a mix of early_memremap(), early_memunmap(), phys_to_virt() and

[PATCH] locking/pvqspinlock: Hybrid PV queued/unfair locks

2017-11-03 Thread Waiman Long
Currently, all the lock waiters entering the slowpath will do one lock stealing attempt to acquire the lock. That helps performance, especially in VMs with over-committed vCPUs. However, the current pvqspinlocks still don't perform as good as unfair locks in many cases. On the other hands, unfair

Re: [f2fs-dev] [PATCH RESEND] f2fs: modify the procedure of scan free nid

2017-11-03 Thread Chao Yu
On 2017/11/3 18:29, Fan Li wrote: > > >> -Original Message- >> From: Chao Yu [mailto:yuch...@huawei.com] >> Sent: Friday, November 03, 2017 4:54 PM >> To: Fan Li; 'Chao Yu'; 'Jaegeuk Kim' >> Cc: linux-kernel@vger.kernel.org; linux-f2fs-de...@lists.sourceforge.net >> Subject: Re:

[PATCH V13 05/10] mmc: cqhci: support for command queue enabled host

2017-11-03 Thread Adrian Hunter
From: Venkat Gopalakrishnan This patch adds CMDQ support for command-queue compatible hosts. Command queue is added in eMMC-5.1 specification. This enables the controller to process upto 32 requests at a time. Adrian Hunter contributed renaming to cqhci, recovery,

[PATCH V13 04/10] mmc: block: Add CQE support

2017-11-03 Thread Adrian Hunter
Add CQE support to the block driver, including: - optionally using DCMD for flush requests - "manually" issuing discard requests - issuing read / write requests to the CQE - supporting block-layer timeouts - handling recovery - supporting re-tuning CQE offers 25% - 50%

[GIT PULL 00/19] perf/core improvements and fixes

2017-11-03 Thread Arnaldo Carvalho de Melo
-4.15-20171103 for you to fetch changes up to 7285cf3325b4a1dfb336d31eebc27dfbc30fb9aa: perf srcline: Show correct function name for srcline of callchains (2017-11-01 11:44:38 -0300) perf/core improvements and fixes: - Beautify

[PATCH 02/19] perf script: Use pr_debug where appropriate

2017-11-03 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo We have facilities for reporting unexpected, unlikely errors, use them. Cc: Adrian Hunter Cc: Andi Kleen Cc: David Ahern Cc: Jiri Olsa Cc: Michael Ellerman

[PATCH 03/19] perf script: Use event_format__fprintf()

2017-11-03 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Another case where we a1a587073ccd ("perf script: Use fprintf like printing uniformly") forgot to redirect output to the FILE descriptor, fix this too. Cc: Adrian Hunter Cc: David Ahern Cc: Jiri Olsa

[PATCH 01/19] perf script: Add a few missing conversions to fprintf style

2017-11-03 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo In a1a587073ccd ("perf script: Use fprintf like printing uniformly") there were a few cases that were missed, fix it. Reported-by: yuzhoujian Cc: Adrian Hunter Cc: David Ahern

Re: [PATCH net-next 0/5] net: dsa: lan9303: Linting

2017-11-03 Thread Vivien Didelot
Egil Hjelmeland writes: > This series is non-functional. > - Correct some errors in comments and documentation. > Remove scripts/checkpatch.pl WARNINGs and most CHECKs: > - Replace msleep(1) with usleep_range() > - Remove unnecessary parentheses > - Adjust

Re: [PATCH] mm,page_alloc: Update comment for last second allocation attempt.

2017-11-03 Thread Tetsuo Handa
Michal Hocko wrote: > On Fri 03-11-17 22:46:29, Tetsuo Handa wrote: > [...] > > diff --git a/mm/page_alloc.c b/mm/page_alloc.c > > index c274960..547e9cb 100644 > > --- a/mm/page_alloc.c > > +++ b/mm/page_alloc.c > > @@ -3312,11 +3312,10 @@ void warn_alloc(gfp_t gfp_mask, nodemask_t > >

Re: [PATCH 2/2] media: s5p-mfc: fix lock confection - request_firmware() once and keep state

2017-11-03 Thread Shuah Khan
On 11/02/2017 06:43 PM, Marian Mihailescu wrote: > I can confirm, with this patch, there is always error loading MFC in > boot log, since FS is not mounted. > > -Marian > Please refrain from top posting to a kernel email threads. It is very difficult to follow. Bottom post is the norm. thanks,

Re: [PATCH] mm,page_alloc: Update comment for last second allocation attempt.

2017-11-03 Thread Michal Hocko
On Fri 03-11-17 23:08:35, Tetsuo Handa wrote: > Michal Hocko wrote: > > On Fri 03-11-17 22:46:29, Tetsuo Handa wrote: > > [...] > > > diff --git a/mm/page_alloc.c b/mm/page_alloc.c > > > index c274960..547e9cb 100644 > > > --- a/mm/page_alloc.c > > > +++ b/mm/page_alloc.c > > > @@ -3312,11

Re: [PATCH v10 00/20] simplify crypto wait for async op

2017-11-03 Thread Herbert Xu
On Wed, Oct 18, 2017 at 08:00:32AM +0100, Gilad Ben-Yossef wrote: > Many users of kernel async. crypto services have a pattern of > starting an async. crypto op and than using a completion > to wait for it to end. > > This patch set simplifies this common use case in two ways: > > First, by

[tip:perf/core] perf srcline: Show correct function name for srcline of callchains

2017-11-03 Thread tip-bot for Namhyung Kim
Commit-ID: 7285cf3325b4a1dfb336d31eebc27dfbc30fb9aa Gitweb: https://git.kernel.org/tip/7285cf3325b4a1dfb336d31eebc27dfbc30fb9aa Author: Namhyung Kim AuthorDate: Tue, 31 Oct 2017 11:06:54 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 1

<    1   2   3   4   5   6   7   8   9   10   >