Probable Spam:

2018-10-12 Thread Smadar Barber-Tsadik
-- My name is Smadar Barber-Tsadik, I'm the Chief Executive Officer (C.P.A) of the First International Bank of Israel (FIBI).I'm getting in touch with you in regards to a very important and urgent matter.Kindly respond back at your earliest convenience so I can provide you the details. Fait

Re: [RFC][PATCH] perf: Rewrite core context handling

2018-10-12 Thread Alexey Budankov
Hi, On 11.10.2018 12:29, Peter Zijlstra wrote: > On Thu, Oct 11, 2018 at 07:50:23AM +, Song Liu wrote: >> Hi Peter, >> >> I am trying to understand this. Pardon me if any question is silly. >> >> I am not sure I fully understand the motivation here. I guess we >> see problem when there are t

Re: [RFD/RFC PATCH 5/8] sched: Add proxy execution

2018-10-12 Thread luca abeni
On Thu, 11 Oct 2018 14:53:25 +0200 Peter Zijlstra wrote: [...] > > > > + if (rq->curr != rq->idle) { > > > > + rq->proxy = rq->idle; > > > > + set_tsk_need_resched(rq->idle); > > > > + /* > > > > +* XXX [juril] don't we still need to

Re: [PATCH] mm: Speed up mremap on large regions

2018-10-12 Thread Paolo Bonzini
On 12/10/2018 05:21, Jann Horn wrote: > I don't know how this interacts with shadow paging implementations. Shadow paging simply uses MMU notifiers and that does not assume that PTE invalidation is atomic. The invalidate_range_start and invalidate_range_end calls are not affected by Joel's patch,

[GIT PULL] mtd: Fix for 4.19-rc8

2018-10-12 Thread Boris Brezillon
Hello Greg, Here is a PR containing a fix for a bug introduced in 4.19-rc1. Regards, Boris The following changes since commit 0238df646e6224016a45505d2c111a24669ebe21: Linux 4.19-rc7 (2018-10-07 17:26:02 +0200) are available in the git repository at: git://git.infradead.org/linux-mtd.git

Re: [PATCH] mm: Speed up mremap on large regions

2018-10-12 Thread Juergen Gross
On 12/10/2018 07:34, Jann Horn wrote: > On Fri, Oct 12, 2018 at 7:29 AM Juergen Gross wrote: >> On 12/10/2018 05:21, Jann Horn wrote: >>> +cc xen maintainers and kvm folks >>> >>> On Fri, Oct 12, 2018 at 4:40 AM Joel Fernandes (Google) >>> wrote: Android needs to mremap large regions of memo

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

2018-10-12 Thread Balbir Singh
On Thu, Oct 11, 2018 at 11:00:10PM -0700, john.hubb...@gmail.com wrote: > From: John Hubbard > > Introduces put_user_page(), which simply calls put_page(). > This provides a way to update all get_user_pages*() callers, > so that they call put_user_page(), instead of put_page(). > > Also introduc

[PATCH v4 2/3] iio: magnetometer: Add DT support for PNI RM3100

2018-10-12 Thread Song Qiang
Signed-off-by: Song Qiang --- .../bindings/iio/magnetometer/pni,rm3100.txt | 20 +++ 1 file changed, 20 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/magnetometer/pni,rm3100.txt diff --git a/Documentation/devicetree/bindings/iio/magnetometer/pni,rm3100

[PATCH v4 3/3] iio: magnetometer: Add driver support for PNI RM3100

2018-10-12 Thread Song Qiang
PNI RM3100 is a high resolution, large signal immunity magnetometer, composed of 3 single sensors and a processing chip with a MagI2C interface. Following functions are available: - Single-shot measurement from /sys/bus/iio/devices/iio:deviceX/in_magn_{axis}_raw - Triggerd buffer measurement.

[PATCH v4 1/3] dt-bindings: Add PNI to the vendor prefixes.

2018-10-12 Thread Song Qiang
Signed-off-by: Song Qiang --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt index 41f0b97eb933..5b935f01e15b 100644 --- a/Docu

Re: [PATCH V2 1/5] dt-bindings: usb: xhci-tegra: Add power-domain details

2018-10-12 Thread Jon Hunter
On 11/10/18 17:49, Thierry Reding wrote: > On Fri, Sep 28, 2018 at 03:11:46PM +0100, Jon Hunter wrote: >> Add details for power-domains to the Tegra xHCI bindings so that >> generic power-domains can be used for inconjunction with the xHCI >> driver. >> >> Signed-off-by: Jon Hunter >> --- >> Do

[PATCH v4 0/3] Add support for PNI RM3100 magnetometer

2018-10-12 Thread Song Qiang
Hi, The next 3 patches do the following: - The first patch adds PNI Sensor Corporation to the vendor prefix list. - The second patch adds devicetree binding for RM3100 magnetometer. - The third patch adds the driver for RM3100 magnetometer. -- Song Qiang Changes in v4: - Fix a bug about reg

linux-next: Tree for Oct 12

2018-10-12 Thread Stephen Rothwell
Hi all, Changes since 20181011: The net-next tree gained conflicts against the net tree. The tip tree gained conflicts against Linus' tree. The xarray tree gained a conflict against the nnvdimm-fixes tree. Non-merge commits (relative to Linus' tree): 9879 9305 files changed, 476445 insertions

Re: [PATCH RFC v1 2/8] kernel/cpu_pm: Manage runtime PM in the idle path for CPUs

2018-10-12 Thread Rafael J. Wysocki
On Fri, Oct 12, 2018 at 12:08 AM Lina Iyer wrote: > > On Thu, Oct 11 2018 at 14:56 -0600, Rafael J. Wysocki wrote: > >On Wednesday, October 10, 2018 11:20:49 PM CEST Raju P.L.S.S.S.N wrote: > >> From: Ulf Hansson > >> > >> To allow CPUs being power managed by PM domains, let's deploy support for

Re: [PATCH 4.14 00/45] 4.14.76-stable review

2018-10-12 Thread Jon Hunter
On 11/10/18 16:39, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.14.76 release. > There are 45 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses shou

Re: [driver-core PATCH v3 3/5] driver core: Probe devices asynchronously instead of the driver

2018-10-12 Thread Rafael J. Wysocki
On Fri, Oct 12, 2018 at 12:10 AM Alexander Duyck wrote: > > This change makes it so that we probe devices asynchronously instead of the > driver. This results in us seeing the same behavior if the device is > registered before the driver or after. This way we can avoid serializing > the initializa

Re: [PATCH 4.4 00/27] 4.4.161-stable review

2018-10-12 Thread Jon Hunter
On 11/10/18 16:34, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.4.161 release. > There are 27 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses shou

Re: [driver-core PATCH v3 5/5] PM core: Use new async_schedule_dev command

2018-10-12 Thread Rafael J. Wysocki
On Fri, Oct 12, 2018 at 12:10 AM Alexander Duyck wrote: > > This change makes it so that we use the device specific version of the > async_schedule commands to defer various tasks related to power management. > By doing this we should see a slight improvement in performance as any > device that is

Re: [PATCH] mm/thp: Correctly differentiate between mapped THP and PMD migration entry

2018-10-12 Thread Anshuman Khandual
On 10/10/2018 06:13 PM, Zi Yan wrote: > On 10 Oct 2018, at 0:05, Anshuman Khandual wrote: > >> On 10/09/2018 07:28 PM, Zi Yan wrote: >>> cc: Naoya Horiguchi (who proposed to use !_PAGE_PRESENT && !_PAGE_PSE for >>> x86 >>> PMD migration entry check) >>> >>> On 8 Oct 2018, at 23:58, Anshuman Kh

Re: [PATCH v6 2/9] PCI: mediatek: Fixup class ID for MT7622 as PCI_CLASS_BRIDGE_PCI

2018-10-12 Thread Honghui Zhang
On Thu, 2018-10-11 at 12:38 +0100, Lorenzo Pieralisi wrote: > On Tue, Oct 09, 2018 at 11:08:15AM +0800, Honghui Zhang wrote: > > On Mon, 2018-10-08 at 18:23 +0100, Lorenzo Pieralisi wrote: > > > On Mon, Oct 08, 2018 at 11:24:41AM +0800, honghui.zh...@mediatek.com > > > wrote: > > > > From: Honghui

Re: [PATCH] mm/thp: Correctly differentiate between mapped THP and PMD migration entry

2018-10-12 Thread Anshuman Khandual
On 10/09/2018 06:48 PM, Will Deacon wrote: > On Tue, Oct 09, 2018 at 04:04:21PM +0300, Kirill A. Shutemov wrote: >> On Tue, Oct 09, 2018 at 09:28:58AM +0530, Anshuman Khandual wrote: >>> A normal mapped THP page at PMD level should be correctly differentiated >>> from a PMD migration entry while

linux-next: Signed-off-by missing for commit in the tty tree

2018-10-12 Thread Stephen Rothwell
Hi Greg, Commit c9a8e5fce009 ("tty: wipe buffer.") is missing a Signed-off-by from its author. -- Cheers, Stephen Rothwell pgpoSuQkrckbZ.pgp Description: OpenPGP digital signature

Re: [PATCH v3] PCI/AER: Enable reporting for ports enumerated after AER driver registration

2018-10-12 Thread Dongdong Liu
在 2018/10/11 23:57, Keith Busch 写道: On Thu, Oct 11, 2018 at 08:26:18AM -0700, Bjorn Helgaas wrote: From: Bjorn Helgaas Previously we enabled AER error reporting only for Switch Ports that were enumerated prior to registering the AER service driver. Switch Ports enumerated after AER driver

Re: [PATCH] gpiolib: Initialize gdev field before is used

2018-10-12 Thread Linus Walleij
On Fri, Oct 12, 2018 at 8:11 AM Ricardo Ribalda Delgado wrote: > gpio_hog depends on gdev field being initialized. This patch fixes an > OOPs during initialization of TI's AM335x-ICEv2. > > Fixes: 3edfb7bd76bd1cba ("gpiolib: Show correct direction from the beginning") > Tested-by: Vignesh R > Si

Re: [PATCH v2 0/2] cpufreq: intel_pstate: Base frequency attribute

2018-10-12 Thread Rafael J. Wysocki
On Tue, Oct 9, 2018 at 11:46 PM Srinivas Pandruvada wrote: > > This series presents base frequency to cpufreq sysfs when intel_pstate > is in use in HWP mode. > > Changes: > v2 > - Removed guaranteed attribute addition to acpi_cppc sysfs > - Using the cppc_acpi interface to get base frequency and

Re: linux-next: Signed-off-by missing for commit in the tty tree

2018-10-12 Thread Greg KH
On Fri, Oct 12, 2018 at 07:15:09PM +1100, Stephen Rothwell wrote: > Hi Greg, > > Commit > > c9a8e5fce009 ("tty: wipe buffer.") > > is missing a Signed-off-by from its author. Yes, known issue, I took a patch from Linus that he didn't get the chance to sign-off on. thanks, greg k-h

Re: [RFC][PATCH 0/3] printk: some pr_cont tweaks and cleanups

2018-10-12 Thread Petr Mladek
On Tue 2018-10-02 11:38:33, Sergey Senozhatsky wrote: > Hello, > > RFC > > Forked from "printk feature for syzbot". Let's have a separate > discussion thread. > A buch of pr_cont tweaks and cleanups, please see commits and > commits' messages for more details. > > Sergey

Re: [PATCH V2 2/2] cpuidle/drivers/menu: Remove get_loadavg in the performance multiplier

2018-10-12 Thread Peter Zijlstra
On Thu, Oct 04, 2018 at 02:04:03PM +0200, Daniel Lezcano wrote: > The function get_loadavg() returns almost always zero. To be more > precise, statistically speaking for a total of 1023379 times passing > in the function, the load is equal to zero 1020728 times, greater than > 100, 610 times, the r

Re: [PATCH V2 1/2] sched: Factor out nr_iowait and nr_iowait_cpu

2018-10-12 Thread Peter Zijlstra
On Thu, Oct 04, 2018 at 02:04:02PM +0200, Daniel Lezcano wrote: > The function nr_iowait_cpu() can be used directly by nr_iowait() instead > of duplicating code. > > Call nr_iowait_cpu() from nr_iowait() > > Reviewed-by: Rafael J. Wysocki > Signed-off-by: Daniel Lezcano Acked-by: Peter Zijlstr

Re: [RFD/RFC PATCH 5/8] sched: Add proxy execution

2018-10-12 Thread Juri Lelli
On 12/10/18 09:22, luca abeni wrote: > On Thu, 11 Oct 2018 14:53:25 +0200 > Peter Zijlstra wrote: > > [...] > > > > > + if (rq->curr != rq->idle) { > > > > > + rq->proxy = rq->idle; > > > > > + set_tsk_need_resched(rq->idle); > > > > > + /* > > > > > +

[GIT PULL] pin control fix for v4.19

2018-10-12 Thread Linus Walleij
Hi Greg, Here is a last minute pin control fix for the v4.19 series. Please pull it in. It fixes interrupts on the MCP23s08. Yours, Linus Walleij The following changes since commit 0238df646e6224016a45505d2c111a24669ebe21: Linux 4.19-rc7 (2018-10-07 17:26:02 +0200) are available in the Git

[GIT PULL] GPIO fix for v4.19

2018-10-12 Thread Linus Walleij
Hi Greg, here is a last minute GPIO fix for the v4.19 series. This fixes GPIO IRQchip parent assignment on a lot of GPIO drivers. Please pull it in! Yours, Linus Walleij The following changes since commit 0238df646e6224016a45505d2c111a24669ebe21: Linux 4.19-rc7 (2018-10-07 17:26:02 +0200)

[PATCH 3/8] usbnet: smsc95xx: simplify tx_fixup code

2018-10-12 Thread Ben Dooks
The smsc95xx_tx_fixup is doing multiple calls to skb_push() to put an 8-byte command header onto the packet. It would be easier to do one skb_push() and then copy the data in once the push is done. We also make the code smaller by using proper unaligned puts for the header. This merges in the CPU

Re: [PATCH v4 3/3] iio: magnetometer: Add driver support for PNI RM3100

2018-10-12 Thread Song Qiang
On 2018年10月12日 15:35, Song Qiang wrote: PNI RM3100 is a high resolution, large signal immunity magnetometer, composed of 3 single sensors and a processing chip with a MagI2C interface. ... +static irqreturn_t rm3100_trigger_handler(int irq, void *p) +{ + struct iio_poll_func *pf = p;

Re: [PATCH V2 3/5] usb: xhci: tegra: Add genpd support

2018-10-12 Thread Jon Hunter
On 11/10/18 17:47, Thierry Reding wrote: > On Fri, Sep 28, 2018 at 03:11:48PM +0100, Jon Hunter wrote: >> The generic power-domain framework has been updated to allow devices >> that require more than one power-domain to create a new device for >> each power-domain required and then link these ne

Re: [PATCH] random: Move rand_initialize() earlier

2018-10-12 Thread Arnd Bergmann
On Fri, Oct 12, 2018 at 12:54 AM Kees Cook wrote: > > Right now rand_initialize() is run as an early_initcall(), but it only > depends on timekeeping_init() (for mixing ktime_get_real() into the > pools). However, the call to boot_init_stack_canary() for stack canary > initialization runs earlier,

Re: [PATCH v2 1/5] nds32: nds32 FPU port

2018-10-12 Thread Vincent Chen
On Thu, Oct 11, 2018 at 03:30:30PM +0800, Arnd Bergmann wrote: > On Thu, Oct 11, 2018 at 4:56 AM Vincent Chen wrote: > > > > This commit contains basic components for nds32 FPU support such as > > FPU exception handler and context switch for FPU register. > > > > diff --git a/arch/nds32/Kconfig.cp

Re: [PATCH 6/8] usbnet: smsc95xx: fix memcpy for accessing rx-data

2018-10-12 Thread Sergei Shtylyov
Hello! On 12.10.2018 11:34, Ben Dooks wrote: Change the RX code to use get_unaligned_le32() instead of the combo of memcpy and cpu_to_le32s(&var). le32_to_cpus(), actually. Signed-off-by: Ben Dooks --- drivers/net/usb/smsc95xx.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions

Re: [PATCH 0/3] spi-nor: Add Octal SPI support

2018-10-12 Thread Boris Brezillon
Hi Vignesh, On Mon, 8 Oct 2018 21:06:02 +0530 Vignesh R wrote: > Hi Boris, > > Sorry I missed this mail. > > On Thursday 04 October 2018 04:47 PM, Boris Brezillon wrote: > > On Thu, 4 Oct 2018 16:05:36 +0530 > > Vignesh R wrote: > > > > .../devicetree/bindings/mtd/cadence-quadsp

Re: Bug introduced in the of_get_named_gpiod_flags function.

2018-10-12 Thread Michal Simek
Hi, On 11.10.2018 10:27, Linus Walleij wrote: > Hi Wojciech, > > (Thanks also Randy for forwarding this!) > > On Wed, Oct 10, 2018 at 6:32 PM wzab wrote: > >> The function of_get_named_gpiod_flags in older versions of the kernel >> (up to 4.7.10 - >> https://elixir.bootlin.com/linux/v4.7.10/s

[LKP] ca90800a91 [ 9.462982] WARNING: CPU: 0 PID: 1 at mm/page_alloc.c:4061 __alloc_pages_nodemask

2018-10-12 Thread kernel test robot
Greetings, 0day kernel testing robot got the below dmesg and the first bad commit is https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master commit ca90800a91ba723d78ded634d037c1d2df8b54d6 Author: Kees Cook AuthorDate: Thu May 10 16:40:03 2018 -0700 Commit: Kees Cook

REGRESSION: [PATCH v5 3/3] gpiolib: Show correct direction from the beginning

2018-10-12 Thread Marcel Ziswiler
On Fri, 2018-10-05 at 08:53 +0200, Ricardo Ribalda Delgado wrote: > Current code assumes that the direction is input if direction_input > function is set. > This might not be the case on GPIOs with programmable direction. Unfortunately, this breaks at least Apalis T30 and Apalis TK1. Enabling earl

Re: [PATCH] printk: fix integer overflow in setup_log_buf()

2018-10-12 Thread Petr Mladek
On Wed 2018-10-10 20:33:08, Sergey Senozhatsky wrote: > The way we calculate logbuf free space percentage overflows signed > integer: > > int free; > > free = __LOG_BUF_LEN - log_next_idx; > pr_info("early log buf free: %u(%u%%)\n", > free, (free * 100) / __LOG_BUF

Re: [RCF PATCH,v2,2/2] pwm: imx: Configure output to GPIO in disabled state

2018-10-12 Thread Uwe Kleine-König
Hello, On Wed, Oct 10, 2018 at 09:33:26AM +, Vokáč Michal wrote: > Normally the PWM output is held LOW when PWM is disabled. This can cause > problems when inverted PWM signal polarity is needed. With this behavior > the connected circuit is fed by 100% duty cycle instead of being shut-off. >

Re: [PATCH v2] pinctrl: madera: Fix uninitialized variable bug in madera_mux_set_mux

2018-10-12 Thread Gustavo A. R. Silva
On 10/11/18 10:40 AM, Linus Walleij wrote: >> Changes in v2: >> - Initialize variable ret to 0 instead of -1. Thanks to Charles Keepax >>for pointing this out. >> - Update subject and commit log. > > Patch applied with Charles' ACK. > Thanks, Linus. -- Gustavo

Re: [PATCH v3 2/9] dt-bindings: ti-lmu: Remove LM3697

2018-10-12 Thread Lee Jones
On Thu, 11 Oct 2018, Dan Murphy wrote: > Remove support for the LM3697 LED device > from the ti-lmu. The LM3697 will be supported > via a stand alone LED driver. What's with the odd 50 char line wrapping? > Signed-off-by: Dan Murphy > --- > .../devicetree/bindings/mfd/ti-lmu.txt| 26 +

Re: [PATCH] staging: comedi: tio: fix multiple missing break in switch bugs

2018-10-12 Thread Gustavo A. R. Silva
On 10/12/18 11:04 AM, Ian Abbott wrote: > On 11/10/2018 20:05, Gustavo A. R. Silva wrote: >> Currently, there are multiple missing break statements in two switch code >> blocks. This makes the execution path to fall all the way down through >> to the default cases, which makes the function ni_ti

Re: REGRESSION: [PATCH v5 3/3] gpiolib: Show correct direction from the beginning

2018-10-12 Thread Linus Walleij
On Fri, Oct 12, 2018 at 11:00 AM Marcel Ziswiler wrote: > On Fri, 2018-10-05 at 08:53 +0200, Ricardo Ribalda Delgado wrote: > > Current code assumes that the direction is input if direction_input > > function is set. > > This might not be the case on GPIOs with programmable direction. > > Unfortun

Re: [PATCH] staging: comedi: tio: fix multiple missing break in switch bugs

2018-10-12 Thread Ian Abbott
On 11/10/2018 20:05, Gustavo A. R. Silva wrote: Currently, there are multiple missing break statements in two switch code blocks. This makes the execution path to fall all the way down through to the default cases, which makes the function ni_tio_set_gate_src() to always return -EINVAL. Fix this

Re: [PATCH] mtd: sa1100: avoid VLA in sa1100_setup_mtd

2018-10-12 Thread Boris Brezillon
Hi Arnd, On Wed, 10 Oct 2018 20:44:50 +0200 Arnd Bergmann wrote: > Enabling -Wvla found another variable-length array with randconfig > testing: > > drivers/mtd/maps/sa1100-flash.c: In function 'sa1100_setup_mtd': > drivers/mtd/maps/sa1100-flash.c:224:10: error: ISO C90 forbids variable > leng

Re: [PATCH] pinctrl: rzn1: remove unnecessary unsigned integer comparison

2018-10-12 Thread Linus Walleij
Sorry for top-posting, Geert is maintainer for this driver. Yours, Linus Walleij On Thu, Oct 11, 2018 at 10:40 PM Gustavo A. R. Silva wrote: > > There is no need to compare ipctl->mdio_func[mdio] with => 0, because > such comparison is always true. Notice that *mdio_func* is of type > u32 (32 bi

[PATCH 2/7] net: asix: add usbnet -> priv function

2018-10-12 Thread Ben Dooks
There are a number of places in the asix driver where it gets the private-data from the usbnet passed in. It would be sensible to have one inline function to convert it and change all points in the driver to use that. Signed-off-by: Ben Dooks --- drivers/net/usb/asix.h | 5 + driver

[PATCH 6/7] net: huawei_cdc_ncm: add usbnet -> priv function

2018-10-12 Thread Ben Dooks
There are a number of places in the huawei driver where it gets the private-data from the usbnet passed in. It would be sensible to have one inline function to convert it and change all points in the driver to use that. Signed-off-by: Ben Dooks --- --- drivers/net/usb/huawei_cdc_ncm.c | 15 +

[PATCH 5/7] net: cdc_ether: add usbnet -> priv function

2018-10-12 Thread Ben Dooks
There are a number of places in the cdc drivers where it gets the private-data from the usbnet passed in. It would be sensible to have one inline function to convert it and change all points in the driver to use that. Signed-off-by: Ben Dooks --- drivers/net/usb/cdc_ether.c | 8 ++--- drivers/

[PATCH 7/7] net: usb: sr9800: add usbnet -> priv function

2018-10-12 Thread Ben Dooks
There are a number of places in the sr8900 driver where it gets the private-data from the usbnet passed in. It would be sensible to have one inline function to convert it and change all points in the driver to use that. Signed-off-by: Ben Dooks --- drivers/net/usb/sr9800.c | 15 ++-

usbnet private-data accessor functions

2018-10-12 Thread Ben Dooks
I have been looking at the usbnet drivers and the possibility of some code cleanups. One of the things I've found is that changing the way the drivers use the private data with the usbnet structure is often hand-coded each time is needed. An easy cleanp (and making it easier in the future to chang

[PATCH 4/7] net: qmi_wwan: add usbnet -> priv function

2018-10-12 Thread Ben Dooks
There are a number of places in the qmi_wwan driver where it gets the private-data from the usbnet passed in. It would be sensible to have one inline function to convert it and change all points in the driver to use that. Signed-off-by: Ben Dooks --- drivers/net/usb/qmi_wwan.c | 31 +

Re: [PATCH] virtio_net: enable tx after resuming from suspend

2018-10-12 Thread ake
On 2018年10月12日 17:23, Jason Wang wrote: > > > On 2018年10月12日 12:30, ake wrote: >> >> On 2018年10月11日 22:06, Jason Wang wrote: >>> >>> On 2018年10月11日 18:22, ake wrote: On 2018年10月11日 18:44, Jason Wang wrote: > On 2018年10月11日 15:51, Ake Koomsin wrote: >> commit 713a98d90c5e ("virtio-

Re: [PATCH] mtd: sa1100: avoid VLA in sa1100_setup_mtd

2018-10-12 Thread Arnd Bergmann
On Fri, Oct 12, 2018 at 11:16 AM Boris Brezillon wrote: > > Hi Arnd, > > On Wed, 10 Oct 2018 20:44:50 +0200 > Arnd Bergmann wrote: > > > Enabling -Wvla found another variable-length array with randconfig > > testing: > > > > drivers/mtd/maps/sa1100-flash.c: In function 'sa1100_setup_mtd': > > dri

Re: [PATCH] x86: entry: flush the cache if syscall error

2018-10-12 Thread Samuel Neves
On Thu, Oct 11, 2018 at 8:25 PM Andy Lutomirski wrote: > What exactly is this trying to protect against? And how many cycles > should we expect L1D_FLUSH to take? As far as I could measure, I got 1660 cycles per wrmsr 0x10b, 0x1 on a Skylake chip, and 1220 cycles on a Skylake-SP.

Re: [PATCH v2 4/4] locking/qspinlock, x86: Provide liveness guarantee

2018-10-12 Thread Will Deacon
On Wed, Oct 10, 2018 at 05:12:57PM +0100, Will Deacon wrote: > On Wed, Oct 03, 2018 at 03:03:01PM +0200, Peter Zijlstra wrote: > > arch/x86/include/asm/qspinlock.h | 15 +++ > > kernel/locking/qspinlock.c | 16 +++- > > 2 files changed, 30 insertions(+), 1 deletio

Re: [PATCH v2 1/5] nds32: nds32 FPU port

2018-10-12 Thread Arnd Bergmann
On Fri, Oct 12, 2018 at 10:52 AM Vincent Chen wrote: > > On Thu, Oct 11, 2018 at 03:30:30PM +0800, Arnd Bergmann wrote: > > On Thu, Oct 11, 2018 at 4:56 AM Vincent Chen wrote: > > There was a long discussion on RISC-V about what happens when > > FPU support is enabled or disabled, you may have s

Re: [PATCH v3 1/3] x86: baytrail/cherrytrail: Rework and move P-Unit PMIC bus semaphore code

2018-10-12 Thread Hans de Goede
Hi, On 11-10-18 22:35, Alan Cox wrote: 1) PMIC accesses often come in the form of a read-modify-write on one of the PMIC registers, we currently release the P-Unit's PMIC bus semaphore between the read and the write. If the P-Unit modifies the register during this window?, then we end up overwri

Re: [PATCH] mtd: sa1100: avoid VLA in sa1100_setup_mtd

2018-10-12 Thread Boris Brezillon
On Fri, 12 Oct 2018 11:19:52 +0200 Arnd Bergmann wrote: > On Fri, Oct 12, 2018 at 11:16 AM Boris Brezillon > wrote: > > > > Hi Arnd, > > > > On Wed, 10 Oct 2018 20:44:50 +0200 > > Arnd Bergmann wrote: > > > > > Enabling -Wvla found another variable-length array with randconfig > > > testing:

[PATCH] spi: Make GPIO CSs honour the SPI_NO_CS flag

2018-10-12 Thread Phil Elwell
The SPI configuration state includes an SPI_NO_CS flag that disables all CS line manipulation, for applications that want to manage their own chip selects. However, this flag is ignored by the GPIO CS code in the SPI framework. Correct this omission with a trivial patch. Signed-off-by: Phil Elwel

Re: [PATCH RFC v1 4/8] drivers: qcom: cpu_pd: add cpu power domain support using genpd

2018-10-12 Thread Ulf Hansson
On 11 October 2018 at 17:59, Sudeep Holla wrote: > On Thu, Oct 11, 2018 at 05:27:59PM +0200, Ulf Hansson wrote: >> On 11 October 2018 at 13:13, Sudeep Holla wrote: >> > On Thu, Oct 11, 2018 at 02:50:51AM +0530, Raju P.L.S.S.S.N wrote: >> >> RPMH based targets require that the sleep and wake state

Re: [RFC][PATCH 0/3] printk: some pr_cont tweaks and cleanups

2018-10-12 Thread Sergey Senozhatsky
On (10/12/18 10:27), Petr Mladek wrote: > > Forked from "printk feature for syzbot". Let's have a separate > > discussion thread. > > A buch of pr_cont tweaks and cleanups, please see commits and > > commits' messages for more details. > > > > Sergey Senozhatsky (3): > > printk: keep ker

Re: [PATCH] printk: fix integer overflow in setup_log_buf()

2018-10-12 Thread Sergey Senozhatsky
On (10/12/18 11:01), Petr Mladek wrote: > > Make "free" unsigned integer and use appropriate printk() specifier. > > > > Signed-off-by: Sergey Senozhatsky > > I have pushed this fix into printk.git, for-4.20 branch. Thanks. > Please note that this 2nd hunk was already part of the commit > e6fe

Re: Future of dosfstools project (FAT)

2018-10-12 Thread Andreas Henriksson
Hello everyone, On Tue, Oct 02, 2018 at 04:44:10AM -0400, Jaroslav Skarvada wrote: > I am downstream maintainer of dosfstools in Fedora/RHEL. My personal opinion > with such kind of projects is that one or two years without activity doesn't > mean the project is dead. I don't know what happened wi

Re: [PATCH] pinctrl: rzn1: remove unnecessary unsigned integer comparison

2018-10-12 Thread Gustavo A. R. Silva
On 10/12/18 11:17 AM, Linus Walleij wrote: > Sorry for top-posting, Geert is maintainer for this driver. > Oh okay. This is what I get when I run the get_maintainer scripts on the rzn1 driver: $ scripts/get_maintainer.pl --nokeywords --nogit --nogit-fallback drivers/pinctrl/pinctrl-rzn1.c L

Re: [PATCH v3] arm64: new board - Emlid Neutis N5

2018-10-12 Thread Aleksandr Aleksandrov
Hi, > >>  +/ { > >>  + model = "Emlid Neutis N5 Developer board"; > >>  + compatible = "emlid,emlid-neutis-n5-devboard", > >>  + "emlid,emlid-neutis-n5", > >> > >> Do you need the two emlid there? What comes before the comma is the > >> vendor, while what is after is the model. > >

Re: [PATCH v5 06/21] tpm: move tpm1_pcr_extend to tpm1-cmd.c

2018-10-12 Thread Nayna Jain
On 09/29/2018 04:00 AM, Tomas Winkler wrote: Move tpm1_pcr_extend to tpm1-cmd.c and remove unused pcrextend_header structure and EXTEND_PCR_RESULT_SIZE and EXTEND_PCR_RESULT_BODY_SIZE defines. Fixes warning: drivers/char/tpm/tpm-interface.c:609:38: warning: ‘pcrextend_header’ defined but not

Re: REGRESSION: [PATCH v5 3/3] gpiolib: Show correct direction from the beginning

2018-10-12 Thread Marcel Ziswiler
On Fri, 2018-10-12 at 11:08 +0200, Linus Walleij wrote: > On Fri, Oct 12, 2018 at 11:00 AM Marcel Ziswiler > wrote: > > On Fri, 2018-10-05 at 08:53 +0200, Ricardo Ribalda Delgado wrote: > > > Current code assumes that the direction is input if > > > direction_input > > > function is set. > > > Thi

Re: [RFC PATCH 0/7] Introduce thermal pressure

2018-10-12 Thread Lukasz Luba
On 10/11/2018 10:23 AM, Daniel Lezcano wrote: > On 11/10/2018 09:35, Lukasz Luba wrote: >> Hi Daniel, >> >> On 10/10/2018 06:54 PM, Daniel Lezcano wrote: >>> On 10/10/2018 17:35, Lukasz Luba wrote: Hi Thara, I have run it on Exynos5433 mainline. When it is enabled with step_wi

Re: [PATCH v9 04/11] dt: psci: Update DT bindings to support hierarchical PSCI states

2018-10-12 Thread Ulf Hansson
On 11 October 2018 at 18:41, Sudeep Holla wrote: > On Thu, Oct 11, 2018 at 04:44:07PM +0200, Ulf Hansson wrote: >> +Raju >> >> On 10 October 2018 at 17:03, Sudeep Holla wrote: >> > On Wed, Oct 03, 2018 at 04:38:17PM +0200, Ulf Hansson wrote: >> >> From: Lina Iyer >> >> >> >> Update DT bindings t

Re: [PATCH v7] regulator: fixed: Convert to use GPIO descriptor only

2018-10-12 Thread Marcel Ziswiler
On Thu, 2018-10-11 at 19:47 +0200, Linus Walleij wrote: > On Thu, Oct 11, 2018 at 5:34 PM Marcel Ziswiler > wrote: > > > I guess that is also what broke HDMI on Apalis/Colibri T30 causing > > me > > to submit a fix [1]. I may also help testing. > > I see there are many ways to skin this cat. Ye

Re: [PATCH V4 0/4] Add TIOCM Signals support for RPMSG char devices

2018-10-12 Thread Arnaud Pouliquen
On 10/09/2018 08:27 PM, Bjorn Andersson wrote: > On Tue 09 Oct 09:02 PDT 2018, Arnaud Pouliquen wrote: > >> hello Bjorn, >> >> On 10/08/2018 06:23 PM, Bjorn Andersson wrote: >>> On Mon 08 Oct 06:08 PDT 2018, Arnaud Pouliquen wrote: >>> Hi Arun, Bjorn, On 10/08/2018 08:38 AM, Arun

[PATCH] drm/sti: clean up after drm_atomic_helper_shutdown rework

2018-10-12 Thread Benjamin Gaignard
Since drm_atomic_helper_shutdown() rework it is possible to do additional clean up in sti driver: custom plane destroy functions become useless and clean up encoder is no more needed. Signed-off-by: Benjamin Gaignard --- drivers/gpu/drm/sti/sti_cursor.c | 9 + drivers/gpu/drm/sti/sti_gd

[PATCH v4 3/6] parisc: add system call table generation support

2018-10-12 Thread Firoz Khan
The system call tables are in different format in all architecture and it will be difficult to manually add or modify the system calls in the respective files. To make it easy by keeping a script and which'll generate the header file and syscall table file so this change will unify them across all

[PATCH v4 6/6] parisc: syscalls: Ignore nfsservctl for other architectures

2018-10-12 Thread Firoz Khan
This adds an exception to the syscall table checking script. nfsservctl entry is only provided on x86, and there is no reason to add it elsewhere. However, including it on the syscall table caused a warning for most configurations on non-x86. :696:2: warning: #warning syscall nfsservctl not imple

[PATCH v4 0/6] parisc: system call table generation support

2018-10-12 Thread Firoz Khan
The purpose of this patch series is, we can easily add/modify/delete system call table support by changing entry in syscall.tbl file instead of manually changing many files. The other goal is to unify the system call table generation support implementation across all the architectures. The sys

Re: [PATCH v13 3/3]: perf record: extend trace writing to multi AIO

2018-10-12 Thread Namhyung Kim
Hi, On Thu, Oct 11, 2018 at 09:59:19PM +0300, Alexey Budankov wrote: > > Multi AIO trace writing allows caching more kernel data into userspace > memory postponing trace writing for the sake of overall profiling data > thruput increase. It could be seen as kernel data buffer extension into > us

Re: [RFC][PATCH] perf: Rewrite core context handling

2018-10-12 Thread Peter Zijlstra
Can we please not top-post? On Thu, Oct 11, 2018 at 10:37:14PM +, Song Liu wrote: > Thanks Peter! These are really really helpful. > > I am trying to think through the case of a group of two events on two > separate hardware PMUs. In current implementation, this will not trigger > move_gr

Re: [PATCH v5 01/17] arm64: add pointer authentication register bits

2018-10-12 Thread Mark Rutland
On Fri, Oct 12, 2018 at 09:56:05AM +0100, Will Deacon wrote: > On Fri, Oct 12, 2018 at 09:53:54AM +0100, Mark Rutland wrote: > > On Thu, Oct 11, 2018 at 05:28:14PM +0100, Will Deacon wrote: > > > On Fri, Oct 05, 2018 at 09:47:38AM +0100, Kristina Martsenko wrote: > > > > > > +#define ESR_ELx_EC_PA

Re: [PATCH v3] arm64: new board - Emlid Neutis N5

2018-10-12 Thread Maxime Ripard
On Fri, Oct 12, 2018 at 12:35:23PM +0300, Aleksandr Aleksandrov wrote: > > >>  +&uart1 { > > >>  + pinctrl-names = "default"; > > >>  + pinctrl-0 = <&uart1_pins>, <&uart1_rts_cts_pins>; > > >>  + status = "okay"; > > >>  +}; > > >> > > >> I guess this is for bluetooth? Have you tested serdev driver

Re: [RFC PATCH for 4.21 01/16] rseq/selftests: Add reference counter to coexist with glibc

2018-10-12 Thread Szabolcs Nagy
On 11/10/18 20:42, Mathieu Desnoyers wrote: > - On Oct 11, 2018, at 1:04 PM, Szabolcs Nagy szabolcs.n...@arm.com wrote: > >> On 11/10/18 17:37, Mathieu Desnoyers wrote: >>> - On Oct 11, 2018, at 12:20 PM, Szabolcs Nagy szabolcs.n...@arm.com >>> wrote: On 11/10/18 16:13, Mathieu Desno

[PATCH V8 17/21] csky: Misc headers

2018-10-12 Thread Guo Ren
This patch adds csky register definition, byteorder, asm-offsets codes. Signed-off-by: Guo Ren --- arch/csky/abiv1/inc/abi/reg_ops.h | 27 +++ arch/csky/abiv1/inc/abi/regdef.h | 26 ++ arch/csky/abiv2/inc/abi/reg_ops.h | 17 +++ arch/csky/abiv2/inc/abi/regdef.

[PATCH V8 19/21] dt-bindings: Add vendor prefix for csky

2018-10-12 Thread Guo Ren
Add csky vendor definition. Signed-off-by: Guo Ren Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.tx

[PATCH V8 20/21] MAINTAINERS: Add csky

2018-10-12 Thread Guo Ren
Add a maintainer information for the csky(C-SKY) architecture. Signed-off-by: Guo Ren --- MAINTAINERS | 9 + 1 file changed, 9 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index d870cb5..9dac20e 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -3211,6 +3211,15 @@ T: git git:/

[PATCH V8 21/21] csky: add support get_user_size access dword

2018-10-12 Thread Guo Ren
Support dword access for get_user_size and redesign put_user_size with the same style of get_user_size. It's Ok to use xxx_user_asm_common for all size of variable with ldb, ldh, ldw, ld.d ld.d rx, (addr, 0) could "rx <= addr" "and r(x+1) <= addr+4" and this also follow abiv2 gcc ABI for dword acc

[PATCH V8 18/21] dt-bindings: csky CPU Bindings

2018-10-12 Thread Guo Ren
This patch adds the documentation to describe that how to add cpu nodes in dts for SMP. Signed-off-by: Guo Ren Cc: Rob Herring --- Documentation/devicetree/bindings/csky/cpus.txt | 70 + 1 file changed, 70 insertions(+) create mode 100644 Documentation/devicetree/bindin

Re: [PATCH 2/2] ASoC: max98927: Add reset-gpio support

2018-10-12 Thread Philipp Zabel
Hi Cheng-yi, [adding Maxime, devicetree to Cc:, the old discussion about GPIO resets in [4] has never been resolved] On Tue, 2018-10-09 at 21:46 +0800, Cheng-yi Chiang wrote: > +reset controller maintainer Philipp > > Hi Mark, > Sorry for the late reply. It took me a while to investigate reset

[PATCH V2 2/4] blk-mq: change gfp flags to GFP_NOIO in blk_mq_realloc_hw_ctxs

2018-10-12 Thread Jianchao Wang
blk_mq_realloc_hw_ctxs could be invoked during update hw queues. At the momemt, IO is blocked. Change the gfp flags from GFP_KERNEL to GFP_NOIO to avoid forever hang during memory allocation in blk_mq_realloc_hw_ctxs. Signed-off-by: Jianchao Wang --- block/blk-core.c | 2 +- block/blk-flush.c

[PATCH V2 4/4] blk-mq: fallback to previous nr_hw_queues when updating fails

2018-10-12 Thread Jianchao Wang
When we try to increate the nr_hw_queues, we may fail due to shortage of memory or other reason, then blk_mq_realloc_hw_ctxs stops and some entries in q->queue_hw_ctx are left with NULL. However, because queue map has been updated with new nr_hw_queues, some cpus have been mapped to hw queue which

[PATCH V2 0/2] blk-mq: some fixes about updating hw queues

2018-10-12 Thread Jianchao Wang
Hi Jens This patch set fixes some defects during update hw queues. 1st patch refactor the blk-mq debugfs and sysfs register during blk_mq_update_nr_hw_queues. 2nd patch change the GFP_KERNEL to GFP_NOIO during blk_mq_realloc_hw_ctxs, 3rd patch try to realloc hctx when this hctx is mapped to a d

Re: [PATCH v9 04/11] dt: psci: Update DT bindings to support hierarchical PSCI states

2018-10-12 Thread Sudeep Holla
On Fri, Oct 12, 2018 at 11:43:11AM +0200, Ulf Hansson wrote: > On 11 October 2018 at 18:41, Sudeep Holla wrote: [...] > > Yes, nearly there. Just thought good to add a note that the representation > > has no affinity towards any PSCI idle state mechanism(PC or OSI). So > > that it's never assumed

Re: [PATCH RFC v1 2/8] kernel/cpu_pm: Manage runtime PM in the idle path for CPUs

2018-10-12 Thread Ulf Hansson
On 12 October 2018 at 09:43, Rafael J. Wysocki wrote: > On Fri, Oct 12, 2018 at 12:08 AM Lina Iyer wrote: >> >> On Thu, Oct 11 2018 at 14:56 -0600, Rafael J. Wysocki wrote: >> >On Wednesday, October 10, 2018 11:20:49 PM CEST Raju P.L.S.S.S.N wrote: >> >> From: Ulf Hansson >> >> >> >> To allow CP

Re: [PATCH v13 3/3]: perf record: extend trace writing to multi AIO

2018-10-12 Thread Alexey Budankov
Hi, On 12.10.2018 12:49, Namhyung Kim wrote: > Hi, > > On Thu, Oct 11, 2018 at 09:59:19PM +0300, Alexey Budankov wrote: >> >> @@ -1882,8 +1913,8 @@ static struct option __record_options[] = { >> OPT_BOOLEAN(0, "dry-run", &dry_run, >> "Parse options then exit"), >> #ifdef H

Re: [PATCH v6 2/9] PCI: mediatek: Fixup class ID for MT7622 as PCI_CLASS_BRIDGE_PCI

2018-10-12 Thread Lorenzo Pieralisi
On Fri, Oct 12, 2018 at 04:01:29PM +0800, Honghui Zhang wrote: > On Thu, 2018-10-11 at 12:38 +0100, Lorenzo Pieralisi wrote: > > On Tue, Oct 09, 2018 at 11:08:15AM +0800, Honghui Zhang wrote: > > > On Mon, 2018-10-08 at 18:23 +0100, Lorenzo Pieralisi wrote: > > > > On Mon, Oct 08, 2018 at 11:24:41A

Re: [PATCH] mm: don't clobber partially overlapping VMA with MAP_FIXED_NOREPLACE

2018-10-12 Thread Michael Ellerman
Jann Horn writes: > On Wed, Oct 10, 2018 at 7:19 PM Michal Hocko wrote: >> On Wed 10-10-18 17:27:36, Jann Horn wrote: >> > Daniel Micay reports that attempting to use MAP_FIXED_NOREPLACE in an >> > application causes that application to randomly crash. The existing check >> > for handling MAP_FIX

  1   2   3   4   5   6   >