Re: ftrace global trace_pipe_raw

2019-01-16 Thread Claudio
Hi Steven, happy new year, On 12/19/2018 05:37 PM, Steven Rostedt wrote: > On Wed, 19 Dec 2018 12:32:41 +0100 > Claudio wrote: > I would imagine the core functionality is already available, since trace_pipe in the tracing directory already shows all events regardless of

Re: [PATCH v5 2/2] phy: zynqmp: Add phy driver for xilinx zynqmp phy core

2019-01-16 Thread Kishon Vijay Abraham I
Hi, On 18/12/18 7:15 PM, Anurag Kumar Vulisha wrote: > ZynqMP SoC has a Gigabit Transceiver with four lanes. All the high speed > peripherals such as USB, SATA, PCIE, Display Port and Ethernet SGMII can > rely on any of the four GT lanes for PHY layer. This patch adds driver > for that ZynqMP GT

Re: [PATCH v7 0/7] Introduce STPMIC1 PMIC Driver

2019-01-16 Thread Lee Jones
On Mon, 14 Jan 2019, dmitry.torok...@gmail.com wrote: > On Fri, Dec 14, 2018 at 12:47:01PM +, Lee Jones wrote: > > On Fri, 30 Nov 2018, Pascal PAILLET-LME wrote: > > > > > The goal of this patch-set is to propose a driver for the STPMIC1 PMIC > > > from > > > STMicroelectronics. > > > The

Re: [PATCH 2/2] usb: dwc3: Add workaround for host mode VBUS glitch when boot

2019-01-16 Thread Felipe Balbi
Hi, Ran Wang writes: > +static void dwc3_power_off_all_roothub_ports(struct dwc3 *dwc) > +{ > + int i, port_num; > + u32 reg, op_regs_base, offset; > + void __iomem*xhci_regs; > + > + /* xhci regs is not mapped yet, do it temperary here */ > + if

Re: [alsa-devel] [PATCH v2 4/4] ASoC: add imx-audmix DT binding documentation

2019-01-16 Thread Daniel Baluta
On Tue, Jan 15, 2019 at 10:58 PM Rob Herring wrote: > > On Tue, Jan 08, 2019 at 01:05:51PM +, Viorel Suman wrote: > > Add the DT binding documentation for Audio Mixer > > machine driver. > > > > Signed-off-by: Viorel Suman > > --- > > .../devicetree/bindings/sound/imx-audmix.txt | 24

Re: [PATCH] HID: i2c-hid: Disable runtime PM on Goodix touchpad

2019-01-16 Thread Kai Heng Feng
> On Jan 14, 2019, at 19:18, Jiri Kosina wrote: > > On Mon, 14 Jan 2019, Kai-Heng Feng wrote: > >> A Goodix touchpad doesn't work. Touching the touchpad can trigger IRQ >> but there's no input event from HID subsystem. >> >> Turns out it reports some invalid data: >> [ 22.136630] i2c_hid

Re: broonie-regulator/for-next boot bisection: v5.0-rc2-20-g61b67608c6b9 on meson8b-odroidc1

2019-01-16 Thread Linus Walleij
On Mon, Jan 14, 2019 at 10:59 PM Mark Brown wrote: > Linus, I'm going to revert this whole series - not sure what's gone > wrong here but I guess we can test easily with kernelci which is good. That's fine and I'm onto it, I am trying to create a mock system to test the gpio-regulator so I have

Re: [RFC v2 6/6] cros_ec: differentiate SCP from EC by feature bit.

2019-01-16 Thread Lee Jones
On Tue, 08 Jan 2019, Pi-Hsun Shih wrote: > Since a SCP and EC would both exist on a system, and use the cros_ec_dev > driver, we need to differentiate between them for the userspace, or they > would both be registered at /dev/cros_ec, causing a conflict. > > Cc: Enric Balletbo Serra > Cc:

Re: [PATCH v2 1/2] gpio: sprd: Fix the incorrect data register

2019-01-16 Thread Bartosz Golaszewski
śr., 16 sty 2019 o 06:06 Baolin Wang napisał(a): > > From: Neo Hou > > Since differnt type EICs have its own data register to read, thus fix the > incorrect data register. > > Fixes: 25518e024e3a ("gpio: Add Spreadtrum EIC driver support") > Cc: > Signed-off-by: Neo Hou > Signed-off-by: Baolin

[PATCH -next v2] binderfs: fix error return code in binderfs_fill_super()

2019-01-16 Thread Wei Yongjun
Fix to return a negative error code -ENOMEM from the new_inode() and d_make_root() error handling cases instead of 0, as done elsewhere in this function. Fixes: 3ad20fe393b3 ("binder: implement binderfs") Signed-off-by: Wei Yongjun --- v1 -> v2: move 'ret = -ENOMEM' out of if ---

Re: [PATCH 0/4] phy: ti: Add AM654 USB2 support

2019-01-16 Thread Kishon Vijay Abraham I
On 09/01/19 2:44 PM, Roger Quadros wrote: > Hi Kishon, > > On 05/12/18 17:03, Roger Quadros wrote: >> Hi Kishon, >> >> This series extends omap-usb2 PHY driver to be used >> for AM654 USB2 PHY. > > Any comments on this series? If it looks fine, could you please > queue this for -next. Thanks.

[PATCH 1/3] drm/qxl: add mode/framebuffer check functions

2019-01-16 Thread Gerd Hoffmann
Add a helper functions to check video modes. Also add a helper to check framebuffer buffer objects, using the former for consistency. That way we should not fail in qxl_primary_atomic_check() because video modes which are too big will not be added to the mode list in the first place.

[PATCH 2/3] drm/qxl: add qxl_add_mode helper function

2019-01-16 Thread Gerd Hoffmann
Add a helper function to add custom video modes to a connector. Signed-off-by: Gerd Hoffmann --- drivers/gpu/drm/qxl/qxl_display.c | 84 +++ 1 file changed, 49 insertions(+), 35 deletions(-) diff --git a/drivers/gpu/drm/qxl/qxl_display.c

Re: [PATCH v4 6/9] drm/bridge: cdns: Separate DSI and D-PHY configuration

2019-01-16 Thread Kishon Vijay Abraham I
Hi Maxime, On 09/01/19 3:03 PM, Maxime Ripard wrote: > The current configuration of the DSI bridge and its associated D-PHY is > intertwined. In order to ease the future conversion to the phy framework > for the D-PHY part, let's split the configuration in two. > > Signed-off-by: Maxime Ripard

[PATCH 3/3] drm/qxl: use kernel mode db

2019-01-16 Thread Gerd Hoffmann
Add all standard modes from the kernel's video mode data base. Keep a few non-standard modes in the qxl mode list. Signed-off-by: Gerd Hoffmann --- drivers/gpu/drm/qxl/qxl_display.c | 27 +++ 1 file changed, 7 insertions(+), 20 deletions(-) diff --git

Re: [PATCH v4 9/9] drm/bridge: cdns: Convert to phy framework

2019-01-16 Thread Kishon Vijay Abraham I
Hi, On 09/01/19 3:03 PM, Maxime Ripard wrote: > Now that we have everything we need in the phy framework to allow to tune > the phy parameters, let's convert the Cadence DSI bridge to that API > instead of creating a ad-hoc driver for its phy. > > Signed-off-by: Maxime Ripard For this too,

Re: [PATCH] arm64: kaslr: Reserve size of ARM64_MEMSTART_ALIGN in linear region

2019-01-16 Thread Yueyi Li
On 2019/1/16 15:51, Ard Biesheuvel wrote: > On Wed, 16 Jan 2019 at 04:37, Yueyi Li wrote: >> OK, thanks. But seems this mail be ignored, do i need re-sent the patch? >> >> On 2018/12/26 21:49, Ard Biesheuvel wrote: >>> On Tue, 25 Dec 2018 at 03:30, Yueyi Li wrote: Hi Ard,

Re: mtd: lpddr: Use struct_size() in kzalloc()

2019-01-16 Thread Boris Brezillon
From: Boris Brezillon On Tue, 2019-01-08 at 21:09:46 UTC, "Gustavo A. R. Silva" wrote: > One of the more common cases of allocation size calculations is finding the > size of a structure that has a zero-sized array at the end, along with memory > for some number of elements for that array. For

Re: mtd: cfi: cmdset_0001: Use struct_size() in kmalloc()

2019-01-16 Thread Boris Brezillon
From: Boris Brezillon On Tue, 2019-01-08 at 15:52:44 UTC, "Gustavo A. R. Silva" wrote: > One of the more common cases of allocation size calculations is finding > the size of a structure that has a zero-sized array at the end, along > with memory for some number of elements for that array. For

Re: mtd: gen_probe: Use struct_size() in kmalloc()

2019-01-16 Thread Boris Brezillon
From: Boris Brezillon On Tue, 2019-01-08 at 15:36:01 UTC, "Gustavo A. R. Silva" wrote: > One of the more common cases of allocation size calculations is finding > the size of a structure that has a zero-sized array at the end, along > with memory for some number of elements for that array. For

Re: [PATCH -next v2] binderfs: fix error return code in binderfs_fill_super()

2019-01-16 Thread Christian Brauner
On Wed, Jan 16, 2019 at 08:34:02AM +, Wei Yongjun wrote: > Fix to return a negative error code -ENOMEM from the new_inode() and > d_make_root() error handling cases instead of 0, as done elsewhere in > this function. > > Fixes: 3ad20fe393b3 ("binder: implement binderfs") This should be:

[PATCH v2] dt-bindings: imx8mq: Number clocks consecutively

2019-01-16 Thread Guido Günther
This fixes a duplicate use of 232 and numbers the clocks without holes. Fixes: 1cf3817bf1f5 ("dt-bindings: Add binding for i.MX8MQ CCM") Signed-off-by: Guido Günther --- include/dt-bindings/clock/imx8mq-clock.h | 26 1 file changed, 13 insertions(+), 13 deletions(-)

[PATCH v2] arm64: defconfig: Add i.MX8MQ boot necessary configs

2019-01-16 Thread Abel Vesa
Enable all the i.MX8MQ configs necessary to boot. Cc: Catalin Marinas Cc: Will Deacon Cc: Shawn Guo Cc: Sascha Hauer Cc: Fabio Estevam Signed-off-by: Abel Vesa [aisheng.d...@nxp.com: add CONFIG_IMX_GPCV2_PM_DOMAINS] Signed-off-by: Dong Aisheng --- Changes since v1: * added the

Re: [PATCH -next v2] binderfs: fix error return code in binderfs_fill_super()

2019-01-16 Thread Christian Brauner
On Wed, Jan 16, 2019 at 09:41:08AM +0100, Christian Brauner wrote: > On Wed, Jan 16, 2019 at 08:34:02AM +, Wei Yongjun wrote: > > Fix to return a negative error code -ENOMEM from the new_inode() and > > d_make_root() error handling cases instead of 0, as done elsewhere in > > this function. >

Re: [PATCH v2] phy: phy-rockchip-inno-usb2: drop reading the utmi-avalid property

2019-01-16 Thread Kishon Vijay Abraham I
Hi, On 10/01/19 5:56 PM, Heiko Stuebner wrote: > Am Mittwoch, 9. Januar 2019, 18:14:15 CET schrieb Enric Balletbo i Serra: >> That property is no used in mainline and is not documented. The only >> board using that property is the rk33-99-evb-rev1 and -rev2 in the >> vendor kernel. The existence

Re: [PATCH] staging: rtl8723bs: Fix build error with Clang when inlining is disabled

2019-01-16 Thread Greg Kroah-Hartman
On Tue, Jan 15, 2019 at 11:53:40PM -0700, Nathan Chancellor wrote: > On Wed, Jan 16, 2019 at 07:42:02AM +0100, Greg Kroah-Hartman wrote: > > On Tue, Jan 15, 2019 at 11:03:02PM -0700, Nathan Chancellor wrote: > > > When CONFIG_NO_AUTO_INLINE was present in linux-next (which added > > >

Re: [PATCH] i2c: imx: defer probing on dma channel request

2019-01-16 Thread Laurentiu Tudor
Hello, On 15.01.2019 23:55, Wolfram Sang wrote: > Hi, > > On Tue, Jan 15, 2019 at 04:03:32PM +0200, Laurentiu Tudor wrote: >> If the dma controller is not yet probed, defer i2c probe. >> The error path in probe was slightly modified (no functional change) >> to avoid triggering this WARN_ON():

Re: [PATCH v2 3/6] phy: qcom-qusb2: Add QUSB2 PHY support for msm8998

2019-01-16 Thread Kishon Vijay Abraham I
On 15/01/19 11:41 PM, Bjorn Andersson wrote: > On Mon 14 Jan 08:36 PST 2019, Jeffrey Hugo wrote: > >> MSM8998 contains one QUSB2 PHY which is very similar to the existing >> sdm845 support. >> > I don't seem to have the dt-binding patch in my inbox. Can you send them as well? Thanks Kishon

Re: [PATCH v5 0/7] mfd / platform: cros_ec: move cros_ec sysfs attributes to its own drivers.

2019-01-16 Thread Lee Jones
On Wed, 12 Dec 2018, Enric Balletbo i Serra wrote: > Hi, > > This is another patchset to try to cleanup a bit more the crossed > references for cros-ec driver between the MFD and the platform/chrome > subsystems. > > The purpose of these patches is get rid of the different cros-ec attributes >

Re: [PATCH] atm: he: fix sign-extension overflow on large shift

2019-01-16 Thread Dan Carpenter
On Tue, Jan 15, 2019 at 06:03:38PM +, Colin King wrote: > From: Colin Ian King > > Shifting the 1 by exp by an int can lead to sign-extension overlow when > exp is 31 since 1 is an signed int and sign-extending this result to an > unsigned long long will set the upper 32 bits. Fix this by

[BUG bisect] kernel BUG at block/bio.c:1833 and fail to mount disk

2019-01-16 Thread Krzysztof Kozlowski
Hi, On today's next-20190116 I see a bug during boot: [ 6.843308] kernel BUG at ../block/bio.c:1833! [ 6.847723] Internal error: Oops - BUG: 0 [#1] PREEMPT SMP ARM ... [ 7.543824] [] (bio_split) from [<>] ( (null)) [ 7.549881] Code: 13833b01 11c630bc e1a6 e8bd8070 (e7

Re: [PATCH v1 5/8] scsi: ufs: qcom: Expose the reset controller for PHY

2019-01-16 Thread Kishon Vijay Abraham I
On 12/01/19 4:31 AM, Evan Green wrote: > Expose a reset controller that the phy can use to perform its > initialization in a single callback. > > Also, change the use of the phy functions from ufs-qcom such that > phy_poweron actually fires up the phy, and phy_poweroff actually > powers it

Re: [BUG bisect] kernel BUG at block/bio.c:1833 and fail to mount disk

2019-01-16 Thread Krzysztof Kozlowski
On Wed, 16 Jan 2019 at 09:52, Krzysztof Kozlowski wrote: > > Hi, > > On today's next-20190116 I see a bug during boot: > [ 6.843308] kernel BUG at ../block/bio.c:1833! > [ 6.847723] Internal error: Oops - BUG: 0 [#1] PREEMPT SMP ARM > ... > [ 7.543824] [] (bio_split) f

[PATCH net V4] vhost: log dirty page correctly

2019-01-16 Thread Jason Wang
Vhost dirty page logging API is designed to sync through GPA. But we try to log GIOVA when device IOTLB is enabled. This is wrong and may lead to missing data after migration. To solve this issue, when logging with device IOTLB enabled, we will: 1) reuse the device IOTLB translation result of

Re: [PATCH v4] irqchip/mmp: only touch the PJ4 & FIQ bits on enable/disable

2019-01-16 Thread Lubomir Rintel
On Tue, 2019-01-15 at 11:22 +0100, Thomas Gleixner wrote: > On Thu, 20 Dec 2018, Lubomir Rintel wrote: > > > On an OLPC XO 1.75 machine, the "security processor" handles the GPIO 71 > > and 72 interrupts. Don't reset the "route to SP" bit (4). > > > > I'm just assuming the bit 4 is the "route to

Re: [PATCH -next] binderfs: fix error return code in binderfs_fill_super()

2019-01-16 Thread Dan Carpenter
On Wed, Jan 16, 2019 at 07:25:47AM +0100, Christian Brauner wrote: > On Wed, Jan 16, 2019 at 03:01:04AM +, Wei Yongjun wrote: > > Fix to return a negative error code -ENOMEM from the new_inode() and > > d_make_root() error handling cases instead of 0, as done elsewhere in > > this function. >

Re: [PATCH v2 1/6] dt-bindings: phy-qcom: Add support for msm8998 usb

2019-01-16 Thread Kishon Vijay Abraham I
On 15/01/19 11:38 PM, Bjorn Andersson wrote: > On Mon 14 Jan 08:36 PST 2019, Jeffrey Hugo wrote: > >> USB on msm8998 utilizes the QUSB2 and QMP phys, similar to sdm845. >> >> Signed-off-by: Jeffrey Hugo >> --- >> Documentation/devicetree/bindings/phy/qcom-qmp-phy.txt | 5 + >>

Re: [PATCH v2 3/6] phy: qcom-qusb2: Add QUSB2 PHY support for msm8998

2019-01-16 Thread Kishon Vijay Abraham I
Hi, On 16/01/19 2:20 PM, Kishon Vijay Abraham I wrote: > > > On 15/01/19 11:41 PM, Bjorn Andersson wrote: >> On Mon 14 Jan 08:36 PST 2019, Jeffrey Hugo wrote: >> >>> MSM8998 contains one QUSB2 PHY which is very similar to the existing >>> sdm845 support. >>> >> > I don't seem to have the

[PATCH 3/5] staging: erofs: decrease the shrink count in erofs_workgroup_get

2019-01-16 Thread Gao Xiang
It is more suitable to update in erofs_workgroup_get since it's actually the one matched with erofs_workgroup_put. Signed-off-by: Gao Xiang --- drivers/staging/erofs/utils.c | 17 +++-- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/drivers/staging/erofs/utils.c

[PATCH 1/5] staging: erofs: sunset erofs_workstation_cleanup_all

2019-01-16 Thread Gao Xiang
There is only one user calling erofs_workstation_cleanup_all, and it is no likely that more users will use in that way in the future. Signed-off-by: Gao Xiang --- Hi, These 5 patches are all cleanup patches, no logic change. Thanks, Gao Xiang drivers/staging/erofs/internal.h | 5 -

[PATCH 4/5] staging: erofs: staticize erofs_shrink_count, erofs_shrink_scan

2019-01-16 Thread Gao Xiang
Move erofs_shrinker_info to utils.c and therefore no need to globalize erofs_shrink_count and erofs_shrink_scan. Signed-off-by: Gao Xiang --- drivers/staging/erofs/internal.h | 5 + drivers/staging/erofs/super.c| 6 -- drivers/staging/erofs/utils.c| 14 ++ 3 files

[PATCH 2/5] staging: erofs: localize erofs_workgroup_get

2019-01-16 Thread Gao Xiang
Staticize erofs_workgroup_get since no external user out of utils.c directly calls erofs_workgroup_get. Signed-off-by: Gao Xiang --- drivers/staging/erofs/internal.h | 21 - drivers/staging/erofs/utils.c| 19 +++ 2 files changed, 19 insertions(+), 21

[PATCH 5/5] staging: erofs: drop the extern prefix for function definitions

2019-01-16 Thread Gao Xiang
Fix all `CHECK: extern prototypes should be avoided in .h files' reported by checkpatch.pl. Signed-off-by: Gao Xiang --- drivers/staging/erofs/internal.h | 47 +-- drivers/staging/erofs/unzip_vle.h | 24 ++-- 2 files changed, 33

Re: [PATCHv2 1/6] mfd: altera-sysmgr: Add SOCFPGA System Manager

2019-01-16 Thread Arnd Bergmann
On Fri, Dec 21, 2018 at 1:21 AM wrote: > > From: Thor Thayer > > The SOCFPGA System Manager register block aggregates different > peripheral functions into one area. > On 32 bit ARM parts, handle in the same way as syscon. > On 64 bit ARM parts, the System Manager can only be accessed by > EL3

Re: [PATCH v10 00/27] PM / Domains: Support hierarchical CPU arrangement (PSCI/ARM)

2019-01-16 Thread Ulf Hansson
On Thu, 3 Jan 2019 at 13:06, Sudeep Holla wrote: > > On Thu, Nov 29, 2018 at 06:46:33PM +0100, Ulf Hansson wrote: > > Over the years this series have been iterated and discussed at various Linux > > conferences and LKML. In this new v10, a quite significant amount of changes > > have been made to

Re: [PATCH v1] phy: qcom-ufs: Use iopoll.h readl_poll_timeout macro

2019-01-16 Thread Marc Gonzalez
On 28/12/2018 17:05, Andy Gross wrote: > On Fri, Dec 21, 2018 at 11:13:18AM +0100, Marc Gonzalez wrote: > >> The private copy of readl_poll_timeout is no longer needed. >> Use the implementation in iopoll.h instead. >> >> Signed-off-by: Marc Gonzalez > > Reviewed-by: Andy Gross Would this

Re: [PATCH v2] dt-bindings: imx8mq: Number clocks consecutively

2019-01-16 Thread Lucas Stach
Am Mittwoch, den 16.01.2019, 09:41 +0100 schrieb Guido Günther: > This fixes a duplicate use of 232 and numbers the clocks without holes. > > Fixes: 1cf3817bf1f5 ("dt-bindings: Add binding for i.MX8MQ CCM") > > Signed-off-by: Guido Günther I agree that this should be applied as a fix for

[PATCH v4 0/4] Reduce NUMA related overhead in perf record profiling on large server systems

2019-01-16 Thread Alexey Budankov
It has been observed that trace reading thread runs on the same hw thread most of the time during perf record sampling collection. This scheduling layout leads up to 30% profiling overhead in case when some cpu intensive workload fully utilizes a large server system with NUMA. Overhead usually

Re: [PATCH 1/5] staging: erofs: sunset erofs_workstation_cleanup_all

2019-01-16 Thread Chao Yu
On 2019/1/16 16:59, Gao Xiang wrote: > There is only one user calling erofs_workstation_cleanup_all, > and it is no likely that more users will use in that way > in the future. > > Signed-off-by: Gao Xiang Reviewed-by: Chao Yu Thanks,

Re: [PATCH 02/17] clocksource: davinci-timer: new driver

2019-01-16 Thread Sekhar Nori
On 14/01/19 10:09 PM, Bartosz Golaszewski wrote: > pon., 14 sty 2019 o 13:20 Sekhar Nori napisał(a): >> >> Hi Bartosz, >> >> On 11/01/19 10:51 PM, Bartosz Golaszewski wrote: >>> From: Bartosz Golaszewski >>> >>> Currently the clocksource and clockevent support for davinci platforms >>> lives in

Re: [PATCH 2/5] staging: erofs: localize erofs_workgroup_get

2019-01-16 Thread Chao Yu
On 2019/1/16 16:59, Gao Xiang wrote: > Staticize erofs_workgroup_get since no external user > out of utils.c directly calls erofs_workgroup_get. > > Signed-off-by: Gao Xiang Reviewed-by: Chao Yu Thanks,

[PATCH v4 2/4] perf record: bind the AIO user space buffers to nodes

2019-01-16 Thread Alexey Budankov
Allocate and bind AIO user space buffers to the memory nodes that mmap kernel buffers are bound to. Signed-off-by: Alexey Budankov --- Changes in v4: - fixed compilation issue converting pr_warn() to pr_warning() - implemented stop if mbind() fails Changes in v3: - corrected code style issues

Re: [PATCH 1/2] pwm: sifive: Add DT documentation for SiFive PWM Controller

2019-01-16 Thread Yash Shah
On Wed, Jan 16, 2019 at 1:41 AM Uwe Kleine-König wrote: > > Hello, > > this is v3, right? It is helpful to point this out to ease reviewing. Yes, it is v3. Will take care of this in v4. > > On Fri, Jan 11, 2019 at 01:52:43PM +0530, Yash Shah wrote: > > DT documentation for PWM controller added

[PATCH v4 3/4] perf record: apply affinity masks when reading mmap buffers

2019-01-16 Thread Alexey Budankov
Build node cpu masks for mmap data buffers. Apply node cpu masks to tool thread every time it references data buffers cross node or cross cpu. Signed-off-by: Alexey Budankov --- Changes in v4: - corrected mmap_params->cpu_map initialization to be based on /sys/devices/system/cpu/online -

[PATCH v4 4/4] perf record: implement --affinity=node|cpu option

2019-01-16 Thread Alexey Budankov
Implement --affinity=node|cpu option for the record mode defaulting to system affinity mask bouncing. Signed-off-by: Alexey Budankov --- changes in v3: - adjusted indentation at record__parse_affinity() --- tools/perf/Documentation/perf-record.txt | 5 + tools/perf/builtin-record.c

Re: [PATCH 4.9 00/16] 4.9.151-stable review

2019-01-16 Thread Jon Hunter
On 15/01/2019 16:35, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.9.151 release. > There are 16 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

[PATCH v4 1/4] perf record: allocate affinity masks

2019-01-16 Thread Alexey Budankov
Allocate affinity option and masks for mmap data buffers and record thread as well as initialize allocated objects. Signed-off-by: Alexey Budankov --- Changes in v3: - converted PERF_AFFINITY_EOF to PERF_AFFINITY_MAX Changes in v2: - made debug affinity mode message user friendly - converted

Re: [PATCH 4.14 00/27] 4.14.94-stable review

2019-01-16 Thread Jon Hunter
On 15/01/2019 16:35, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.14.94 release. > There are 27 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

Re: [PATCH v1] phy: qcom-ufs: Use iopoll.h readl_poll_timeout macro

2019-01-16 Thread Kishon Vijay Abraham I
Hi, On 16/01/19 2:40 PM, Marc Gonzalez wrote: > On 28/12/2018 17:05, Andy Gross wrote: > >> On Fri, Dec 21, 2018 at 11:13:18AM +0100, Marc Gonzalez wrote: >> >>> The private copy of readl_poll_timeout is no longer needed. >>> Use the implementation in iopoll.h instead. >>> >>> Signed-off-by:

Re: [Spice-devel] [PATCH 1/3] drm/qxl: add mode/framebuffer check functions

2019-01-16 Thread Frediano Ziglio
> > Add a helper functions to check video modes. Also add a helper to check > framebuffer buffer objects, using the former for consistency. That way > we should not fail in qxl_primary_atomic_check() because video modes > which are too big will not be added to the mode list in the first place.

Re: [PATCH] genirq/affinity: Assign default affinity to pre/post vectors

2019-01-16 Thread Thomas Gleixner
Chen, On Wed, 16 Jan 2019, 陈华才 wrote: please do not top-post and use line breaks around 78 char. > I'm not removing all return NULL of irq_create_affinity_masks(), so the .. Moved content to the place where it belongs so the context is preserved. > -- Original

RE: [PATCH] arm64: dts: imx: Fix MU4_INT number

2019-01-16 Thread Aisheng Dong
> From: Daniel Baluta > Sent: Wednesday, January 16, 2019 1:05 AM > Subject: [PATCH] arm64: dts: imx: Fix MU4_INT number > > MU4_INT correct number is 180, while 179 is for MU3_INT. > > Signed-off-by: Daniel Baluta Reviewed-by: Dong Aisheng Regards Dong Aisheng

Re: [PATCH 3/5] staging: erofs: decrease the shrink count in erofs_workgroup_get

2019-01-16 Thread Chao Yu
On 2019/1/16 16:59, Gao Xiang wrote: > It is more suitable to update in erofs_workgroup_get since > it's actually the one matched with erofs_workgroup_put. > > Signed-off-by: Gao Xiang Reviewed-by: Chao Yu Thanks,

Re: [PATCH 4/5] staging: erofs: staticize erofs_shrink_count, erofs_shrink_scan

2019-01-16 Thread Chao Yu
On 2019/1/16 16:59, Gao Xiang wrote: > Move erofs_shrinker_info to utils.c and therefore > no need to globalize erofs_shrink_count and erofs_shrink_scan. > > Signed-off-by: Gao Xiang Reviewed-by: Chao Yu Thanks,

Re: [PATCH 5/5] staging: erofs: drop the extern prefix for function definitions

2019-01-16 Thread Chao Yu
On 2019/1/16 16:59, Gao Xiang wrote: > Fix all `CHECK: extern prototypes should be avoided in .h files' > reported by checkpatch.pl. > > Signed-off-by: Gao Xiang Reviewed-by: Chao Yu Thanks,

[PATCH 1/2] gpio: pca953x: reduce indentation level in pca953x_irq_setup()

2019-01-16 Thread Thomas Petazzoni
The current design of pca953x_irq_setup() is: if (all conditions to support IRQ are met) { lots of code to support IRQs, which goes to a serious indentation level. } return 0; It makes more sense to handle this like this: if (!all conditions to support IRQ are met) return 0;

[PATCH 2/2] gpio: pca953x: use a per instance irq_chip structure

2019-01-16 Thread Thomas Petazzoni
When a system has two PCA953x GPIO expanders, the kernel complains with: gpio gpiochip2: (0-0021): detected irqchip that is shared with multiple gpiochips: please fix the driver. Indeed, there is a single instance of "struct irq_chip" that gets re-used for both PCA953x instance. This commit

Re: [PATCH v1] iommu/s390: Declare s390 iommu reserved regions

2019-01-16 Thread Pierre Morel
On 15/01/2019 20:33, Gerald Schaefer wrote: On Tue, 15 Jan 2019 18:37:30 +0100 Pierre Morel wrote: The s390 iommu can only allow DMA transactions between the zPCI device entries start_dma and end_dma. Let's declare the regions before start_dma and after end_dma as reserved regions using the

[PATCH] clk: mmp2: avoid disabling the SP clock when unused

2019-01-16 Thread Lubomir Rintel
There could be vital functionality running on the SP PJ1 core it can not be restarted just by turning the clock back on. On the OLPC laptop, the keyboard controller code runs there. It wouldn't be possible to load the driver for it as a module if the clock is disabled on boot. Cc:

Re: [PATCH v7 4/4] Bluetooth: btqca: inject command complete event during fw download

2019-01-16 Thread Balakrishna Godavarthi
On 2019-01-15 06:50, Matthias Kaehlcke wrote: On Mon, Jan 14, 2019 at 09:21:25PM +0530, Balakrishna Godavarthi wrote: On 2019-01-12 04:42, Matthias Kaehlcke wrote: > On Fri, Jan 11, 2019 at 07:53:43PM +0530, Balakrishna Godavarthi wrote: > > Hi Matthias, > > > > On 2019-01-11 02:13, Matthias

Re: [PATCH] PCI: fix using __initdata memory after free in disable_acs_redir parameter

2019-01-16 Thread Jarkko Nikula
Hi On 1/15/19 7:32 PM, Logan Gunthorpe wrote: The disable_acs_redir parameter stores a pointer to the string passed to pci_setup(). However, the string passed to PCI setup is actually a temporary copy allocated in static __initdata memory. After init, once the memory is freed, it is no longer

Re: [PATCH v2 4/4] usb: musb: Add support for MediaTek musb controller

2019-01-16 Thread Min Guo
Hi Bin, On Tue, 2019-01-15 at 14:38 -0600, Bin Liu wrote: > Hi Min, > > very close, thanks. > Below I tried to explain a further cleanup in musb_clearb/w() and > musb_get/set_toggle() implementation. Please let me know if it is not > clear. > > Basically, we don't need musb_default_clearb/w(),

[PATCH v3] arm64: defconfig: Add i.MX8MQ boot necessary configs

2019-01-16 Thread Abel Vesa
Enable all the i.MX8MQ configs necessary to boot. Cc: Catalin Marinas Cc: Will Deacon Cc: Shawn Guo Cc: Sascha Hauer Cc: Fabio Estevam Signed-off-by: Abel Vesa --- Changes since v2: * run savedefconfig to order the newly added configs arch/arm64/configs/defconfig | 5 + 1 file

Re: [PATCH 06/25] mm, compaction: Skip pageblocks with reserved pages

2019-01-16 Thread Mel Gorman
On Tue, Jan 15, 2019 at 12:50:45PM +, Mel Gorman wrote: > > AFAICS memory allocator is not the only user of PageReserved. There > > seems to be some drivers as well, notably the DRM subsystem via > > drm_pci_alloc(). There's an effort to clean those up [1] but until then, > > there might be

[PATCH v8 0/3] sched/fair: update scale invariance of PELT

2019-01-16 Thread Vincent Guittot
This new version of the scale invariance patchset adds an important change compare to v3 and before. It still scales the time to reflect the amount of work that has been done during the elapsed running time but this is now done at rq level instead of per entity and rt/dl/cfs_rq. The main advantage

[PATCH v8 1/3] sched/fair: move rq_of helper function

2019-01-16 Thread Vincent Guittot
Move rq_of() helper function so it can be used in pelt.c Signed-off-by: Vincent Guittot --- kernel/sched/fair.c | 13 - kernel/sched/sched.h | 16 2 files changed, 16 insertions(+), 13 deletions(-) diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c index

[PATCH v8 3/3] sched/pelt: skip updating util_est when utilization is higher than cpu's capacity

2019-01-16 Thread Vincent Guittot
util_est is mainly meant to be a lower-bound for tasks utilization. That's why task_util_est() returns the actual util_avg when it's higher than the estimated utilization. With new invaraince signal and without any special check on samples collection, if a task is limited because of thermal

[PATCH] mm: hwpoison: use do_send_sig_info() instead of force_sig() (Re: PMEM error-handling forces SIGKILL causes kernel panic)

2019-01-16 Thread Naoya Horiguchi
[ CCed Andrew and linux-mm ] On Fri, Jan 11, 2019 at 08:14:02AM +, Horiguchi Naoya(堀口 直也) wrote: > Hi Dan, Jane, > > Thanks for the report. > > On Wed, Jan 09, 2019 at 03:49:32PM -0800, Dan Williams wrote: > > [ switch to text mail, add lkml and Naoya ] > > > > On Wed, Jan 9, 2019 at 12:19

Re: question about head_64.S

2019-01-16 Thread Cao jin
On 1/15/19 11:55 PM, Thomas Gleixner wrote: > On Tue, 15 Jan 2019, Cao jin wrote: > >> Hi, >> I have been digging into this file for a while, and I still have 2 >> questions unclear, hope to get your help. >> >> 1. >> At the entry of startup_64, we set all the data segment registers to 0, >>

[PATCH v8 2/3] sched/fair: update scale invariance of PELT

2019-01-16 Thread Vincent Guittot
The current implementation of load tracking invariance scales the contribution with current frequency and uarch performance (only for utilization) of the CPU. One main result of this formula is that the figures are capped by current capacity of CPU. Another one is that the load_avg is not

Re: [PATCH] arm64: dts: sdm845: add video nodes

2019-01-16 Thread Stanimir Varbanov
Hi Alex, On 11/27/18 10:24 AM, Stanimir Varbanov wrote: > Hi Alex, > > On 11/27/18 9:31 AM, Alexandre Courbot wrote: >> On Tue, Nov 20, 2018 at 7:08 PM Malathi Gottam >> wrote: >>> >>> This adds video nodes to sdm845 based on the examples >>> in the bindings. >>> >>> Signed-off-by: Malathi

[PATCH] Input: olpc_apsp - assign priv->dev earlier

2019-01-16 Thread Lubomir Rintel
The dev field needs to be set when serio_register_port() is called, because the open callback may use it (in the error handling path). Cc: sta...@vger.kernel.org # v4.18+ Fixes: commit af518342effd ("Input: olpc_apsp - check FIFO status on open(), not probe()") Signed-off-by: Lubomir Rintel ---

Re: [PATCH v3 1/5] misc: dt-bindings: Add Qualcomm Fastrpc bindings

2019-01-16 Thread Srinivas Kandagatla
Thanks for the review! On 15/01/2019 20:22, Rob Herring wrote: On Mon, Jan 14, 2019 at 07:41:08PM +, Srinivas Kandagatla wrote: The FastRPC driver implements an IPC (Inter-Processor Communication) mechanism that allows for clients to transparently make remote method invocations across DSP

Re: [PATCH v2 2/2] x86, kexec_file_load: make it work with efi=noruntime or efi=old_map

2019-01-16 Thread Borislav Petkov
On Wed, Jan 16, 2019 at 03:08:42PM +0800, Kairui Song wrote: > I didn't see a way to reuse things in that patch series, situation is > different, in that patch it needs to get RSDP in very early boot stage > so it did everything from scratch, in this patch kexec_file_load need > to get RSDP too,

Re: [PATCH 09/25] mm, compaction: Use the page allocator bulk-free helper for lists of pages

2019-01-16 Thread Mel Gorman
On Tue, Jan 15, 2019 at 01:39:28PM +0100, Vlastimil Babka wrote: > On 1/4/19 1:49 PM, Mel Gorman wrote: > > release_pages() is a simpler version of free_unref_page_list() but it > > tracks the highest PFN for caching the restart point of the compaction > > free scanner. This patch optionally

[PATCH] tracing/uprobes: Fix output for multiple string arguments

2019-01-16 Thread Andreas Ziegler
When printing multiple uprobe arguments as strings the output for the earlier arguments would also include all later string arguments. This is best explained in an example: Consider adding a uprobe to a function receiving two strings as parameters which is at offset 0xa0 in strlib.so and we want

[PATCH] net: phy: mdio_bus: add missing device_del() in mdiobus_register() error handling

2019-01-16 Thread Thomas Petazzoni
The current code in __mdiobus_register() doesn't properly handle failures returned by the devm_gpiod_get_optional() call: it returns immediately, without unregistering the device that was added by the call to device_register() earlier in the function. This leaves a stale device, which then causes

[PATCH 0/8] ARM: at91/dt: update to existing drivers for the sam9x60 SoC

2019-01-16 Thread Nicolas Ferre
Hi, This serries collects some little modifications to DT bindings and associated drivers changes for supporting the upcoming SAM9X60 SoC. I took the advantage of this series for fixing some of the leftovers in DT bindings for reset controller and Ethernet macb. These changes touch several

[PATCH 5/8] net/macb: bindings doc: add sam9x60 binding

2019-01-16 Thread Nicolas Ferre
Add the compatibility sting documentation for sam9x60 10/100 interface. Signed-off-by: Nicolas Ferre --- Documentation/devicetree/bindings/net/macb.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/net/macb.txt

Re: [PATCH v6] arm64: implement ftrace with regs

2019-01-16 Thread Julien Thierry
Hi Torsten, On 04/01/2019 14:10, Torsten Duwe wrote: > Use -fpatchable-function-entry (gcc8) to add 2 NOPs at the beginning > of each function. Replace the first NOP thus generated with a quick LR > saver (move it to scratch reg x9), so the 2nd replacement insn, the call > to ftrace, does not

[PATCH 8/8] net: macb: add sam9x60-macb compatibility string

2019-01-16 Thread Nicolas Ferre
Add a new compatibility string for this product. It's using at91sam9260-macb layout but has a newer hardware revision: it's safer to use its own string. Signed-off-by: Nicolas Ferre --- drivers/net/ethernet/cadence/macb_main.c | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH 4/8] net/macb: bindings doc/trivial: fix documentation for sama5d3 10/100 interface

2019-01-16 Thread Nicolas Ferre
This removes a line left while adding the correct compatibility string for sama5d3 10/100 interface. Now use the "atmel,sama5d3-macb" string. Signed-off-by: Nicolas Ferre --- Documentation/devicetree/bindings/net/macb.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git

[PATCH 2/8] dt-bindings: arm: atmel: add new sam9x60 reset controller binding

2019-01-16 Thread Nicolas Ferre
Update the Reset Controller's binding to add new SoC compatibility string. Signed-off-by: Nicolas Ferre --- Documentation/devicetree/bindings/arm/atmel-sysregs.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/arm/atmel-sysregs.txt

[PATCH 7/8] USB: host: ohci-at91: add sam9x60-sfr definition for ohci

2019-01-16 Thread Nicolas Ferre
Add this SFR compatible definition for the sam9x60 SoC and manage its use in ohci-at91.c driver. Signed-off-by: Nicolas Ferre --- drivers/usb/host/ohci-at91.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/usb/host/ohci-at91.c b/drivers/usb/host/ohci-at91.c

[PATCH 6/8] power: reset: at91-reset: add support for sam9x60 SoC

2019-01-16 Thread Nicolas Ferre
Add support for additional reset causes and the proper compatibility string for sam9x60 SoC. The restart function is the same as the samx7. Signed-off-by: Nicolas Ferre --- drivers/power/reset/at91-reset.c | 13 + 1 file changed, 13 insertions(+) diff --git

[PATCH 3/8] dt-bindings: arm: atmel: add new sam9x60 SFR binding

2019-01-16 Thread Nicolas Ferre
Add this SFR compatible definition for the sam9x60 SoC. Will be needed in OHCI driver: ohci-at91.c. Signed-off-by: Nicolas Ferre --- Documentation/devicetree/bindings/arm/atmel-sysregs.txt | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH 1/8] dt-bindings: arm: atmel: add missing samx7 to reset controller

2019-01-16 Thread Nicolas Ferre
Add this missing compatibility string to the Reset Controller compatible string chip list. Signed-off-by: Nicolas Ferre --- Documentation/devicetree/bindings/arm/atmel-sysregs.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: uprobes: bug in comm/string output?

2019-01-16 Thread Masami Hiramatsu
On Tue, 15 Jan 2019 14:36:48 +0100 Andreas Ziegler wrote: > Hi again, > > On 1/14/19 1:38 PM, Andreas Ziegler wrote: > > Hi, > > > > I've been playing around with uprobes today and found the following weird > > behaviour/output when using more than one string argument (or using the > > $comm

RE: [PATCH 1/3] arm64: dts: add dpaa2-console node for DPAA2 platforms

2019-01-16 Thread Ioana Ciornei
> Subject: Re: [PATCH 1/3] arm64: dts: add dpaa2-console node for DPAA2 > platforms > > On Fri, Dec 21, 2018 at 03:31:09PM +, Ioana Ciornei wrote: > > Add the dpaa2-console device tree node for the following > > DPAA2 based platforms: LS1088A, LS2080A and LS2088A. > > > > Signed-off-by: Ioana

RE: [PATCH v3] arm64: defconfig: Add i.MX8MQ boot necessary configs

2019-01-16 Thread Aisheng Dong
> From: Abel Vesa > Sent: Wednesday, January 16, 2019 5:42 PM > Subject: [PATCH v3] arm64: defconfig: Add i.MX8MQ boot necessary configs > > Enable all the i.MX8MQ configs necessary to boot. > > Cc: Catalin Marinas > Cc: Will Deacon > Cc: Shawn Guo > Cc: Sascha Hauer > Cc: Fabio Estevam >

  1   2   3   4   5   6   7   8   9   10   >