[PATCH] i2c: imx: Initialize DMA before registering I2C adapter

2019-06-08 Thread Andrey Smirnov
Allocating DMA after registering I2C adapter can lead to infinite probing loop, for example, consider the following scenario: 1. i2c_imx_probe() is called and successfully registers an I2C adapter via i2c_add_numbered_adapter() 2. As a part of i2c_add_numbered_adapter() new I2C

Re: [PATCH v3 1/5] arch: riscv: add support for building DTB files from DT source data

2019-06-08 Thread Paul Walmsley
On Sat, 8 Jun 2019, Palmer Dabbelt wrote: > On Thu, 06 Jun 2019 22:12:05 PDT (-0700), Paul Walmsley wrote: > > On Tue, 4 Jun 2019, Loys Ollivier wrote: > > > > > Always build it ? > > > Any particular reason to drop ARCH_SIFIVE ? > > > > Palmer had some reservations about it, so I dropped it

[PATCH] staging: rtl8723bs: fix indentation issues

2019-06-08 Thread Hariprasad Kelam
fix below issues reported by checkpatch CHECK: Please don't use multiple blank lines WARNING: space prohibited between function name and open parenthesis '(' +void _rtw_open_pktfile (_pkt *pktptr, struct pkt_file *pfile) WARNING: space prohibited before semicolon WARNING: space prohibited between

Linux 5.2-rc4

2019-06-08 Thread Linus Torvalds
No, I'm not confused, and I haven't lost track of what day it is, I do actually know that it's still Saturday here, not Sunday, and I'm just doing rc4 a bit early because I'll be on an airplane during my normal release time. And while I've done releases on airports and airplanes before, I looked

[Patch v3] USB: sisusbvga: Remove unneeded variable

2019-06-08 Thread Hariprasad Kelam
Remove unneeded variable ret in function sisusb_set_default_mode. Change return type of sisusb_set_default_mode from int to void as it never fails. Issue identified by coccicheck Signed-off-by: Hariprasad Kelam - changes in v2: Change return type of sisusb_set_default_mode from int to void

[PATCH v3 4/7] sched: add sched feature to disable idle core search

2019-06-08 Thread subhra mazumdar
Add a new sched feature SIS_CORE to have an option to disable idle core search (select_idle_core). Signed-off-by: subhra mazumdar --- kernel/sched/features.h | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/sched/features.h b/kernel/sched/features.h index 858589b..de4d506 100644 ---

[PATCH v3 6/7] x86/smpboot: introduce per-cpu variable for HT siblings

2019-06-08 Thread subhra mazumdar
Introduce a per-cpu variable to keep the number of HT siblings of a cpu. This will be used for quick lookup in select_idle_cpu to determine the limits of search. This patch does it only for x86. Signed-off-by: subhra mazumdar --- arch/x86/include/asm/smp.h | 1 +

[PATCH v3 5/7] sched: SIS_CORE to disable idle core search

2019-06-08 Thread subhra mazumdar
Use SIS_CORE to disable idle core search. For some workloads select_idle_core becomes a scalability bottleneck, removing it improves throughput. Also there are workloads where disabling it can hurt latency, so need to have an option. Signed-off-by: subhra mazumdar --- kernel/sched/fair.c | 8

[PATCH v3 1/7] sched: limit cpu search in select_idle_cpu

2019-06-08 Thread subhra mazumdar
Put upper and lower limit on cpu search of select_idle_cpu. The lower limit is amount of cpus in a core while upper limit is twice that. This ensures for any architecture we will usually search beyond a core. The upper limit also helps in keeping the search cost low and constant. Signed-off-by:

[PATCH v3 7/7] sched: use per-cpu variable cpumask_weight_sibling

2019-06-08 Thread subhra mazumdar
Use per-cpu var cpumask_weight_sibling for quick lookup in select_idle_cpu. This is the fast path of scheduler and every cycle is worth saving. Usage of cpumask_weight can result in iterations. Signed-off-by: subhra mazumdar --- kernel/sched/fair.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH v3 2/7] sched: introduce per-cpu var next_cpu to track search limit

2019-06-08 Thread subhra mazumdar
Introduce a per-cpu variable to track the limit upto which idle cpu search was done in select_idle_cpu(). This will help to start the search next time from there. This is necessary for rotating the search window over entire LLC domain. Signed-off-by: subhra mazumdar --- kernel/sched/core.c | 2

[PATCH v3 3/7] sched: rotate the cpu search window for better spread

2019-06-08 Thread subhra mazumdar
Rotate the cpu search window for better spread of threads. This will ensure an idle cpu will quickly be found if one exists. Signed-off-by: subhra mazumdar --- kernel/sched/fair.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/kernel/sched/fair.c

[PATCH v3 0/7] Improve scheduler scalability for fast path

2019-06-08 Thread subhra mazumdar
Current select_idle_sibling first tries to find a fully idle core using select_idle_core which can potentially search all cores and if it fails it finds any idle cpu using select_idle_cpu. select_idle_cpu can potentially search all cpus in the llc domain. This doesn't scale for large llc domains

Re: [PATCH] RISC-V: defconfig: enable clocks, serial console

2019-06-08 Thread Paul Walmsley
On Wed, 5 Jun 2019, Kevin Hilman wrote: > Enable PRCI clock driver and serial console by default, so the default > upstream defconfig is bootable to a serial console. > > Signed-off-by: Kevin Hilman Thanks, queued for v5.2-rc with Christoph's Reviewed-by:. - Paul

Re: [PATCH RFC 00/10] RDMA/FS DAX truncate proposal

2019-06-08 Thread Ira Weiny
On Sat, Jun 08, 2019 at 10:10:36AM +1000, Dave Chinner wrote: > On Fri, Jun 07, 2019 at 11:25:35AM -0700, Ira Weiny wrote: > > On Fri, Jun 07, 2019 at 01:04:26PM +0200, Jan Kara wrote: > > > On Thu 06-06-19 15:03:30, Ira Weiny wrote: > > > > On Thu, Jun 06, 2019 at 12:42:03PM +0200, Jan Kara

[PATCH v2 1/7] Revert "scsi: ncr5380: Increase register polling limit"

2019-06-08 Thread Finn Thain
This reverts commit 4822827a69d7cd3bc5a07b7637484ebd2cf88db6. The purpose of that commit was to suppress a timeout warning message which appeared to be caused by target latency. But suppressing the warning is undesirable as the warning may indicate a messed up transfer count. Another problem

[PATCH v2 3/7] scsi: NCR5380: Handle PDMA failure reliably

2019-06-08 Thread Finn Thain
A PDMA error is handled in the core driver by setting the device's 'borken' flag and aborting the command. Unfortunately, do_abort() is not dependable. Perform a SCSI bus reset instead, to make sure that the command fails and gets retried. Cc: Michael Schmitz Cc: sta...@vger.kernel.org # v4.20+

[PATCH v2 5/7] scsi: mac_scsi: Fix pseudo DMA implementation, take 2

2019-06-08 Thread Finn Thain
A system bus error during a PDMA transfer can mess up the calculation of the transfer residual (the PDMA handshaking hardware lacks a byte counter). This results in data corruption. The algorithm in this patch anticipates a bus error by starting each transfer with a MOVE.B instruction. If a bus

[PATCH v2 2/7] scsi: NCR5380: Always re-enable reselection interrupt

2019-06-08 Thread Finn Thain
The reselection interrupt gets disabled during selection and must be re-enabled when hostdata->connected becomes NULL. If it isn't re-enabled a disconnected command may time-out or the target may wedge the bus while trying to reselect the host. This can happen after a command is aborted. Fix this

[PATCH v2 4/7] scsi: mac_scsi: Increase PIO/PDMA transfer length threshold

2019-06-08 Thread Finn Thain
Some targets introduce delays when handshaking the response to certain commands. For example, a disk may send a 96-byte response to an INQUIRY command (or a 24-byte response to a MODE SENSE command) too slowly. Apparently the first 12 or 14 bytes are handshaked okay but then the system bus error

[PATCH v2 0/7] NCR5380 drivers: fixes and other improvements

2019-06-08 Thread Finn Thain
Among other improvements, this patch series fixes a data corruption bug in the mac_scsi driver and a bug in the EH abort routine in the core 5380 driver. For consistency I have ignored certain checkpatch.pl complaints about the indentation in mac_scsi.c. The remaining complaints seem to be false

[PATCH v2 7/7] scsi: mac_scsi: Treat Last Byte Sent time-out as failure

2019-06-08 Thread Finn Thain
A system bus error during a PDMA send operation can result in bytes being lost. Theoretically that could cause the target to remain in DATA OUT phase and the initiator (expecting a phase change) would time-out waiting for the Last Byte Sent flag. Should that happen, fail the transfer so the core

[PATCH v2 6/7] scsi: mac_scsi: Enable PDMA on Mac IIfx

2019-06-08 Thread Finn Thain
Add support for Apple's custom "SCSI DMA" chip. This patch doesn't make use of its DMA capability. Just the PDMA capability is sufficient to improve sequential read throughput by a factor of 5. Cc: Michael Schmitz Cc: Joshua Thompson Cc: Geert Uytterhoeven Tested-by: Stan Johnson Acked-by:

Re: Question about cacheline bounching with percpu-rwsem and rcu-sync

2019-06-08 Thread Joel Fernandes
On Fri, May 31, 2019 at 10:43 AM Joel Fernandes wrote: [snip] > > > > Either way, it would be good for you to just try it. Create a kernel > > module or similar than hammers on percpu_down_read() and percpu_up_read(), > > and empirically check the scalability on a largish system. Then compare >

Re: [PATCH v3] vt: Fix a missing-check bug in con_init()

2019-06-08 Thread Nicolas Pitre
On Sat, 8 Jun 2019, Greg KH wrote: > On Sun, Jun 09, 2019 at 12:01:38AM +0800, Gen Zhang wrote: > > On Tue, May 28, 2019 at 08:45:29AM +0800, Gen Zhang wrote: > > > In function con_init(), the pointer variable vc_cons[currcons].d, vc and > > > vc->vc_screenbuf is allocated by kzalloc(). And they

[PATCH V5 06/11] misc: xilinx_sdfec: Add ability to configure LDPC

2019-06-08 Thread Dragan Cvetic
Add the capability to configure LDPC mode via the ioctl XSDFEC_ADD_LDPC_CODE_PARAMS. Tested-by: Dragan Cvetic Signed-off-by: Derek Kiernan Signed-off-by: Dragan Cvetic --- drivers/misc/xilinx_sdfec.c | 324 +++ include/uapi/misc/xilinx_sdfec.h | 98

[PATCH V5 08/11] misc: xilinx_sdfec: Support poll file operation

2019-06-08 Thread Dragan Cvetic
Support monitoring and detecting the SD-FEC error events through IRQ and poll file operation. The SD-FEC device can detect one-error or multi-error events. An error triggers an interrupt which creates and run the ONE_SHOT IRQ thread. The ONE_SHOT IRQ thread detects type of error and pass that

[PATCH V5 07/11] misc: xilinx_sdfec: Add ability to get/set config

2019-06-08 Thread Dragan Cvetic
- Add capability to get SD-FEC config data using ioctl XSDFEC_GET_CONFIG. - Add capability to set SD-FEC data order using ioctl SDFEC_SET_ORDER. - Add capability to set SD-FEC bypass option using ioctl XSDFEC_SET_BYPASS. - Add capability to set SD-FEC active state using ioctl XSDFEC_IS_ACTIVE.

[PATCH V5 05/11] misc: xilinx_sdfec: Add ability to configure turbo

2019-06-08 Thread Dragan Cvetic
Add the capability to configure and retrieve turbo mode via the ioctls XSDFEC_SET_TURBO and XSDFEC_GET_TURBO. Add char device interface per DT node present and support file operations: - open(), - close(), - unlocked_ioctl(), - compat_ioctl(). Tested-by: Dragan Cvetic Signed-off-by: Derek

[PATCH V5 00/12] misc: xilinx sd-fec drive

2019-06-08 Thread Dragan Cvetic
This patchset is adding the full Soft Decision Forward Error Correction (SD-FEC) driver implementation, driver DT binding and driver documentation. Forward Error Correction (FEC) codes such as Low Density Parity Check (LDPC) and turbo codes provide a means to control errors in data transmissions

[PATCH V5 11/11] MAINTAINERS: add maintainer for SD-FEC

2019-06-08 Thread Dragan Cvetic
support Add maintainer entry for Xilinx SD-FEC driver support. Signed-off-by: Derek Kiernan Signed-off-by: Dragan Cvetic --- MAINTAINERS | 11 +++ 1 file changed, 11 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index bfe48cb..2b754a8 100644 --- a/MAINTAINERS +++ b/MAINTAINERS

[PATCH V5 03/11] misc: xilinx_sdfec: Add CCF support

2019-06-08 Thread Dragan Cvetic
Add the support for Linux Clock Control Framework (CCF). Registers and enables clocks with the Clock Control Framework (CCF), to prevent shared clocks from been disabled. Tested-by: Dragan Cvetic Signed-off-by: Derek Kiernan Signed-off-by: Dragan Cvetic --- drivers/misc/xilinx_sdfec.c | 191

[PATCH V5 09/11] misc: xilinx_sdfec: Add stats & status ioctls

2019-06-08 Thread Dragan Cvetic
SD-FEC statistic data are: - count of data interface errors (isr_err_count) - count of Correctable ECC errors (cecc_count) - count of Uncorrectable ECC errors (uecc_count) Add support: 1. clear stats ioctl callback which clears collected statistic data, 2. get stats ioctl callback which reads a

[PATCH V5 01/11] dt-bindings: xilinx-sdfec: Add SDFEC binding

2019-06-08 Thread Dragan Cvetic
Add the Soft Decision Forward Error Correction (SDFEC) Engine bindings which is available for the Zynq UltraScale+ RFSoC FPGA's. Signed-off-by: Dragan Cvetic Signed-off-by: Derek Kiernan --- .../devicetree/bindings/misc/xlnx,sd-fec.txt | 58 ++ 1 file changed, 58

[PATCH V5 04/11] misc: xilinx_sdfec: Store driver config and state

2019-06-08 Thread Dragan Cvetic
Stores configuration based on parameters from the DT node and values from the SD-FEC core plus reads the default state from the SD-FEC core. To obtain values from the core register read, write capabilities have been added plus related register map details. Tested-by: Dragan Cvetic Signed-off-by:

[PATCH V5 02/11] misc: xilinx-sdfec: add core driver

2019-06-08 Thread Dragan Cvetic
Implement a platform driver that matches with xlnx, sd-fec-1.1 device tree node and registers as a character device, including: - SD-FEC driver binds to sdfec DT node. - creates and initialise an initial driver dev structure. - add the driver in Linux build and Kconfig. Tested-by: Dragan Cvetic

[PATCH V5 10/11] Docs: misc: xilinx_sdfec: Add documentation

2019-06-08 Thread Dragan Cvetic
Add SD-FEC driver documentation. Signed-off-by: Derek Kiernan Signed-off-by: Dragan Cvetic --- Documentation/misc-devices/index.rst| 1 + Documentation/misc-devices/xilinx_sdfec.rst | 291 2 files changed, 292 insertions(+) create mode 100644

Re: memory leak in create_ctx

2019-06-08 Thread Jakub Kicinski
On Sat, 08 Jun 2019 12:13:06 -0700, syzbot wrote: > Hello, > > syzbot found the following crash on: > > HEAD commit:79c3ba32 Merge tag 'drm-fixes-2019-06-07-1' of git://anong.. > git tree: upstream > console output: https://syzkaller.appspot.com/x/log.txt?x=170e0bfea0 > kernel

Re: [GIT PULL] Ceph fixes for 5.2-rc4

2019-06-08 Thread pr-tracker-bot
The pull request you sent on Sat, 8 Jun 2019 21:04:38 +0200: > https://github.com/ceph/ceph-client.git tags/ceph-for-5.2-rc4 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/2759e05cdb2577a0e8970a9fa80a7f5ff092596f Thank you! -- Deet-doot-dot, I am a bot.

[tip:ras/core] RAS/CEC: Sanity-check array on every insertion

2019-06-08 Thread tip-bot for Borislav Petkov
Commit-ID: 9632a3299bb1897f01c6a485ff035b20e61d7ae1 Gitweb: https://git.kernel.org/tip/9632a3299bb1897f01c6a485ff035b20e61d7ae1 Author: Borislav Petkov AuthorDate: Sun, 21 Apr 2019 21:41:45 +0200 Committer: Borislav Petkov CommitDate: Sat, 8 Jun 2019 17:35:34 +0200 RAS/CEC:

[tip:ras/core] RAS/CEC: Rename count_threshold to action_threshold

2019-06-08 Thread tip-bot for Borislav Petkov
Commit-ID: b8b5ca6600dec2a4f1e50ca9d3cf9e1d032870cd Gitweb: https://git.kernel.org/tip/b8b5ca6600dec2a4f1e50ca9d3cf9e1d032870cd Author: Borislav Petkov AuthorDate: Sat, 20 Apr 2019 21:30:11 +0200 Committer: Borislav Petkov CommitDate: Sat, 8 Jun 2019 17:38:17 +0200 RAS/CEC: Rename

[tip:ras/core] RAS/CEC: Add copyright

2019-06-08 Thread tip-bot for Borislav Petkov
Commit-ID: 09afc797f3629f722df6a90ca6eb944013133c7a Gitweb: https://git.kernel.org/tip/09afc797f3629f722df6a90ca6eb944013133c7a Author: Borislav Petkov AuthorDate: Sat, 20 Apr 2019 22:06:43 +0200 Committer: Borislav Petkov CommitDate: Sat, 8 Jun 2019 17:40:28 +0200 RAS/CEC: Add

[tip:ras/core] RAS/CEC: Do not set decay value on error

2019-06-08 Thread tip-bot for Borislav Petkov
Commit-ID: 5cc6b16ea1313d05956b55e83a1f753c604282a8 Gitweb: https://git.kernel.org/tip/5cc6b16ea1313d05956b55e83a1f753c604282a8 Author: Borislav Petkov AuthorDate: Sat, 20 Apr 2019 21:33:08 +0200 Committer: Borislav Petkov CommitDate: Sat, 8 Jun 2019 17:34:36 +0200 RAS/CEC: Do not set

[tip:ras/core] RAS/CEC: Fix pfn insertion

2019-06-08 Thread tip-bot for Borislav Petkov
Commit-ID: 6d8e294bf5f0e85c34e8b14b064e2965f53f38b0 Gitweb: https://git.kernel.org/tip/6d8e294bf5f0e85c34e8b14b064e2965f53f38b0 Author: Borislav Petkov AuthorDate: Sat, 20 Apr 2019 12:53:05 +0200 Committer: Borislav Petkov CommitDate: Sat, 8 Jun 2019 17:32:00 +0200 RAS/CEC: Fix pfn

Re: [PATCH v4 2/5] x86/umwait: Initialize umwait control values

2019-06-08 Thread Andy Lutomirski
On Fri, Jun 7, 2019 at 3:10 PM Fenghua Yu wrote: > > umwait or tpause allows processor to enter a light-weight > power/performance optimized state (C0.1 state) or an improved > power/performance optimized state (C0.2 state) for a period > specified by the instruction or until the system time

[tip:ras/core] RAS/CEC: Add CONFIG_RAS_CEC_DEBUG and move CEC debug features there

2019-06-08 Thread tip-bot for Tony Luck
Commit-ID: 60fd42d26cc7ec8847598da50ebf27e3c9647d7b Gitweb: https://git.kernel.org/tip/60fd42d26cc7ec8847598da50ebf27e3c9647d7b Author: Tony Luck AuthorDate: Mon, 6 May 2019 13:13:22 +0200 Committer: Borislav Petkov CommitDate: Sat, 8 Jun 2019 17:39:24 +0200 RAS/CEC: Add

[tip:ras/core] RAS/CEC: Fix potential memory leak

2019-06-08 Thread tip-bot for Borislav Petkov
Commit-ID: d0e375e8f26edd2e577e3afa9d952f91037cbd87 Gitweb: https://git.kernel.org/tip/d0e375e8f26edd2e577e3afa9d952f91037cbd87 Author: Borislav Petkov AuthorDate: Sat, 20 Apr 2019 21:39:24 +0200 Committer: Borislav Petkov CommitDate: Sat, 8 Jun 2019 17:35:04 +0200 RAS/CEC: Fix

[tip:ras/core] RAS/CEC: Dump the different array element sections

2019-06-08 Thread tip-bot for Borislav Petkov
Commit-ID: f57518cd56e2919afbcef3839122a75e291c7f85 Gitweb: https://git.kernel.org/tip/f57518cd56e2919afbcef3839122a75e291c7f85 Author: Borislav Petkov AuthorDate: Sat, 20 Apr 2019 23:01:03 +0200 Committer: Borislav Petkov CommitDate: Sat, 8 Jun 2019 17:39:11 +0200 RAS/CEC: Dump the

Re: [PATCH v4 3/5] x86/umwait: Add sysfs interface to control umwait C0.2 state

2019-06-08 Thread Andy Lutomirski
On Fri, Jun 7, 2019 at 3:10 PM Fenghua Yu wrote: > > C0.2 state in umwait and tpause instructions can be enabled or disabled > on a processor through IA32_UMWAIT_CONTROL MSR register. > > +static u32 get_umwait_control_c02(void) > +{ > + return umwait_control_cached &

Re: [PATCH v4 3/5] x86/umwait: Add sysfs interface to control umwait C0.2 state

2019-06-08 Thread Andy Lutomirski
On Fri, Jun 7, 2019 at 3:10 PM Fenghua Yu wrote: > > C0.2 state in umwait and tpause instructions can be enabled or disabled > on a processor through IA32_UMWAIT_CONTROL MSR register. > > By default, C0.2 is enabled and the user wait instructions result in > lower power consumption with slower

Re: [PATCH 2/2] arm64: dts: rockchip: Define values for the IPA governor for rock960

2019-06-08 Thread Daniel Lezcano
On 08/06/2019 00:18, Linus Walleij wrote: > On Tue, Jun 4, 2019 at 6:58 PM Daniel Lezcano > wrote: > >> The intelligent power allocator PID coefficient to be set in sysfs >> are: >> >> k_d: 0 >> k_po: 79 >> k_i: 10 >> k_pu: 50 > > With all the other interesting parametrization

PLEASE RESPOND VERY URGENTLY

2019-06-08 Thread Mr Sahila Wanal
FROM MR SAHILA WANAL AUDIT& ACCOUNT MANAGER BANK OF AFRICA (B.O.A) OUAGADOUGOU BURKINA FASO WEST AFRICA. Dear friend, With due respect, i have decided to contact you on a business transaction that will be beneficial to both of us. At the bank last account and auditing evaluation, my staffs came

Re: [PATCH 3/3] tracing: Add 2 new funcs. for kernel access to Ftrace instances.

2019-06-08 Thread Steven Rostedt
On Tue, 4 Jun 2019 17:42:05 -0700 Divya Indi wrote: > Adding 2 new functions - > 1) trace_array_lookup : Look up and return a trace array, given its > name. > 2) trace_array_set_clr_event : Enable/disable event recording to the > given trace array. > > Signed-off-by: Divya Indi > --- >

Re: [PATCH][next] clk: bcm2835: fix memork leak on unfree'd pll struct

2019-06-08 Thread Colin Ian King
On 07/06/2019 20:03, Stephen Boyd wrote: > Quoting Colin King (2019-06-07 03:45:33) >> From: Colin Ian King >> >> The pll struct is being allocated but not kfree'd on an error return >> path when devm_clk_hw_register fails. Fix this with a kfree on pll >> if an error occurs. >> >>

Re: [RFC PATCH 6/6] soundwire: qcom: add support for SoundWire controller

2019-06-08 Thread Cezary Rojewski
On 2019-06-07 10:56, Srinivas Kandagatla wrote: Qualcomm SoundWire Master controller is present in most Qualcomm SoCs either integrated as part of WCD audio codecs via slimbus or as part of SOC I/O. This patchset adds support to a very basic controller which has been tested with WCD934x

Re: [PATCH v4 net-next 00/17] PTP support for the SJA1105 DSA driver

2019-06-08 Thread David Miller
From: Vladimir Oltean Date: Sat, 8 Jun 2019 15:04:26 +0300 > This patchset adds the following: > > - A timecounter/cyclecounter based PHC for the free-running >timestamping clock of this switch. > > - A state machine implemented in the DSA tagger for SJA1105, which >keeps track of

Re: [BISECTED REGRESSION] b43legacy broken on G4 PowerBook

2019-06-08 Thread Larry Finger
On 6/7/19 12:29 PM, Christoph Hellwig wrote: I don't think we should work around this in the driver, we need to fix it in the core. I'm curious why my previous patch didn't work. Can you throw in a few printks what failed? I.e. did dma_direct_supported return false? Did the actual allocation

Re: [PATCH AUTOSEL 5.1 058/186] tracing: probeevent: Fix to make the type of $comm string

2019-06-08 Thread Steven Rostedt
On Sat, 1 Jun 2019 09:14:34 -0400 Sasha Levin wrote: > From: Masami Hiramatsu > > [ Upstream commit 3dd1f7f24f8ceec00bbbc364c2ac3c893f0fdc4c ] > > Fix to make the type of $comm "string". If we set the other type to $comm > argument, it shows meaningless value or wrong data. Currently probe

Re: [PATCH v2 2/2] KVM: LAPIC: remove the trailing newline used in the fmt parameter of TP_printk

2019-06-08 Thread Steven Rostedt
On Fri, 31 May 2019 11:57:04 -0700 Joe Perches wrote: > On Fri, 2019-05-31 at 14:40 +0800, Wanpeng Li wrote: > > The trailing newlines will lead to extra newlines in the trace file > [] > > diff --git a/arch/x86/kvm/trace.h b/arch/x86/kvm/trace.h > [] > > @@ -1365,7 +1365,7 @@

[tip:ras/core] RAS/CEC: Check count_threshold unconditionally

2019-06-08 Thread tip-bot for Borislav Petkov
Commit-ID: de0e0624d86ff9fc512dedb297f8978698abf21a Gitweb: https://git.kernel.org/tip/de0e0624d86ff9fc512dedb297f8978698abf21a Author: Borislav Petkov AuthorDate: Sat, 20 Apr 2019 14:06:37 +0200 Committer: Borislav Petkov CommitDate: Sat, 8 Jun 2019 17:33:10 +0200 RAS/CEC: Check

Re: general protection fault in mm_update_next_owner

2019-06-08 Thread syzbot
syzbot has bisected this bug to: commit e9db4ef6bf4ca9894bb324c76e01b8f1a16b2650 Author: John Fastabend Date: Sat Jun 30 13:17:47 2018 + bpf: sockhash fix omitted bucket lock in sock_close bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=15e978e1a0 start commit:

Re: [PATCH v3 3/4] backlight: pwm_bl: compute brightness of LED linearly to human eye.

2019-06-08 Thread Pavel Machek
Hi! > > +* Note that this method is based on empirical testing on different > > +* devices with PWM of 8 and 16 bits of resolution. > > +*/ > > + n = period; > > + while (n) { > > + counter += n % 2; > > + n >>= 1; > > + } > > I don't quite follow the

Re: [PATCH bpf] bpf: preallocate a perf_sample_data per event fd

2019-06-08 Thread Steven Rostedt
On Fri, 31 May 2019 05:26:30 + Song Liu wrote: > We can also do something like > >ee = kzalloc(sizeof(struct bpf_event_entry) + sizeof(struct > perf_sample_data)); >ee->sd = (void *)ee + sizeof(struct bpf_event_entry); Or perhaps: ee->sd = (struct perf_sample_data *)(ee +

Re: [PATCH v1 0/9] Introduce Bandwidth OPPs & interconnect devfreq driver

2019-06-08 Thread Saravana Kannan
On Fri, Jun 7, 2019 at 10:46 PM Bjorn Andersson wrote: > > On Fri 07 Jun 21:43 PDT 2019, Saravana Kannan wrote: > > > I replied[1] to this patch series[2] and described how I think interconnect > > bandwidth voting should be captured in DT and how it should work. > > > > So sending out a patch

Re: [PATCH] MIPS: lb60: Fix pin mappings

2019-06-08 Thread Paul Cercueil
Le sam. 8 juin 2019 à 15:39, Linus Walleij a écrit : On Sat, Jun 8, 2019 at 12:14 PM Paul Cercueil wrote: Le sam. 8 juin 2019 à 0:10, Linus Walleij a écrit : > On Tue, Jun 4, 2019 at 6:34 PM Paul Cercueil > wrote: > >> The pin mappings introduced in commit 636f8ba67fb6 >>

Re: [GIT PULL] xen: fix for 5.2-rc4

2019-06-08 Thread pr-tracker-bot
The pull request you sent on Sat, 8 Jun 2019 13:43:26 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip.git > for-linus-5.2b-rc4-tag has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/8e61f6f7c308a828f8402db6651f6e38ba66c009 Thank you! -- Deet-doot-dot,

Re: [GIT PULL] MIPS fixes

2019-06-08 Thread pr-tracker-bot
The pull request you sent on Sat, 8 Jun 2019 06:40:08 +: > git://git.kernel.org/pub/scm/linux/kernel/git/mips/linux.git > tags/mips_fixes_5.2_1 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/d0cc617affbf2e31696adf37d153c550c5bef662 Thank you! -- Deet-doot-dot,

Re: [GIT PULL] s390 updates for 5.2-rc4

2019-06-08 Thread pr-tracker-bot
The pull request you sent on Sat, 8 Jun 2019 13:21:51 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git tags/s390-5.2-4 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/3d4645bf7a76886c70a482a1c6742bac98553f47 Thank you! -- Deet-doot-dot, I am a

From Mrs. Ayesha Al-Qaddafi,

2019-06-08 Thread Ayesha Al-Gaddafi
Peace be upon you Dear Friend, It’s my pleasure to contact you through this media as i am in need of your urgent assistance. My names are Mrs. Ayesha Al-Qaddafi a single Mother and a Widow with three Children. I am the only biological Daughter of late Libyan President (Late Colonel Muammar

Re: [PULL REQUEST] i2c for 5.2

2019-06-08 Thread pr-tracker-bot
The pull request you sent on Sat, 8 Jun 2019 10:54:10 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git i2c/for-current has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/902b2edfca34f88b04b86e605087e200e7e79880 Thank you! -- Deet-doot-dot, I am a

Re: [GIT PULL] Char/Misc driver fixes for 5.2-rc4

2019-06-08 Thread pr-tracker-bot
The pull request you sent on Sat, 8 Jun 2019 11:58:22 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git > char-misc-5.2-rc4 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/1ce2c85137b1db5b0e4158d558cb93dcff7674df Thank you! --

Re: [GIT PULL] SPDX update for 5.2-rc4

2019-06-08 Thread pr-tracker-bot
The pull request you sent on Sat, 8 Jun 2019 11:58:00 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git > tags/spdx-5.2-rc4 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/9331b6740f86163908de69f4008e434fe0c27691 Thank you! --

Re: [GIT PULL]: dmaengine fixes for v5.2-rc4

2019-06-08 Thread pr-tracker-bot
The pull request you sent on Sat, 8 Jun 2019 14:39:08 +0530: > git://git.infradead.org/users/vkoul/slave-dma.git tags/dmaengine-fix-5.2-rc4 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/66b59f2b5e48969de862908c2d32c8b3d3724738 Thank you! -- Deet-doot-dot, I am a

Re: [alsa-devel] [RFC PATCH 3/6] soundwire: core: define SDW_MAX_PORT

2019-06-08 Thread Cezary Rojewski
On 2019-06-07 14:31, Pierre-Louis Bossart wrote: On 6/7/19 3:56 AM, Srinivas Kandagatla wrote: This patch adds SDW_MAX_PORT so that other driver can use it. Signed-off-by: Srinivas Kandagatla ---   include/linux/soundwire/sdw.h | 1 +   1 file changed, 1 insertion(+) diff --git

Re: 32-bit Amlogic (ARM) SoC: kernel BUG in kfree()

2019-06-08 Thread Martin Blumenstingl
Hi Liang, On Thu, Apr 11, 2019 at 5:00 AM Liang Yang wrote: > > Hi Martin, > On 2019/4/11 1:54, Martin Blumenstingl wrote: > > Hi Liang, > > > > On Wed, Apr 10, 2019 at 1:08 PM Liang Yang wrote: > >> > >> Hi Martin, > >> > >> On 2019/4/5 12:30, Martin Blumenstingl wrote: > >>> Hi Liang, > >>> >

[PATCH 3/7] arm64: dts: actions: Add MMC controller support for S900

2019-06-08 Thread Manivannan Sadhasivam
Add MMC controller support for Actions Semi S900 SoC. There are 4 MMC controllers in this SoC which can be used for accessing SD/MMC/SDIO cards. Signed-off-by: Manivannan Sadhasivam --- arch/arm64/boot/dts/actions/s900.dtsi | 45 +++ 1 file changed, 45 insertions(+)

[PATCH 4/7] arm64: dts: actions: Add uSD and eMMC support for Bubblegum96

2019-06-08 Thread Manivannan Sadhasivam
Add uSD and eMMC support for Bubblegum96 board based on Actions Semi Owl SoC. SD0 is connected to uSD slot and SD2 is connected to eMMC. Since there is no PMIC support added yet, fixed regulator has been used as a regulator node. Signed-off-by: Manivannan Sadhasivam ---

[PATCH 7/7] arm64: configs: Enable Actions Semi platform in defconfig

2019-06-08 Thread Manivannan Sadhasivam
Since the Actions Semi platform can now boot a distro, enable it in ARM64 defconfig. Signed-off-by: Manivannan Sadhasivam --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index

[PATCH 2/7] dt-bindings: mmc: Add Actions Semi SD/MMC/SDIO controller binding

2019-06-08 Thread Manivannan Sadhasivam
Add devicetree binding for Actions Semi Owl SoC's SD/MMC/SDIO controller. Signed-off-by: Manivannan Sadhasivam --- .../devicetree/bindings/mmc/owl-mmc.txt | 37 +++ 1 file changed, 37 insertions(+) create mode 100644 Documentation/devicetree/bindings/mmc/owl-mmc.txt diff

[PATCH 5/7] mmc: Add Actions Semi Owl SoCs SD/MMC driver

2019-06-08 Thread Manivannan Sadhasivam
Add SD/MMC driver for Actions Semi Owl SoCs. This driver currently supports standard, high speed, SDR12, SDR25 and SDR50. DDR50 mode is supported but it is untested. There is no SDIO support for now. Signed-off-by: Manivannan Sadhasivam --- drivers/mmc/host/Kconfig | 8 +

[PATCH 6/7] MAINTAINERS: Add entry for Actions Semi SD/MMC driver and binding

2019-06-08 Thread Manivannan Sadhasivam
Add MAINTAINERS entry for Actions Semi SD/MMC driver with its binding. Signed-off-by: Manivannan Sadhasivam --- MAINTAINERS | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index a6954776a37e..11d6937c4688 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1336,6

[PATCH 0/7] Add SD/MMC driver for Actions Semi S900 SoC

2019-06-08 Thread Manivannan Sadhasivam
Hello, This patchset adds SD/MMC driver for Actions Semi S900 SoC from Owl family SoCs. There are 4 SD/MMC controller present in this SoC but only 2 are enabled currently for Bubblegum96 board to access uSD and onboard eMMC. SDIO support for this driver is not currently implemented. Note:

[PATCH 1/7] clk: actions: Fix factor clk struct member access

2019-06-08 Thread Manivannan Sadhasivam
Since the helper "owl_factor_helper_round_rate" is shared between factor and composite clocks, using the factor clk specific helper function like "hw_to_owl_factor" to access its members will create issues when called from composite clk specific code. Hence, pass the "factor_hw" struct pointer

Re: [PATCH v2 3/3] regulator: lp87565: Add 4-phase lp87561 regulator support

2019-06-08 Thread Mark Brown
On Sat, Jun 08, 2019 at 09:26:31AM +0530, keerthy wrote: > mfd patches are on linux-next already. Hope you can pull this one now that > dependencies are met. Someone will need to send me a copy of the patch, if I acked it I was expecting it to go in with the MFD changes. signature.asc

RE: [PATCH V4 04/12] misc: xilinx_sdfec: Add open, close and ioctl

2019-06-08 Thread Dragan Cvetic
> -Original Message- > From: Greg KH [mailto:gre...@linuxfoundation.org] > Sent: Friday 7 June 2019 16:58 > To: Dragan Cvetic > Cc: a...@arndb.de; Michal Simek ; > linux-arm-ker...@lists.infradead.org; robh...@kernel.org; > mark.rutl...@arm.com; devicet...@vger.kernel.org; >

Re: [GIT PULL] SCSI fixes for 5.2-rc3

2019-06-08 Thread pr-tracker-bot
The pull request you sent on Fri, 07 Jun 2019 23:05:26 -0700: > git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git scsi-fixes has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/1b02caa319cf73ae89aced8714066a3a5bbe648b Thank you! -- Deet-doot-dot, I am a bot.

Re: [GIT PULL] Kselftest second fixes update for Linux 5.2-rc4

2019-06-08 Thread pr-tracker-bot
The pull request you sent on Fri, 7 Jun 2019 20:11:05 -0600: > git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest > tags/linux-kselftest-5.2-rc4-2 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/0ad43e29b6e845758f0ceb80e3c1d1a9cebfad06 Thank you! --

Re: [RFC PATCH 1/6] ASoC: core: add support to snd_soc_dai_get_sdw_stream()

2019-06-08 Thread Cezary Rojewski
On 2019-06-07 10:56, Srinivas Kandagatla wrote: On platforms which have smart speaker amplifiers connected via soundwire and modeled as aux devices in ASoC, in such usecases machine driver should be able to get sdw master stream from dai so that it can use the runtime stream to setup slave

general protection fault in mm_update_next_owner

2019-06-08 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:38e406f6 Merge git://git.kernel.org/pub/scm/linux/kernel/g.. git tree: net console output: https://syzkaller.appspot.com/x/log.txt?x=10c90fbaa0 kernel config: https://syzkaller.appspot.com/x/.config?x=60564cb52ab29d5b

memory leak in create_ctx

2019-06-08 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:79c3ba32 Merge tag 'drm-fixes-2019-06-07-1' of git://anong.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=170e0bfea0 kernel config: https://syzkaller.appspot.com/x/.config?x=d5c73825cbdc7326

Re: [PATCH 4.14 00/69] 4.14.124-stable review

2019-06-08 Thread Naresh Kamboju
On Sat, 8 Jun 2019 at 15:03, Greg Kroah-Hartman wrote: > > On Fri, Jun 07, 2019 at 05:38:41PM +0200, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.14.124 release. > > There are 69 patches in this series, all will be posted as a response > > to this one. If

[GIT PULL] Ceph fixes for 5.2-rc4

2019-06-08 Thread Ilya Dryomov
Hi Linus, The following changes since commit f2c7c76c5d0a443053e94adb9f0918fa2fb85c3a: Linux 5.2-rc3 (2019-06-02 13:55:33 -0700) are available in the Git repository at: https://github.com/ceph/ceph-client.git tags/ceph-for-5.2-rc4 for you to fetch changes up to

[PATCH v3 1/3] dt-bindings: interrupt-controller: New binding for Meson-G12A SoC

2019-06-08 Thread Martin Blumenstingl
From: Xingyu Chen Update the dt-binding document to support new compatible string for the GPIO interrupt controller which found in Amlogic's Meson-G12A SoC. Signed-off-by: Xingyu Chen Signed-off-by: Jianxin Pan Signed-off-by: Martin Blumenstingl ---

[PATCH v3 3/3] arm64: dts: meson: g12a: add the GPIO interrupt controller

2019-06-08 Thread Martin Blumenstingl
GPIO interrupts are used for the external Ethernet RGMII PHY interrupt line. Add the GPIO interrupt controller so we can describe that connection in the dts files. Signed-off-by: Martin Blumenstingl --- arch/arm64/boot/dts/amlogic/meson-g12a.dtsi | 9 + 1 file changed, 9 insertions(+)

[PATCH v3 0/3] meson-gpio-irqc: Add support for the Meson-G12A SoC

2019-06-08 Thread Martin Blumenstingl
This series adds GPIO interrupt controller support for Meson-G12A SoCs. Although the total number of pins is the same as the Meson-AXG SoC, the GPIO banks and IRQ numbers are different. Add a new compatible string to avoid confusion when using it. I am re-sending this update because v2 looked

[PATCH v3 2/3] irqchip/meson-gpio: Add support for Meson-G12A SoC

2019-06-08 Thread Martin Blumenstingl
From: Xingyu Chen The Meson-G12A SoC uses the same GPIO interrupt controller IP block as the other Meson SoCs, A totle of 100 pins can be spied on, which is the sum of: - 223:100 undefined (no interrupt) - 99:97 3 pins on bank GPIOE - 96:77 20 pins on bank GPIOX - 76:61 16 pins on bank

Re: inet: frags: Turn fqdir->dead into an int for old Alphas

2019-06-08 Thread Paul E. McKenney
On Sat, Jun 08, 2019 at 10:50:51AM -0700, Linus Torvalds wrote: > On Sat, Jun 8, 2019 at 10:42 AM Linus Torvalds > wrote: > > > > There are no atomic rmw sequences that have reasonable performance for > > the bitfield updates themselves. > > Note that this is purely about the writing side. Reads

Re: [PATCH 5.1 00/85] 5.1.8-stable review

2019-06-08 Thread Guenter Roeck
On 6/7/19 8:38 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 5.1.8 release. There are 85 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made by

Re: [PATCH 4.19 00/73] 4.19.49-stable review

2019-06-08 Thread Guenter Roeck
On 6/7/19 8:38 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.19.49 release. There are 73 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made

Re: [RFC net-next 2/2] net: stmmac: Convert to phylink

2019-06-08 Thread Andrew Lunn
> I am not exactly sure removing this is strictly equivalent here, but the > diff makes it hard to review. Yes, diff is doing a poor job here. I already asked Jose if a better diff could be produced by passing extra options. > - add support for PHYLINK (parts of this patch) but without plugging

  1   2   3   4   5   >