[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 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 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 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 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 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 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 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 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:

[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

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

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 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: [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 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: [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 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 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] 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 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 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 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 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 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 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 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 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 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 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] 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 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 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: 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: /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: [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: [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 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 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

[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 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

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: [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 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: [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] 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 v2 1/3] sched/fair: fix rounding issue for asym packing

2018-12-19 Thread Vincent Guittot
On Wed, 19 Dec 2018 at 16:11, Valentin Schneider wrote: > > On 19/12/2018 15:05, Vincent Guittot wrote: > [...] > >> True, I had a look at the trace and there doesn't seem to be any running > >> task on that CPU. That's a separate matter however - the rounding issues > >> can happen regardless of

[PATCH v2 2/3] stm class: Add a reference to the SyS-T document

2018-12-19 Thread Alexander Shishkin
Commit 4cb3653df0cd ("stm class: Document the MIPI SyS-T protocol usage") added a document describing the SyS-T protocol usage, but forgot to add it to the directory index. Fix that. Signed-off-by: Alexander Shishkin Fixes: 4cb3653df0cd ("stm class: Document the MIPI SyS-T protocol usage") --- D

[PATCH v2 3/3] intel_th: msu: Fix an off-by-one in attribute store

2018-12-19 Thread Alexander Shishkin
The 'nr_pages' attribute of the 'msc' subdevices parses a comma-separated list of window sizes, passed from userspace. However, there is a bug in the string parsing logic wherein it doesn't exclude the comma character from the range of characters as it consumes them. This leads to an out-of-bounds

[PATCH v2 0/3] stm class/intel_th: Fixes for v4.20

2018-12-19 Thread Alexander Shishkin
tags/intel_th-fixes-for-greg-20181219 for you to fetch changes up to 28b39d95ea6f6b4ad8f6516cab135e85c577ebea: intel_th: msu: Fix an off-by-one in attribute store (2018-12-19 13:43:53 +0200) stm class/intel_th: Fixes for v4.20

[PATCH v2 1/3] stm class: Fix a module refcount leak in policy creation error path

2018-12-19 Thread Alexander Shishkin
Commit c7fd62bc69d0 ("stm class: Introduce framing protocol drivers") adds a bug into the error path of policy creation, that would do a module_put() on a wrong module, if one tried to create a policy for an stm device which already has a policy, using a different protocol. IOW, | mkdir /config/st

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

2018-12-19 Thread Christoph Hellwig
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 over the kernel?

[PATCH] arch/x86/kernel/topology: Make DEBUG_HOTPLUG_CPU0 pr_info more descriptive

2018-12-19 Thread Juri Lelli
DEBUG_HOTPLUG_CPU0 debug feature offlines a CPU as early as possible allowing userspace to boot up without that CPU (so that it is possible to check for unwanted dependencies towards the offlined CPU). After doing so it emits a "CPU %u is now offline" pr_info, which is not enough descriptive of why

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

2018-12-19 Thread Masahiro Yamada
Hi Vineet, On Mon, Dec 17, 2018 at 2:07 PM Vineet Gupta wrote: > > On 12/16/18 6:17 AM, Masahiro Yamada wrote: > > This commit removes redundant generic-y defines in > > arch/arc/include/asm/Kbuild. > > > > It is redundant to define generic-y when arch-specific implementation > > exists in arch/$

Re: [PATCH 4.19 00/44] 4.19.11-stable review

2018-12-19 Thread Greg Kroah-Hartman
On Wed, Dec 19, 2018 at 08:31:25PM +0530, Harsh Shandilya wrote: > On 18 December 2018 10:09:12 PM IST, Greg Kroah-Hartman > wrote: > >This is the start of the stable review cycle for the 4.19.11 release. > >There are 44 patches in this series, all will be posted as a response > >to this one. If

Re: [PATCH] cifs: handle allocation failures early

2018-12-19 Thread Aurélien Aptel
Reviewed-by: Aurelien Aptel -- Aurélien Aptel / SUSE Labs Samba Team GPG: 1839 CB5F 9F5B FB9B AA97 8C99 03C8 A49B 521B D5D3 SUSE Linux GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg)

Re: [PATCH v2] media: uvcvideo: Fix 'type' check leading to overflow

2018-12-19 Thread Alistair Strachan
On Wed, Dec 19, 2018 at 12:16 AM Laurent Pinchart wrote: > > Hi Alistair, > > Thank you for the patch. > > On Wednesday, 19 December 2018 03:32:48 EET Alistair Strachan wrote: > > From: Laurent Pinchart > > Are you sure you don't want to keep authorship ? I've merely reviewed v1 and > proposed an

Re: [PATCH v8 2/2] PCI: amlogic: Add the Amlogic Meson PCIe controller driver

2018-12-19 Thread Lorenzo Pieralisi
On Wed, Dec 19, 2018 at 07:13:47PM +0800, Hanjie Lin wrote: > > > On 2018/12/19 6:47, Bjorn Helgaas wrote: > > On Tue, Dec 18, 2018 at 04:04:46PM +0800, Hanjie Lin wrote: > >> From: Yue Wang > >> > >> The Amlogic Meson PCIe host controller is based on the Synopsys DesignWare > >> PCI core. This

Re: [REGRESSION] imx_v6_v7_defconfig: undefined reference to `__hyp_stub_vectors'

2018-12-19 Thread Marcel Ziswiler
On Wed, 2018-12-19 at 12:20 -0200, Fabio Estevam wrote: > Hi Daniel, > > On Wed, Dec 19, 2018 at 11:32 AM Daniel Baluta < > daniel.bal...@gmail.com> wrote: > > On Wed, Dec 19, 2018 at 3:17 PM Daniel Baluta < > > daniel.bal...@nxp.com> wrote: > > > > > > On Wed, 2018-12-19 at 12:42 +, Marcel Z

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

2018-12-19 Thread Szabolcs Nagy
On 18/12/2018 12:14, Dave Martin wrote: > On Sat, Dec 15, 2018 at 05:20:29PM +0800, kbuild test robot wrote: >> Hi Dave, >> >> Thank you for the patch! Perhaps something to improve: >> >> [auto build test WARNING on arm64/for-next/core] >> [also build test WARNING on v4.20-rc6 next-20181214] >> [if

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

2018-12-19 Thread Gustavo A. R. Silva
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_nospec() can now return kvm->arch.vgic.nr_spis + VGIC_NR_PRIVATE_IRQS and this

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

2018-12-19 Thread Valentin Schneider
On 19/12/2018 15:05, Vincent Guittot wrote: [...] >> True, I had a look at the trace and there doesn't seem to be any running >> task on that CPU. That's a separate matter however - the rounding issues >> can happen regardless of the wl values. > > But it means that the rounding fix +1 works and y

[GIT PULL] Btrfs updates for 4.21

2018-12-19 Thread David Sterba
Hi, I've planned to merge a few more patches to the 1st pull branch that belong to a core change mentioned below as 'delayed refs reserve'. There are review comments that I think should be addressed, so the patches are postponed. Technically they're fixes and I presume it's ok to take them in the

Re: [PATCH 02/14] drm/bochs: split bochs_hw_setmode

2018-12-19 Thread Oleksandr Andrushchenko
Hi, Gerd! On 12/19/18 1:51 PM, Gerd Hoffmann wrote: Create a separate bochs_hw_setformat function to configure the framebuffer format (actually just the byteorder). Signed-off-by: Gerd Hoffmann --- drivers/gpu/drm/bochs/bochs.h | 5 +++-- drivers/gpu/drm/bochs/bochs_hw.c | 19

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

2018-12-19 Thread Sven Van Asbroeck
This patch seems to fix the regression on my board: i.MX6 with a tg3-based pcie NIC: CPU identified as i.MX6Q, silicon rev 1.5 tg3 :03:00.0 eth0: Tigon3 [partno(BCM57780) rev 57780001] (PCI Express) Tested-by: Sven Van Asbroeck On Wed, Dec 19, 2018 at 12:25 AM Richard Zhu wrote: > > A

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 15:59, Valentin Schneider wrote: > > > > On 19/12/2018 13:39, Vincent Guittot wrote: > [...] > >> I used that setup out of convenience for myself, but AFAICT that use-case > >> just stresses that issue. > > > > After looking at you UC in details, your problem comes from the

Re: /proc/modules not showing any output

2018-12-19 Thread Greg KH
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_64 ) > > root@ubuntu:~# uname -a > Linux ubuntu 4.20.0-rc6-00

Re: [PATCH v9 04/39] component: alloc component_match without any comp to match

2018-12-19 Thread Greg Kroah-Hartman
On Wed, Dec 19, 2018 at 02:42:45PM +0100, Daniel Vetter wrote: > On Thu, Dec 13, 2018 at 09:31:06AM +0530, Ramalingam C wrote: > > If all the components associated to a component master is not added > > to the component framework due to the HW capability or Kconfig > > selection, component_match wi

Re: [PATCH 0/7] tracing: Hist trigger var-ref cleanup and comments

2018-12-19 Thread Tom Zanussi
On Wed, 2018-12-19 at 21:27 +0900, Masami Hiramatsu wrote: > Hi Tom, > > On Tue, 18 Dec 2018 14:33:19 -0600 > Tom Zanussi wrote: > > > From: Tom Zanussi > > > > Hi, > > > > This patchset is a standalone series broken out of the v8 version > > of > > the 'tracing: Hist trigger snapshot and onc

Re: [PATCH v5 1/2] scsi: hisi_sas: Add support for DIF feature for v2 hw

2018-12-19 Thread John Garry
On 19/12/2018 04:35, Martin K. Petersen wrote: John, From: Xiang Chen For v3 hw, we support DIF operation for SAS, but not SATA. In addition, DIF CRC16 is supported. This patchset adds the SW support for the described features. The main components are as follows: - Get protection mask from

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

2018-12-19 Thread Tom Zanussi
Hi Masami, On Wed, 2018-12-19 at 21:22 +0900, Masami Hiramatsu wrote: > Hi Tom, > > On Tue, 18 Dec 2018 14:33:22 -0600 > Tom Zanussi wrote: > > > From: Tom Zanussi > > > > Since all the variable reference hist_fields are collected into > > hist_data->var_refs[] array, there's no need to go th

Re: [PATCH v3 0/3] Make STM32 interrupt controller use hwspinlock

2018-12-19 Thread Alexandre Torgue
Hi Marc, On 12/18/18 4:39 PM, Marc Zyngier wrote: On 17/12/2018 14:22, Benjamin Gaignard wrote: This series allow to protect STM32 interrupt controller configuration registers with a hwspinlock to avoid conflicting accesses between processors. version 3: - with bindings patch version 2: - rew

Re: [PATCH 0/7] tracing: Hist trigger var-ref cleanup and comments

2018-12-19 Thread Tom Zanussi
Hi Namhyung, On Wed, 2018-12-19 at 20:45 +0900, Namhyung Kim wrote: > Hi Tom, > > On Tue, Dec 18, 2018 at 02:33:19PM -0600, Tom Zanussi wrote: > > From: Tom Zanussi > > > > Hi, > > > > This patchset is a standalone series broken out of the v8 version > > of > > the 'tracing: Hist trigger snaps

Re: [PATCH 4.19 00/44] 4.19.11-stable review

2018-12-19 Thread Harsh Shandilya
On 18 December 2018 10:09:12 PM IST, Greg Kroah-Hartman wrote: >This is the start of the stable review cycle for the 4.19.11 release. >There are 44 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. > >Re

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

2018-12-19 Thread Greg Kroah-Hartman
On Wed, Dec 19, 2018 at 02:26:22PM +0100, Daniel Vetter wrote: > On Wed, Dec 19, 2018 at 02:18:25PM +0100, Daniel Vetter wrote: > > On Wed, Dec 19, 2018 at 01:49:30PM +0100, Greg Kroah-Hartman wrote: > > > On Wed, Dec 19, 2018 at 01:39:09PM +0100, Daniel Vetter wrote: > > > > --- a/include/linux/de

Re: [PATCH 00/27] kconfig: remove all reduce/shift conflicts, refactor lexer, fix various issues

2018-12-19 Thread Masahiro Yamada
On Tue, Dec 11, 2018 at 8:04 PM Masahiro Yamada wrote: > > > When I tryed to change something, I was often hit by annoying > shift/reduce conflicts in the parser. > > The lexer and parser are too cluttered. > > So, I decided to clean-up now. > > - Fix all shift/reduce conflicts in the parser > >

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

2018-12-19 Thread Valentin Schneider
On 19/12/2018 13:39, Vincent Guittot wrote: [...] >> I used that setup out of convenience for myself, but AFAICT that use-case >> just stresses that issue. > > After looking at you UC in details, your problem comes from the wl=1 > for cpu0 whereas there is no running task. > But wl!=0 without r

Re: [PATCH v6 3/4] thermal: tegra: parse sensor id before sensor register

2018-12-19 Thread Eduardo Valentin
On Wed, Dec 19, 2018 at 11:00:10AM +0800, Wei Ni wrote: > > > On 19/12/2018 9:24 AM, Eduardo Valentin wrote: > > On Fri, Dec 14, 2018 at 05:49:52PM +0800, Wei Ni wrote: > >> Since different platforms may not support all 4 > >> sensors, so the sensor registration may be failed. > >> Add codes to p

Re: [PATCH 3/4] iommu/of: Don't call iommu_ops->add_device directly

2018-12-19 Thread Marek Szyprowski
Hi Joerg, On 2018-12-19 15:34, Joerg Roedel wrote: > Hi Marek, > > thanks for the report! > > On Wed, Dec 19, 2018 at 10:54:18AM +0100, Marek Szyprowski wrote: >> On 2018-12-11 16:05, Joerg Roedel wrote: >>> From: Joerg Roedel >>> >>> Make sure to invoke this call-back through the proper >>> func

Re: [PATCH v5 2/2] media: usb: pwc: Don't use coherent DMA buffers for ISO transfer

2018-12-19 Thread Christoph Hellwig
On Wed, Dec 19, 2018 at 05:18:35PM +0900, Tomasz Figa wrote: > The existing code that deals with dma_alloc_attrs() without > DMA_ATTR_NON_CONSISTENT would just call dma_get_sgtable_attrs() like > here: I know. And dma_get_sgtable_attrs is fundamentally flawed and we need to kill this interface as

Re: [PATCH] ppp: Move PFC decompression to PPP generic layer

2018-12-19 Thread Guillaume Nault
On Wed, Dec 19, 2018 at 02:08:08AM +0200, Sam Protsenko wrote: > Extract "Protocol" field decompression code from transport protocols to > PPP generic layer, where it actually belongs. As a consequence, this > patch fixes incorrect place of PFC decompression in L2TP driver (when > it's not PPPOX_BO

Re: [PATCH resend] openrisc: Fix broken paths to arch/or32

2018-12-19 Thread Stafford Horne
On Mon, Dec 03, 2018 at 01:20:47PM +0100, Geert Uytterhoeven wrote: > OpenRISC was mainlined as "openrisc", not "or32". > vmlinux.lds is generated from vmlinux.lds.S. > > Signed-off-by: Geert Uytterhoeven Thanks, Sorry for the delay. I will queue this up. -Stafford > --- > arch/openrisc/ker

Re: x86/sgx: uapi change proposal

2018-12-19 Thread Dr. Greg
On Wed, Dec 19, 2018 at 08:41:12AM +, Jethro Beekman wrote: Good morning, I everyone is weathering the pre-holiday season well. > On 2018-12-19 13:28, Jarkko Sakkinen wrote: > > * @eclave_fd: file handle to the enclave address space > > * @attribute_fd:file handle of the att

Re: [PATCH v2] scripts: add a tool to produce a compile_commands.json file

2018-12-19 Thread Masahiro Yamada
On Wed, Dec 19, 2018 at 8:40 AM Tom Roeder wrote: > > The LLVM/Clang project provides many tools for analyzing C source code. > Many of these tools are based on LibTooling > (https://clang.llvm.org/docs/LibTooling.html), which depends on a > database of compiler flags. The standard container for t

[GIT PULL] KVM fixes for 4.20-rc8 (or final)

2018-12-19 Thread Paolo Bonzini
Linus, The following changes since commit 7566ec393f4161572ba6f11ad5171fd5d59b0fbd: Linux 4.20-rc7 (2018-12-16 15:46:55 -0800) are available in the git repository at: https://git.kernel.org/pub/scm/virt/kvm/kvm.git tags/for-linus for you to fetch changes up to 0e1b869fff60c81b510c2d00602d7

Re: x86/sgx: uapi change proposal

2018-12-19 Thread Sean Christopherson
On Wed, Dec 19, 2018 at 09:36:16AM +, Jethro Beekman wrote: > On 2018-12-19 14:41, Jarkko Sakkinen wrote: > >On Wed, Dec 19, 2018 at 08:41:12AM +, Jethro Beekman wrote: > >>One weird thing is the departure from the normal mmap behavior that the > >>memory mapping persists even if the origin

Re: [PATCH 01/14] drm/bochs: encoder cleanup

2018-12-19 Thread Oleksandr Andrushchenko
Hi, Gerd! On 12/19/18 1:51 PM, Gerd Hoffmann wrote: Most unused callbacks can be NULL pointers these days. Drop a bunch of empty encoder callbacks. Signed-off-by: Gerd Hoffmann --- drivers/gpu/drm/bochs/bochs_kms.c | 26 -- 1 file changed, 26 deletions(-) diff --git

Re: [PATCH v3 3/3] dt-bindings: msm/disp: Introduce interconnect bindings for MDSS on SDM845

2018-12-19 Thread Georgi Djakov
Hi Sravanthi, Thanks for the patch! On 11/22/18 11:06, Sravanthi Kollukuduru wrote: > Add interconnect properties such as interconnect provider specifier > , the edge source and destination ports which are required by the > interconnect API to configure interconnect path for MDSS. > > Changes in

Re: remove exofs, the T10 OSD code and block/scsi bidi support V3

2018-12-19 Thread Christoph Hellwig
On Mon, Nov 26, 2018 at 07:11:10PM +0200, Boaz Harrosh wrote: > On 11/11/18 15:32, Christoph Hellwig wrote: > > The only real user of the T10 OSD protocol, the pNFS object layout > > driver never went to the point of having shipping products, and we > > removed it 1.5 years ago. Exofs is just a si

Re: [PATCH v3 2/3] drm/msm/dpu: Integrate interconnect API in MDSS

2018-12-19 Thread Georgi Djakov
Hi Sravanthi, Thanks for the patch! On 11/22/18 11:06, Sravanthi Kollukuduru wrote: > The interconnect framework is designed to provide a > standard kernel interface to control the settings of > the interconnects on a SoC. > > The interconnect API uses a consumer/provider-based model, > where th

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

2018-12-19 Thread Chris Chiu
On Wed, Dec 19, 2018 at 2:22 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: [RFC BUG] pci: Freescale i.MX6 PCIe controller: revert mainline regression

2018-12-19 Thread Sven Van Asbroeck
Thank you Trent ! This patch was intended as a bug report, rather than an actual solution to be merged. I chose this format so people could easily verify the change in behaviour, just by applying the patch locally. On Tue, Dec 18, 2018 at 6:06 PM Trent Piepho wrote: > > > It's actually commit f3

Re: [PATCH v3 00/12] x86, kbuild: revert macrofying inline assembly code

2018-12-19 Thread Masahiro Yamada
On Wed, Dec 19, 2018 at 9:44 PM Ingo Molnar wrote: > > > * Masahiro Yamada wrote: > > > This series reverts the in-kernel workarounds for inlining issues. > > > > The commit description of 77b0bf55bc67 mentioned > > "We also hope that GCC will eventually get fixed,..." > > > > Now, GCC provides a

Re: [PATCH 3/4] iommu/of: Don't call iommu_ops->add_device directly

2018-12-19 Thread Joerg Roedel
Hi Marek, thanks for the report! On Wed, Dec 19, 2018 at 10:54:18AM +0100, Marek Szyprowski wrote: > On 2018-12-11 16:05, Joerg Roedel wrote: > > From: Joerg Roedel > > > > Make sure to invoke this call-back through the proper > > function of the IOMMU-API. > > > > Signed-off-by: Joerg Roedel >

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

2018-12-19 Thread Kalle Valo
Hi Dave, 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 time to get them to 4.20. But if there's not time, please

GFS2: Pull request (merge window)

2018-12-19 Thread Bob Peterson
Hi Linus, Please consider pulling the following changes for the GFS2 file system. Regards, Bob Peterson The following changes since commit 40e020c129cfc991e8ab4736d2665351ffd1468d: Linux 4.20-rc6 (2018-12-09 15:31:00 -0800) are

Re: [PATCH v2] mm, page_alloc: Fix has_unmovable_pages for HugePages

2018-12-19 Thread Wei Yang
On Wed, Dec 19, 2018 at 02:25:28PM +, Wei Yang wrote: >On Mon, Dec 17, 2018 at 11:51:13PM +0100, Oscar Salvador wrote: >>v1 -> v2: >> - Fix the logic for skipping pages by Michal >> >>--- >>>From e346b151037d3c37feb10a981a4d2a25018acf81 Mon Sep 17 00:00:00 2001 >>From: Oscar Salvador >>Da

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