[PATCH 03/12] __wr_after_init: generic header

2018-12-19 Thread Igor Stoppa
The header provides: - the generic part of the write rare functionality for static data - the dummy functionality, in case an arch doesn't support write rare or the functionality is disabled The basic functions are: - wr_memset(): write rare counterpart of memset() - wr_memcpy(): write rare coun

[PATCH 04/12] __wr_after_init: x86_64: __wr_op

2018-12-19 Thread Igor Stoppa
Architecture-specific implementation of the core write rare operation. The implementation is based on code from Andy Lutomirski and Nadav Amit for patching the text on x86 [here goes reference to commits, once merged] The modification of write protected data is done through an alternate mapping o

[PATCH 08/12] rodata_test: refactor tests

2018-12-19 Thread Igor Stoppa
Refactor the test cases, in preparation for using them also for testing __wr_after_init memory, when available. Signed-off-by: Igor Stoppa CC: Andy Lutomirski CC: Nadav Amit CC: Matthew Wilcox CC: Peter Zijlstra CC: Kees Cook CC: Dave Hansen CC: Mimi Zohar CC: linux-integr...@vger.kernel.

[PATCH 07/12] __wr_after_init: lkdtm test

2018-12-19 Thread Igor Stoppa
Verify that trying to modify a variable with the __wr_after_init attribute will cause a crash. Signed-off-by: Igor Stoppa CC: Andy Lutomirski CC: Nadav Amit CC: Matthew Wilcox CC: Peter Zijlstra CC: Kees Cook CC: Dave Hansen CC: Mimi Zohar CC: linux-integr...@vger.kernel.org CC: kernel-ha

Re: [PATCH v2 01/12] fs-verity: add a documentation file

2018-12-19 Thread Dave Chinner
On Wed, Dec 19, 2018 at 02:30:05PM -0500, Theodore Y. Ts'o wrote: > On Wed, Dec 19, 2018 at 01:19:53PM +1100, Dave Chinner wrote: > > Putting metadata in user files beyond EOF doesn't work with XFS's > > post-EOF speculative allocation algorithms. > > > > i.e. Filesystem design/algorithms often as

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

2018-12-19 Thread Jacek Anaszewski
Hi Dan and Pavel, On 12/19/18 9:41 PM, Dan Murphy wrote: Pavel On 12/19/2018 02:10 PM, Pavel Machek wrote: On Wed 2018-12-19 13:41:18, Dan Murphy wrote: Pavel Thanks for the review. On 12/19/2018 01:34 PM, Pavel Machek wrote: Hi! +static DEVICE_ATTR_WO(ctrl_bank_a_mix); +static DEVICE_AT

Re: [PATCH 1/2] ARC: show_regs: avoid page allocator

2018-12-19 Thread Vineet Gupta
On 12/19/18 12:46 PM, William Kucharski wrote: > I would rather see 256 as a #define somewhere rather than a magic number > sprinkled > around arch/arc/kernel/troubleshoot.c. That bothered me as well, but I was too lazy to define one and the existing ones don't apply. PATH_MAX is 4K which will bl

[RFC][PATCH] string.h: Add strncmp_prefix() helper macro

2018-12-19 Thread Bryana Rostedt
A discussion came up in the trace triggers thread about converting a bunch of: strncmp(str, "const", sizeof("const") - 1) use cases into a helper macro. It started with: #define strncmp_const(str, const) \ strncmp(str, const, sizeof(const) - 1) But then Joe Perches mentioned that if a

Re: "x86: Remove Intel MPX" is wrong (Re: linux-next: manual merge of the kvm tree with the tip tree)

2018-12-19 Thread Paolo Bonzini
On 19/12/18 22:28, Dave Hansen wrote: > > On 12/19/18 1:00 PM, Paolo Bonzini wrote: >> On 19/12/18 21:54, Dave Hansen wrote: >>> I should have called this out in the changelog, but I removed *all* the >>> support because I assumed that guests don't need MPX because no other OS >>> supported it tha

Re: [PATCH 2/7] drm: omapdrm: Cleanup drm_display_mode print str

2018-12-19 Thread Sebastian Reichel
Hi, Tomi is neither in To, nor in Cc of this patch? On Wed, Dec 19, 2018 at 07:22:04PM -0200, Shayenne Moura wrote: > This patch adjust the print string of drm_display_mode object > to remove drm_mode_object dependency in omapdrm files. > > Signed-off-by: Shayenne Moura > --- Reviewed-by: Seba

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

2018-12-19 Thread Dan Murphy
On 12/19/2018 03:36 PM, Jacek Anaszewski wrote: > Hi Dan and Pavel, > > On 12/19/18 9:41 PM, Dan Murphy wrote: >> Pavel >> >> On 12/19/2018 02:10 PM, Pavel Machek wrote: >>> On Wed 2018-12-19 13:41:18, Dan Murphy wrote: Pavel Thanks for the review. On 12/19/2018 01:34 PM,

Re: usercopy_warn in __copy_to_user

2018-12-19 Thread Kees Cook
On Wed, Dec 19, 2018 at 11:51 AM wrote: > > > In the 4.19 kernel, we are seeing a USERCOPY_WARN in __copy_to_user > during bootup. > The code-flow is something like this: > > (arch/arm64/kernel/signal.c) > struct sigset_t *set; > __copy_to_user(&sf->uc.uc_sigmask, set, sizeof(*set)) > > (include/l

Re: [RFC][PATCH] string.h: Add strncmp_prefix() helper macro

2018-12-19 Thread Joe Perches
On Wed, 2018-12-19 at 16:32 -0500, Bryana Rostedt wrote: > A discussion came up in the trace triggers thread about converting a > bunch of: > > strncmp(str, "const", sizeof("const") - 1) > > use cases into a helper macro. It started with: > > #define strncmp_const(str, const) \ > strncmp(

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

2018-12-19 Thread Pavel Machek
Hi! > >I don't think a user needs nor would want to have 24 different LED nodes > >with 24 different brightness files. > >Or with the LP5036 that would have 36 LED nodes. > > > >Table 1 in the data sheet shows how the outputs map to the control banks to > >the LED registers. > > Some time ago w

Re: [RFC][PATCH] string.h: Add strncmp_prefix() helper macro

2018-12-19 Thread Joe Perches
On Wed, 2018-12-19 at 16:32 -0500, Bryana Rostedt wrote: > a quick grep in the kernel tree found several > (thousands!) of cases that use this construct. A quick grep also > revealed that there's probably several bugs in that use case. Some are > that people forgot the "- 1" (which I found) and oth

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

2018-12-19 Thread Dan Murphy
On 12/19/2018 04:03 PM, Pavel Machek wrote: > Hi! > >>> I don't think a user needs nor would want to have 24 different LED nodes >>> with 24 different brightness files. >>> Or with the LP5036 that would have 36 LED nodes. >>> >>> Table 1 in the data sheet shows how the outputs map to the control

[PATCH 0/7] qcom: support wakeup capable GPIOs

2018-12-19 Thread Lina Iyer
Hi all, This set of patches adds support for wakeup capable GPIOs. After discussions in [1], this patches implement the recommendations suggested by Stephen. The gist of the approach is that GPIO is setup in hierarchy with a wakeup-parent irqchip. The key difference to [1] is that the TLMM GPIO d

[PATCH 5/7] drivers: pinctrl: msm: setup GPIO irqchip hierarchy

2018-12-19 Thread Lina Iyer
To allow GPIOs to wakeup the system from suspend or deep idle, the wakeup capable GPIOs are setup in hierarchy with interrupts from the wakeup-parent irqchip. In older SoC's, the TLMM will handover detection to the parent irqchip and in newer SoC's, the parent irqchip may also be active as well as

[PATCH 7/7] arm64: dts: msm: setup PDC as wakeup parent for GPIOs for SDM845

2018-12-19 Thread Lina Iyer
Add PDC wakeup parent for TLMM for SDM845 SoC. Signed-off-by: Lina Iyer --- arch/arm64/boot/dts/qcom/sdm845.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi index 8e15392a6f64..40dca655ba86 100644 --- a/arch/arm

[PATCH 6/7] arm64: dts: msm: add PDC device bindings for sdm845

2018-12-19 Thread Lina Iyer
Add PDC interrupt controller device bindings for SDM845. Signed-off-by: Lina Iyer --- Changes in v3: - Fix PDC map, use GIC SPI port number for hwirq Changes in v2: - Order by address --- arch/arm64/boot/dts/qcom/sdm845.dtsi | 9 + 1 file changed, 9 insertions(+) diff --

[PATCH 2/7] irqdomain: add bus token DOMAIN_BUS_WAKEUP

2018-12-19 Thread Lina Iyer
Add new bus token to describe domains that are wakeup capable. Suggested-by: Stephen Boyd Signed-off-by: Lina Iyer --- include/linux/irqdomain.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/irqdomain.h b/include/linux/irqdomain.h index 068aa46f0d55..b9ea3c3998e2 100644 ---

[PATCH 4/7] dt-bindings: sdm845-pinctrl: add wakeup interrupt parent for GPIO

2018-12-19 Thread Lina Iyer
SDM845 SoC has an always-on interrupt controller (PDC) with select GPIO routed to the PDC as interrupts that can be used to wake the system up from deep low power modes and suspend. Cc: devicet...@vger.kernel.org Signed-off-by: Lina Iyer --- .../devicetree/bindings/pinctrl/qcom,sdm845-pinctrl.tx

[PATCH 3/7] drivers: irqchip: add PDC irqdomain for wakeup capable GPIOs

2018-12-19 Thread Lina Iyer
From: Stephen Boyd Introduce a new domain for wakeup capable GPIOs. The domain can be requested using the bus token DOMAIN_BUS_WAKEUP. In the following patches, we will specify PDC as the wakeup-parent for the TLMM GPIO irqchip. Requesting a wakeup GPIO will setup the GPIO and the corresponding P

ทักทาย

2018-12-19 Thread accounts
ทักทาย, ฉันเป็นนายยาวหว่องพนักงานของสถาบันการเงินที่มีชื่อเสียงในประเทศมาเลเซีย ในช่วงหลายปีที่ผ่านมาลูกค้าต่างชาติที่เสียชีวิตได้รับการลงทุนภายใต้การบริหารของฉัน ฉันต้องการความช่วยเหลือจากคุณในการลงทุนในประเทศของคุณให้เป็นธุรกิจที่ดี หากคุณสนใจตอบกลับ (yingw...@zoho.com) เพื่อขอรายละเอียดเพิ่

Re: [PATCHv2 01/12] acpi: Create subtable parsing infrastructure

2018-12-19 Thread kbuild test robot
Hi Keith, I love your patch! Yet something to improve: [auto build test ERROR on pm/linux-next] [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-ci/linux

[PATCH 1/7] gpio: Add support for hierarchical IRQ domains

2018-12-19 Thread Lina Iyer
From: Thierry Reding Hierarchical IRQ domains can be used to stack different IRQ controllers on top of each other. One specific use-case where this can be useful is if a power management controller has top-level controls for wakeup interrupts. In such cases, the power management controller can be

Re: [PATCH] tty: serial: qcom_geni_serial: Fix UART hang

2018-12-19 Thread Evan Green
On Wed, Dec 19, 2018 at 12:34 PM Ryan Case wrote: > > If a serial console write occured while a UART transmit command was > waiting for a done signal then no further data would be sent until > something new kicked the system into gear. If there is already data > waiting in the circular buffer we m

Re: [PATCH v11 1/7] ACPI: Allow CONFIG_PCI to be unset for reboot

2018-12-19 Thread Sinan Kaya
On 12/18/2018 8:31 AM, Christoph Hellwig wrote: @@ -44,8 +47,9 @@ void acpi_reboot(void) /* Write the value that resets us. */ pci_bus_write_config_byte(bus0, devfn, (rr->address & 0x), reset_value); +#endif This would be a lot

Re: [PATCH v4 4/8] drm/msm/dsi: 14nm PHY: Get ref clock from the DT

2018-12-19 Thread Matthias Kaehlcke
On Mon, Dec 10, 2018 at 07:51:19AM -0800, Stephen Boyd wrote: > Quoting Matthias Kaehlcke (2018-12-04 14:42:30) > > diff --git a/drivers/gpu/drm/msm/dsi/pll/dsi_pll_14nm.c > > b/drivers/gpu/drm/msm/dsi/pll/dsi_pll_14nm.c > > index 71fe60e5f01f1..032bf3e8614bd 100644 > > --- a/drivers/gpu/drm/msm/d

Re: [PATCH v11 2/7] ACPI / OSL: Stub out acpi_os_(read/write)_pci_configurations()

2018-12-19 Thread Sinan Kaya
On 12/18/2018 8:32 AM, Christoph Hellwig wrote: + + rc = pr_warn_once("PCI configuration space access is not supported\n"); + return rc ? AE_SUPPORT : AE_OK; +#endif Normally we provide a full separate stub version. If we have enough of them in a separate file. I removed the depe

Re: [PATCH 18/41] scsi: isci: remote_device: 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:30 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, a dash is added a

Re: [PATCH 20/41] scsi: isci: request: 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:30 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, a dash is added a

Re: [PATCH 17/41] scsi: isci: phy: 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:29 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: 703127 ("Missing break in switch

Re: [PATCH 23/41] scsi: lpfc: lpfc_els: 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:31 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: 114978 ("Missing break in switch

Re: [PATCH 27/41] scsi: lpfc: lpfc_scsi: 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:32 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 "Drop

Re: [PATCH 24/41] scsi: lpfc: lpfc_hbadisc: 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:31 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 "Drop

Re: [PATCH 25/41] scsi: lpfc: lpfc_nportdisc: 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:31 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 2/2] leds: lp5024: Add the LP5024/18 RGB LED driver

2018-12-19 Thread Pavel Machek
Hi! [cc list trimmed] > >>> I don't think a user needs nor would want to have 24 different LED nodes > >>> with 24 different brightness files. > >>> Or with the LP5036 that would have 36 LED nodes. > >>> > >>> Table 1 in the data sheet shows how the outputs map to the control banks > >>> to the

Re: [PATCH 28/41] scsi: lpfc: lpfc_sli: 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:32 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 "Drop

Re: [RFC][PATCH] string.h: Add strncmp_prefix() helper macro

2018-12-19 Thread Steven Rostedt
Seems that I sent this as my daughter. I'm not home now but will resend again as myself when I am. -- Steve On December 19, 2018 4:54:57 PM EST, Joe Perches wrote: >On Wed, 2018-12-19 at 16:32 -0500, Bryana Rostedt wrote: >> A discussion came up in the trace triggers thread about converting a >

Re: [PATCH v4 4/8] drm/msm/dsi: 14nm PHY: Get ref clock from the DT

2018-12-19 Thread Stephen Boyd
Quoting Matthias Kaehlcke (2018-12-19 14:22:22) > On Mon, Dec 10, 2018 at 07:51:19AM -0800, Stephen Boyd wrote: > > Quoting Matthias Kaehlcke (2018-12-04 14:42:30) > > > diff --git a/drivers/gpu/drm/msm/dsi/pll/dsi_pll_14nm.c > > > b/drivers/gpu/drm/msm/dsi/pll/dsi_pll_14nm.c > > > index 71fe60e5f

Re: [PATCH 1/2] mm: introduce put_user_page*(), placeholder versions

2018-12-19 Thread Dave Chinner
On Wed, Dec 19, 2018 at 12:35:40PM +0100, Jan Kara wrote: > On Wed 19-12-18 21:28:25, Dave Chinner wrote: > > On Tue, Dec 18, 2018 at 08:03:29PM -0700, Jason Gunthorpe wrote: > > > On Wed, Dec 19, 2018 at 10:42:54AM +1100, Dave Chinner wrote: > > > > > > > Essentially, what we are talking about is

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

2018-12-19 Thread Wolfram Sang
Hi Lukas, Hans, On Wed, Dec 19, 2018 at 07:36:54PM +0100, Hans de Goede wrote: > Hi, > > On 19-12-18 18:22, Lukas Wunner wrote: > > On Wed, Dec 19, 2018 at 05:48:17PM +0100, Wolfram Sang wrote: > > > +static inline void i2c_mark_adapter_suspended(struct i2c_adapter *adap) > > > +{ > > > + i2c_loc

[PATCH] blkcg: clean up blkg_tryget_closest()

2018-12-19 Thread Dennis Zhou
The implementation of blkg_tryget_closest() wasn't super obvious and became a point of suspicion when debugging [1]. So let's clean it up so it's obviously not the problem. [1] https://lore.kernel.org/linux-block/a7e97e4b-0dd8-3a54-23b7-a0f27b17f...@kernel.dk/ Signed-off-by: Dennis Zhou --- in

[PATCH] blkcg: remove unused __blkg_release_rcu()

2018-12-19 Thread Dennis Zhou
An earlier commit 7fcf2b033b84 ("blkcg: change blkg reference counting to use percpu_ref") moved around the release call from blkg_put() to be a part of the percpu_ref cleanup. Remove the additional unused code which should have been removed earlier. Signed-off-by: Dennis Zhou --- block/blk-cgro

[PATCH v12 3/7] ACPICA: Remove PCI bits from ACPICA when CONFIG_PCI is unset

2018-12-19 Thread Sinan Kaya
Allow ACPI to be built without PCI support in place. Signed-off-by: Sinan Kaya --- drivers/acpi/acpica/Makefile| 2 +- drivers/acpi/acpica/achware.h | 9 + drivers/acpi/acpica/evhandler.c | 8 drivers/acpi/acpica/exregion.c | 4 drivers/acpi/osl.c | 2 ++

[PATCH v12 5/7] arm64: select ACPI PCI code only when both features are enabled

2018-12-19 Thread Sinan Kaya
ACPI and PCI are no longer coupled to each other. Specify requirements for both when pulling in code. Signed-off-by: Sinan Kaya Acked-by: Catalin Marinas --- arch/arm64/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index

[PATCH v12 7/7] ACPI: Make PCI slot detection driver depend on PCI

2018-12-19 Thread Sinan Kaya
Since this is ACPI PCI slot detection driver for PCI, it doesn't make sense to compile this without PCI support in place. Signed-off-by: Sinan Kaya --- drivers/acpi/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/acpi/Kconfig b/drivers/acpi/Kconfig index a0abc

[PATCH v12 6/7] ACPI/IORT: Stub out ACS functions when CONFIG_PCI is not set

2018-12-19 Thread Sinan Kaya
Remove PCI dependent code out of iort.c when CONFIG_PCI is not defined. A quick search reveals the following functions: 1. pci_request_acs() 2. pci_domain_nr() 3. pci_is_root_bus() 4. to_pci_dev() Both pci_domain_nr() and pci_is_root_bus() are defined in linux/pci.h. pci_domain_nr() is a stub func

[PATCH v12 2/7] ACPI: Allow CONFIG_PCI to be unset for reboot

2018-12-19 Thread Sinan Kaya
Make PCI reboot conditional on CONFIG_PCI set on the kernel configuration. Signed-off-by: Sinan Kaya --- drivers/acpi/reboot.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/acpi/reboot.c b/drivers/acpi/reboot.c index d642a9dede52..ca707f5b521d 100644 --- a/drivers/acpi/rebo

[PATCH v12 4/7] PCI/ACPI: Allow ACPI to be built without CONFIG_PCI set

2018-12-19 Thread Sinan Kaya
We are compiling PCI code today for systems with ACPI and no PCI device present. Remove the useless code and reduce the tight dependency. Signed-off-by: Sinan Kaya Acked-by: Bjorn Helgaas # PCI parts Acked-by: Ingo Molnar --- arch/x86/include/asm/pci_x86.h | 7 +++ drivers/acpi/Kconfig

[PATCH v12 1/7] ACPI: Move PCI reset to a separate function

2018-12-19 Thread Sinan Kaya
Getting ready to factor out PCI specific code when CONFIG_PCI is unset. Create a acpi_pci_reset() that kick starts PCI specific reset. Signed-off-by: Sinan Kaya --- drivers/acpi/reboot.c | 32 +++- 1 file changed, 19 insertions(+), 13 deletions(-) diff --git a/driver

Re: [PATCH 19/41] scsi: isci: remote_node_context: 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:30 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, a dash is added a

Re: [PATCH 2/6] __wr_after_init: write rare for static allocation

2018-12-19 Thread Igor Stoppa
On 12/12/2018 11:49, Martin Schwidefsky wrote: On Wed, 5 Dec 2018 15:13:56 -0800 Andy Lutomirski wrote: Hi s390 and powerpc people: it would be nice if this generic implementation *worked* on your architectures and that it will allow you to add some straightforward way to add a better arch

Re: [PATCH 22/41] scsi: lpfc: lpfc_ct: 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:31 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 16/41] scsi: imm: 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:29 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 placed all the

Re: [tip:efi/urgent] efi: Align 'efi_guid_t' to 64 bits

2018-12-19 Thread Ard Biesheuvel
On Tue, 18 Dec 2018 at 00:20, Heinrich Schuchardt wrote: > > On 12/17/18 11:42 PM, Ard Biesheuvel wrote: > > On Mon, 17 Dec 2018 at 23:33, Heinrich Schuchardt > > wrote: > >> > >> On 12/17/18 7:16 PM, tip-bot for Heinrich Schuchardt wrote: > >>> Commit-ID: 793423cf07e51e3185b8680167115813589c05

Re: [PATCH 26/41] scsi: lpfc: lpfc_nvme: 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:31 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/

[PATCH V2 2/3] arm64: dts: tegra210: Add SDMMC Auto-cal settings

2018-12-19 Thread Sowjanya Komatineni
Add SDMMC initial pad offsets used by auto calibration process. Add SDMMC fixed drive strengths used when calibration timeouts. Fixed drive strengths are based on Pre SI Analysis of the pads. Signed-off-by: Sowjanya Komatineni --- arch/arm64/boot/dts/nvidia/tegra186.dtsi | 2 ++ arch/arm64/boo

[PATCH V2 1/3] dt-bindings: mmc: tegra: Add pinctrl for pad drive strength config

2018-12-19 Thread Sowjanya Komatineni
Add pinctrl for 3V3 and 1V8 pad drive strength configuration for Tegra210 sdmmc which has pad configuration registers in the pinmux reigster domain. Signed-off-by: Sowjanya Komatineni --- Documentation/devicetree/bindings/mmc/nvidia,tegra20-sdhci.txt | 6 +- 1 file changed, 5 insertions(+),

[PATCH V2 3/3] mmc: tegra: SDMMC pads auto-calibration

2018-12-19 Thread Sowjanya Komatineni
Programs initial drive code offsets which will be used by auto calibration process. Programs fixed drive strengths for SDMMC pads when auto cal timeouts. Fixed settings are based on Pre-SI analysis of the pad design. Signed-off-by: Sowjanya Komatineni --- drivers/mmc/host/sdhci-tegra.c | 107 ++

Re: [PATCH] tty: serial: qcom_geni_serial: Fix UART hang

2018-12-19 Thread Doug Anderson
Hi, On Wed, Dec 19, 2018 at 2:12 PM Evan Green wrote: > > On Wed, Dec 19, 2018 at 12:34 PM Ryan Case wrote: > > > > If a serial console write occured while a UART transmit command was > > waiting for a done signal then no further data would be sent until > > something new kicked the system into

RE: [PATCHv2 01/12] acpi: Create subtable parsing infrastructure

2018-12-19 Thread Schmauss, Erik
> -Original Message- > From: linux-acpi-ow...@vger.kernel.org [mailto:linux-acpi- > ow...@vger.kernel.org] On Behalf Of Rafael J. Wysocki > Sent: Tuesday, December 11, 2018 1:45 AM > To: Busch, Keith > Cc: Linux Kernel Mailing List ; ACPI Devel > Maling List ; Linux Memory Management Lis

[PATCH] virtio: fix test build after uio.h change

2018-12-19 Thread Michael S. Tsirkin
Fixes: d38499530e5 ("fs: decouple READ and WRITE from the block layer ops") Signed-off-by: Michael S. Tsirkin --- tools/virtio/linux/kernel.h | 4 1 file changed, 4 insertions(+) diff --git a/tools/virtio/linux/kernel.h b/tools/virtio/linux/kernel.h index fb22bccfbc8a..7ef45a4a3cba 100644 -

[PATCH] checkpatch.pl: Improve WARNING on Kconfig help

2018-12-19 Thread Igor Stoppa
The checkpatch.pl script complains when the help section of a Kconfig entry is too short, but it doesn't really explain what it is looking for. Instead, it gives a generic warning that one should consider writing a paragraph. But what it *really* checks is that the help section is at least .$min_c

[PULL] virtio fix

2018-12-19 Thread Michael S. Tsirkin
Sorry about the last-minute pull req. But it does seem very very safe and also the tests aren't automatically built right now so the 0 day infrastructure won't help anyway. The following changes since commit 7566ec393f4161572ba6f11ad5171fd5d59b0fbd: Linux 4.20-rc7 (2018-12-16 15:46:55 -0800) a

[PATCH] ALSA: isa/wavefront: Fix potential Spectre v1 vulnerabilities

2018-12-19 Thread Gustavo A. R. Silva
header->number is indirectly controlled by user-space, hence leading to a potential exploitation of the Spectre variant 1 vulnerability. This issue was detected with the help of Smatch: sound/isa/wavefront/wavefront_synth.c:792 wavefront_send_patch() warn: potential spectre issue 'dev->patch_sta

[PATCH] dt-bindings: irq: Convert ARM GIC to json-schema

2018-12-19 Thread Rob Herring
Convert the ARM GIC binding document to DT schema format using json-schema. Cc: Thomas Gleixner Cc: Jason Cooper Cc: Marc Zyngier Cc: Mark Rutland Signed-off-by: Rob Herring --- There's numerous warnings this creates with compatible properties in regards to having fallback compatible strings

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

2018-12-19 Thread Oscar Salvador
On Wed, Dec 19, 2018 at 02:25:28PM +, Wei Yang wrote: > >-iter = round_up(iter + 1, 1< >+skip_pages = (1 << compound_order(head)) - (page - > >head); > >+iter = round_up(iter + 1, skip_pages) - 1; > > The comment of round_up says rou

[PATCH V4 1/4] mmc: sdhci: Fix sdhci_do_enable_v4_mode

2018-12-19 Thread Sowjanya Komatineni
V4_MODE is Bit-15 of SDHCI_HOST_CONTROL2 register. Need to perform word access to this register. Signed-off-by: Sowjanya Komatineni --- drivers/mmc/host/sdhci.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c index 99bda

[PATCH V4 3/4] arm64: dtsi: Fix SDMMC address range

2018-12-19 Thread Sowjanya Komatineni
This patch fixes the SDMMC Controllers address space to be exact defined register address range as per the design. SDMMC Controller supporting Command Queue has CQHCI registers at offset 0xF000. This fix helps to identify the Tegra SDMMC Controllers supporting Command Queue based on the size of a

Re: [PATCH v2] f2fs: fix sbi->extent_list corruption issue

2018-12-19 Thread Jaegeuk Kim
On 12/19, Chao Yu wrote: > On 2018/12/19 6:47, Jaegeuk Kim wrote: > > On 12/18, Chao Yu wrote: > >> On 2018/12/14 22:25, Jaegeuk Kim wrote: > >>> On 12/14, Sahitya Tummala wrote: > On Wed, Dec 12, 2018 at 11:36:08AM +0800, Chao Yu wrote: > > On 2018/12/12 11:17, Sahitya Tummala wrote: > >>

[PATCH V4 0/4] HW Command Queue support for Tegra SDMMC

2018-12-19 Thread Sowjanya Komatineni
This patch series is for HW Command Queue support for Tegra SDMMC. Patch[4] adds HW Command Queue support for Tegra SDMMC and has dependencies on other patches in this series as explained below. Patch[3] SDMMC address range: This patch defines exact register space for all the SDMMC Controllers. C

[PATCH V4 2/4] mmc: cqhci: DMA Configuration prior to CQE

2018-12-19 Thread Sowjanya Komatineni
eMMC-5.1 JESD84-B51 Spec (Section 6.6.39.1), mentions "Prior to enabling command queuing, the block size shall be set to 512 B. Device may respond with an error to CMD46/CMD47 if block size is not 512 B". This patch fixes the sequence to follow exact as per the spec. Signed-off-by: Sowjanya Komat

[PATCH V4 4/4] mmc: tegra: HW Command Queue Support for Tegra SDMMC

2018-12-19 Thread Sowjanya Komatineni
This patch adds HW Command Queue for supported Tegra SDMMC controllers. Tegra SDHCI with Quirk SDHCI_QUIRK2_BROKEN_64_BIT_DMA disables the use of 64_BIT DMA to disable 64-bit addressing mode access to the system memory and sdhci_cqe_enable using flag SDHCI_USE_64_BIT_DMA for ADMA32/ADMA2 Vs ADMA64

Re: [RFC PATCH 1/2] mm: swap: check if swap backing device is congested or not

2018-12-19 Thread Yang Shi
On 12/19/18 11:00 AM, Tim Chen wrote: On 12/19/18 10:40 AM, Yang Shi wrote: I don't think your dereference inode = si->swap_file->f_mapping->host is always safe.  You should do it only when (si->flags & SWP_FS) is true. Do you mean it is not safe for swap partition? The f_mapping may not

[PATCH v5 0/8] drm/msm/dsi: Get PHY ref clocks from the DT

2018-12-19 Thread Matthias Kaehlcke
The MSM DSI PHY drivers currently hardcode the name and the rate of the PHY ref clock. Get the ref clock from the device tree instead. Note: testing of this series was limited to SDM845 and the 10nm PHY Major changes in v5: - none (see per-patch change log for minor changes) Major changes in v4:

[PATCH v5 4/8] drm/msm/dsi: 14nm PHY: Get ref clock from the DT

2018-12-19 Thread Matthias Kaehlcke
Get the ref clock of the PHY from the device tree instead of hardcoding its name and rate. Note: This change could break old out-of-tree DTS files that use the 14nm PHY. Signed-off-by: Matthias Kaehlcke Reviewed-by: Douglas Anderson --- Changes in v5: - pass the ref clock name to _register() in

[PATCH v5 2/8] drm/msm/dsi: 28nm 8960 PHY: Get ref clock from the DT

2018-12-19 Thread Matthias Kaehlcke
Get the ref clock of the PHY from the device tree instead of hardcoding its name and rate. Signed-off-by: Matthias Kaehlcke Reviewed-by: Stephen Boyd --- Changes in v5: - added "Reviewed-by: Stephen Boyd " tag Changes in v4: - always use parent rate in dsi_pll_28nm_clk_set_rate() - pass name of

[PATCH v5 7/8] arm64: dts: sdm845: Set 'bi_tcxo' as ref clock of the DSI PHYs

2018-12-19 Thread Matthias Kaehlcke
Add 'bi_tcxo' as ref clock for the DSI PHYs, it was previously hardcoded in the PLL 'driver' for the 10nm PHY. Signed-off-by: Matthias Kaehlcke Reviewed-by: Douglas Anderson Reviewed-by: Stephen Boyd --- based on "[v6] arm64: dts: qcom: sdm845: Add dpu to sdm845 dts file" (https://patchwork.k

[PATCH v5 5/8] drm/msm/dsi: 10nm PHY: Get ref clock from the DT

2018-12-19 Thread Matthias Kaehlcke
Get the ref clock of the PHY from the device tree instead of hardcoding its name and rate. Note: This change could break old out-of-tree DTS files that use the 10nm PHY Signed-off-by: Matthias Kaehlcke Reviewed-by: Douglas Anderson --- Changes in v5: - pass the ref clock name to _register() ins

[PATCH v5 1/8] dt-bindings: msm/dsi: Add ref clock for PHYs

2018-12-19 Thread Matthias Kaehlcke
Allow the PHY drivers to get the ref clock from the DT. Signed-off-by: Matthias Kaehlcke Reviewed-by: Stephen Boyd Reviewed-by: Douglas Anderson Reviewed-by: Rob Herring --- Changes in v5: - added "Reviewed-by: Rob Herring " tag Changes in v4: - added "Reviewed-by" tags from Stephen and Doug

[PATCH v5 6/8] arm64: dts: qcom: msm8916: Set 'xo_board' as ref clock of the DSI PHY

2018-12-19 Thread Matthias Kaehlcke
Add 'xo_board' as ref clock for the DSI PHYs, it was previously hardcoded in the PLL 'driver' for the 28nm PHY. Signed-off-by: Matthias Kaehlcke Reviewed-by: Douglas Anderson Reviewed-by: Stephen Boyd --- Changes in v5: - none Changes in v4: - added 'Reviewed-by: Stephen Boyd ' tag Changes in

[PATCH v5 8/8] ARM: dts: qcom-apq8064: Set 'xo_board' as ref clock of the DSI PHY

2018-12-19 Thread Matthias Kaehlcke
Add 'xo_board' as ref clock for the DSI PHY, it was previously hardcoded in the PLL 'driver' for the 28nm 8960 PHY. Signed-off-by: Matthias Kaehlcke Reviewed-by: Stephen Boyd --- Changes in v5: - none Changes in v4: - added 'Reviewed-by: Stephen Boyd ' tag Changes in v3: - patch added to the s

[PATCH v5 3/8] drm/msm/dsi: 28nm PHY: Get ref clock from the DT

2018-12-19 Thread Matthias Kaehlcke
Get the ref clock of the PHY from the device tree instead of hardcoding its name and rate. Signed-off-by: Matthias Kaehlcke Reviewed-by: Stephen Boyd tag --- Changes in v5: - added missing return keyword in msm_dsi_pll_28nm_init() - added "Reviewed-by: Stephen Boyd " tag Changes in v4: - always

sound/pci/hda/patch_ca0132.c:8416:3: error: implicit declaration of function 'pci_iounmap'; did you mean 'pcim_iounmap'?

2018-12-19 Thread kbuild test robot
Hi Takashi, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 62393dbcbe0f3001691e4bd479a25beb5941f2ed commit: d99501b8575dc1248bacf1b58d2241cb4b265d49 ALSA: hda/ca0132 - Call pci_iounmap() instead of iounmap() date:

Re: [PATCHv2 01/12] acpi: Create subtable parsing infrastructure

2018-12-19 Thread Dan Williams
On Wed, Dec 19, 2018 at 3:19 PM Schmauss, Erik wrote: > > > > > -Original Message- > > From: linux-acpi-ow...@vger.kernel.org [mailto:linux-acpi- > > ow...@vger.kernel.org] On Behalf Of Rafael J. Wysocki > > Sent: Tuesday, December 11, 2018 1:45 AM > > To: Busch, Keith > > Cc: Linux Kerne

[PATCH] drm/ioctl: Fix Spectre v1 vulnerabilities

2018-12-19 Thread Gustavo A. R. Silva
nr is indirectly controlled by user-space, hence leading to a potential exploitation of the Spectre variant 1 vulnerability. This issue was detected with the help of Smatch: drivers/gpu/drm/drm_ioctl.c:805 drm_ioctl() warn: potential spectre issue 'dev->driver->ioctls' [r] drivers/gpu/drm/drm_io

[PATCH] Documentation/process: hardcoded core.abbrev considered harmful!

2018-12-19 Thread Ævar Arnfjörð Bjarmason
Stop recommending that core.abbrev=12 be hardcoded when referring to kernel commits, and instead rely on the git's default abbreviation. Hardcoding this at "12" was done in 8401aa1f5997 ("Documentation/SubmittingPatches: describe the Fixes: tag", 2014-06-06), back then Linus's git/git@e6c587c733 (

Re: [PATCH 31/41] scsi: mpt3sas: mpt3sas_scsih: 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:32 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: 1475400 ("Missing break in switc

Re: [PATCH 33/41] scsi: osd: osd_initiator: 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:32 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 32/41] scsi: myrb: 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:32 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: 1465234 ("Missing break in switc

Re: [PATCH 34/41] scsi: osst: 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:33 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: 114983 ("Missing break in switch

Re: [PATCH 37/41] scsi: st: 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:33 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: 114994 ("Missing break in switch

Re: [PATCH 35/41] scsi: ppa: 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:33 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: 114988 ("Missing break in switch

Re: [PATCH 36/41] scsi: qla4xxx: ql4_os: 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:33 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 "allow

Re: [PATCH 39/41] scsi: sym53c8xx_2: sym_nvram: 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:34 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 38/41] scsi: sym53c8xx_2: sym_hipd: 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:34 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: 114996 ("Missing break in switch

Re: [v3, PATCH 0/2] add ethernet binding and modify ethernet driver for mt2712

2018-12-19 Thread David Miller
From: Biao Huang Date: Wed, 19 Dec 2018 15:22:39 +0800 > changes in v3: > resend this series base on the latest net-next tree. > > changes in v2 as comments from Sean: > 1. fix typo. > 2. use capital letters for RMII/MII/RGMII in driver and bindings. > > v1: > This new series is the result of d

Reply to get your funds

2018-12-19 Thread PROF.MEK
-- Our Ref: GHBK /FT/233B. ARE YOU NO LONGER READY TO RECEIVE YOUR MONEY, MISS KEN CAME TO CLAIM YOUR MONEY . GET BACK TO US ASAP IF YOU ARE NOT THE ONE THAT INSTRUCTED HER TO CLAIM YOUR FUNDS.RECONFIRM YOUR INTEREST BY SENDING YOUR ADDRESS,FULL NAME,OCCUPATION ,PHONE NUMBER AS WELL AS YO

<    3   4   5   6   7   8   9   10   >