Re: [PATCH] drivers/staging/speakup: fix some coding style problem in spk_ttyio.c

2017-05-22 Thread Greg Kroah-Hartman
On Sun, May 21, 2017 at 02:43:47AM +0800, Rui Teng wrote: > This is a patch to the spk_ttyio.c file which fixes up the problems > reported by the checkpatch.pl tool. "the problems reported" is very very very vague. Please read my last email to you...

Re: [PATCH] mm: introduce MADV_CLR_HUGEPAGE

2017-05-22 Thread Kirill A. Shutemov
On Mon, May 22, 2017 at 04:36:00PM +0300, Mike Rapoport wrote: > On Mon, May 22, 2017 at 02:42:43PM +0300, Kirill A. Shutemov wrote: > > On Mon, May 22, 2017 at 09:12:42AM +0300, Mike Rapoport wrote: > > > Currently applications can explicitly enable or disable THP for a memory > > > region using

Re: [Xen-devel] [PATCH 2/2] xen: add sysfs node for guest type

2017-05-22 Thread Jan Beulich
>>> On 22.05.17 at 10:57, wrote: > --- a/include/xen/xen.h > +++ b/include/xen/xen.h > @@ -9,8 +9,10 @@ enum xen_domain_type { > > #ifdef CONFIG_XEN > extern enum xen_domain_type xen_domain_type; > +extern char *xen_guest_type; const char * ? Jan

[PATCH] Bluetooth: hci_ll: Fix download_firmware() return when __hci_cmd_sync fails

2017-05-22 Thread Guodong Xu
When __hci_cmd_sync() fails, download_firmware() should also fail, and the same error value should be returned as PTR_ERR(skb). Without this fix, download_firmware() will return a success when it actually failed in __hci_cmd_sync(). Fixes: 371805522f87 ("bluetooth: hci_uart: add LL protocol

Re: [PATCH v2 0/3] Cleanup evergreen/si IRQ handling code

2017-05-22 Thread Lyude Paul
On Sat, 2017-05-20 at 13:39 +0200, Christian König wrote: > Am 20.05.2017 um 01:48 schrieb Lyude: > > This is the first part of me going through and cleaning up the IRQ > > handling > > code for radeon, since after taking a look at it the other day > > while trying to > > debug something I

Re: [PATCH v1 00/11] mm/kasan: support per-page shadow memory to reduce memory consumption

2017-05-22 Thread Andrey Ryabinin
On 05/19/2017 04:53 AM, Joonsoo Kim wrote: > On Wed, May 17, 2017 at 03:17:13PM +0300, Andrey Ryabinin wrote: >> On 05/16/2017 04:16 AM, js1...@gmail.com wrote: >>> From: Joonsoo Kim >>> >>> Hello, all. >>> >>> This is an attempt to recude memory consumption of KASAN.

Re: [PATCH] net: fec: add post PHY reset delay DT property

2017-05-22 Thread Quentin Schulz
Hi Andrew On 22/05/2017 15:57, Andrew Lunn wrote: > On Mon, May 22, 2017 at 11:15:17AM +0200, Quentin Schulz wrote: >> Some PHY require to wait for a bit after the reset GPIO has been >> toggled. This adds support for the DT property `phy-reset-post-delay` >> which gives the delay in milliseconds

[PATCH v4 08/20] ARM: dts: lpc18xx: Add generic compatible string for I2C EEPROM

2017-05-22 Thread Javier Martinez Canillas
The at24 driver allows to register I2C EEPROM chips using different vendor and devices, but the I2C subsystem does not take the vendor into account when matching using the I2C table since it only has device entries. But when matching using an OF table, both the vendor and device has to be taken

[PATCH v4 16/20] powerpc/5200: Add generic compatible string for I2C EEPROM

2017-05-22 Thread Javier Martinez Canillas
The at24 driver allows to register I2C EEPROM chips using different vendor and devices, but the I2C subsystem does not take the vendor into account when matching using the I2C table since it only has device entries. But when matching using an OF table, both the vendor and device has to be taken

[PATCH v4 19/20] powerpc/83xx: Add generic compatible string for I2C EEPROM

2017-05-22 Thread Javier Martinez Canillas
The at24 driver allows to register I2C EEPROM chips using different vendor and devices, but the I2C subsystem does not take the vendor into account when matching using the I2C table since it only has device entries. But when matching using an OF table, both the vendor and device has to be taken

[PATCH v4 17/20] powerpc/fsl: Add generic compatible string for I2C EEPROM

2017-05-22 Thread Javier Martinez Canillas
The at24 driver allows to register I2C EEPROM chips using different vendor and devices, but the I2C subsystem does not take the vendor into account when matching using the I2C table since it only has device entries. But when matching using an OF table, both the vendor and device has to be taken

[PATCH v4 06/20] ARM: dts: imx: Add generic compatible string for I2C EEPROM

2017-05-22 Thread Javier Martinez Canillas
The at24 driver allows to register I2C EEPROM chips using different vendor and devices, but the I2C subsystem does not take the vendor into account when matching using the I2C table since it only has device entries. But when matching using an OF table, both the vendor and device has to be taken

[PATCH v4 09/20] ARM: dts: r7s72100: Add generic compatible string for I2C EEPROM

2017-05-22 Thread Javier Martinez Canillas
The at24 driver allows to register I2C EEPROM chips using different vendor and devices, but the I2C subsystem does not take the vendor into account when matching using the I2C table since it only has device entries. But when matching using an OF table, both the vendor and device has to be taken

[PATCH v4 05/20] ARM: dts: efm32: Add generic compatible string for I2C EEPROM

2017-05-22 Thread Javier Martinez Canillas
The at24 driver allows to register I2C EEPROM chips using different vendor and devices, but the I2C subsystem does not take the vendor into account when matching using the I2C table since it only has device entries. But when matching using an OF table, both the vendor and device has to be taken

[PATCH v4 01/20] dt-bindings: i2c: eeprom: Document vendor to be used and deprecated ones

2017-05-22 Thread Javier Martinez Canillas
The at24 driver allows to register I2C EEPROM chips using different vendor and devices, but the I2C subsystem does not take the vendor into account when matching using the I2C table since it only has device entries. But when matching using an OF table, both the vendor and device has to be taken

[PATCH v4 07/20] ARM: dts: keystone: Add generic compatible string for I2C EEPROM

2017-05-22 Thread Javier Martinez Canillas
The at24 driver allows to register I2C EEPROM chips using different vendor and devices, but the I2C subsystem does not take the vendor into account when matching using the I2C table since it only has device entries. But when matching using an OF table, both the vendor and device has to be taken

Re: [PATCH 2/2] vhost/scsi: Delete error messages for failed memory allocations in five functions

2017-05-22 Thread Stefan Hajnoczi
On Mon, May 22, 2017 at 03:38:33PM +0300, Dan Carpenter wrote: > On Mon, May 22, 2017 at 12:23:20PM +0100, Stefan Hajnoczi wrote: > > I'm not sure if kmalloc() and friends guarantee to show > > a message (not just the first time, but for every failed allocation)? > > > > It prints multiple times,

Re: [PATCH] x86/mm: pgds getting out of sync after memory hot remove

2017-05-22 Thread Jerome Glisse
On Mon, May 22, 2017 at 04:12:15PM +0300, Kirill A. Shutemov wrote: > On Fri, May 19, 2017 at 02:01:26PM -0400, Jérôme Glisse wrote: > > After memory hot remove it seems we do not synchronize pgds for kernel > > virtual memory range (on vmemmap_free()). This seems bogus to me as it > > means we

[PATCH 1/3] RDS: IB: Delete an error message for a failed memory allocation in rds_ib_add_one()

2017-05-22 Thread SF Markus Elfring
From: Markus Elfring Date: Mon, 22 May 2017 15:34:28 +0200 Omit an extra message for a memory allocation failure in this function. This issue was detected by using the Coccinelle software. Link:

[PATCH 2/3] RDS: IB: Improve a size determination in rds_ib_add_one()

2017-05-22 Thread SF Markus Elfring
From: Markus Elfring Date: Mon, 22 May 2017 15:40:21 +0200 Replace the specification of a data structure by a pointer dereference as the parameter for the operator "sizeof" to make the corresponding size determination a bit safer according to the Linux coding style

Re: [PATCH] vhost: Coalesce vq_err formats, pr_fmt misuse, add missing newlines

2017-05-22 Thread Stefan Hajnoczi
On Mon, May 22, 2017 at 03:33:43AM -0700, Joe Perches wrote: > vhost logging uses of vq_err has a few defects and style inconsistencies. > > o pr_debug already uses pr_fmt so its use in vq_err is defective > however no #defines of pr_fmt exist in this code so no actual > defects exist > o

Re: [PATCH 2/2] xen: add sysfs node for guest type

2017-05-22 Thread Juergen Gross
On 22/05/17 15:17, Boris Ostrovsky wrote: > >> diff --git a/Documentation/ABI/testing/sysfs-hypervisor >> b/Documentation/ABI/testing/sysfs-hypervisor >> index 443196f0aa1c..06850f74ebd4 100644 >> --- a/Documentation/ABI/testing/sysfs-hypervisor >> +++

Re: [PATCH 3/3] RDS: TCP: Delete an error message for a failed memory allocation in rds_tcp_init_net()

2017-05-22 Thread Sowmini Varadhan
On (05/22/17 16:13), SF Markus Elfring wrote: > > Omit an extra message for a memory allocation failure in this function. The change itself is harmless, but I'm curious about the "extra" part: "extra" from what? If this happens, hopefully this will be logged somewhere? Note that this type of

Re: [PATCH 1/2] misc: apds990x: move header file out of I2C realm

2017-05-22 Thread Arnd Bergmann
On Sun, May 21, 2017 at 10:42 PM, Wolfram Sang wrote: > include/linux/i2c is not for client devices. Move the header file to a > more appropriate location. > > Signed-off-by: Wolfram Sang > --- > drivers/misc/apds990x.c | 2 +- >

Re: [PATCH v5 2/2] tpm: vtpm_proxy: Implement request_locality function.

2017-05-22 Thread Stefan Berger
On 05/20/2017 08:40 AM, Jarkko Sakkinen wrote: On Mon, May 15, 2017 at 12:51:45PM -0400, Stefan Berger wrote: Implement the request_locality function. To set the locality on the backend we define vendor-specific TPM 1.2 and TPM 2 ordinals and send a command to the backend to set the locality

Re: [PATCH] mm: introduce MADV_CLR_HUGEPAGE

2017-05-22 Thread Mike Rapoport
On Mon, May 22, 2017 at 03:55:48PM +0200, Michal Hocko wrote: > On Mon 22-05-17 16:36:00, Mike Rapoport wrote: > > On Mon, May 22, 2017 at 02:42:43PM +0300, Kirill A. Shutemov wrote: > > > On Mon, May 22, 2017 at 09:12:42AM +0300, Mike Rapoport wrote: > > > > Currently applications can explicitly

Re: [PATCHv4] wlcore: add wl1285 compatible

2017-05-22 Thread David Miller
From: Kalle Valo Date: Mon, 22 May 2017 12:28:20 +0300 > Sebastian Reichel writes: > >> Motorola Droid 4 uses a WL1285C. With differences between the >> chips not being public let's add explicit binding for wl1285 >> instead of relying

Re: [Xen-devel] [PATCH 2/2] xen: add sysfs node for guest type

2017-05-22 Thread Boris Ostrovsky
On 05/22/2017 09:33 AM, Andrew Cooper wrote: > On 22/05/17 09:57, Juergen Gross wrote: >> Currently there is no reliable user interface inside a Xen guest to >> determine its type (e.g. HVM, PV or PVH). Instead of letting user mode >> try to determine this by various rather hacky mechanisms

RE: [PATCH v3 08/10] x86/hyper-v: use hypercall for remote TLB flush

2017-05-22 Thread KY Srinivasan
> -Original Message- > From: devel [mailto:driverdev-devel-boun...@linuxdriverproject.org] On > Behalf Of Vitaly Kuznetsov > Sent: Monday, May 22, 2017 3:44 AM > To: Andy Lutomirski > Cc: Stephen Hemminger ; Jork Loeser >

Re: [PATCH 7/7] DWARF: add the config option

2017-05-22 Thread H.J. Lu
On Mon, May 22, 2017 at 4:34 AM, Jiri Kosina wrote: > On Sat, 20 May 2017, H.J. Lu wrote: > >> pushq %whatever >> .cfi_adjust_sp -8 >> ... >> popq %whatever >> .cfi_adjust_sp 8 >> >> >> >> >> Np. Compiler needs to generate this. >> >> >> > >> > How

Re: [PATCH net-next 00/20] net: dsa: distribute switch events

2017-05-22 Thread David Miller
From: Vivien Didelot Date: Fri, 19 May 2017 17:00:35 -0400 > DSA is by nature the support for a switch fabric, which can be composed > of a single, or multiple interconnected Ethernet switch chips. > > The current DSA core behavior is to identify the slave

Re: RDS: TCP: Delete an error message for a failed memory allocation in rds_tcp_init_net()

2017-05-22 Thread Sowmini Varadhan
> Do you find information from a Linux allocation failure report sufficient > for such an use case? yes, I suppose that would cover the needed cases. Your change looks good to me. Acked-by: Sowmini Varadhan

Re: [PATCH 07/13] ARM: dts: armada-385-linksys: drop leagcy DSA bindings

2017-05-22 Thread Andrew Lunn
On Sun, May 21, 2017 at 02:48:56PM +0200, Ralph Sennhauser wrote: > The new ones work so there is little reason to keep the legacy bindings. > Use the rework as the oportunity to drop the legacy node. > > Signed-off-by: Ralph Sennhauser Reviewed-by: Andrew Lunn

Re: [PATCH 06/13] ARM: dts: armada-385-linksys: usb3 label cleanup

2017-05-22 Thread Andrew Lunn
On Sun, May 21, 2017 at 02:48:55PM +0200, Ralph Sennhauser wrote: > Now that we use the reference for the USB3.0 port update the node name > and labels for the phy and vbus to match the label used by > armada-38x.dtsi. > > Signed-off-by: Ralph Sennhauser > > --- > >

Re: [RESEND: PATCH v4 2/4] remoteproc: qcom: refactor mss fw image loading sequence

2017-05-22 Thread Dwivedi, Avaneesh Kumar (avani)
On 5/22/2017 4:07 PM, Sricharan R wrote: Hi, On 5/22/2017 3:03 PM, Dwivedi, Avaneesh Kumar (avani) wrote: On 5/20/2017 8:25 AM, Sricharan R wrote: Hi Bjorn/Avaneesh, On 5/16/2017 11:32 PM, Avaneesh Kumar Dwivedi wrote: This patch refactor code to first load all firmware blobs and then

Re: RFC: better timer interface

2017-05-22 Thread Arnd Bergmann
On Sun, May 21, 2017 at 7:13 PM, Thomas Gleixner wrote: > On Tue, 16 May 2017, Arnd Bergmann wrote: >> On Tue, May 16, 2017 at 5:51 PM, Christoph Hellwig wrote: >> > Yes, that sounds useful to me as well. As you said it's an independent >> > but somewhat related

Re: [GIT PULL] phy: for 4.12 -rc

2017-05-22 Thread Greg Kroah-Hartman
On Mon, May 22, 2017 at 04:28:24PM +0530, Kishon Vijay Abraham I wrote: > Hi Greg, > > On Monday 22 May 2017 03:56 PM, Greg Kroah-Hartman wrote: > > On Fri, May 19, 2017 at 08:13:27PM +0530, Kishon Vijay Abraham I wrote: > >> Hi Greg, > >> > >> Please find the pull request for 4.12 -rc below. >

Re: [v4 1/1] mm: Adaptive hash table scaling

2017-05-22 Thread Michal Hocko
On Mon 22-05-17 09:18:58, Pasha Tatashin wrote: > > > >I have only noticed this email today because my incoming emails stopped > >syncing since Friday. But this is _definitely_ not the right approachh. > >64G for 32b systems is _way_ off. We have only ~1G for the kernel. I've > >already proposed

[PATCH] serial: meson: hide an unused function

2017-05-22 Thread Arnd Bergmann
The newly added meson_uart_enable_tx_engine function is only called from the console setup, not the runtime uart, which has an open-coded version of the same register access. This produces a harmless warning when the console code is disabled: drivers/tty/serial/meson_uart.c:127:13: error:

Re: [PATCH] Fixed cameCase check in file drivers/staging/sm750fb/ddk750_chip.c

2017-05-22 Thread Greg KH
On Mon, May 22, 2017 at 05:41:31PM +0530, Richa Jha wrote: > Changes : > > ulActualMxClk ---> ul_actual_max_clk > pInitParam---> p_init_param I can see that from the patch, but _why_ are you doing this? And please fix up your subject to match others for this driver, you can find that in

Re: [PATCH v4 15/27] fs: retrofit old error reporting API onto new infrastructure

2017-05-22 Thread Jeff Layton
On Mon, 2017-05-22 at 15:38 +0200, Jan Kara wrote: > On Fri 19-05-17 15:20:52, Jeff Layton wrote: > > On Mon, 2017-05-15 at 12:42 +0200, Jan Kara wrote: > > > On Tue 09-05-17 11:49:18, Jeff Layton wrote: > > > > Now that we have a better way to store and report errors that occur > > > > during

Re: [PATCH] mm: introduce MADV_CLR_HUGEPAGE

2017-05-22 Thread Michal Hocko
On Mon 22-05-17 16:36:00, Mike Rapoport wrote: > On Mon, May 22, 2017 at 02:42:43PM +0300, Kirill A. Shutemov wrote: > > On Mon, May 22, 2017 at 09:12:42AM +0300, Mike Rapoport wrote: > > > Currently applications can explicitly enable or disable THP for a memory > > > region using MADV_HUGEPAGE or

Re: [PATCH v3 4/6] mm/hugetlb: Allow architectures to override huge_pte_clear()

2017-05-22 Thread Arnd Bergmann
On Mon, May 22, 2017 at 3:36 PM, Punit Agrawal wrote: > diff --git a/include/asm-generic/hugetlb.h b/include/asm-generic/hugetlb.h > index 99b490b4d05a..3138e126f43b 100644 > --- a/include/asm-generic/hugetlb.h > +++ b/include/asm-generic/hugetlb.h > @@ -31,10 +31,7 @@

Re: [PATCH] ARM: cpuidle: Support asymmetric idle definition

2017-05-22 Thread Sudeep Holla
On 22/05/17 14:34, Leo Yan wrote: > Hi Sudeep, > > On Mon, May 22, 2017 at 02:02:12PM +0100, Sudeep Holla wrote: > > [...] > >> On 19/05/17 17:45, Daniel Lezcano wrote: >>> Some hardware have clusters with different idle states. The current >>> code does >>> not support this

[PATCH v4 15/20] arm64: zynqmp: Add generic compatible string for I2C EEPROM

2017-05-22 Thread Javier Martinez Canillas
The at24 driver allows to register I2C EEPROM chips using different vendor and devices, but the I2C subsystem does not take the vendor into account when matching using the I2C table since it only has device entries. But when matching using an OF table, both the vendor and device has to be taken

[PATCH v4 10/20] ARM: dts: koelsch: Add generic compatible string for I2C EEPROM

2017-05-22 Thread Javier Martinez Canillas
The at24 driver allows to register I2C EEPROM chips using different vendor and devices, but the I2C subsystem does not take the vendor into account when matching using the I2C table since it only has device entries. But when matching using an OF table, both the vendor and device has to be taken

[PATCH v4 12/20] ARM: dts: uniphier: Add generic compatible string for I2C EEPROM

2017-05-22 Thread Javier Martinez Canillas
The at24 driver allows to register I2C EEPROM chips using different vendor and devices, but the I2C subsystem does not take the vendor into account when matching using the I2C table since it only has device entries. But when matching using an OF table, both the vendor and device has to be taken

[PATCH v4 03/20] ARM: dts: omap: Add generic compatible string for I2C EEPROM

2017-05-22 Thread Javier Martinez Canillas
The at24 driver allows to register I2C EEPROM chips using different vendor and devices, but the I2C subsystem does not take the vendor into account when matching using the I2C table since it only has device entries. But when matching using an OF table, both the vendor and device has to be taken

[PATCH v4 2/2] PCI/portdrv: allocate MSI/MSIx vector for DPC RP service

2017-05-22 Thread Gabriele Paoloni
From: gabriele paoloni Currently the MSI/MSIx vectors for the root port services are allocated calling pcie_init_service_irqs(). At the moment these vectors are only allocated for AER, PME, HP. This patch allocate an MSI/MSIx vector also for DPC. Signed-off-by:

[PATCH] kernel: bpf: remove dead code

2017-05-22 Thread Gustavo A. R. Silva
Execution cannot reach NET_IP_ALIGN inside the following statement: ip_align = strict ? 2 : NET_IP_ALIGN Addresses-Coverity-ID: 1409762 Signed-off-by: Gustavo A. R. Silva --- NOTE: variable ip_align could also be removed and use value 2 directly. kernel/bpf/verifier.c

[PATCH v4 0/2] add MSI support for PCIe port services and DPC IRQ support

2017-05-22 Thread Gabriele Paoloni
From: gabriele paoloni This patchset: 1) adds support for MSI interrupt vectors to be used for Roor Port services 2) adds support for DPC Root Port service interrupt The patchset has been tested on Hisilicon Hip08 Chipset Changes from v3: - removed 2 extra lines at

[PATCH 3/3] RDS: TCP: Delete an error message for a failed memory allocation in rds_tcp_init_net()

2017-05-22 Thread SF Markus Elfring
From: Markus Elfring Date: Mon, 22 May 2017 15:45:31 +0200 Omit an extra message for a memory allocation failure in this function. This issue was detected by using the Coccinelle software. Link:

[PATCH v5 1/3] watchdog: introduce watchdog_worker_should_ping helper

2017-05-22 Thread Rasmus Villemoes
This will be useful when the condition becomes slightly more complicated in the next patch. Signed-off-by: Rasmus Villemoes --- drivers/watchdog/watchdog_dev.c | 13 + 1 file changed, 9 insertions(+), 4 deletions(-) diff --git

[PATCH v5 3/3] watchdog: introduce CONFIG_WATCHDOG_OPEN_TIMEOUT

2017-05-22 Thread Rasmus Villemoes
This allows setting a default value for the watchdog.open_timeout commandline parameter via Kconfig. Signed-off-by: Rasmus Villemoes --- Documentation/watchdog/watchdog-parameters.txt | 9 + drivers/watchdog/Kconfig | 9 +

Re: linux-next: build failure after merge of the net-next tree

2017-05-22 Thread David Miller
From: Stephen Rothwell Date: Mon, 22 May 2017 13:43:00 +1000 > Hi Dave, > > On Sun, 21 May 2017 23:14:10 -0400 (EDT) David Miller > wrote: >> >> From: Stephen Rothwell >> Date: Mon, 22 May 2017 11:16:05 +1000 >> >> > After

Re: vhost/scsi: Delete error messages for failed memory allocations in five functions

2017-05-22 Thread SF Markus Elfring
> No objection from me but please make sure to keep vq_err(). How long should I wait before I may dare to send another variant for the discussed update suggestion? Which commit message would be acceptable then for this update step? Regards, Markus

Re: RDS: TCP: Delete an error message for a failed memory allocation in rds_tcp_init_net()

2017-05-22 Thread SF Markus Elfring
>> Omit an extra message for a memory allocation failure in this function. > > The change itself is harmless, but I'm curious about the "extra" > part: "extra" from what? If this happens, hopefully this will be logged > somewhere? Note that this type of (infrequent) logging noise is useful > in

[PATCH v3 0/5] Add support for the STM32F4 CRC32

2017-05-22 Thread Cosar Dindar
This patch series add hardware CRC32 ("Ethernet") calculation support for STMicroelectronics STM32F429. Polynomial and key setting are not supported, key is fixed as 0x4C11DB7 and poly is 0x. Module is tested on STM32F429-disco board with crypto testmgr using cases within the key

Re: [PATCH] kernel: bpf: remove dead code

2017-05-22 Thread David Miller
From: "Gustavo A. R. Silva" Date: Mon, 22 May 2017 09:07:46 -0500 > Execution cannot reach NET_IP_ALIGN inside the following statement: > ip_align = strict ? 2 : NET_IP_ALIGN > > Addresses-Coverity-ID: 1409762 > Signed-off-by: Gustavo A. R. Silva

Re: [PATCH 2/2] dax: Fix race between colliding PMD & PTE entries

2017-05-22 Thread Jan Kara
On Thu 18-05-17 15:29:39, Ross Zwisler wrote: > On Thu, May 18, 2017 at 09:50:37AM +0200, Jan Kara wrote: > > On Wed 17-05-17 11:16:39, Ross Zwisler wrote: > > > We currently have two related PMD vs PTE races in the DAX code. These can > > > both be easily triggered by having two threads reading

Re: [Xen-devel] [PATCH 2/2] xen: add sysfs node for guest type

2017-05-22 Thread Andrew Cooper
On 22/05/17 15:35, Boris Ostrovsky wrote: > On 05/22/2017 09:33 AM, Andrew Cooper wrote: >> On 22/05/17 09:57, Juergen Gross wrote: >>> Currently there is no reliable user interface inside a Xen guest to >>> determine its type (e.g. HVM, PV or PVH). Instead of letting user mode >>> try to

Re: [PATCH] net: fec: add post PHY reset delay DT property

2017-05-22 Thread Andrew Lunn
On Mon, May 22, 2017 at 04:00:47PM +0200, Quentin Schulz wrote: > Hi Andrew > > On 22/05/2017 15:57, Andrew Lunn wrote: > > On Mon, May 22, 2017 at 11:15:17AM +0200, Quentin Schulz wrote: > >> Some PHY require to wait for a bit after the reset GPIO has been > >> toggled. This adds support for the

Re: [PATCH 02/13] ARM: dts: armada-385-linksys: label nodes

2017-05-22 Thread Andrew Lunn
On Sun, May 21, 2017 at 02:48:51PM +0200, Ralph Sennhauser wrote: > Add labels to nodes used by dependants. Also rename node gpio_keys to > gpio-keys to mach the style of the rest of the file as well as the s/mach/match > documented example. > > Signed-off-by: Ralph Sennhauser

Re: [PATCH net-next 00/20] net: dsa: distribute switch events

2017-05-22 Thread Andrew Lunn
On Mon, May 22, 2017 at 10:45:57AM -0400, David Miller wrote: > From: Vivien Didelot > Date: Fri, 19 May 2017 17:00:35 -0400 > > > DSA is by nature the support for a switch fabric, which can be composed > > of a single, or multiple interconnected Ethernet

Re: [PATCH 1/2] doc,xen: document hypervisor sysfs nodes for xen

2017-05-22 Thread Boris Ostrovsky
On 05/22/2017 10:20 AM, Juergen Gross wrote: > On 22/05/17 15:30, Boris Ostrovsky wrote: >> On 05/22/2017 04:56 AM, Juergen Gross wrote: >>> Today only a few sysfs nodes under /sys/hypervisor/ are documented >>> for Xen in Documentation/ABI/testing/sysfs-hypervisor-pmu. Rename >>> this file to

Re: [PATCH] ARM: cpuidle: Support asymmetric idle definition

2017-05-22 Thread Daniel Lezcano
On 22/05/2017 15:02, Sudeep Holla wrote: [ ... ] >> +drv->cpumask = _topology[cpu].core_sibling; >> + > > This is not always true and not architecturally guaranteed. So instead > of introducing this broken dependency, better to extract information > from

Re: [PATCH] kernel: bpf: remove dead code

2017-05-22 Thread Daniel Borkmann
On 05/22/2017 04:38 PM, David Miller wrote: From: "Gustavo A. R. Silva" Date: Mon, 22 May 2017 09:07:46 -0500 Execution cannot reach NET_IP_ALIGN inside the following statement: ip_align = strict ? 2 : NET_IP_ALIGN Addresses-Coverity-ID: 1409762 Signed-off-by:

Re: [PATCH 04/13] ARM: dts: armada-385-linksys: drop redundant properties in dependants

2017-05-22 Thread Andrew Lunn
On Sun, May 21, 2017 at 02:48:53PM +0200, Ralph Sennhauser wrote: > Drop redundant declaration of #address-cells and #size-cells. > > Signed-off-by: Ralph Sennhauser Reviewed-by: Andrew Lunn Andrew

Re: [PATCH v2 2/2] memory: ti-emif-sram: introduce relocatable suspend/resume handlers

2017-05-22 Thread Tony Lindgren
* Dave Gerlach [170519 11:00]: > diff --git a/arch/arm/kernel/asm-offsets.c b/arch/arm/kernel/asm-offsets.c > index 608008229c7d..d728b5660e36 100644 > --- a/arch/arm/kernel/asm-offsets.c > +++ b/arch/arm/kernel/asm-offsets.c > @@ -28,6 +28,7 @@ > #include > #include >

Re: [PATCH] dm ioctl: Restore __GFP_HIGH in copy_params()

2017-05-22 Thread Mikulas Patocka
On Mon, 22 May 2017, Michal Hocko wrote: > On Mon 22-05-17 08:00:11, Mikulas Patocka wrote: > > > > On Mon, 22 May 2017, Michal Hocko wrote: > > > > > > Sometimes, I/O to a device mapper device is blocked until the userspace > > > > daemon dmeventd does some action (for example, when

Re: [PATCH v2 1/2] Documentation: dt: Update ti,emif bindings

2017-05-22 Thread Tony Lindgren
* Rob Herring [170519 18:49]: > On Fri, May 19, 2017 at 12:57:07PM -0500, Dave Gerlach wrote: > > Update the Texas Instruments EMIF binding document to include the device > > tree bindings for ti,emif-am3352 and ti,emif-am4372 which are used by > > the ti-emif-sram driver to

Re: [PATCH] clk: meson-gxbb: Expose SPICC gate

2017-05-22 Thread Jerome Brunet
On Mon, 2017-05-22 at 14:48 +0200, Neil Armstrong wrote: > Signed-off-by: Neil Armstrong I would prefer to have a short commit message here. With it included: Acked-by: Jerome Brunet > --- >  drivers/clk/meson/gxbb.h  | 2 +- >  

Re: [PATCH] clk: meson-gxbb: Expose SPICC gate

2017-05-22 Thread Neil Armstrong
On 05/22/2017 03:23 PM, Jerome Brunet wrote: > On Mon, 2017-05-22 at 14:48 +0200, Neil Armstrong wrote: >> Signed-off-by: Neil Armstrong > > I would prefer to have a short commit message here. With it included: Indeed, sorry. I'll push it with a short commit message

Re: [PATCH 00/21] MIPS memblock: Remove bootmem code and switch to NO_BOOTMEM

2017-05-22 Thread Serge Semin
Hello Alexandr, Ok, I will. Regards, -Sergey On Mon, May 22, 2017 at 03:20:44PM +0200, Alexander Sverdlin wrote: > Hello Serge, > > On 22/05/17 15:03, Serge Semin wrote: > >> I have an SGI Onyx2 and just recently acquired a working SGI Origin 200. > >> The > >>

Re: [PATCH] mm: introduce MADV_CLR_HUGEPAGE

2017-05-22 Thread Mike Rapoport
On Mon, May 22, 2017 at 02:42:43PM +0300, Kirill A. Shutemov wrote: > On Mon, May 22, 2017 at 09:12:42AM +0300, Mike Rapoport wrote: > > Currently applications can explicitly enable or disable THP for a memory > > region using MADV_HUGEPAGE or MADV_NOHUGEPAGE. However, once either of > > these

Re: [Xen-devel] [PATCH 2/2] xen: add sysfs node for guest type

2017-05-22 Thread Andrew Cooper
On 22/05/17 09:57, Juergen Gross wrote: > Currently there is no reliable user interface inside a Xen guest to > determine its type (e.g. HVM, PV or PVH). Instead of letting user mode > try to determine this by various rather hacky mechanisms (parsing of > boot messages before they are gone, trying

Re: [kernel-hardening] [PATCH v4 next 0/3] modules: automatic module loading restrictions

2017-05-22 Thread Djalal Harouni
Hi Alexander, On Mon, May 22, 2017 at 2:08 PM, Solar Designer wrote: > Hi Djalal, > > Thank you for your work on this! > > On Mon, May 22, 2017 at 01:57:03PM +0200, Djalal Harouni wrote: >> *) When modules_autoload_mode is set to (2), automatic module loading is >> disabled

Re: [GIT PULL] phy: for 4.12 -rc

2017-05-22 Thread Kishon Vijay Abraham I
Hi, On Monday 22 May 2017 07:08 PM, Greg Kroah-Hartman wrote: > On Mon, May 22, 2017 at 04:28:24PM +0530, Kishon Vijay Abraham I wrote: >> Hi Greg, >> >> On Monday 22 May 2017 03:56 PM, Greg Kroah-Hartman wrote: >>> On Fri, May 19, 2017 at 08:13:27PM +0530, Kishon Vijay Abraham I wrote: Hi

[PATCH v4 14/20] arm64: dts: ls1043a: Add generic compatible string for I2C EEPROM

2017-05-22 Thread Javier Martinez Canillas
The at24 driver allows to register I2C EEPROM chips using different vendor and devices, but the I2C subsystem does not take the vendor into account when matching using the I2C table since it only has device entries. But when matching using an OF table, both the vendor and device has to be taken

[PATCH v4 02/20] eeprom: at24: Add OF device ID table

2017-05-22 Thread Javier Martinez Canillas
The driver doesn't have a struct of_device_id table but supported devices are registered via Device Trees. This is working on the assumption that a I2C device registered via OF will always match a legacy I2C device ID and that the MODALIAS reported will always be of the form i2c:. But this could

[PATCH v4 04/20] ARM: dts: turris-omnia: Add generic compatible string for I2C EEPROM

2017-05-22 Thread Javier Martinez Canillas
The at24 driver allows to register I2C EEPROM chips using different vendor and devices, but the I2C subsystem does not take the vendor into account when matching using the I2C table since it only has device entries. But when matching using an OF table, both the vendor and device has to be taken

Re: vhost/scsi: Delete error messages for failed memory allocations in five functions

2017-05-22 Thread Stefan Hajnoczi
On Mon, May 22, 2017 at 01:34:34PM +0200, SF Markus Elfring wrote: > >> Do you find information from a Linux allocation failure report sufficient > >> for any function implementations here? > > > > If kmalloc() and friends guarantee to print a warning and backtrace on > > every allocation

[PATCH 0/3] RDS: Adjustments for two function implementations

2017-05-22 Thread SF Markus Elfring
From: Markus Elfring Date: Mon, 22 May 2017 16:02:03 +0200 Three update suggestions were taken into account from static source code analysis. Markus Elfring (3): Delete an error message for a failed memory allocation in rds_ib_add_one() Improve a size

[PATCH v4 1/2] PCI/portdrv: add support for different MSI interrupts for PCIe port services

2017-05-22 Thread Gabriele Paoloni
Currently PCIe port services are assigned with different interrutps only if MSI-x are supported by calling pcie_port_enable_msix(). If a root port supports MSI instead of MSI-x currently we fall back to use a single shared interrupt for all the services. This patch renames and extends

Re: linux-next: error while fetching the c6x tree

2017-05-22 Thread Mark Salter
On Fri, 2017-05-19 at 08:47 -0400, Mark Salter wrote: > On Fri, 2017-05-19 at 09:34 +1000, Stephen Rothwell wrote: > > Hi Mark, > > > > On Wed, 17 May 2017 07:51:55 +1000 Stephen Rothwell > > wrote: > > > > > > Fetching the c6x tree profuces this error: > > > > > >

Re: [PATCH v3 0/3] Fix mdp device tree

2017-05-22 Thread Matthias Brugger
On 22/05/17 11:09, Hans Verkuil wrote: On 05/12/2017 05:22 AM, Minghsiu Tsai wrote: Who should take care of the dtsi changes? I'm not sure who maintains the mdp dts. I will take care of the dtsi patches. The driver change and the dtsi change need to be in sync, so it is probably

Re: Build regressions/improvements in v4.12-rc2

2017-05-22 Thread Arnd Bergmann
On Mon, May 22, 2017 at 11:49 AM, Geert Uytterhoeven wrote: > Hi Arnd, Helge, > > On Mon, May 22, 2017 at 11:35 AM, Geert Uytterhoeven > wrote: >> Below is the list of build error/warning regressions/improvements in >> v4.12-rc2[1] compared to

[PATCH v5 2/3] watchdog: introduce watchdog.open_timeout commandline parameter

2017-05-22 Thread Rasmus Villemoes
The watchdog framework takes care of feeding a hardware watchdog until userspace opens /dev/watchdogN. If that never happens for some reason (buggy init script, corrupt root filesystem or whatnot) but the kernel itself is fine, the machine stays up indefinitely. This patch allows setting an upper

Re: [Xen-devel] [PATCH 2/2] xen: add sysfs node for guest type

2017-05-22 Thread Juergen Gross
On 22/05/17 15:45, Jan Beulich wrote: On 22.05.17 at 10:57, wrote: >> --- a/include/xen/xen.h >> +++ b/include/xen/xen.h >> @@ -9,8 +9,10 @@ enum xen_domain_type { >> >> #ifdef CONFIG_XEN >> extern enum xen_domain_type xen_domain_type; >> +extern char *xen_guest_type; >

[PATCH v5 0/3] watchdog: allow setting deadline for opening /dev/watchdogN

2017-05-22 Thread Rasmus Villemoes
If a watchdog driver tells the framework that the device is running, the framework takes care of feeding the watchdog until userspace opens the device. If the userspace application which is supposed to do that never comes up properly, the watchdog is fed indefinitely by the kernel. This can be

Re: [PATCH 1/2] doc,xen: document hypervisor sysfs nodes for xen

2017-05-22 Thread Juergen Gross
On 22/05/17 15:30, Boris Ostrovsky wrote: > On 05/22/2017 04:56 AM, Juergen Gross wrote: >> Today only a few sysfs nodes under /sys/hypervisor/ are documented >> for Xen in Documentation/ABI/testing/sysfs-hypervisor-pmu. Rename >> this file to Documentation/ABI/testing/sysfs-hypervisor and add >>

[PATCH v3 1/5] dt-bindings : Document the STM32F4 CRC32 binding

2017-05-22 Thread Cosar Dindar
Add device tree binding for STM32F4. Signed-off-by: Cosar Dindar --- Documentation/devicetree/bindings/crypto/st,stm32-crc.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/crypto/st,stm32-crc.txt

[PATCH v3 5/5] ARM: dts: stm32: enable CRC32 on stm32429i-eval board

2017-05-22 Thread Cosar Dindar
Enable the CRC32 crypto on stm32429i-eval board. Signed-off-by: Cosar Dindar --- arch/arm/boot/dts/stm32429i-eval.dts | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/stm32429i-eval.dts b/arch/arm/boot/dts/stm32429i-eval.dts index

Re: [PATCH] x86/mm: pgds getting out of sync after memory hot remove

2017-05-22 Thread Kirill A. Shutemov
On Mon, May 22, 2017 at 10:11:51AM -0400, Jerome Glisse wrote: > On Mon, May 22, 2017 at 04:12:15PM +0300, Kirill A. Shutemov wrote: > > On Fri, May 19, 2017 at 02:01:26PM -0400, Jérôme Glisse wrote: > > > After memory hot remove it seems we do not synchronize pgds for kernel > > > virtual memory

[PATCH v3 4/5] ARM: dts: stm32: enable CRC32 on stm32429-disco board

2017-05-22 Thread Cosar Dindar
Enable the CRC32 crypto on stm32429-disco board. Signed-off-by: Cosar Dindar --- arch/arm/boot/dts/stm32f429-disco.dts | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/stm32f429-disco.dts b/arch/arm/boot/dts/stm32f429-disco.dts index

[PATCH v3 2/5] crypto : stm32 - Add STM32F4 CRC32 support

2017-05-22 Thread Cosar Dindar
This patch adds CRC (CRC32 Crypto) support for STM32F4 series. As an hardware limitation polynomial and key setting are not supported. They are fixed as 0x4C11DB7 (poly) and 0x (key). CRC32C Castagnoli algorithm is not used. Signed-off-by: Cosar Dindar ---

[PATCH v3 3/5] ARM: dts: stm32: Add CRC support to stm32f429

2017-05-22 Thread Cosar Dindar
Add CRC32 Crypto support to stm32f429. Signed-off-by: Cosar Dindar --- arch/arm/boot/dts/stm32f429.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/stm32f429.dtsi b/arch/arm/boot/dts/stm32f429.dtsi index b2a2b5c..18343de 100644 ---

Re: [PATCH 1/2] mm: avoid spurious 'bad pmd' warning messages

2017-05-22 Thread Jan Kara
On Wed 17-05-17 11:16:38, Ross Zwisler wrote: > When the pmd_devmap() checks were added by: > > commit 5c7fb56e5e3f ("mm, dax: dax-pmd vs thp-pmd vs hugetlbfs-pmd") > > to add better support for DAX huge pages, they were all added to the end of > if() statements after existing pmd_trans_huge()

Re: [PATCH 2/2] dax: Fix race between colliding PMD & PTE entries

2017-05-22 Thread Jan Kara
On Wed 17-05-17 11:16:39, Ross Zwisler wrote: > We currently have two related PMD vs PTE races in the DAX code. These can > both be easily triggered by having two threads reading and writing > simultaneously to the same private mapping, with the key being that private > mapping reads can be

Re: [RFC V1 1/1] net: cdc_ncm: Reduce memory use when kernel memory low

2017-05-22 Thread Oliver Neukum
Am Freitag, den 19.05.2017, 14:46 + schrieb David Laight: > For XHCI it isn't too bad because it will do arbitrary scatter-gather > (apart from the ring end). > But I believe the earlier controllers only support fragments that > end on usb packet boundaries. > > I looked at the usbnet code a

<    4   5   6   7   8   9   10   11   12   13   >