Re: [PATCH] drm/bochs: add edid present check

2018-12-19 Thread Gerd Hoffmann
Hi, > You could probably have a comment here explaining the magic below > (just like in the commit message to ease the task of understanding > while reading the code why 2 of 8 bytes of the EDID header is checked > and why it is all needed). Of course one can use git blame... Up to you Makes se

Re: [PATCH v6 04/13] arm64/kvm: hide ptrauth from guests

2018-12-19 Thread Peter Maydell
On Mon, 10 Dec 2018 at 20:22, Richard Henderson wrote: > > On 12/10/18 2:12 PM, Kristina Martsenko wrote: > > The plan was to disable trapping, yes. However, after that thread there > > was a retrospective change applied to the architecture, such that the > > XPACLRI (and XPACD/XPACI) instructions

Re: [PATCH 3/3] arm64/sve: Disentangle from

2018-12-19 Thread Dave Martin
On Wed, Dec 19, 2018 at 03:11:52PM +, Szabolcs Nagy wrote: > On 18/12/2018 12:14, Dave Martin wrote: > > On Sat, Dec 15, 2018 at 05:20:29PM +0800, kbuild test robot wrote: [...] > ./usr/include/asm/sve_context.h:30: found __[us]{8,16,32,64} type > without #include > > > > Since t

Re: [PATCH] sysfs: Disable lockdep for driver bind/unbind files

2018-12-19 Thread Daniel Vetter
On Wed, Dec 19, 2018 at 03:21:56PM +0100, Rafael J. Wysocki wrote: > On Wed, Dec 19, 2018 at 1:39 PM Daniel Vetter wrote: > > > > This is the much more correct fix for my earlier attempt at: > > > > https://lkml.org/lkml/2018/12/10/118 > > > > Short recap: > > > > - There's not actually a locking

Re: [RFC v3 1/3] PM/runtime: Add a new interface to get accounted time

2018-12-19 Thread Vincent Guittot
On Wed, 19 Dec 2018 at 10:58, Ulf Hansson wrote: > > On Tue, 18 Dec 2018 at 15:55, Vincent Guittot > wrote: > > > > Some drivers (like i915/drm) need to get the accounted suspended time. > > pm_runtime_accounted_time_get() will return the suspended or active > > accounted time until now. > > I su

Re: [PATCH 3/3] arm64/sve: Disentangle from

2018-12-19 Thread Szabolcs Nagy
On 19/12/2018 15:23, Dave Martin wrote: > On Wed, Dec 19, 2018 at 03:11:52PM +, Szabolcs Nagy wrote: >> On 18/12/2018 12:14, Dave Martin wrote: >>> On Sat, Dec 15, 2018 at 05:20:29PM +0800, kbuild test robot wrote: > > [...] > >> ./usr/include/asm/sve_context.h:30: found __[us]{8,16,32,64

Re: [PATCH v2 03/12] PCI: aardvark: Add PHY support

2018-12-19 Thread Marek Behún
Hi, One thing for which I would like to be able to disable comphy is that each consumes about 100mW of power. On Turris Mox we configure the comphys to SGMII1, PCIe and USB3 modes. If there is no USB device plugged, the USB3 phy can be disabled, and save 100mW of power. If the PCIe extension modul

[PATCH] drm/nouveau/pmu: don't print reply values if exec is false

2018-12-19 Thread Colin King
From: Colin Ian King Currently the uninitialized values in the array reply are printed out when exec is false and nvkm_pmu_send has not updated the array. Avoid confusion by only dumping out these values if they have been actually updated. Detected by CoverityScan, CID#1271291 ("Uninitialized sc

Re: [PATCH v2 1/3] sched/fair: fix rounding issue for asym packing

2018-12-19 Thread Valentin Schneider
On 19/12/2018 15:20, Vincent Guittot wrote: [...] >> Oh yes, I never said it didn't work - I was doing some investigation on >> the reason as to why we'd need this fix, because it's wasn't explicit from >> the commit message. >> >> The rounding errors are countered by the +1, yes, but I'd rather re

Re: [PATCH v2] kmemleak: Turn kmemleak_lock to raw spinlock on RT

2018-12-19 Thread Sebastian Andrzej Siewior
On 2018-12-18 15:07:45 [+], Catalin Marinas wrote: … > It may be worth running some performance/latency tests during kmemleak > scanning (echo scan > /sys/kernel/debug/kmemleak) but at a quick look, > I don't think we'd see any difference with a raw_spin_lock_t. > > With a bit more thinking (t

Re: [PATCH 03/14] drm/bochs: atomic: add atomic_flush+atomic_enable callbacks.

2018-12-19 Thread Oleksandr Andrushchenko
Hi, Gerd! On 12/19/18 1:51 PM, Gerd Hoffmann wrote: Conversion to atomic modesetting, step one. Add atomic crtc helper callbacks. Signed-off-by: Gerd Hoffmann --- drivers/gpu/drm/bochs/bochs_kms.c | 25 + 1 file changed, 25 insertions(+) diff --git a/drivers/gpu/drm

Re: [PATCH v1 1/3] mailbox: Add support for Armada 37xx rWTM mailbox

2018-12-19 Thread Marek Behún
I forgot to git add the header file containing definitions of structures for messages :(. Will send in the next version. On Mon, 17 Dec 2018 16:37:04 +0100 Marek Behún wrote: > This adds support for the mailbox via which the kernel can communicate > with the firmware running on the secure proces

Re: /proc/modules not showing any output

2018-12-19 Thread Praveen Kumar
On Wed, Dec 19, 2018 at 8:36 PM Greg KH wrote: > > On Wed, Dec 19, 2018 at 06:52:39PM +0530, Praveen Kumar wrote: > > Hi All, > > > > Compiled the vanila kernel 4.20.0-rc6 build, and was trying to get > > module information, but /proc/modules is not showing any output ( both > > on arm64 and x86_6

Re: A weird problem of Realtek r8168 after resume from S3

2018-12-19 Thread Chris Chiu
On Wed, Dec 19, 2018 at 4:28 AM Heiner Kallweit wrote: > > On 18.12.2018 14:25, Chris Chiu wrote: > > On Tue, Dec 18, 2018 at 3:08 AM Heiner Kallweit > > wrote: > >> > >> On 17.12.2018 14:25, Chris Chiu wrote: > >>> On Fri, Dec 14, 2018 at 3:37 PM Heiner Kallweit > >>> wrote: > > On

Re: [PATCH 05/41] scsi: aic7xxx: aic79xx: mark expected switch fall-through

2018-12-19 Thread Gustavo A. R. Silva
Hi, Friendly ping: Who can ack or review this patch, please? Thanks -- Gustavo On 11/27/18 10:26 PM, Gustavo A. R. Silva wrote: In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. Notice that, in some cases, I replaced "FALLTHROUGH" wi

Re: [PATCH 3/7] tracing: Use var_refs[] for hist trigger reference checking

2018-12-19 Thread Steven Rostedt
On Wed, 19 Dec 2018 09:01:43 -0600 Tom Zanussi wrote: > > > + if (hist_field && hist_field->var.idx == var_idx && > > > + hist_field->var.hist_data == var_data) > > > + found = hist_field; > > > > > > return found; > > > > It seems we don't need "found" var here. Just return hi

Re: [PATCH 06/41] scsi: aic7xxx: mark expected switch fall-throughs

2018-12-19 Thread Gustavo A. R. Silva
Hi, Friendly ping: Who can ack or review this patch, please? Thanks -- Gustavo On 11/27/18 10:26 PM, Gustavo A. R. Silva wrote: In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. Notice that, in some cases, I replaced "FALLTHROUGH" wi

Re: [PATCH] drm/bochs: add edid present check

2018-12-19 Thread Oleksandr Andrushchenko
On 12/19/18 5:21 PM, Gerd Hoffmann wrote: Hi, You could probably have a comment here explaining the magic below (just like in the commit message to ease the task of understanding while reading the code why 2 of 8 bytes of the EDID header is checked and why it is all needed). Of course one ca

Re: [PATCH 07/41] scsi: be2iscsi: be_iscsi: Mark expected switch fall-through

2018-12-19 Thread Gustavo A. R. Silva
Hi, Friendly ping: Who can ack or review this patch, please? Thanks -- Gustavo On 11/27/18 10:26 PM, Gustavo A. R. Silva wrote: In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. Signed-off-by: Gustavo A. R. Silva --- drivers/scsi/

Re: [PATCH 08/41] scsi: be2iscsi: be_main: Mark expected switch fall-through

2018-12-19 Thread Gustavo A. R. Silva
Hi, Friendly ping: Who can ack or review this patch, please? Thanks -- Gustavo On 11/27/18 10:27 PM, Gustavo A. R. Silva wrote: In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. Addresses-Coverity-ID: 1357387 ("Missing break in switc

Re: [PATCH 09/41] scsi: bfa: bfa_fcpim: Mark expected switch fall-throughs

2018-12-19 Thread Gustavo A. R. Silva
Hi, Friendly ping: Who can ack or review this patch, please? Thanks -- Gustavo On 11/27/18 10:27 PM, Gustavo A. R. Silva wrote: In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. Notice that I replaced "Fall through !!!" with a "fall

Re: [PATCH 10/41] scsi: bfa: bfa_fcs_lport: Mark expected switch fall-throughs

2018-12-19 Thread Gustavo A. R. Silva
Hi, Friendly ping: Who can ack or review this patch, please? Thanks -- Gustavo On 11/27/18 10:27 PM, Gustavo A. R. Silva wrote: In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. Notice that, in this particular case, I replaced "!!! f

Re: [PATCH 11/41] scsi: bfa: bfa_fcs_rport: Mark expected switch fall-throughs

2018-12-19 Thread Gustavo A. R. Silva
Hi, Friendly ping: Who can ack or review this patch, please? Thanks -- Gustavo On 11/27/18 10:27 PM, Gustavo A. R. Silva wrote: In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. Notice that I replaced "!! fall through !!" and "!!! fa

Re: [PATCH 12/41] scsi: bfa: bfa_ioc: Mark expected switch fall-throughs

2018-12-19 Thread Gustavo A. R. Silva
Hi, Friendly ping: Who can ack or review this patch, please? Thanks -- Gustavo On 11/27/18 10:27 PM, Gustavo A. R. Silva wrote: In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. Notice that, in this particular case, I replaced "!!! f

Re: [PATCH 13/41] scsi: csiostor: csio_wr: mark expected switch fall-through

2018-12-19 Thread Gustavo A. R. Silva
Hi, Friendly ping: Who can ack or review this patch, please? Thanks -- Gustavo On 11/27/18 10:28 PM, Gustavo A. R. Silva wrote: In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. Addresses-Coverity-ID: 1056538 ("Missing break in switc

Re: [PATCH v4 0/6] media/sun6i: Allwinner A64 CSI support

2018-12-19 Thread Maxime Ripard
65;5402;1c On Wed, Dec 19, 2018 at 04:11:50PM +0530, Jagan Teki wrote: > On Wed, Dec 19, 2018 at 3:55 PM Maxime Ripard > wrote: > > > > On Tue, Dec 18, 2018 at 08:58:22PM +0530, Jagan Teki wrote: > > > On Tue, Dec 18, 2018 at 8:51 PM Maxime Ripard > > > wrote: > > > > > > > > On Tue, Dec 18, 20

Re: [PATCH 14/41] scsi: esas2r: esas2r_init: mark expected switch fall-throughs

2018-12-19 Thread Gustavo A. R. Silva
Hi, Friendly ping: Who can ack or review this patch, please? Thanks -- Gustavo On 11/27/18 10:28 PM, Gustavo A. R. Silva wrote: In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. Signed-off-by: Gustavo A. R. Silva --- drivers/scsi/

Re: [PATCH v3 03/10] phy: Add MIPI D-PHY configuration options

2018-12-19 Thread Maxime Ripard
On Mon, Dec 17, 2018 at 10:20:39PM +0200, sakari.ai...@iki.fi wrote: > Hi Maxime, > > On Mon, Dec 17, 2018 at 04:49:21PM +0100, Maxime Ripard wrote: > > Hi Sakari, > > > > Thanks for your feedback. > > > > On Thu, Dec 13, 2018 at 10:49:28PM +0200, sakari.ai...@iki.fi wrote: > > > > + /** >

Re: [PATCH v4 0/3] Enable ath10k wcn3990 wifi driver support on sdm845

2018-12-19 Thread Govind Singh
Hi Kalle, On 2018-11-17 16:39, Kalle Valo wrote: Govind Singh writes: On 2018-11-16 18:59, Kalle Valo wrote: Govind Singh writes: This series enables ath10k wifi driver support for WCN3990 target on sdm845 SOC. This series also updates the missing dt binding documentation and adds optiona

Re: [PATCH] staging: android: ion: add buffer flag update ioctl

2018-12-19 Thread kbuild test robot
Hi Zeng, Thank you for the patch! Yet something to improve: [auto build test ERROR on staging/staging-testing] [also build test ERROR on v4.20-rc7 next-20181219] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day

Re: [PATCH 05/16] remoteproc/pru: Add pru-specific debugfs support

2018-12-19 Thread Roger Quadros
On 19/12/18 14:38, Mark Brown wrote: > On Tue, Dec 18, 2018 at 05:51:12PM +0200, Roger Quadros wrote: > >> We could combine control and debug into one iomap and use >> 2 regmap ranges. But this is really working around the >> regmap_mmio limitation of not being able to use more than one ioremaps.

Re: [PATCH v5 0/2] Add new UniPhier PCIe host driver

2018-12-19 Thread Lorenzo Pieralisi
On Fri, Dec 07, 2018 at 09:53:10AM +0900, Kunihiko Hayashi wrote: > This series adds PCIe host controller driver for Socionext UniPhier SoCs. > This controller is based on the DesignWare PCIe core. This driver > supports LD20 and PXs3 SoCs. > > v4: https://www.spinics.net/lists/linux-pci/msg78278.

Re: [PATCH 05/16] remoteproc/pru: Add pru-specific debugfs support

2018-12-19 Thread David Lechner
On 12/19/18 4:43 PM, Roger Quadros wrote: On 19/12/18 14:38, Mark Brown wrote: On Tue, Dec 18, 2018 at 05:51:12PM +0200, Roger Quadros wrote: We could combine control and debug into one iomap and use 2 regmap ranges. But this is really working around the regmap_mmio limitation of not being

Re: [PATCH v5 07/17] drm/sun4i: sun6i_mipi_dsi: Refactor vertical video start delay

2018-12-19 Thread Maxime Ripard
On Tue, Dec 11, 2018 at 10:30:08PM +0530, Jagan Teki wrote: > On Tue, Dec 11, 2018 at 10:19 PM Maxime Ripard > wrote: > > > > On Mon, Dec 10, 2018 at 09:47:19PM +0530, Jagan Teki wrote: > > > Video start delay can be computed by subtracting total vertical > > > timing with front porch timing and w

Re: [v4] PCI: imx: make msi work without CONFIG_PCIEPORTBUS=y

2018-12-19 Thread Lucas Stach
Am Mittwoch, den 19.12.2018, 08:12 -0600 schrieb Bjorn Helgaas: > [+cc Sven, Trent, et al from related report: > https://lore.kernel.org/linux-pci/20181218210444.5950-1-thesve...@googlemail.com] > > On Fri, Dec 14, 2018 at 06:44:15AM +, Richard Zhu wrote: > > Assertion of the MSI Enable bit of

Re: [PATCH v1 1/2] dt-binding: mtd: add NPCM FIU controller

2018-12-19 Thread Rob Herring
On Mon, Dec 03, 2018 at 11:14:55AM +0200, Tomer Maimon wrote: > Added device tree binding documentation for Nuvoton BMC > NPCM Flash Interface Unit(FIU) SPI-NOR controller. > > Signed-off-by: Tomer Maimon > --- > Documentation/devicetree/bindings/mtd/npcm-fiu.txt | 64 > ++ >

Re: [PATCH v2 1/3] sched/fair: fix rounding issue for asym packing

2018-12-19 Thread Vincent Guittot
On Wed, 19 Dec 2018 at 16:30, Valentin Schneider wrote: > > On 19/12/2018 15:20, Vincent Guittot wrote: > [...] > >> Oh yes, I never said it didn't work - I was doing some investigation on > >> the reason as to why we'd need this fix, because it's wasn't explicit from > >> the commit message. > >>

Re: [PATCH v2 3/3] sched/fair: fix unnecessary increase of balance interval

2018-12-19 Thread Valentin Schneider
On 19/12/2018 13:29, Vincent Guittot wrote: [...] >> My point is that AFAICT the LBF_ALL_PINNED flag would cover all the cases >> we care about, although the one you're mentioning is the only one I can >> think of. In that case LBF_ALL_PINNED would never be cleared, so when we do >> the active bala

[GIT PULL] i3c: Initial pull request

2018-12-19 Thread Boris Brezillon
Hello Linus, Here is the first PR for the I3C subsystem, and this times it comes even before the merge window is open (which I hope is not a problem :-/). Let me know if it's too early and I'll try to resend it next week. Regards, Boris The following changes since commit 651022382c7f8da46cb4872

[PATCH 1/8] scsi: hisi_sas: Create root and device debugfs directories

2018-12-19 Thread John Garry
From: Luo Jiaxing This patch creates root directory at hisi_sas_init() and generate device directory when we probe device driver. And we remove the root directory at hisi_sas_exit(), but recursively delete device directory when we remove device driver. Signed-off-by: Luo Jiaxing Signed-off-by:

[PATCH 6/8] scsi: hisi_sas: Add debugfs CQ file and add file operations

2018-12-19 Thread John Garry
From: Luo Jiaxing This patch create debugfs file for CQ and add file operations. Signed-off-by: Luo Jiaxing Signed-off-by: John Garry --- drivers/scsi/hisi_sas/hisi_sas_main.c | 70 +++ 1 file changed, 70 insertions(+) diff --git a/drivers/scsi/hisi_sas/hisi_s

[PATCH 0/8] hisi_sas: debugfs support

2018-12-19 Thread John Garry
This patchset adds debugfs support for capturing driver state for particular times when the HW has malfunctioned (and we must reset the HW). Every controller HW version has had bugs. These bugs have been very painful to debug. One useful tool to debug these is being able to capture and export HW r

[PATCH 7/8] scsi: hisi_sas: Add debugfs DQ file and add file operations

2018-12-19 Thread John Garry
From: Luo Jiaxing This patch create debugfs file for DQ and add file operations Signed-off-by: Luo Jiaxing Signed-off-by: John Garry --- drivers/scsi/hisi_sas/hisi_sas_main.c | 52 +++ 1 file changed, 52 insertions(+) diff --git a/drivers/scsi/hisi_sas/hisi_sa

[PATCH 2/8] scsi: hisi_sas: Alloc debugfs snapshot buffer memory for all registers

2018-12-19 Thread John Garry
From: Luo Jiaxing This patch allocates snapshot memory for global reg, port regs, CQ, DQ, IOST, ITCT. When we fail to allocate memory for some registers, we free the memory and set hisi_sas_debugfs_enable as 0 to stop loading debugfs from running. Signed-off-by: Luo Jiaxing Signed-off-by: John

[PATCH 8/8] scsi: hisi_sas: Add debugfs IOST file and add file operations

2018-12-19 Thread John Garry
From: Luo Jiaxing This patch create debugfs file for IOST and add file operations. Signed-off-by: Luo Jiaxing Signed-off-by: John Garry --- drivers/scsi/hisi_sas/hisi_sas_main.c | 51 +++ 1 file changed, 51 insertions(+) diff --git a/drivers/scsi/hisi_sas/hisi

[PATCH 4/8] scsi: hisi_sas: Debugfs global register create file and add file operations

2018-12-19 Thread John Garry
From: Luo Jiaxing This patch create debugfs file for global register and add file operations. Signed-off-by: Luo Jiaxing Signed-off-by: John Garry --- drivers/scsi/hisi_sas/hisi_sas.h | 8 drivers/scsi/hisi_sas/hisi_sas_main.c | 64 +++ drivers/scsi/hi

[PATCH RFC lora-next 2/4] net: lora: sx1301: add minimal to get AGC working prior to tx work

2018-12-19 Thread Ben Whitten
As part of initialisation when opening the lora device after loading the AGC firmware we need to satisfy its startup procedure which involves a few steps; Loading a 16 entry lookup table. For this I have hard coded the laird ETSI certified table for use on the RG186-M2 (EU) cards, this will need i

[PATCH RFC lora-next 4/4] net: lora: sx1301: introduce a lora frame for packet metadata

2018-12-19 Thread Ben Whitten
Information such as spreading factor, coding rate and power are on a per transmission basis so it makes sence to include this in a header much like CAN frames do. Signed-off-by: Ben Whitten --- drivers/net/lora/dev.c| 2 - drivers/net/lora/sx1301.c | 79 +

[PATCH RFC lora-next 3/4] net: lora: sx1301: add minimal to get transmission out

2018-12-19 Thread Ben Whitten
Because we cannot wait inside start_xmit so we copy the pointer to the skb and schedule transmission work to be done. For the transmission a lot is hard coded to just get a signal out of the sx1301, it looks like using a header like CAN frames do will be a good mechanism to get information such as

[PATCH 3/8] scsi: hisi_sas: Take debugfs snapshot for all regs

2018-12-19 Thread John Garry
From: Luo Jiaxing This patch take snapshot for global regs, port regs, CQ, DQ, IOST, ITCT. Then, Add code for snapshot trig and generate dump directory. Signed-off-by: Luo Jiaxing Signed-off-by: John Garry --- drivers/scsi/hisi_sas/hisi_sas.h | 15 +++- drivers/scsi/hisi_sas/hisi_sas_

[PATCH 5/8] scsi: hisi_sas: Add debugfs for port registers

2018-12-19 Thread John Garry
From: Luo Jiaxing This patch create debugfs file for port register and add file operations. Signed-off-by: Luo Jiaxing Signed-off-by: John Garry --- drivers/scsi/hisi_sas/hisi_sas_main.c | 43 ++ drivers/scsi/hisi_sas/hisi_sas_v3_hw.c | 55

[PATCH RFC lora-next 1/4] net: lora: sx125x sx1301: correct style warnings

2018-12-19 Thread Ben Whitten
Checkpatch highlights some style issues which need to be addressed. Signed-off-by: Ben Whitten --- drivers/net/lora/sx125x.c | 20 +-- drivers/net/lora/sx1301.c | 52 ++- drivers/net/lora/sx1301.h | 7 +++--- 3 files changed, 45 insertions(+), 34

Re: [PATCH 5/5] arm64: dts: allwinner: a64-amarula-relic: Add OV5640 camera node

2018-12-19 Thread Rob Herring
On Thu, Dec 06, 2018 at 04:43:33PM +0530, Jagan Teki wrote: > On Mon, Dec 3, 2018 at 3:55 PM Chen-Yu Tsai wrote: > > > > On Mon, Dec 3, 2018 at 6:08 PM Jagan Teki > > wrote: > > > > > > Amarula A64-Relic board by default bound with OV5640 camera, > > > so add support for it with below pin inform

Re: [PATCH v3 0/5] alpha: system call table generation support

2018-12-19 Thread Matt Turner
On Fri, Dec 14, 2018 at 10:18 AM Firoz Khan wrote: > > Hi Folks, > > On Tue, 13 Nov 2018 at 15:02, Firoz Khan wrote: > > > > The purpose of this patch series is, we can easily > > add/modify/delete system call table support by cha- > > nging entry in syscall.tbl file instead of manually > > chang

Re: [PATCH 2/5] dt-bindings: media: sun6i: Add vcc-csi supply property

2018-12-19 Thread Rob Herring
On Mon, Dec 03, 2018 at 06:11:35PM +0800, Chen-Yu Tsai wrote: > On Mon, Dec 3, 2018 at 6:08 PM Jagan Teki wrote: > > > > Most of the Allwinner A64 CSI controllers are supply with > > VCC-PE pin. which need to supply for some of the boards to > > trigger the power. > > > > So, document the supply p

Re: [PATCH v3 4/6] usb: gadget: add mechanism to specify an explicit status stage

2018-12-19 Thread Alan Stern
On Wed, 19 Dec 2018, Paul Elder wrote: > A usb gadget function driver may or may not want to delay the status > stage of a control OUT request. An instance it might want to is to -^ Typo: missing "where" > asynchronously validate the data of a class-spe

[PATCH 1/3] drm/exynos: rotator: Add support for s5pv210

2018-12-19 Thread Paweł Chmiel
This commit adds support for s5pv210. Currently only NV12 and XRGB formats are supported. It was tested by using tool from https://www.spinics.net/lists/linux-samsung-soc/msg60498.html Signed-off-by: Paweł Chmiel --- drivers/gpu/drm/exynos/exynos_drm_rotator.c | 23 + 1 f

[PATCH 0/3] drm/exynos: rotator: Add support for s5pv210

2018-12-19 Thread Paweł Chmiel
This patchset adds support for s5pv210 soc, into Samsung DRM Rotator driver. Currently only NV12 and XRGB formats are supported. It was tested by using simple tool from https://www.spinics.net/lists/linux-samsung-soc/msg60498.html Paweł Chmiel (3): drm/exynos: rotator: Add support for s5

[PATCH 3/3] ARM: dts: s5pv210: Add node for exynos-rotator

2018-12-19 Thread Paweł Chmiel
This commit adds node for Exynos Rorator device, so it can be used on all s5pv210 based devices. Signed-off-by: Paweł Chmiel --- arch/arm/boot/dts/s5pv210.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/s5pv210.dtsi b/arch/arm/boot/dts/s5pv210.dtsi index 75f45

[PATCH 2/3] dt-bindings: gpu: samsung-rotator: Document s5pv210 support

2018-12-19 Thread Paweł Chmiel
This commit documents new compatible for s5pv210 soc, which will be also supported by this driver. Signed-off-by: Paweł Chmiel --- Documentation/devicetree/bindings/gpu/samsung-rotator.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/gpu/samsung-rotator.t

[GIT PULL] mtd: Changes for 4.21

2018-12-19 Thread Boris Brezillon
Hello Linus, Here is the MTD PR for 4.21 coming a bit earlier than usual (hope this is not a problem). Regards, Boris The following changes since commit 2595646791c319cadfdbf271563aac97d0843dc7: Linux 4.20-rc5 (2018-12-02 15:07:55 -0800) are available in the Git repository at: git://git.

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

2018-12-19 Thread Mel Gorman
On Tue, Dec 18, 2018 at 10:55:31AM +0100, Vlastimil Babka wrote: > On 12/15/18 12:03 AM, 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 tra

Re: [WRONG] KVM: arm/arm64: vgic: fix off-by-one bug in vgic_get_irq()

2018-12-19 Thread Marc Zyngier
Hi Gustavo, On 19/12/2018 15:11, Gustavo A. R. Silva wrote: > Hi Marc, > > This is wrong: commit 6022fcc0e87a0eb5e9a72b15ed70dd29ebcb7343 > > The above is not my original patch and it should not be tagged for stable, > as it introduces the same kind of bug I intended to fix: > > array_index_nos

Re: [PATCH] drm/xen-front: Make shmem backed display buffer coherent

2018-12-19 Thread Noralf Trønnes
Den 19.12.2018 09.18, skrev Oleksandr Andrushchenko: On 12/18/18 9:20 PM, Noralf Trønnes wrote: Den 27.11.2018 11.32, skrev Oleksandr Andrushchenko: From: Oleksandr Andrushchenko When GEM backing storage is allocated with drm_gem_get_pages the backing pages may be cached, thus making it po

[PATCH] ARC: adjust memblock_reserve of kernel memory

2018-12-19 Thread Eugeniy Paltsev
In setup_arch_memory we reserve the memory area wherein the kernel is located. Current implementation may reserve more memory than it actually required in case of CONFIG_LINUX_LINK_BASE is not equal to CONFIG_LINUX_RAM_BASE. This happens because we calculate start of the reserved region relatively

Re: /proc/modules not showing any output

2018-12-19 Thread Praveen Kumar
On Wed, Dec 19, 2018 at 9:28 PM Aruna Hewapathirane wrote: > > >> >> I think, on my test machine, by default, there are many modules which >> get added during boot up, which with vanilla kernel is not happening. >> Thanks for your input. >> >> Regards, >> >> ~Praveen. >> > > What does lsmod show

Re: [PATCH 2/3] dt-bindings: gpu: samsung-rotator: Document s5pv210 support

2018-12-19 Thread Krzysztof Kozlowski
On Wed, 19 Dec 2018 at 17:04, Paweł Chmiel wrote: > > This commit documents new compatible for s5pv210 soc, > which will be also supported by this driver. > > Signed-off-by: Paweł Chmiel > --- > Documentation/devicetree/bindings/gpu/samsung-rotator.txt | 1 + > 1 file changed, 1 insertion(+) > >

Re: [PATCH] ASoC: xlnx: change license header format style

2018-12-19 Thread Mark Brown
On Wed, Dec 19, 2018 at 07:17:04AM -0800, Christoph Hellwig wrote: > On Wed, Dec 19, 2018 at 03:10:40PM +0530, Maruthi Srinivas Bayyavarapu wrote: > > Changed License header from C to C++ style comment block. > Why this completely pointless uglification that goes counter to > the common style all

[PATCH] KVM: x86: nSVM: fix switch to guest mmu

2018-12-19 Thread Vitaly Kuznetsov
Recent optimizations in MMU code broke nested SVM with NPT in L1 completely: when we do nested_svm_{,un}init_mmu_context() we want to switch from TDP MMU to shadow MMU, both init_kvm_tdp_mmu() and kvm_init_shadow_mmu() check if re-configuration is needed by looking at cache source data. The data, h

Re: [PATCH 3/3] ARM: dts: s5pv210: Add node for exynos-rotator

2018-12-19 Thread Krzysztof Kozlowski
On Wed, 19 Dec 2018 at 17:04, Paweł Chmiel wrote: > > This commit adds node for Exynos Rorator device, > so it can be used on all s5pv210 based devices. > > Signed-off-by: Paweł Chmiel > --- > arch/arm/boot/dts/s5pv210.dtsi | 9 + > 1 file changed, 9 insertions(+) Patch looks good but i

[PATCH 1/2] dt: bindings: lp5024: Introduce the lp5024 and lp5018 RGB driver

2018-12-19 Thread Dan Murphy
Introduce the bindings for the Texas Instruments LP5024 and the LP5018 RGB LED device driver. The LP5024/18 can control RGB LEDs individually or as part of a control bank group. These devices have the ability to adjust the mixing control for the RGB LEDs to obtain different colors independent of

[PATCH 0/2] LP5024/18 LED introduction

2018-12-19 Thread Dan Murphy
Hello I am introducing the newest of the TI RGB parts the LP5024 and the LP5018. Now I understand that there is a patchset in the works that changes the way the LED labeling is created but I wanted to post these patches for comments and let the maintainers decide whether to pull this in prior to t

[PATCH 2/2] leds: lp5024: Add the LP5024/18 RGB LED driver

2018-12-19 Thread Dan Murphy
Introduce the LP5024 and LP5018 RGB LED driver. The difference in these 2 parts are only in the number of LED outputs where the LP5024 can control 24 LEDs the LP5018 can only control 18. The device has the ability to group LED output into control banks so that multiple LED banks can be controlled

Re: [PATCH v5 5/6] net: maclorawan: Implement maclorawan class module

2018-12-19 Thread Jian-Hong Pan
> > Am 18.12.18 um 15:27 schrieb Jian-Hong Pan: > > >> Sun, Dec 16, 2018 at 11:18:59AM CET, starni...@g.ncu.edu.tw wrote: > > >>> LoRaWAN defined by LoRa Alliance(TM) is the MAC layer over LoRa > > devices. > > >>> > > >>> This patch implements part of Class A end-devices SoftMAC defined in > > >>>

Re: [PATCH v3 3/6] irqchip: sifive-plic: More flexible plic_irq_toggle()

2018-12-19 Thread Christoph Hellwig
On Tue, Dec 18, 2018 at 02:20:10PM +0530, Anup Patel wrote: > Actually these functions should not be inline because plic_toggle() uses > raw_spin_lock() and plic_irq_toggle() uses for-loop. So? It still inlines the all of two instances into each caller for slightly different but related work. No

[PATCH] staging: wilc1000: fix missing read_write setting when reading data

2018-12-19 Thread Colin King
From: Colin Ian King Currently the cmd.read_write setting is not initialized so it contains garbage from the stack. Fix this by setting it to 0 to indicate a read is required. Detected by CoverityScan, CID#1357925 ("Uninitialized scalar variable") Fixes: c5c77ba18ea6 ("staging: wilc1000: Add S

Re: [RFC/RFT 01/10] i2c: add 'is_suspended' flag for i2c adapters

2018-12-19 Thread Wolfram Sang
On Wed, Dec 19, 2018 at 10:39:05AM +0100, Geert Uytterhoeven wrote: > Hi Wolfram, > > On Wed, Dec 19, 2018 at 12:34 AM Wolfram Sang wrote: > > > > + unsigned int is_suspended:1;/* owned by the I2C core */ > > > > > > When more stuff is added to this bit field (which always happens at > > >

Re: [PATCH net v3 0/2] net: mvpp2: phylink validate fixes

2018-12-19 Thread David Miller
From: Antoine Tenart Date: Wed, 19 Dec 2018 09:26:09 +0100 > Hi David, > > On Tue, Dec 18, 2018 at 04:42:52PM -0800, David Miller wrote: >> From: Antoine Tenart >> Date: Mon, 17 Dec 2018 15:56:04 +0100 >> >> > This small series introduces 2 fixes for the phylink validate function >> > of the M

Re: [RFC v3 1/3] PM/runtime: Add a new interface to get accounted time

2018-12-19 Thread Ulf Hansson
On Wed, 19 Dec 2018 at 14:26, Vincent Guittot wrote: > > On Wed, 19 Dec 2018 at 11:43, Ulf Hansson wrote: > > > > On Wed, 19 Dec 2018 at 11:34, Vincent Guittot > > wrote: > > > > > > On Wed, 19 Dec 2018 at 11:21, Ulf Hansson wrote: > > > > > > > > > > > > > > > > > > > diff --git a/drivers/base

Re: ftrace global trace_pipe_raw

2018-12-19 Thread Steven Rostedt
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 CPU, and so > >> it would be a matter of doing the same for trace_pipe_raw. > > >

Re: pull-request: wireless-drivers 2018-12-19

2018-12-19 Thread David Miller
From: Kalle Valo Date: Wed, 19 Dec 2018 16:34:02 +0200 > this a pull request to net tree for 4.20, more info below. > > Really sorry for sending a late request like this but I have been busy > with other stuff and this just got delayed. These are pretty > important fixes so I hope there's still

Re: [PATCH 0/7] drm: KMS cleanup remove drm_mode_object dependency

2018-12-19 Thread Shayenne Moura
On 12/19, Jani Nikula wrote: > On Tue, 18 Dec 2018, Shayenne Moura wrote: > > This patch serie removes drm_mode_object dependency from > > drm_display_mode struct. This is part of KMS cleanup. > > For future reference: > > Please use git-send-email or fix the mail threading otherwise. Patches

[PATCH v2] macvlan: use per-cpu queues for broadcast and multicast packets

2018-12-19 Thread Konstantin Khlebnikov
Currently macvlan has single per-port queue for broadcast and multicast. This disrupts order of packets when flows from different cpus are mixed. This patch replaces this queue with single set of per-cpu queues. Pointer to macvlan port is passed in skb control block. Signed-off-by: Konstantin Khl

Re: [PATCH kernel v6 19/20] vfio_pci: Allow regions to add own capabilities

2018-12-19 Thread Alex Williamson
[cc +kvm, +lkml] Ditto list cc comment from 18/20 On Wed, 19 Dec 2018 19:52:31 +1100 Alexey Kardashevskiy wrote: > VFIO regions already support region capabilities with a limited set of > fields. However the subdriver might have to report to the userspace > additional bits. > > This adds an ad

Re: [PATCH kernel v6 18/20] vfio_pci: Allow mapping extra regions

2018-12-19 Thread Alex Williamson
[cc +kvm, +lkml] Sorry, just noticed these are only visible on ppc lists or for those directly cc'd. vfio's official development list is the kvm list. I'll let spapr specific changes get away without copying this list, but changes like this really need to be visible to everyone. Thanks, Alex

Re: [PATCH kernel v6 20/20] vfio_pci: Add NVIDIA GV100GL [Tesla V100 SXM2] subdriver

2018-12-19 Thread Alex Williamson
[cc +kvm, +lkml] Ditto list cc comment from 18/20, and doubly so on this with updates to the vfio uapi. Also comment below... On Wed, 19 Dec 2018 19:52:32 +1100 Alexey Kardashevskiy wrote: > POWER9 Witherspoon machines come with 4 or 6 V100 GPUs which are not > pluggable PCIe devices but still

Re: [PATCH] arc: remove redundant kernel-space generic-y

2018-12-19 Thread Vineet Gupta
On 12/19/18 7:16 AM, Masahiro Yamada wrote: > Could you pick this up to your arc tree? Done, will push it in a day or so ! Thx, -Vineet

Re: [PATCH] kdb: use bool for binary state indicators

2018-12-19 Thread Daniel Thompson
On Fri, Jul 20, 2018 at 11:50:16AM +0100, Daniel Thompson wrote: > On Fri, Jul 20, 2018 at 11:23:37AM +0200, Nicholas Mc Guire wrote: > > defcmd_in_progress is the state trace for command group processing > > - within a command group or not - usable is an indicator if a command > > set is vali

Re: [PATCH v2 03/12] PCI: aardvark: Add PHY support

2018-12-19 Thread Miquel Raynal
Hi Marek, Marek Behún wrote on Wed, 19 Dec 2018 16:28:35 +0100: > Hi, > > One thing for which I would like to be able to disable comphy is that > each consumes about 100mW of power. On Turris Mox we configure the > comphys to SGMII1, PCIe and USB3 modes. If there is no USB device > plugged, the

[PATCH 03/10] i2c: synquacer: remove unused is_suspended flag

2018-12-19 Thread Wolfram Sang
This flag was defined and checked but never set a value. Remove it. Signed-off-by: Wolfram Sang Acked-by: Ard Biesheuvel --- drivers/i2c/busses/i2c-synquacer.c | 5 - 1 file changed, 5 deletions(-) diff --git a/drivers/i2c/busses/i2c-synquacer.c b/drivers/i2c/busses/i2c-synquacer.c index

[PATCH 08/10] i2c: exynos5: use core helper to mark adapter suspended

2018-12-19 Thread Wolfram Sang
Rejecting transfers should be handled by the core. Also, this will ensure proper locking which was forgotten in this open coded version. Signed-off-by: Wolfram Sang Tested-by: Marek Szyprowski --- drivers/i2c/busses/i2c-exynos5.c | 11 ++- 1 file changed, 2 insertions(+), 9 deletions(-)

[PATCH 01/10] i2c: add suspended flag and accessors for i2c adapters

2018-12-19 Thread Wolfram Sang
A few drivers open code handling of suspended adapters. It could be handled by the core, though, to ensure generic handling. This patch adds the flag and accessor functions. The usage of these helpers is optional, though. See the kerneldoc in this patch. Signed-off-by: Wolfram Sang --- drivers/i

Re: [PATCH net v3 0/2] net: mvpp2: phylink validate fixes

2018-12-19 Thread Antoine Tenart
Hi David, On Wed, Dec 19, 2018 at 08:34:18AM -0800, David Miller wrote: > From: Antoine Tenart > Date: Wed, 19 Dec 2018 09:26:09 +0100 > > > > The patch 2/2 ("net: mvpp2: fix the phylink mode validation") is still > > relevant, in addition to the patch you applied. It was added in v3, and > > is

[PATCH 10/10] i2c: rcar: add suspend/resume support

2018-12-19 Thread Wolfram Sang
Because the adapter will be set up before every transaction anyhow, we just need to mark it as suspended to the I2C core. Signed-off-by: Hiromitsu Yamasaki Signed-off-by: Wolfram Sang --- drivers/i2c/busses/i2c-rcar.c | 25 + 1 file changed, 25 insertions(+) diff --git

[PATCH 09/10] i2c: s3c2410: use core helper to mark adapter suspended

2018-12-19 Thread Wolfram Sang
Rejecting transfers should be handled by the core. Also, this will ensure proper locking which was forgotten in this open coded version. Signed-off-by: Wolfram Sang Tested-by: Marek Szyprowski --- drivers/i2c/busses/i2c-s3c2410.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) di

[PATCH 06/10] i2c: sprd: don't use pdev as variable name for struct device *

2018-12-19 Thread Wolfram Sang
The pointer to a device is usually named 'dev'. These 'pdev' here look much like copy&paste errors. Fix them to avoid confusion. Signed-off-by: Wolfram Sang --- drivers/i2c/busses/i2c-sprd.c | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/drivers/i2c/bu

[GIT PULL] Please pull NFS client bugfixes

2018-12-19 Thread Trond Myklebust
Hi Linus, The following 3 patches fix a regression in the NFS/RPC TPC re- connection code which can cause the RPC transmission to hang. The issue was discovered by Dave Wysochanski last week. With this pull, we still have one more regression to fix. MIPS is seeing data corruption due to the fact

[PATCH 05/10] i2c: zx2967: use core helper to mark adapter suspended

2018-12-19 Thread Wolfram Sang
Rejecting transfers should be handled by the core. Also, this will ensure proper locking which was forgotten in this open coded version and make sure resume mark is set after enabling clocks (not before). Signed-off-by: Wolfram Sang Acked-by: Shawn Guo --- drivers/i2c/busses/i2c-zx2967.c | 8 ++

[PATCH 07/10] i2c: sprd: use core helper to mark adapter suspended

2018-12-19 Thread Wolfram Sang
Rejecting transfers should be handled by the core. Signed-off-by: Wolfram Sang --- drivers/i2c/busses/i2c-sprd.c | 14 ++ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/drivers/i2c/busses/i2c-sprd.c b/drivers/i2c/busses/i2c-sprd.c index e266d8a713d9..961123529678 1006

[PATCH 04/10] i2c: brcmstb: use core helper to mark adapter suspended

2018-12-19 Thread Wolfram Sang
Rejecting transfers should be handled by the core. Signed-off-by: Wolfram Sang Reviewed-by: Kamal Dasu --- drivers/i2c/busses/i2c-brcmstb.c | 13 ++--- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/drivers/i2c/busses/i2c-brcmstb.c b/drivers/i2c/busses/i2c-brcmstb.c inde

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