[no subject]

2018-01-22 Thread Gerardina Viquez Beltrán
Herzlichen Glückwunsch, Sie haben € 650.000,00 bei den monatlichen Gewinnspielen von Euro Millions / Google Promo am Januar 2018 gewonnen. Kontaktieren Sie unseren Schadenversicherer E-Mail: eurosilli...@gmail.com 1. Vollständiger Name; 2. Adresse; 3. Sex; 4. Alter; 5. Beruf; 6. Telefon;

Re: [PATCH 1/3] dt-bindings: pwrap: mediatek: add MT6351 PMIC support for MT6797

2018-01-22 Thread Sean Wang
On Tue, 2018-01-23 at 11:36 +0800, argus@mediatek.com wrote: > From: Argus Lin > > We add MT6351 PMIC support for MT6797 SoCs. > > Change-Id: I362b2305f674813ffb03ce6f54f7fc4c378b8fd2 should remove change-id, also in the other patches > Signed-off-by: Argus Lin > --- > Documentation/devi

Re: [PATCH 2/2] drm: adv7511: Add support for i2c_new_secondary_device

2018-01-22 Thread Kieran Bingham
On 22/01/18 13:00, Lars-Peter Clausen wrote: > On 01/22/2018 01:50 PM, Kieran Bingham wrote: >> The ADV7511 has four 256-byte maps that can be accessed via the main I²C >> ports. Each map has it own I²C address and acts as a standard slave >> device on the I²C bus. >> >> Allow a device tree node to

Re: [RFC 09/10] x86/enter: Create macros to restrict/unrestrict Indirect Branch Speculation

2018-01-22 Thread Ingo Molnar
* Ingo Molnar wrote: > * David Woodhouse wrote: > > > But wait, why did I say "mostly"? Well, not everyone has a retpoline > > compiler yet... but OK, screw them; they need to update. > > > > Then there's Skylake, and that generation of CPU cores. For complicated > > reasons they actually end

Re: [PATCH v2 12/12] x86/jailhouse: Initialize PCI support

2018-01-22 Thread Jan Kiszka
On 2018-01-22 23:26, Bjorn Helgaas wrote: > On Mon, Nov 27, 2017 at 09:11:54AM +0100, Jan Kiszka wrote: >> From: Jan Kiszka >> >> With this change, PCI devices can be detected and used inside a non-root >> cell. >> >> Signed-off-by: Jan Kiszka >> --- >> arch/x86/kernel/jailhouse.c | 17 +

[PATCH V2] tty: fix data race between tty_init_dev and flush of buf

2018-01-22 Thread Gaurav Kohli
There can be a race, if receive_buf call comes before tty initialization completes in n_tty_open and tty->disc_data may be NULL. CPU0CPU1 000|n_tty_receive_buf_common() n_tty_open() -001|n_tty_receive_buf2()

Re: possible deadlock in perf_trace_destroy (2)

2018-01-22 Thread Dmitry Vyukov
On Tue, Jan 23, 2018 at 12:19 AM, Peter Zijlstra wrote: > On Mon, Jan 22, 2018 at 05:20:13PM -0500, Steven Rostedt wrote: >> >> Peter, >> >> Isn't this the same as what you mentioned (and had a hack patch for) >> before? >> >> >> http://lkml.kernel.org/r/20180109133651.gb2...@hirez.programming.k

[PATCH] ARM: dts: imx6sx: add pu power domain support

2018-01-22 Thread Anson Huang
Add PU power domain support, GPU is the only module inside PU power domain, and PU power is supplied by LDO_SOC. Signed-off-by: Anson Huang --- arch/arm/boot/dts/imx6sx.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/imx6sx.dtsi b/arch/arm/boot/dts/imx6sx.dtsi

Re: [PATCH v5 0/2] printk: Console owner and waiter logic cleanup

2018-01-22 Thread Sergey Senozhatsky
On (01/23/18 15:40), Sergey Senozhatsky wrote: > > Why do we even use irq_work for printk_safe? > ... perhaps because of wq: pool->lock -> printk -> call_console_drivers -> printk -> vprintk_safe -> wq: pool->lock Which is a "many things have gone wrong" type of scenario. Maybe we can workaro

Re: [RFC 09/10] x86/enter: Create macros to restrict/unrestrict Indirect Branch Speculation

2018-01-22 Thread Ingo Molnar
* David Woodhouse wrote: > But wait, why did I say "mostly"? Well, not everyone has a retpoline > compiler yet... but OK, screw them; they need to update. > > Then there's Skylake, and that generation of CPU cores. For complicated > reasons they actually end up being vulnerable not just on indir

Re: [PATCH v6 22/36] nds32: Debugging support

2018-01-22 Thread Vincent Chen
2018-01-18 18:37 GMT+08:00 Arnd Bergmann : > On Mon, Jan 15, 2018 at 6:53 AM, Greentime Hu wrote: >> From: Greentime Hu >> >> This patch adds ptrace support. >> >> Signed-off-by: Vincent Chen >> Signed-off-by: Greentime Hu > > I must have missed this patch earlier, unfortunately I don't think >

Re: backport Rewrite sync_core() to use IRET-to-self to stable kernels?

2018-01-22 Thread gre...@linuxfoundation.org
On Mon, Jan 22, 2018 at 07:06:29PM -0800, Andy Lutomirski wrote: > On Mon, Jan 22, 2018 at 6:59 PM, Zhang, Ning A wrote: > > hello, Greg, Andy, Thomas > > > > would you like to backport these two patches to LTS kernel? > > > > https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git

Re: [PATCH v2] ARM: dts: ls1021a: add nodes for on-chip ram

2018-01-22 Thread Shawn Guo
On Wed, Jan 03, 2018 at 04:45:45PM +0100, Rasmus Villemoes wrote: > Although the two nodes constitute one contiguous 128K region, still > describe them separately: > > - That's how they are described in the reference manual: "Each OCRAM > occupies a 64 KB of address region...", and the names ocr

Re: selftests: run all tests

2018-01-22 Thread Michael Ellerman
Borislav Petkov writes: > On Tue, Jan 16, 2018 at 12:44:28PM +0100, Borislav Petkov wrote: >> Ah, that was hidden in the included lib.mk, thanks. >> >> I wonder if we should make it more user-friendly by adding a help target >> like for the main Makefile... > > One more point: > > What I do is c

Re: [PATCH v5 0/2] printk: Console owner and waiter logic cleanup

2018-01-22 Thread Sergey Senozhatsky
On (01/23/18 15:40), Sergey Senozhatsky wrote: [..] > Why do we even use irq_work for printk_safe? > > Okay... So, how about this. For printk_safe we use system_wq for flushing. > IOW, we flush from a task running exactly on the same CPU which hit printk > recursion, not from IRQ. From vprintk_saf

Re: [RFC PATCH] ftrace: Fix depth filtering when func_stack is enabled.

2018-01-22 Thread Nikolay Borisov
On 23.01.2018 01:16, Steven Rostedt wrote: > On Mon, 22 Jan 2018 15:50:04 +0200 > Nikolay Borisov wrote: > > >> diff --git a/kernel/trace/trace_functions.c b/kernel/trace/trace_functions.c >> index 27f7ad12c4b1..b721f1f3f3c0 100644 >> --- a/kernel/trace/trace_functions.c >> +++ b/kernel/trace/

Re: [PATCH 2/5] PCI: Move managed resource alloc to devres

2018-01-22 Thread Ladislav Michl
On Mon, Jan 22, 2018 at 03:33:52PM -0800, Dmitry Torokhov wrote: > On Sun, Jan 21, 2018 at 10:15:39PM +0100, Ladislav Michl wrote: > > devm_pci_remap_cfgspace() is using devm_ioremap_release() > > devres release function. Move it to devres along with > > similar PCI functions to allow hiding devm_i

Re: [PATCH 4.4 00/53] 4.4.113-stable review

2018-01-22 Thread Sumit Semwal
Hi Greg, On 23 January 2018 at 12:09, Greg Kroah-Hartman wrote: > On Tue, Jan 23, 2018 at 01:19:07AM +0530, Naresh Kamboju wrote: >> On 22 January 2018 at 14:09, Greg Kroah-Hartman >> wrote: >> > This is the start of the stable review cycle for the 4.4.113 release. >> > There are 53 patches in t

Re: [PATCH] powerpc: pseries: use irq_of_parse_and_map helper

2018-01-22 Thread Michael Ellerman
Rob Herring writes: > Instead of calling both of_irq_parse_one and irq_create_of_mapping, call > of_irq_parse_and_map instead which does the same thing. This gets us closer > to making the former 2 functions static. > > Cc: Benjamin Herrenschmidt > Cc: Paul Mackerras > Cc: Michael Ellerman > C

Re: [PATCH v5 0/2] printk: Console owner and waiter logic cleanup

2018-01-22 Thread Sergey Senozhatsky
Hello, On (01/21/18 23:15), Sergey Senozhatsky wrote: [..] > we have printk recursion from console drivers. it's redirected to > printk_safe and we queue an IRQ work to flush the buffer > > printk > console_unlock >call_console_drivers > net_console > printk > printk_save ->

Re: [PATCH 4.4 00/53] 4.4.113-stable review

2018-01-22 Thread Greg Kroah-Hartman
On Tue, Jan 23, 2018 at 01:19:07AM +0530, Naresh Kamboju wrote: > On 22 January 2018 at 14:09, Greg Kroah-Hartman > wrote: > > This is the start of the stable review cycle for the 4.4.113 release. > > There are 53 patches in this series, all will be posted as a response > > to this one. If anyone

Re: [PATCH 4.4 00/53] 4.4.113-stable review

2018-01-22 Thread Greg Kroah-Hartman
On Mon, Jan 22, 2018 at 01:07:27PM -0700, Shuah Khan wrote: > On 01/22/2018 01:39 AM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.4.113 release. > > There are 53 patches in this series, all will be posted as a response > > to this one. If anyone has any iss

Re: [PATCH v10 01/27] mm, powerpc, x86: define VM_PKEY_BITx bits if CONFIG_ARCH_HAS_PKEYS is enabled

2018-01-22 Thread Ram Pai
Andrew, Please apply the following two patches to your tree. [PATCH v10 01/27] mm, powerpc, x86: define VM_PKEY_BITx bits if CONFIG_ARCH_HAS_PKEYS is enabled [PATCH v10 02/27] mm, powerpc, x86: introduce an additional vma bit for powerpc pkey I have not heard any complaints on

Re: [PATCH 4.14 00/89] 4.14.15-stable review

2018-01-22 Thread Greg Kroah-Hartman
On Mon, Jan 22, 2018 at 11:10:20AM -0800, Guenter Roeck wrote: > On Mon, Jan 22, 2018 at 09:44:40AM +0100, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.14.15 release. > > There are 89 patches in this series, all will be posted as a response > > to this one.

[PATCH] staging: lustre: lnet/selftest: fix compile error on UP build

2018-01-22 Thread NeilBrown
When compiled without CONFIG_SMP, we get a compile error as ->ctb_parts is not defined. There is already a function, cfs_cpt_cpumask(), which will get the cpumask we need, and which handles the UP case by returning a NULL pointer. So use that and handle NULL. Also avoid the #ifdef by allocating a

Re: [PATCH v2] mkfs.f2fs: expand scalability of nat bitmap

2018-01-22 Thread Chao Yu
On 2018/1/23 7:00, Jaegeuk Kim wrote: > On 01/17, Chao Yu wrote: >> Hi Jaegeuk, >> >> On 2018/1/17 8:47, Jaegeuk Kim wrote: >>> Hi Chao, >>> >>> On 01/15, Chao Yu wrote: Previously, our total node number (nat_bitmap) and total nat segment count will not monotonously increase along with im

Re: [PATCH] mm: Pin address_space before dereferencing it while isolating an LRU page

2018-01-22 Thread Minchan Kim
On Thu, Jan 04, 2018 at 10:25:12AM +, Mel Gorman wrote: > Minchan Kim asked the following question -- what locks protects > address_space destroying when race happens between inode trauncation and > __isolate_lru_page? Jan Kara clarified by describing the race as follows > > CPU1

Re: [net-next: PATCH v4 1/7] device property: Introduce fwnode_get_mac_address()

2018-01-22 Thread Marcin Wojtas
Hi Rafael, > > if (res) > > return res; > > > > - return device_get_mac_addr(dev, "address", addr, alen); > > + return fwnode_get_mac_addr(fwnode, "address", addr, alen); > > +} > > +EXPORT_SYMBOL(fwnode_get_mac_address); > > That should be EXPORT_SYMBOL_GPL().

Re: [Patch v6 00/12] Add MFC v10.10 support

2018-01-22 Thread Smitha T Murthy
On Mon, 2018-01-22 at 13:18 +0100, Hans Verkuil wrote: > Hi Smitha, > > Thank you for this v6 series! > > You can add my: > > Acked-by: Hans Verkuil > > to patches 1-9 and 11. See my review for patches 10 and 12. The comments > are minor, so I hope I can Ack v7 once it's posted and this can be

Re: [Patch v6 12/12] Documention: v4l: Documentation for HEVC CIDs

2018-01-22 Thread Smitha T Murthy
On Mon, 2018-01-22 at 13:15 +0100, Hans Verkuil wrote: > On 08/12/17 10:08, Smitha T Murthy wrote: > > Added V4l2 controls for HEVC encoder > > > > Signed-off-by: Smitha T Murthy > > --- > > Documentation/media/uapi/v4l/extended-controls.rst | 395 > > + > > 1 file changed,

Re: Re: [PATCH v4] net: qcom/emac: extend DMA mask to 46bits

2018-01-22 Thread Wang, Dongsheng
Thanks. Cheers, -Dongsheng On 2018/1/23 12:48:27, "Timur Tabi" wrote: >On 1/22/18 10:25 PM, Wang Dongsheng wrote: >>Bit TPD3[31] is used as a timestamp bit if PTP is enabled, but >>it's used as an address bit if PTP is disabled. Since PTP isn't >>supported by the driver, we can extend the DMA

problematic rc9 futex changes.

2018-01-22 Thread Dave Jones
c1e2f0eaf015fb: "futex: Avoid violating the 10th rule of futex" seems to make up a few new rules to violate. Coverity picked up these two problems in the same code: First it or's a value with stack garbage.

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

2018-01-22 Thread Stephen Rothwell
Hi all, Commit 8dd0e9b5f7fa ("of: platform: fix OF node refcount leak") is missing a Signed-off-by from its committer. -- Cheers, Stephen Rothwell

Re: [Patch v6 10/12] [media] v4l2: Add v4l2 control IDs for HEVC encoder

2018-01-22 Thread Smitha T Murthy
On Mon, 2018-01-22 at 12:08 +0100, Hans Verkuil wrote: > On 08/12/17 10:08, Smitha T Murthy wrote: > > Add v4l2 controls for HEVC encoder > > > > Signed-off-by: Smitha T Murthy > > Reviewed-by: Andrzej Hajda > > --- > > drivers/media/v4l2-core/v4l2-ctrls.c | 118 > > +++

Re: [PATCH v4] net: qcom/emac: extend DMA mask to 46bits

2018-01-22 Thread Timur Tabi
On 1/22/18 10:25 PM, Wang Dongsheng wrote: Bit TPD3[31] is used as a timestamp bit if PTP is enabled, but it's used as an address bit if PTP is disabled. Since PTP isn't supported by the driver, we can extend the DMA address to 46 bits. Signed-off-by: Wang Dongsheng Acked-by: Timur Tabi --

Ping Re: [PATCH] virtio: make VIRTIO a menuconfig to ease disabling it all

2018-01-22 Thread Michael Ellerman
Vincent Legoll writes: > No need to get into the submenu to disable all VIRTIO-related > config entries. > > This makes it easier to disable all VIRTIO config options > without entering the submenu. It will also enable one > to see that en/dis-abled state from the outside menu. > > This is only i

[PATCH v4] net: qcom/emac: extend DMA mask to 46bits

2018-01-22 Thread Wang Dongsheng
Bit TPD3[31] is used as a timestamp bit if PTP is enabled, but it's used as an address bit if PTP is disabled. Since PTP isn't supported by the driver, we can extend the DMA address to 46 bits. Signed-off-by: Wang Dongsheng --- v4: - Changes: PATCH's description. v3: - Add: comments for TPD_BUFF

[PATCH RESEND] perf/core: Fix installing cgroup event into cpu

2018-01-22 Thread linxiulei
From: "leilei.lin" Do not install cgroup event into the CPU context if the cgroup is not running on this CPU While there is no task of cgroup running specified CPU, current kernel still install cgroup event into CPU context, that causes another cgroup event can't be installed into this CPU. Sig

Re: [PATCH v4 1/2] Input: Add driver for Cypress Generation 5 touchscreen

2018-01-22 Thread Dmitry Torokhov
Hi Mylène, On Fri, Dec 01, 2017 at 04:39:56PM +0100, Mylène Josserand wrote: > This is the basic driver for the Cypress TrueTouch Gen5 touchscreen > controllers. This driver supports only the I2C bus but it uses regmap > so SPI support could be added later. > The touchscreen can retrieve some defi

Re: [patch v9 0/4] drivers/platform: Replace module x86/mlxcpld-hotplug with mellanox/mlxreg-hotplug

2018-01-22 Thread Darren Hart
On Wed, Jan 17, 2018 at 06:21:52PM +, Vadim Pasternak wrote: > The patchset: > - replaces modules include/linux/platform_data/mlxcpld-hotplug.h and >drivers/platform/x86/mlxcpld-hotplug.c with the modules >include/linux/platform_data/mlxreg.h and >drivers/platform/mellanox/mlxreg-h

[PATCH] x86/ftrace: Fix ORC unwinding from ftrace handlers

2018-01-22 Thread Josh Poimboeuf
Steven Rostedt discovered that the ftrace stack tracer is broken when it's used with the ORC unwinder. The problem is that objtool is instructed by the Makefile to ignore the ftrace_64.S code, so it doesn't generate any ORC data for it. Fix it by making the asm code objtool-friendly: - Objtool

Re: [patch v9 3/4] platform/mellanox: mlxreg-hotplug: Code cleanup

2018-01-22 Thread Darren Hart
On Wed, Jan 17, 2018 at 06:21:55PM +, Vadim Pasternak wrote: > Removing unnecessary includes. ... > diff --git a/drivers/platform/mellanox/mlxreg-hotplug.c > b/drivers/platform/mellanox/mlxreg-hotplug.c > index 2866c76..556e612 100644 > --- a/drivers/platform/mellanox/mlxreg-hotplug.c > +++ b/

Re: [patch v9 3/4] platform/mellanox: mlxreg-hotplug: Code cleanup

2018-01-22 Thread Darren Hart
On Wed, Jan 17, 2018 at 06:21:55PM +, Vadim Pasternak wrote: As I continue to pick these patches apart into their individual functional changes, I'm finding more issues... > Renaming field bus in structure mlxreg_hotplug_device to nr to have a name > consistent with Linux i2c naming. > > Rem

Re: [patch v9 1/4] platform/x86: Move Mellanox hardware platform hotplug driver to platform/mellanox

2018-01-22 Thread Darren Hart
On Wed, Jan 17, 2018 at 06:21:53PM +, Vadim Pasternak wrote: > It moves drivers/platform/x86/mlxcpld-hotplug.c to > drivers/platform/mellanox/mlxreg-hotplug.c and > include/linux/platform_data/mlxcpld-hotplug.h to > include/linux/platform_data/mlxreg.h for making hotplug driver usable for > the

Re: [patch v9 4/4] platform/mellanox: mlxreg-hotplug: Modify to use a regmap interface

2018-01-22 Thread Darren Hart
On Mon, Jan 22, 2018 at 07:49:46PM -0800, Darren Hart wrote: > On Wed, Jan 17, 2018 at 06:21:56PM +, Vadim Pasternak wrote: > > +#define MLXREG_CORE_LABEL_MAX_SIZE 32 > > + > > /** > > * struct mlxreg_hotplug_device - I2C device data: > > + * > > * @adapter: I2C device adapter; > > * @cl

Re: [patch v9 4/4] platform/mellanox: mlxreg-hotplug: Modify to use a regmap interface

2018-01-22 Thread Darren Hart
On Wed, Jan 17, 2018 at 06:21:56PM +, Vadim Pasternak wrote: > Restructure mlxreg header for unification of hotplug item definitions. > > Unify hotplug items to allow any kind of item (power controller, fan > eeprom, psu eeprom, asic health) in common way. > > Use a hardware independent regma

Re: [PATCH 2/2] usb: dwc3: drd: Fix lock-up on ID change during system suspend/resume

2018-01-22 Thread Manu Gautam
Hi, On 1/22/2018 6:31 PM, Roger Quadros wrote: > Adding/removing host/gadget controller before .pm_complete() > causes a lock-up. Let's prevent any dual-role state change > between .pm_prepare() and .pm_complete() to fix this. What kind of lock-up are you seeing? Some hardware lockup or software

Re: [PATCH] net/mlx4_en: ensure rx_desc updating reaches HW before prod db updating

2018-01-22 Thread jianchao.wang
Hi Jason Thanks for your kindly response. On 01/22/2018 11:47 PM, Jason Gunthorpe wrote: >>> Yeah, mlx4 NICs in Google fleet receive trillions of packets per >>> second, and we never noticed an issue. >>> >>> Although we are using a slightly different driver, using order-0 pages >>> and fast page

[PATCH net-next 1/4] net: core: Fix kernel-doc for carrier_* attributes

2018-01-22 Thread Florian Fainelli
Fix the documentation warning: include/linux/netdevice.h:1939: warning: Excess struct member 'carrier_changes' description in 'net_device' Reported-by: kbuild test robot Fixes: b2d3bcfa26a7 ("net: core: Expose number of link up/down transitions") Signed-off-by: Florian Fainelli --- include/li

[PATCH net-next 2/4] net: phy: sfp: Fix kernel doc warning

2018-01-22 Thread Florian Fainelli
We forgot to update the kernel doc header above sfp_register_upstream() Fixes: c19bb00070dd ("sfp: convert to fwnode") Signed-off-by: Florian Fainelli --- drivers/net/phy/sfp-bus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/phy/sfp-bus.c b/drivers/net/phy/sfp

[PATCH net-next 4/4] net: core: Fix kernel-doc for netdev_upper_link()

2018-01-22 Thread Florian Fainelli
Fixes the following warnings: ./net/core/dev.c:6438: warning: No description found for parameter 'extack' ./net/core/dev.c:6461: warning: No description found for parameter 'extack' Fixes: 42ab19ee9029 ("net: Add extack to upper device linking") Signed-off-by: Florian Fainelli --- net/core/dev.c

[PATCH net-next 3/4] net: core: Fix kernel-doc for call_netdevice_notifiers_info()

2018-01-22 Thread Florian Fainelli
Remove the @dev comment, since we do not have a net_device argument, fixes the following kernel doc warning: /net/core/dev.c:1707: warning: Excess function parameter 'dev' description in 'call_netdevice_notifiers_info' Signed-off-by: Florian Fainelli --- net/core/dev.c | 1 - 1 file changed, 1 d

[PATCH net-next 0/4] Kernel doc fixes for networking

2018-01-22 Thread Florian Fainelli
Hi David, This patch series fixes kernel doc warnings found while running make htmldocs pertaining to the networking subsystem. There is a finaly set of warnings due to PHYLINK which I have not been able to resolve yet. The last patch could thereoteically be applied to 'net' since the commit refe

Re: backport Rewrite sync_core() to use IRET-to-self to stable kernels?

2018-01-22 Thread Andy Lutomirski
On Mon, Jan 22, 2018 at 6:59 PM, Zhang, Ning A wrote: > hello, Greg, Andy, Thomas > > would you like to backport these two patches to LTS kernel? > > https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/arch/x86/include/asm/processor.h?h=v4.14.14&id=1c52d859cb2d417e7216d3

Re: [PATCH v2] kasan: don't emit builtin calls when sanitization is off

2018-01-22 Thread Andrew Morton
On Fri, 19 Jan 2018 18:58:12 +0100 Andrey Konovalov wrote: > With KASAN enabled the kernel has two different memset() functions, one > with KASAN checks (memset) and one without (__memset). KASAN uses some > macro tricks to use the proper version where required. For example memset() > calls in m

Re: [PATCH 2/5] USB: serial: f81232: add high baud rate support

2018-01-22 Thread Ji-Ze Hong (Peter Hong)
Hi Andy, Andy Shevchenko 於 2018/1/22 下午 10:55 寫道: On Mon, Jan 22, 2018 at 9:58 AM, Ji-Ze Hong (Peter Hong) wrote: The F81232 had 4 clocksource 1.846/18.46/14.77/24MHz and baud rates can be up to 1.5Mbits with 24MHz. F81232 Clock registers (106h) Bit1-0: Clock source selector

Re: [PATCH 1/5] USB: serial: f81232: clear overrun flag

2018-01-22 Thread Ji-Ze Hong (Peter Hong)
Hi Oliver, Oliver Neukum 於 2018/1/22 下午 06:06 寫道: +static void f81232_lsr_worker(struct work_struct *work) +{ + struct f81232_private *priv; + struct usb_serial_port *port; + int status; + u8 tmp; + + priv = container_of(work, struct f81232_private, lsr_work); +

Re: [PATCH] nvme-pci: ensure nvme_timeout complete before initializing procedure

2018-01-22 Thread jianchao.wang
Hi Christoph and Keith Really sorry for this. On 01/23/2018 05:54 AM, Keith Busch wrote: > On Mon, Jan 22, 2018 at 09:14:23PM +0100, Christoph Hellwig wrote: >>> Link: >>> https://urldefense.proofpoint.com/v2/url?u=https-3A__lkml.org_lkml_2018_1_19_68&d=DwICAg&c=RoP1YumCXCgaWHvlZYR8PZh8Bv7qIrMUB

Re: [PATCH] Input: stmfts,s6sy671 - add SPDX identifier

2018-01-22 Thread Dmitry Torokhov
On Tue, Jan 09, 2018 at 02:23:31PM +0900, Andi Shyti wrote: > Hi Dmitry, > > On Fri, Jan 05, 2018 at 08:49:58AM -0800, Dmitry Torokhov wrote: > > Hi Andi, > > > > On Fri, Jan 05, 2018 at 06:57:15PM +0900, Andi Shyti wrote: > > > Hi Dmitry, > > > > > > this is a kind ping, would you also mind giv

Re: [PATCH v3 2/3] Input: ad7897 - use devm_add_action_or_reset to disable the device

2018-01-22 Thread Dmitry Torokhov
Hi Andi, On Wed, Nov 08, 2017 at 05:50:19PM +0200, Andi Shyti wrote: > Use the ad7877_disable() as a custom action when the driver gets > removed instead of calling it from the remove function. > > Because ad7877_remove() was just calling the disable function, > get rid of it. > There is not re

Re: [PATCH] Input: stmfts: set IRQ_NOAUTOEN to the irq flag

2018-01-22 Thread Dmitry Torokhov
On Wed, Sep 27, 2017 at 09:58:31PM +0900, Andi Shyti wrote: > The interrupt is requested before the device is powered on and > it's value in some cases cannot be reliable. It happens on some > devices that an interrupt is generated as soon as requested > before having the chance to disable the irq.

Re: [PATCH] perf util: Use target->per_thread and target->system_wide flags

2018-01-22 Thread Jin, Yao
On 1/23/2018 7:56 AM, Mathieu Poirier wrote: On 22 January 2018 at 15:15, Jin Yao wrote: Mathieu Poirier reports issue in commit ("73c0ca1eee3d perf thread_map: Enumerate all threads from /proc") that it has negative impact on 'perf record --per-thread'. It has the effect of creating a kernel

Re: [PATCH v1] x86/io: Define readq()/writeq() to use 64-bit type

2018-01-22 Thread hpa
On January 22, 2018 4:32:14 PM PST, "Mehta, Sohil" wrote: >On Fri, 2018-01-19 at 16:33 +0200, Andy Shevchenko wrote: >> Since non atomic readq() and writeq() were added some of the drivers >> would like to use it in a manner of: >> >>  #include >> ... >>  pr_debug("Debug value of some register:

Re: [PATCH v2 1/1] mm: page_alloc: skip over regions of invalid pfns on UMA

2018-01-22 Thread Matthew Wilcox
On Mon, Jan 22, 2018 at 09:25:30PM +0100, Eugeniu Rosca wrote: > Here is what I came up with, based on your proposal: Reviewed-by: Matthew Wilcox

Re: [PATCH] mm: numa: Do not trap faults on shared data section pages.

2018-01-22 Thread Henry Willard
> On Jan 19, 2018, at 6:12 PM, Christopher Lameter wrote: > > On Thu, 18 Jan 2018, Henry Willard wrote: > >> If MPOL_MF_LAZY were allowed and specified things would not work >> correctly. change_pte_range() is unaware of and can’t honor the >> difference between MPOL_MF_MOVE_ALL and MPOL_MF_MO

Re: [PATCH] scsi: arcmsr: avoid do_gettimeofday

2018-01-22 Thread Martin K. Petersen
Arnd, > The arcmsr uses its own implementation of time_to_tm(), along with > do_gettimeofday() to read the current time. While the algoritm used > here is fine in principle, it suffers from two problems: Applied to 4.16/scsi-queue. Thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH v2] smc: return booleans instead of integers

2018-01-22 Thread Joe Perches
On Mon, 2018-01-22 at 12:58 +0100, Ursula Braun wrote: > > On 01/19/2018 09:54 PM, Gustavo A. R. Silva wrote: > > Return statements in functions returning bool should use > > true/false instead of 1/0. > > > > This issue was detected with the help of Coccinelle. > > > > Signed-off-by: Gustavo A.

Re: [PATCH v1] x86/io: Define readq()/writeq() to use 64-bit type

2018-01-22 Thread Mehta, Sohil
On Fri, 2018-01-19 at 16:33 +0200, Andy Shevchenko wrote: > Since non atomic readq() and writeq() were added some of the drivers > would like to use it in a manner of: > >  #include > ... >  pr_debug("Debug value of some register: %016llx\n", readq(addr)); > > However, lo_hi_readq() always retur

Re: [PATCH] nilfs2: use time64_t internally

2018-01-22 Thread Ryusuke Konishi
2018-01-23 6:10 GMT+09:00 Arnd Bergmann : > The superblock and segment timestamps are used only internally in nilfs2 > and can be read out using sysfs. Since we are using the old 'get_seconds()' > interface and store the data as timestamps, the behavior differs slightly > between 64-bit and 32-bit

Re: [PATCH v6 07/12] drivers: base cacheinfo: Add support for ACPI based firmware tables

2018-01-22 Thread Rafael J. Wysocki
On Mon, Jan 22, 2018 at 10:14 PM, Jeremy Linton wrote: > Hi, > > Thanks for taking a look at this. > > > On 01/22/2018 09:50 AM, Greg KH wrote: >> >> On Fri, Jan 12, 2018 at 06:59:15PM -0600, Jeremy Linton wrote: >>> >>> Add a entry to to struct cacheinfo to maintain a reference to the PPTT >>> no

Re: [net-next: PATCH v4 4/7] device property: Allow iterating over available child fwnodes

2018-01-22 Thread Rafael J. Wysocki
On Thu, Jan 18, 2018 at 1:31 PM, Marcin Wojtas wrote: > Implement a new helper function fwnode_get_next_available_child_node(), > which enables obtaining next enabled child fwnode, which > works on a similar basis to OF's of_get_next_available_child(). > > This commit also introduces a macro, than

Re: [net-next: PATCH v4 1/7] device property: Introduce fwnode_get_mac_address()

2018-01-22 Thread Rafael J. Wysocki
On Thu, Jan 18, 2018 at 1:31 PM, Marcin Wojtas wrote: > Until now there were two almost identical functions for > obtaining MAC address - of_get_mac_address() and, more generic, > device_get_mac_address(). However it is not uncommon, > that the network interface is represented as a child > of the

Re: [net-next: PATCH v4 3/7] device property: Introduce fwnode_irq_get()

2018-01-22 Thread Rafael J. Wysocki
On Thu, Jan 18, 2018 at 1:31 PM, Marcin Wojtas wrote: > Until now there were two very similar functions allowing > to get Linux IRQ number from ACPI handle (acpi_irq_get()) > and OF node (of_irq_get()). The first one appeared to be used > only as a subroutine of platform_irq_get(), which (in the g

Re: [PATCH] perf util: Use target->per_thread and target->system_wide flags

2018-01-22 Thread Mathieu Poirier
On 22 January 2018 at 15:15, Jin Yao wrote: > Mathieu Poirier reports issue in commit ("73c0ca1eee3d perf thread_map: > Enumerate all threads from /proc") that it has negative impact on > 'perf record --per-thread'. It has the effect of creating a kernel event > for each thread in the system for '

Re: [PATCH] perf util: Use target->per_thread and target->system_wide flags

2018-01-22 Thread Mathieu Poirier
On 22 January 2018 at 16:02, Jin, Yao wrote: > > > On 1/23/2018 5:10 AM, Mathieu Poirier wrote: >> >> On 22 January 2018 at 15:15, Jin Yao wrote: >>> >>> Mathieu Poirier reports issue in commit ("73c0ca1eee3d perf thread_map: >>> Enumerate all threads from /proc") that it has negative impact on >

Re: [PATCH] Support intel-vbtn based tablet mode switch

2018-01-22 Thread Dmitry Torokhov
On Mon, Jan 22, 2018 at 01:48:01PM +0100, Marco Martin wrote: > some laptops such as Dell Inspiron 7000 series have the > tablet mode switch implemented in intel acpi, > the events to enter and exit the tablet mode are 0xCC and 0xCD > > CC: platform-driver-...@vger.kernel.org > CC: Matthew Garrett

Re: [PATCH v2] smc: return booleans instead of integers

2018-01-22 Thread Gustavo A. R. Silva
Quoting Ursula Braun : [...] Thanks, Gustavo. I have added the patch to our local repository. It will be part of one of my next patch sets to be sent to Dave Miller. Thanks, Ursula :) -- Gustavo

Re: [PATCH 2/5] PCI: Move managed resource alloc to devres

2018-01-22 Thread Dmitry Torokhov
On Sun, Jan 21, 2018 at 10:15:39PM +0100, Ladislav Michl wrote: > devm_pci_remap_cfgspace() is using devm_ioremap_release() > devres release function. Move it to devres along with > similar PCI functions to allow hiding devm_ioremap_release() > from public. So we are sharing this function: void d

Re: Network interface "stops working"

2018-01-22 Thread Cong Wang
(Please always Cc netdev for networking related bugs.) On Mon, Jan 22, 2018 at 2:02 AM, Turbo Fredriksson wrote: > I just got a new broadband delivered at home. It is "Hyperoptic 1Gbps fiber" > which comes as a ethernet connector at home. I wasn’t around > when they connected up everything, so I

Re: [PATCH] drm/bridge/synopsys: dsi: Adopt SPDX identifiers

2018-01-22 Thread Laurent Pinchart
Hi Philippe, Thank you for the patch. On Monday, 22 January 2018 12:26:08 EET Philippe Cornu wrote: > Add SPDX identifiers to the Synopsys DesignWare MIPI DSI > host controller driver. > > Signed-off-by: Philippe Cornu > --- > drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c | 6 +- > 1 file

Re: [RFC] Per file OOM badness

2018-01-22 Thread Andrew Morton
On Thu, 18 Jan 2018 11:47:48 -0500 Andrey Grodzovsky wrote: > Hi, this series is a revised version of an RFC sent by Christian König > a few years ago. The original RFC can be found at > https://lists.freedesktop.org/archives/dri-devel/2015-September/089778.html > > This is the same idea and I

Re: [PATCH 1/5] devres: Move managed io function declarations into device.h

2018-01-22 Thread Dmitry Torokhov
On Mon, Jan 22, 2018 at 10:50:57PM +0100, Ladislav Michl wrote: > On Mon, Jan 22, 2018 at 09:49:03AM -0800, Dmitry Torokhov wrote: > > On Sun, Jan 21, 2018 at 10:15:08PM +0100, Ladislav Michl wrote: > > > Moving managed io function declarations into device.h allows > > > removing forward struct dev

Re: [PATCH] cgroup: remove incorrect check on the return value of css_alloc

2018-01-22 Thread Xiongwei Song
> On 22 Jan 2018, at 11:55 PM, Tejun Heo wrote: > > Hello, > > On Mon, Jan 22, 2018 at 09:38:51PM +0800, Xiongwei Song wrote: >> The function css_alloc never return NULL, it may return normal pointer or > > It's a calling a controller implemented method. I'd much rather keep > the extra prote

Re: possible deadlock in perf_trace_destroy (2)

2018-01-22 Thread Peter Zijlstra
On Mon, Jan 22, 2018 at 05:20:13PM -0500, Steven Rostedt wrote: > > Peter, > > Isn't this the same as what you mentioned (and had a hack patch for) > before? > > > http://lkml.kernel.org/r/20180109133651.gb2...@hirez.programming.kicks-ass.net > Looks like it. Just haven't managed to get thos

Re: [RFC PATCH] ftrace: Fix depth filtering when func_stack is enabled.

2018-01-22 Thread Steven Rostedt
On Mon, 22 Jan 2018 15:50:04 +0200 Nikolay Borisov wrote: > diff --git a/kernel/trace/trace_functions.c b/kernel/trace/trace_functions.c > index 27f7ad12c4b1..b721f1f3f3c0 100644 > --- a/kernel/trace/trace_functions.c > +++ b/kernel/trace/trace_functions.c > @@ -181,14 +181,11 @@ function_stack_

Re: [PATCH 03/25] arm: bcm: dts: Remove leading 0x and 0s from bindings notation

2018-01-22 Thread Florian Fainelli
On Fri, 15 Dec 2017 13:46:28 +0100, Mathieu Malaterre wrote: > Improve the DTS files by removing all the leading "0x" and zeros to fix the > following dtc warnings: > > Warning (unit_address_format): Node /XXX unit name should not have leading > "0x" > > and > > Warning (unit_address_format):

Re: [PATCH] perf util: Use target->per_thread and target->system_wide flags

2018-01-22 Thread Jin, Yao
On 1/23/2018 5:10 AM, Mathieu Poirier wrote: On 22 January 2018 at 15:15, Jin Yao wrote: Mathieu Poirier reports issue in commit ("73c0ca1eee3d perf thread_map: Enumerate all threads from /proc") that it has negative impact on 'perf record --per-thread'. It has the effect of creating a kernel

Re: [PATCH v2] mkfs.f2fs: expand scalability of nat bitmap

2018-01-22 Thread Jaegeuk Kim
On 01/17, Chao Yu wrote: > Hi Jaegeuk, > > On 2018/1/17 8:47, Jaegeuk Kim wrote: > > Hi Chao, > > > > On 01/15, Chao Yu wrote: > >> Previously, our total node number (nat_bitmap) and total nat segment count > >> will not monotonously increase along with image size, and max nat_bitmap > >> size >

Re: [PATCH v5] f2fs: add an ioctl to disable GC for specific file

2018-01-22 Thread Jaegeuk Kim
This patch gives a flag to disable GC on given file, which would be useful, when user wants to keep its block map. It also conducts in-place-update for dontmove file. Reviewed-by: Chao Yu Signed-off-by: Jaegeuk Kim --- Change log from v1: - unset pin_file, if # of trials exceeds a threshold -

Re: KASAN: slab-out-of-bounds Read in erspan_xmit

2018-01-22 Thread William Tu
On Mon, Jan 22, 2018 at 2:45 PM, David Ahern wrote: > [ cc William Tu ] > > On 1/22/18 12:58 PM, syzbot wrote: >> Hello, >> >> syzbot hit the following crash on net-next commit >> 9d6474e458b13a94a0d5b141f2b8f38adf1991ae (Mon Jan 22 02:55:38 2018 +) >> tun: add missing rcu annotation >> >> So

[PATCH] xfrm: fix boolean assignment in xfrm_get_type_offload

2018-01-22 Thread Gustavo A. R. Silva
Assign true or false to boolean variables instead of an integer value. This issue was detected with the help of Coccinelle. Fixes: ffdb5211da1c ("xfrm: Auto-load xfrm offload modules") Signed-off-by: Gustavo A. R. Silva --- net/xfrm/xfrm_state.c | 2 +- 1 file changed, 1 insertion(+), 1 deletio

[PATCH] net: caif: fix boolean assignments

2018-01-22 Thread Gustavo A. R. Silva
Assign true or false to boolean variables instead of an integer value. This issue was detected with the help of Coccinelle. Fixes: 0e4c7d85d5e5 ("caif: Add support for flow-control on device's tx-queue") Fixes: 7d3113042823 ("caif: Stash away hijacked skb destructor and call it later") Signed-of

[RFC] spi: add spi multiplexing functions for dt

2018-01-22 Thread Ben Whitten
Like I2C busses SPI devices can also sit behind multiplexers. This patch adds is based off the I2C implementation and allows description in the devicetree. Signed-off-by: Ben Whitten --- drivers/spi/Kconfig | 10 +++ drivers/spi/Makefile| 3 + drivers/spi/spi-mux.c | 181 +++

[RFC] Add ability to multiplex SPI bus

2018-01-22 Thread Ben Whitten
A chip that I am working on acts as an SPI multiplexer for downstream radios, this patch adds basic support for adding an SPI mux with DT. The mux API is modeled on the I2C mux way of doing things with the addition of being able to override the transfer_one_message. This is due to my mux exposing

Re: KASAN: slab-out-of-bounds Read in erspan_xmit

2018-01-22 Thread David Ahern
[ cc William Tu ] On 1/22/18 12:58 PM, syzbot wrote: > Hello, > > syzbot hit the following crash on net-next commit > 9d6474e458b13a94a0d5b141f2b8f38adf1991ae (Mon Jan 22 02:55:38 2018 +) > tun: add missing rcu annotation > > So far this crash happened 5 times on net-next. > C reproducer is

Re: KASAN: use-after-free Read in erspan_xmit

2018-01-22 Thread David Ahern
[ cc William Tu ] On 1/22/18 12:58 PM, syzbot wrote: > Hello, > > syzbot hit the following crash on net-next commit > 9d6474e458b13a94a0d5b141f2b8f38adf1991ae (Mon Jan 22 02:55:38 2018 +) > tun: add missing rcu annotation > > So far this crash happened 9 times on net-next. > C reproducer is

[PATCH v2 char-misc 1/1] Drivers: hv: vmbus: Implement Direct Mode for stimer0

2018-01-22 Thread mikelley
From: Michael Kelley The 2016 version of Hyper-V offers the option to operate the guest VM per-vcpu stimer's in Direct Mode, which means the timer interupts on its own vector rather than queueing a VMbus message. Direct Mode reduces timer processing overhead in both the hypervisor and the guest,

Re: KASAN: use-after-free Read in erspan_build_header

2018-01-22 Thread David Ahern
[ cc William Tu] On 1/22/18 12:58 PM, syzbot wrote: > Hello, > > syzbot hit the following crash on upstream commit > 0d665e7b109d512b7cae3ccef6e8654714887844 (Fri Jan 19 12:49:24 2018 +) > mm, page_vma_mapped: Drop faulty pointer arithmetics in check_pte() > > So far this crash happened 11 t

[PATCH] tipc: bcast: fix boolean assignment in tipc_nlist_purge

2018-01-22 Thread Gustavo A. R. Silva
Assign true or false to boolean variables instead of an integer value. This issue was detected with the help of Coccinelle. Fixes: 2ae0b8af1fe3 ("tipc: add functionality to lookup multicast destination nodes") Signed-off-by: Gustavo A. R. Silva --- net/tipc/bcast.c | 2 +- 1 file changed, 1 in

Re: [patch -mm 3/4] mm, memcg: replace memory.oom_group with policy tunable

2018-01-22 Thread David Rientjes
On Sat, 20 Jan 2018, Tejun Heo wrote: > > Hearing no response, I'll implement this as a separate tunable in a v2 > > series assuming there are no better ideas proposed before next week. One > > of the nice things about a separate tunable is that an admin can control > > the overall policy and

  1   2   3   4   5   6   7   8   9   10   >