Re: [PATCH v3 09/27] thunderbolt: Convert switch to a device

2017-06-03 Thread Greg Kroah-Hartman
On Fri, Jun 02, 2017 at 05:05:06PM +0300, Mika Westerberg wrote: > Thunderbolt domain consists of switches that are connected to each > other, forming a bus. This will convert each switch into a real Linux > device structure and adds them to the domain. The advantage here is > that we get all the g

Re: [linux-next / tty] possible circular locking dependency detected

2017-06-03 Thread Greg Kroah-Hartman
On Mon, May 29, 2017 at 12:43:39PM +0200, Vegard Nossum wrote: > On 05/22/17 12:27, Vegard Nossum wrote: > > On 05/22/17 12:24, Greg Kroah-Hartman wrote: > > > On Mon, May 22, 2017 at 04:39:43PM +0900, Sergey Senozhatsky wrote: > > > > Hello, > > > > > > > > [ 1274.378287]

Re: [RFC, PATCH] imx: serial: Take tty->files_lock opportunistically

2017-06-03 Thread Greg Kroah-Hartman
On Tue, May 30, 2017 at 03:44:27PM +0200, Peter Senna Tschudin wrote: > On Tue, May 30, 2017 at 02:42:13PM +0100, Alan Cox wrote: > > I sent a second patch recently: > > https://patchwork.kernel.org/patch/9725625/ And it's already in linux-next so all should be good here.

Re: [PATCH v3 1/2] tty: add compat_ioctl callbacks

2017-06-03 Thread Aleksa Sarai
diff --git a/Makefile b/Makefile index 470bd4d9513a..fb689286d83a 100644 --- a/Makefile +++ b/Makefile @@ -401,6 +401,7 @@ KBUILD_CFLAGS := -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \ -fno-strict-aliasing -fno-common \ -Werror-implicit-function-decla

Re: [PATCH v7 00/23] FSI device driver implementation

2017-06-03 Thread Greg KH
On Wed, May 31, 2017 at 12:17:05PM -0500, Christopher Bostic wrote: > Hi Greg, > > Are there any further changes you require for this patch set? This has been > extensively tested internally and all is working as expected. Would it be > possible to move forward with integration in the near futur

[PATCH v4 0/2] tty: add TIOCGPTPEER ioctl

2017-06-03 Thread Aleksa Sarai
Changes in v4: * Dropped an accidental change to Makefile. Aleksa Sarai (2): tty: add compat_ioctl callbacks tty: add TIOCGPTPEER ioctl arch/alpha/include/uapi/asm/ioctls.h | 1 + arch/mips/include/uapi/asm/ioctls.h| 1 + arch/parisc/include/uapi/asm/ioctls.h | 1 + arch/powerpc/

[PATCH v4 2/2] tty: add TIOCGPTPEER ioctl

2017-06-03 Thread Aleksa Sarai
When opening the slave end of a PTY, it is not possible for userspace to safely ensure that /dev/pts/$num is actually a slave (in cases where the mount namespace in which devpts was mounted is controlled by an untrusted process). In addition, there are several unresolvable race conditions if usersp

Re: [0/3] Battery monitor MAX1721x with w1-regmap and w1-slave (resend v2)

2017-06-03 Thread Greg Kroah-Hartman
On Thu, Jun 01, 2017 at 09:45:56AM +0300, Alex A. Mihaylov wrote: > Coding style fixes. Huh? Please version your patch series properly, and show the whole history. This is described in the Documentation/SubmittingPatches file. Please fix up and resend. thanks, greg k-h

[PATCH v4 1/2] tty: add compat_ioctl callbacks

2017-06-03 Thread Aleksa Sarai
In order to avoid future diversions between fs/compat_ioctl.c and drivers/tty/pty.c, define .compat_ioctl callbacks for the relevant tty_operations structs. Since both pty_unix98_ioctl() and pty_bsd_ioctl() are compatible between 32-bit and 64-bit userspace no special translation is required. Sign

Re: [PATCH v2 1/1] w1: Add subsystem kernel public interface

2017-06-03 Thread Greg Kroah-Hartman
On Tue, May 16, 2017 at 03:08:14PM -0500, Andrew F. Davis wrote: > Like other subsystems we should be able to define slave devices outside > of the w1 directory. To do this we move public facing interface > definitions to include/linux/w1.h and rename the internal definition > file to w1_internal.h

Re: [PATCH v15 00/13] mux controller abstraction and iio/i2c muxes

2017-06-03 Thread Greg Kroah-Hartman
On Sun, May 14, 2017 at 09:51:03PM +0200, Peter Rosin wrote: > From: Peter Rosin > > Hi Greg, > > Philipp found problems in v14 with using a mutex for locking that was > the outcome of the review for v13, so I'm now using a semaphore instead > of the rwsem that was in v13. That at least got rid

Re: [PATCH v3 1/2] tty: add compat_ioctl callbacks

2017-06-03 Thread kbuild test robot
/20170603-220322 config: i386-randconfig-x018-201722 (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce: # save the attached .config to linux build tree make ARCH=i386 All warnings (new ones prefixed by >>): >> cc1: warning: -malign-functions

Re: [PATCH v3 1/2] tty: add compat_ioctl callbacks

2017-06-03 Thread kbuild test robot
/20170603-220322 config: x86_64-randconfig-x010-201722 (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce: # save the attached .config to linux build tree make ARCH=x86_64 All errors (new ones prefixed by >>): >> cc1: error: -Werror=int-in-bool

[PATCH v1 0/4] coresight: support panic dump functionality

2017-06-03 Thread Leo Yan
### Introduction ### Embedded Trace Buffer (ETB) provides on-chip storage of trace data, usually has buffer size from 2KB to 8KB. These data has been used for profiling and this has been well implemented in coresight driver. This patch set is to explore ETB RAM data for postmortem debugging. We c

[PATCH v1 1/4] coresight: support panic dump functionality

2017-06-03 Thread Leo Yan
After kernel panic happens, coresight has many useful info can be used for analysis. For example, the trace info from ETB RAM can be used to check the CPU execution flows before crash. So we can save the tracing data from sink devices, and rely on kdump to extract them from vmcore file. This patch

[PATCH v1 3/4] coresight: tmc: hook panic callback for ETB/ETF

2017-06-03 Thread Leo Yan
The panic dump functionality has been ready, this patch is to hook panic callback function for ETB/ETF. Because the driver data structure has allocated buffer when the session started, so simply save ETB/ETF trace data into the buffer when panic happens. Below is simple usage when we connect kdump

[PATCH v1 2/4] coresight: add and remove panic callback for sink

2017-06-03 Thread Leo Yan
If the sink device has panic callback function, add the panic callback node for coresight panic dump list when the sink device is enabled; also cleanup the node when the sink device is disabled. Signed-off-by: Leo Yan --- drivers/hwtracing/coresight/coresight.c | 11 +++ 1 file changed,

[PATCH v1 4/4] coresight: etb10: hook panic callback

2017-06-03 Thread Leo Yan
This patch is to hook panic callback for etb10 driver; so after panic can dump trace data from it. Signed-off-by: Leo Yan --- drivers/hwtracing/coresight/coresight-etb10.c | 16 1 file changed, 16 insertions(+) diff --git a/drivers/hwtracing/coresight/coresight-etb10.c b/drive

[PATCH 1/3] dt-bindings: pinctrl: sunxi: Add compatible string for A83T R_PIO

2017-06-03 Thread Chen-Yu Tsai
The R_PIO on the A83T is almost the same as the one found on the A64, except that the CIR_RX function was moved from pin PL11 to pin PL12. Add a compatible string for it. Signed-off-by: Chen-Yu Tsai --- Documentation/devicetree/bindings/pinctrl/allwinner,sunxi-pinctrl.txt | 1 + 1 file changed,

[PATCH 3/3] ARM: sun8i: a83t: Add device node for R_PIO

2017-06-03 Thread Chen-Yu Tsai
The A83T has 1 pingroup with 13 pins belonging to the R_PIO or special pin controller. Signed-off-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun8i-a83t.dtsi | 15 +++ 1 file changed, 15 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-a83t.dtsi b/arch/arm/boot/dts/sun8i-a83t.dtsi ind

[PATCH 0/3] pinctrl: sun8i: Add support for A83T R_PIO

2017-06-03 Thread Chen-Yu Tsai
Hi, This series adds support for the R_PIO pin controller on the A83T. The pins managed this controller are mainly used for communicating with the PMIC and codec, and various GPIOs for enabling power switches for USB ports and WiFi. Patch 1 updates the sunxi pinctrl bindings. Patch 2 adds the pi

[PATCH 2/3] pinctrl: sunxi: Add support for A83T R_PIO

2017-06-03 Thread Chen-Yu Tsai
The R_PIO on the A83T is almost the same as the one found on the A64, except that the CIR_RX function was moved from pin PL11 to pin PL12. Add a driver for it. Signed-off-by: Chen-Yu Tsai --- drivers/pinctrl/sunxi/Kconfig| 4 + drivers/pinctrl/sunxi/Makefile |

Re: net: icmp vs udp_poll race?

2017-06-03 Thread Eric Dumazet
On Fri, Jun 2, 2017 at 10:17 PM, Levin, Alexander (Sasha Levin) wrote: > Hi all, > > On the latest linux-next I'm seeing issues that look like an icmp > socket destruction racing with poll(). It manifests in two ways, first: > > BUG: KASAN: slab-out-of-bounds in skb_queue_empty include/linux/skbuf

Re: [PATCH] swap: cond_resched in swap_cgroup_prepare()

2017-06-03 Thread Vladimir Davydov
On Thu, Jun 01, 2017 at 12:56:35PM -0700, Yu Zhao wrote: > Saw need_resched() warnings when swapping on large swapfile (TBs) > because page allocation in swap_cgroup_prepare() took too long. > > We already cond_resched when freeing page in swap_cgroup_swapoff(). > Do the same for the page allocati

Hello Beautiful,

2017-06-03 Thread jack
Good day dear, i hope this mail meets you well? my name is Jack, from the U.S. I know this may seem inappropriate so i ask for your forgiveness but i wish to get to know you better, if I may be so bold. I consider myself an easy-going man, adventurous, honest and fun loving person but I am curre

Re: [PATCH] memcg: refactor mem_cgroup_resize_limit()

2017-06-03 Thread Vladimir Davydov
On Thu, Jun 01, 2017 at 04:02:12PM -0700, Yu Zhao wrote: > mem_cgroup_resize_limit() and mem_cgroup_resize_memsw_limit() have > identical logics. Refactor code so we don't need to keep two pieces > of code that does same thing. > > Signed-off-by: Yu Zhao > --- > mm/memcontrol.c | 71 > +

Re: [PATCH v2] brcmfmac: Fix glom_skb leak in brcmf_sdiod_recv_chain

2017-06-03 Thread Andy Shevchenko
On Sat, Jun 3, 2017 at 1:29 AM, Peter S. Housel wrote: > An earlier change to this function (3bdae810721b) fixed a leak in the > case of an unsuccessful call to brcmf_sdiod_buffrw(). However, the > glom_skb buffer, used for emulating a scattering read, is never used > or referenced after its conte

Re: [PATCH v15 00/13] mux controller abstraction and iio/i2c muxes

2017-06-03 Thread Greg Kroah-Hartman
On Sat, Jun 03, 2017 at 07:26:27PM +0900, Greg Kroah-Hartman wrote: > On Sun, May 14, 2017 at 09:51:03PM +0200, Peter Rosin wrote: > > From: Peter Rosin > > > > Hi Greg, > > > > Philipp found problems in v14 with using a mutex for locking that was > > the outcome of the review for v13, so I'm no

Re: [PATCH 0/5] vt: get rid of worst cases of __put_user/__get_user

2017-06-03 Thread Greg Kroah-Hartman
On Sat, Jun 03, 2017 at 09:32:55AM +0200, Adam Borowski wrote: > Hi! > In a recent discussion, Linus and Al Viro said quite a bit of expletives > about __put_user() and __get_user(), that it's a bad interface that's > almost always the wrong thing to use: > https://marc.info/?l=linux-kernel&m=14946

Re: [PATCH] brcmfmac: Fix glob_skb leak in brcmf_sdiod_recv_chain

2017-06-03 Thread Andy Shevchenko
On Fri, Jun 2, 2017 at 9:52 PM, Franky Lin wrote: > On Fri, Jun 2, 2017 at 10:22 AM, Peter S. Housel wrote: >> err = brcmf_sdiod_buffrw(sdiodev, SDIO_FUNC_2, false, addr, >> glom_skb); >> - if (err) { >> -

Re: [PATCH] MIPS: Lantiq: Fix ASC0/ASC1 clocks

2017-06-03 Thread Hauke Mehrtens
On 05/30/2017 06:34 AM, Martin Schiller wrote: > ASC1 is available on every Lantiq SoC (also AmazonSE) and should be > enabled like the other generic xway clocks instead of ASC0, which is > only available for AR9 and Danube. This is correct. > Signed-off-by: Martin Schiller Acked-by: Hauke Mehr

Re: [PATCH] net: stmmac: ensure jumbo_frm error return is correctly checked for -ve value

2017-06-03 Thread Andy Shevchenko
On Fri, Jun 2, 2017 at 5:58 PM, Colin King wrote: > The current comparison of entry < 0 will never be true since entry is an > unsigned integer. Cast entry to an int to ensure -ve error return values > from the call to jumbo_frm are correctly being caught. > if (unlikely(is_jumbo) && like

[PATCH net] net: ping: do not abuse udp_poll()

2017-06-03 Thread Eric Dumazet
From: Eric Dumazet Alexander reported various KASAN messages triggered in recent kernels The problem is that ping sockets should not use udp_poll() in the first place, and recent changes in UDP stack finally exposed this old bug. Fixes: c319b4d76b9e ("net: ipv4: add IPPROTO_ICMP socket kind")

Re: [PATCH] net: stmmac: ensure jumbo_frm error return is correctly checked for -ve value

2017-06-03 Thread Colin Ian King
On 03/06/17 16:55, Andy Shevchenko wrote: > On Fri, Jun 2, 2017 at 5:58 PM, Colin King wrote: >> The current comparison of entry < 0 will never be true since entry is an >> unsigned integer. Cast entry to an int to ensure -ve error return values >> from the call to jumbo_frm are correctly being ca

Design of interrupt controller driver

2017-06-03 Thread Mason
Hello, My previous thread was a dud. I will post a formal patch on Tuesday, but I would like to clarify a few nagging doubts, the answer to which have an impact on the driver's design. 1) The interrupt router has 128 inputs and 24 outputs. Therefore, several devices have to share an output line.

Re: [PATCH] net: stmmac: ensure jumbo_frm error return is correctly checked for -ve value

2017-06-03 Thread Julia Lawall
On Sat, 3 Jun 2017, Colin Ian King wrote: > On 03/06/17 16:55, Andy Shevchenko wrote: > > On Fri, Jun 2, 2017 at 5:58 PM, Colin King wrote: > >> The current comparison of entry < 0 will never be true since entry is an > >> unsigned integer. Cast entry to an int to ensure -ve error return values

Re: [GIT PULL] Immutable branch between MFD, GPIO, Thermal and X86 due for the v4.13 merge window

2017-06-03 Thread Darren Hart
On Wed, May 31, 2017 at 03:33:48PM -0700, sathyanarayanan kuppuswamy wrote: > Hi Lee, > > > On 05/30/2017 11:57 PM, Lee Jones wrote: > > On Tue, 30 May 2017, Sathyanarayanan Kuppuswamy Natarajan wrote: > > > > > Hi All, > > > > > > On Tue, May 30, 2017 at 8:38 PM, Stephen Rothwell > > > wrote

Business

2017-06-03 Thread AG International
Dear sir/madam, My client is seeking for your trust to invest US$35 million into good projects with you as trustee.Kindly contact me only on this below e-mail: agaaintl-4g5ee...@yahoo.com , with name and your mobile phone for us to discuss privately. Eric/Director, AG International

Re: [PATCH] net: stmmac: ensure jumbo_frm error return is correctly checked for -ve value

2017-06-03 Thread Andy Shevchenko
On Sat, Jun 3, 2017 at 7:35 PM, Colin Ian King wrote: > On 03/06/17 16:55, Andy Shevchenko wrote: >> On Fri, Jun 2, 2017 at 5:58 PM, Colin King wrote: >>> The current comparison of entry < 0 will never be true since entry is an >>> unsigned integer. Cast entry to an int to ensure -ve error return

[RFC PATCH] acpi: indicate to platform when hot remove returns busy

2017-06-03 Thread Lee, Chun-Yi
In hotplug logic, it always indicates non-specific failure to platform through _OST when handing acpi hot-remove event failed. Then platform terminates the hot-remove process but it can not identify the reason. Base on current hot-remove code, there have two situations that it returns busy: - OSP

Re: [PATCH v7 12/26] x86/insn-eval: Add utility functions to get segment descriptor base address and limit

2017-06-03 Thread Ricardo Neri
On Wed, 2017-05-31 at 18:58 +0200, Borislav Petkov wrote: > On Fri, May 05, 2017 at 11:17:10AM -0700, Ricardo Neri wrote: > > With segmentation, the base address of the segment descriptor is needed > > to compute a linear address. The segment descriptor used in the address > > computation depends o

Re: [PATCH v5 3/8] thermal: intel_bxt_pmic_thermal: Use first level PMIC thermal irq

2017-06-03 Thread Sathyanarayanan Kuppuswamy Natarajan
Hi, On Sat, Jun 3, 2017 at 6:00 AM, Andy Shevchenko wrote: > On Thu, Jun 1, 2017 at 1:37 AM, > wrote: >> From: Kuppuswamy Sathyanarayanan >> >> PMIC mfd driver only exports first level irq for thermal device. >> But currently we are reading the irqs from the second level irq >> chip, So this pa

Re: [PATCH v5 3/8] thermal: intel_bxt_pmic_thermal: Use first level PMIC thermal irq

2017-06-03 Thread Andy Shevchenko
On Sat, Jun 3, 2017 at 8:28 PM, Sathyanarayanan Kuppuswamy Natarajan wrote: > Hi, > > On Sat, Jun 3, 2017 at 6:00 AM, Andy Shevchenko > wrote: >> On Thu, Jun 1, 2017 at 1:37 AM, >> wrote: >>> From: Kuppuswamy Sathyanarayanan >>> >>> >>> PMIC mfd driver only exports first level irq for thermal

Re: [RFC PATCH] acpi: indicate to platform when hot remove returns busy

2017-06-03 Thread Andy Shevchenko
On Sat, Jun 3, 2017 at 8:20 PM, Lee, Chun-Yi wrote: > In hotplug logic, it always indicates non-specific failure to > platform through _OST when handing acpi hot-remove event failed. Then > platform terminates the hot-remove process but it can not identify > the reason. > > Base on current hot-rem

Re: [PATCH 3/6] mm: memcontrol: use the node-native slab memory counters

2017-06-03 Thread Vladimir Davydov
On Tue, May 30, 2017 at 02:17:21PM -0400, Johannes Weiner wrote: > Now that the slab counters are moved from the zone to the node level > we can drop the private memcg node stats and use the official ones. > > Signed-off-by: Johannes Weiner > --- > include/linux/memcontrol.h | 2 -- > mm/memcont

Re: [PATCH 4/6] mm: memcontrol: use generic mod_memcg_page_state for kmem pages

2017-06-03 Thread Vladimir Davydov
On Tue, May 30, 2017 at 02:17:22PM -0400, Johannes Weiner wrote: > The kmem-specific functions do the same thing. Switch and drop. > > Signed-off-by: Johannes Weiner > --- > include/linux/memcontrol.h | 17 - > kernel/fork.c | 8 > mm/slab.h

NULL pointer dereference BUG in check_preempt_wakeup

2017-06-03 Thread Sowadski. Craig
Hello, I have been having random lockups with my new Ryzen build. I have finally setup a serial console and received the Oops info below. I have had the problem with 4.10, 4.11, 4.11.2, and 4.11.3, but this is the only trap of info I have so I do not know that all my lockups are of the same nature

Re: [PATCH 5/6] mm: memcontrol: per-lruvec stats infrastructure

2017-06-03 Thread Vladimir Davydov
On Tue, May 30, 2017 at 02:17:23PM -0400, Johannes Weiner wrote: > lruvecs are at the intersection of the NUMA node and memcg, which is > the scope for most paging activity. > > Introduce a convenient accounting infrastructure that maintains > statistics per node, per memcg, and the lruvec itself.

Re: [PATCH net] net: dsa: Fix stale cpu_switch reference after unbind then bind

2017-06-03 Thread Vivien Didelot
Hi Florian, Florian Fainelli writes: > Commit 9520ed8fb841 ("net: dsa: use cpu_switch instead of ds[0]") > replaced the use of dst->ds[0] with dst->cpu_switch since that is > functionally equivalent, however, we can now run into an use after free > scenario after unbinding then rebinding the swi

Re: [PATCH v5 3/8] thermal: intel_bxt_pmic_thermal: Use first level PMIC thermal irq

2017-06-03 Thread Sathyanarayanan Kuppuswamy Natarajan
Hi, On Sat, Jun 3, 2017 at 10:32 AM, Andy Shevchenko wrote: > On Sat, Jun 3, 2017 at 8:28 PM, Sathyanarayanan Kuppuswamy Natarajan > wrote: >> Hi, >> >> On Sat, Jun 3, 2017 at 6:00 AM, Andy Shevchenko >> wrote: >>> On Thu, Jun 1, 2017 at 1:37 AM, >>> wrote: From: Kuppuswamy Sathyanarayana

Re: [PATCH 6/6] mm: memcontrol: account slab stats per lruvec

2017-06-03 Thread Vladimir Davydov
On Tue, May 30, 2017 at 02:17:24PM -0400, Johannes Weiner wrote: > Josef's redesign of the balancing between slab caches and the page > cache requires slab cache statistics at the lruvec level. > > Signed-off-by: Johannes Weiner > --- > mm/slab.c | 12 > mm/slab.h | 18 +

Re: [PATCH] Staging: ccree: ssi_aead.h: Fixed a pointer declaration error.

2017-06-03 Thread srishti sharma
Hey, checkpatch.pl generated two errors , because the dereferencing operator was placed next to the structure name instead of being placed with the pointer . for eg: struct scatterlist* srcSgl; (this was giving an error) whereas struct scatterlist *srcSgl; (this did not give an error) Both

Re: [PATCH] dmi: Make dmi_walk and dmi_walk_early return real error codes

2017-06-03 Thread Darren Hart
On Thu, Jun 01, 2017 at 10:05:43AM +0200, Jean Delvare wrote: > Hi Darren, > > On Fri, 26 May 2017 16:59:17 -0700, Darren Hart wrote: > > From: Andy Lutomirski > > > > Currently they return -1 on error, which will confuse callers if > > they try to interpret it as a normal negative error code. >

Re: [PATCH v7 16/34] [media] add Omnivision OV5640 sensor driver

2017-06-03 Thread Steve Longerbeam
Hi Sakari, On 05/29/2017 11:56 PM, Sakari Ailus wrote: Hi Steve, On Mon, May 29, 2017 at 02:50:34PM -0700, Steve Longerbeam wrote: + +static int ov5640_s_ctrl(struct v4l2_ctrl *ctrl) +{ + struct v4l2_subdev *sd = ctrl_to_sd(ctrl); + struct ov5640_dev *sensor = to_ov5640_dev(sd)

[PATCH v2] dmi: Make dmi_walk and dmi_walk_early return real error codes

2017-06-03 Thread Andy Lutomirski
Currently they return -1 on error, which will confuse callers if they try to interpret it as a normal negative error code. Signed-off-by: Andy Lutomirski Cc: Jean Delvare Signed-off-by: Darren Hart (VMware) --- since v1: Use ENXIO instead of ENOENT in the !dmi_available condition drivers/firm

Fast Approval in 1-2 Hours.

2017-06-03 Thread adetriyasa
We provide PERSONAL and BUSINESS assistance No Deposit when you apply Loan with us!! , To Ease Your Financial Burden. -Easy Apply -Flexible Package -Fast Approval in 1-2 Hours. Email: quickfinac...@qq.com

Re: [PATCH v5 3/8] thermal: intel_bxt_pmic_thermal: Use first level PMIC thermal irq

2017-06-03 Thread Andy Shevchenko
On Sat, Jun 3, 2017 at 8:53 PM, Sathyanarayanan Kuppuswamy Natarajan wrote: > On Sat, Jun 3, 2017 at 10:32 AM, Andy Shevchenko > wrote: >> On Sat, Jun 3, 2017 at 8:28 PM, Sathyanarayanan Kuppuswamy Natarajan >> wrote: >> Let's assume we applied patches 1 and 2, does it mean the regression >> to

Re: [PATCH v2 2/3] PCI: Enable PCIe Relaxed Ordering if supported

2017-06-03 Thread Alexander Duyck
On Fri, Jun 2, 2017 at 9:04 PM, Ding Tianhong wrote: > The PCIe Device Control Register use the bit 4 to indicate that > whether the device is permitted to enable relaxed ordering or not. > But relaxed ordering is not safe for some platform which could only > use strong write ordering, so devices

Re: Design of interrupt controller driver

2017-06-03 Thread Mason
On 03/06/2017 18:49, Mason wrote: > 1) The interrupt router has 128 inputs and 24 outputs. > Therefore, several devices have to share an output line. > I believe they *must* be of the same interrupt type? > In the limit, we could use > - 1 output line for level high > - 1 output line for level low

[PATCH 0/9] ARM: OMAP2+: Adjustments for seven function implementations

2017-06-03 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 3 Jun 2017 20:12:34 +0200 Some update suggestions were taken into account from static source code analysis. Markus Elfring (9): Delete an error message for a failed memory allocation in omap_mcspi_init() Delete an error message for a failed memory allocation i

[PATCH 1/9] ARM: OMAP2+: Delete an error message for a failed memory allocation in omap_mcspi_init()

2017-06-03 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 3 Jun 2017 16:45:12 +0200 Omit an extra message for a memory allocation failure in this function. This issue was detected by using the Coccinelle software. Link: http://events.linuxfoundation.org/sites/events/files/slides/LCJ16-Refactor_Strings-WSang_0.pdf Signe

[PATCH 2/9] ARM: OMAP2+: Delete an error message for a failed memory allocation in two functions

2017-06-03 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 3 Jun 2017 17:24:27 +0200 Omit an extra message for a memory allocation failure in these functions. This issue was detected by using the Coccinelle software. Link: http://events.linuxfoundation.org/sites/events/files/slides/LCJ16-Refactor_Strings-WSang_0.pdf Sig

[PATCH 3/9] ARM: OMAP2+: McBSP: Delete an unnecessary variable initialisation in omap_init_mcbsp()

2017-06-03 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 3 Jun 2017 17:54:19 +0200 The local variable "pdata" is reassigned by a statement at the beginning. Thus omit the explicit initialisation. Signed-off-by: Markus Elfring --- arch/arm/mach-omap2/mcbsp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -

[PATCH 4/9] ARM: OMAP2+: McBSP: Improve a size determination in omap_init_mcbsp()

2017-06-03 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 3 Jun 2017 17:56:57 +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 convention. Signed-off-by: Mark

[PATCH 5/9] ARM: OMAP2+: McBSP: Delete an error message for a failed memory allocation in omap_init_mcbsp()

2017-06-03 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 3 Jun 2017 18:03:25 +0200 Omit an extra message for a memory allocation failure in this function. This issue was detected by using the Coccinelle software. Link: http://events.linuxfoundation.org/sites/events/files/slides/LCJ16-Refactor_Strings-WSang_0.pdf Signe

[PATCH 6/9] ARM: OMAP2+: Improve a size determination in sr_dev_init()

2017-06-03 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 3 Jun 2017 19:02:24 +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 convention. Signed-off-by: Mark

[PATCH 7/9] ARM: OMAP2+: Use kcalloc() in sr_set_nvalues()

2017-06-03 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 3 Jun 2017 19:09:07 +0200 * A multiplication for the size determination of a memory allocation indicated that an array data structure should be processed. Thus use the corresponding function "kcalloc". This issue was detected by using the Coccinelle software

[PATCH 8/9] ARM: OMAP2+: SmartReflex: Delete an error message for a failed memory allocation in two functions

2017-06-03 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 3 Jun 2017 19:16:27 +0200 Omit an extra message for a memory allocation failure in these functions. This issue was detected by using the Coccinelle software. Link: http://events.linuxfoundation.org/sites/events/files/slides/LCJ16-Refactor_Strings-WSang_0.pdf Sig

[PATCH 9/9] ARM: OMAP2+: Delete an error message for a failed memory allocation in omap_timer_init()

2017-06-03 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 3 Jun 2017 19:23:59 +0200 Omit an extra message for a memory allocation failure in this function. This issue was detected by using the Coccinelle software. Link: http://events.linuxfoundation.org/sites/events/files/slides/LCJ16-Refactor_Strings-WSang_0.pdf Signe

Re: [PATCH v15 00/13] mux controller abstraction and iio/i2c muxes

2017-06-03 Thread Luc Van Oostenryck
On Sat, Jun 3, 2017 at 12:26 PM, Greg Kroah-Hartman wrote: > On Sun, May 14, 2017 at 09:51:03PM +0200, Peter Rosin wrote: >> From: Peter Rosin >> >> Hi Greg, >> >> Philipp found problems in v14 with using a mutex for locking that was >> the outcome of the review for v13, so I'm now using a semaph

Fast Approval in 1-2 Hours.

2017-06-03 Thread adetriyasa
We provide PERSONAL and BUSINESS assistance No Deposit when you apply Loan with us!! , To Ease Your Financial Burden. -Easy Apply -Flexible Package -Fast Approval in 1-2 Hours. Email: quickfinac...@qq.com

Re: [PATCH v4 1/6] pinctrl: qcom: Add ipq8074 pinctrl driver

2017-06-03 Thread Christian Lamparter
On Saturday, June 3, 2017 12:57:50 PM CEST Varadarajan Narayanan wrote: > Add initial pinctrl driver to support pin configuration with > pinctrl framework for ipq8074. > > Signed-off-by: Manoharan Vijaya Raghavan > Signed-off-by: Varadarajan Narayanan > --- > +- bias-disable: > + Usage: opti

[PATCH 1/5] sparc: simplify

2017-06-03 Thread Christoph Hellwig
There is no need for the forward declaration of compat_siginfo provided here. We can't yet use the generic header as we need to pull in the sparc-specific version of the uapi , but this prepares for removing the non-uapi entirely. Signed-off-by: Christoph Hellwig --- arch/sparc/include/asm/sig

[PATCH 3/5] posix-timers: move the do_schedule_next_timer declaration

2017-06-03 Thread Christoph Hellwig
Having it in asm-generic/siginfo.h doesn't make any sense as it is in no way architecture specific. Move it to posix-timers.h instead. Signed-off-by: Christoph Hellwig --- include/asm-generic/siginfo.h | 1 - include/linux/posix-timers.h | 3 +++ kernel/signal.c | 1 + 3 files ch

[PATCH 5/5] remove non-uapi

2017-06-03 Thread Christoph Hellwig
By moving the kernel side __SI_* defintions right next to the userspace ones we can kill the non-uapi versions of include include/asm-generic/siginfo.h and untangle the unholy mess of includes. Signed-off-by: Christoph Hellwig --- arch/arc/include/asm/Kbuild | 1 - arch/arm/include/a

[PATCH 4/5] signal: move copy_siginfo_to_user to

2017-06-03 Thread Christoph Hellwig
Having it in asm-generic/siginfo.h doesn't make any sense as it is in no way architecture specific. Move it to signal.h instead where several related functions already reside. Signed-off-by: Christoph Hellwig --- include/asm-generic/siginfo.h | 4 include/linux/signal.h| 2 ++ 2 fi

untangle the mess

2017-06-03 Thread Christoph Hellwig
We currently have uapi versions of which at least on a few architectures define bits of the userspace ABI before including an uapi asm-generic version, and also non-uapi versions which do almost nothing except for making sure other headers include the right uapi one before including an asm-generic

[PATCH 2/5] ia64: remove HAVE_ARCH_COPY_SIGINFO

2017-06-03 Thread Christoph Hellwig
Since ia64 defines __ARCH_SI_PREAMBLE_SIZE it can just use the generic copy_siginfo implementation, which is identical to the architecture specific one. With that support for HAVE_ARCH_COPY_SIGINFO can go away entirely. Signed-off-by: Christoph Hellwig --- arch/ia64/include/asm/siginfo.h |

Re: [PATCH v2 0/8] fujitsu-laptop: use device-specific data instead of module-wide globals

2017-06-03 Thread Darren Hart
On Wed, May 24, 2017 at 09:30:18AM +0930, Jonathan Woithe wrote: > Hi Michael > > On Mon, May 22, 2017 at 08:53:23AM +0930, Jonathan Woithe wrote: > > On Fri, May 19, 2017 at 09:44:40AM +0200, Micha?? K??pie?? wrote: > > > fujitsu-laptop registers two ACPI drivers that access each other's > > > mo

Re: [PATCH] platform/x86: dell-wmi: Add a comment explaining the 0xb2 magic number

2017-06-03 Thread Darren Hart
On Sat, May 27, 2017 at 12:51:36PM +0200, Pali Rohár wrote: > On Saturday 27 May 2017 07:15:28 Darren Hart wrote: > > From: Andy Lutomirski > > > > The hotkey table is 0xb2, add a comment for clarity. > > > > Suggested-by: Darren Hart > > Signed-off-by: Andy Lutomirski > > Cc: Matthew Garrett

[GIT PULL] RTC for 4.12 #2

2017-06-03 Thread Alexandre Belloni
Hi Linus, A single patch, not really a fix but I don't think there is any reason to delay it. The following changes since commit 2ea659a9ef488125eb46da6eb571de5eae5c43f6: Linux 4.12-rc1 (2017-05-13 13:19:49 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/k

Sleeping BUG in khugepaged for i586

2017-06-03 Thread Larry Finger
I recently turned on locking diagnostics for a Dell Latitude D600 laptop, which requires a 32-bit kernel. In the log I found the following: BUG: sleeping function called from invalid context at mm/khugepaged.c:655 in_atomic(): 1, irqs_disabled(): 0, pid: 20, name: khugepaged 1 lock held by khuge

Re: [PATCH] platform/x86: dell-rbtn: Improve explanation about DELLABC6

2017-06-03 Thread Darren Hart
On Sat, May 27, 2017 at 07:27:19PM +0300, Andy Shevchenko wrote: > On Sat, May 27, 2017 at 8:16 AM, Darren Hart wrote: > > From: Andy Lutomirski > > > > According to Mario at Dell, the DELLABC6 device should not be used on a > > Linux system. It also conflicts with Intel-HID and its interactions

Re: [PATCH v15 00/13] mux controller abstraction and iio/i2c muxes

2017-06-03 Thread Greg Kroah-Hartman
On Sat, Jun 03, 2017 at 08:37:21PM +0200, Luc Van Oostenryck wrote: > On Sat, Jun 3, 2017 at 12:26 PM, Greg Kroah-Hartman > wrote: > > On Sun, May 14, 2017 at 09:51:03PM +0200, Peter Rosin wrote: > >> From: Peter Rosin > >> > >> Hi Greg, > >> > >> Philipp found problems in v14 with using a mutex

Fast Approval in 1-2 Hours.

2017-06-03 Thread adetriyasa
We provide PERSONAL and BUSINESS assistance No Deposit when you apply Loan with us!! , To Ease Your Financial Burden. -Easy Apply -Flexible Package -Fast Approval in 1-2 Hours. Email: quickfinac...@qq.com

Re: [PATCH v7 16/34] [media] add Omnivision OV5640 sensor driver

2017-06-03 Thread Steve Longerbeam
On 06/01/2017 01:26 AM, Sakari Ailus wrote: Hi Pavel, On Wed, May 31, 2017 at 09:58:21PM +0200, Pavel Machek wrote: Hi! +/* min/typical/max system clock (xclk) frequencies */ +#define OV5640_XCLK_MIN 600 +#define OV5640_XCLK_MAX 2400 + +/* + * FIXME: there is no subdev API to set t

Re: [PATCH 3.16 144/212] batman-adv: Fix double free during fragment merge error

2017-06-03 Thread Ben Hutchings
On Thu, 2017-06-01 at 18:44 +0200, Sven Eckelmann wrote: > On Donnerstag, 1. Juni 2017 16:43:16 CEST Ben Hutchings wrote: > > 3.16.44-rc1 review patch.  If anyone has any objections, please let me know. > > It looks to me like there are problems with this backport. The surrounding  > code has to b

Re: WMI and Kernel:User interface

2017-06-03 Thread Darren Hart
On Wed, May 10, 2017 at 07:13:41AM +0200, Greg Kroah-Hartman wrote: > On Tue, May 09, 2017 at 04:16:39PM -0700, Darren Hart wrote: > > Linus and Greg, > > > > We are in the process of redesigning the Windows Management Instrumentation > > (WMI) [1] system in the kernel. WMI is the Microsoft implem

Re: [PATCH v7 16/34] [media] add Omnivision OV5640 sensor driver

2017-06-03 Thread Pavel Machek
Hi! > >>>+ /* Auto/manual exposure */ > >>>+ ctrls->auto_exp = v4l2_ctrl_new_std_menu(hdl, ops, > >>>+ V4L2_CID_EXPOSURE_AUTO, > >>>+ V4L2_EXPOSURE_MANUAL, 0, > >>>+ V4L2

[PATCH 0/3] ARM-pxa: Adjustments for two function implementations

2017-06-03 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 3 Jun 2017 22:02:34 +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 pxa_pm_init() Improve a size determination in pxa3xx_u2d_probe() Delete

[PATCH 1/3] ARM: pxa: Delete an error message for a failed memory allocation in pxa_pm_init()

2017-06-03 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 3 Jun 2017 21:34:48 +0200 Omit an extra message for a memory allocation failure in this function. This issue was detected by using the Coccinelle software. Link: http://events.linuxfoundation.org/sites/events/files/slides/LCJ16-Refactor_Strings-WSang_0.pdf Signe

[PATCH 2/3] ARM: pxa: Improve a size determination in pxa3xx_u2d_probe()

2017-06-03 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 3 Jun 2017 21:43:11 +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 convention. Signed-off-by: Mark

[PATCH 3/3] ARM: pxa: Delete an error message for a failed memory allocation in pxa3xx_u2d_probe()

2017-06-03 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 3 Jun 2017 21:46:26 +0200 Omit an extra message for a memory allocation failure in this function. This issue was detected by using the Coccinelle software. Link: http://events.linuxfoundation.org/sites/events/files/slides/LCJ16-Refactor_Strings-WSang_0.pdf Signe

Re: [PATCH] virtio_net: lower limit on buffer size

2017-06-03 Thread Sergei Shtylyov
On 06/02/2017 11:25 PM, J. Bruce Fields wrote: commit d85b758f72b0 "virtio_net: fix support for small rings" Commit d85b758f72b0 ("virtio_net: fix support for small rings") was supposed to increase the buffer size for small rings but had an unintentional side effect of decreasing it for l

Re: [PATCH v15 00/13] mux controller abstraction and iio/i2c muxes

2017-06-03 Thread Luc Van Oostenryck
On Sat, Jun 3, 2017 at 9:34 PM, Greg Kroah-Hartman wrote: > On Sat, Jun 03, 2017 at 08:37:21PM +0200, Luc Van Oostenryck wrote: >> On Sat, Jun 3, 2017 at 12:26 PM, Greg Kroah-Hartman >> wrote: >> > On Sun, May 14, 2017 at 09:51:03PM +0200, Peter Rosin wrote: >> >> From: Peter Rosin >> >> >> >> H

Re: [PATCH RFC tip/core/rcu] Make SRCU be once again optional

2017-06-03 Thread Paul E. McKenney
On Sat, Jun 03, 2017 at 01:18:43AM -0400, Nicolas Pitre wrote: > On Fri, 2 Jun 2017, Paul E. McKenney wrote: > > > On Fri, May 12, 2017 at 12:10:05PM -0700, Paul E. McKenney wrote: > > > On Fri, May 12, 2017 at 02:59:48PM -0400, Nicolas Pitre wrote: > > > > On Fri, 12 May 2017, Paul E. McKenney wr

Re: [linux-next / tty] possible circular locking dependency detected

2017-06-03 Thread Vegard Nossum
On 06/03/17 11:34, Greg Kroah-Hartman wrote: On Mon, May 29, 2017 at 12:43:39PM +0200, Vegard Nossum wrote: On 05/22/17 12:27, Vegard Nossum wrote: On 05/22/17 12:24, Greg Kroah-Hartman wrote: On Mon, May 22, 2017 at 04:39:43PM +0900, Sergey Senozhatsky wrote: Hello, [ 1274.378287] =

[PATCH] target: Fix kref->refcount underflow in transport_cmd_finish_abort

2017-06-03 Thread Nicholas A. Bellinger
From: Nicholas Bellinger This patch fixes a se_cmd->cmd_kref underflow during CMD_T_ABORTED when a fabric driver drops it's second reference from below the target_core_tmr.c based callers of transport_cmd_finish_abort(). Recently with the conversion of kref to refcount_t, this bug was manifestin

Re: [PATCH 1/5] sparc: simplify

2017-06-03 Thread David Miller
From: Christoph Hellwig Date: Sat, 3 Jun 2017 21:00:58 +0200 > There is no need for the forward declaration of compat_siginfo provided > here. We can't yet use the generic header as we need to pull in the > sparc-specific version of the uapi , but this prepares > for removing the non-uapi enti

Re: [PATCH] firmware: dmi: Check DMI structure length

2017-06-03 Thread Jean Delvare
On Fri, 2 Jun 2017 21:45:37 +0300, Andy Shevchenko wrote: > On Fri, Jun 2, 2017 at 9:40 PM, Jean Delvare wrote: > > On Thu, 1 Jun 2017 19:06:36 +0300, Andy Shevchenko wrote: > >> Your commit message should answer to the question why and what. > >> You didn't put it there. > >> Moreover, the chan

<    1   2   3   >