Re: [PATCH] drm/bridge: analogix_dp: set the DPCD600 during disabling the psr

2016-12-14 Thread Sean Paul
On Wed, Dec 14, 2016 at 12:03 AM, Archit Taneja wrote: > Hi, > > On 12/12/2016 08:28 PM, Sean Paul wrote: >> >> On Fri, Dec 9, 2016 at 9:49 PM, Caesar Wang wrote: >>> >>> Look likes, the BOE panel FW didn't ack the DPCD600 signal from the host >>> device, that will cause the panel hang on the

[PATCH v2 2/2] iio: adc: hx711: Add IIO driver for AVIA HX711

2016-12-14 Thread Andreas Klinger
This is the IIO driver for AVIA HX711 ADC which ist mostly used in weighting cells. The protocol is quite simple and using GPIO's: One GPIO is used as clock (SCK) while another GPIO is read (DOUT) The raw value read from the chip is delivered. To get a weight one needs to subtract the zero

[PATCH v2 1/2] iio: adc: hx711: Add DT binding for avia,hx711

2016-12-14 Thread Andreas Klinger
Add DT bindings for avia,hx711 Add vendor avia to vendor list Signed-off-by: Andreas Klinger --- .../devicetree/bindings/iio/adc/avia-hx711.txt | 21 + .../devicetree/bindings/vendor-prefixes.txt | 1 + 2 files changed, 22 insertions(+) create mode 100644

Re: [PATCH] arm64: mm: Fix NOMAP page initialization

2016-12-14 Thread Robert Richter
On 12.12.16 17:53:02, Yisheng Xie wrote: > It seems that memblock_is_memory() is also too strict for early_pfn_valid, > so what about this patch, which use common pfn_valid as early_pfn_valid > when CONFIG_HAVE_ARCH_PFN_VALID=y: > > diff --git a/include/linux/mmzone.h

[PATCH V2] vhost: introduce O(1) vq metadata cache

2016-12-14 Thread Jason Wang
When device IOTLB is enabled, all address translations were stored in interval tree. O(lgN) searching time could be slow for virtqueue metadata (avail, used and descriptors) since they were accessed much often than other addresses. So this patch introduces an O(1) array which points to the

Re: sctp: suspicious rcu_dereference_check() usage in sctp_epaddr_lookup_transport

2016-12-14 Thread Xin Long
On Wed, Dec 14, 2016 at 5:37 AM, Marcelo Ricardo Leitner wrote: > On Tue, Dec 13, 2016 at 07:07:01PM +0100, Dmitry Vyukov wrote: >> Hello, >> >> I am getting the following reports while running syzkaller fuzzer: >> >> [ INFO: suspicious RCU usage. ] >> 4.9.0+ #85 Not tainted >>

[RFC PATCH net-next v4 2/2] macb: Enable 1588 support in SAMA5Dx platforms.

2016-12-14 Thread Andrei Pistirica
This patch does the following: - Enable HW time stamp for the following platforms: SAMA5D2, SAMA5D3 and SAMA5D4. - HW time stamp capabilities are advertised via ethtool and macb ioctl is updated accordingly. - HW time stamp on the PTP Ethernet packets are received using the SO_TIMESTAMPING

[GIT PULL] trivial for 4.10

2016-12-14 Thread Jiri Kosina
Linus, please pull from git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial.git for-linus to receive 4.10 merge window updates from trivial tree I hereby confess to having rebased the for-next branch, because I wanted to drop all the '\n' additions that were obsoleted by the recent

[GIT PULL] HID for 4.10

2016-12-14 Thread Jiri Kosina
Linus, please pull from git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid.git for-linus to receive 4.10 merge window updates for HID subsystem, namely = - support for new Wacom "MobileStudio Pro" class of tablets from Jason Gerecke - Microsoft Surface 3 support from Benjamin

[RFC PATCH net-next v4 1/2] macb: Add 1588 support in Cadence GEM.

2016-12-14 Thread Andrei Pistirica
Cadence GEM provides a 102 bit time counter with 48 bits for seconds, 30 bits for nsecs and 24 bits for sub-nsecs to control 1588 timestamping. This patch does the following: - Registers to ptp clock framework - Timer initialization is done by writing time of day to the timer counter. - ns

[GIT PULL] livepatching for 4.10

2016-12-14 Thread Jiri Kosina
Linus, please pull from git://git.kernel.org/pub/scm/linux/kernel/git/jikos/livepatching.git for-linus to receive 4.10 merge window updates for livepatching tree; this is just a small documentation update (as the work on the hybrid model is still underway). Thanks.

[PATCH] ubifs: Initialize fstr_real_len

2016-12-14 Thread Richard Weinberger
While fstr_real_len is only being used under if (encrypted), gcc-6 still warns. Fixes this false positive: fs/ubifs/dir.c: In function 'ubifs_readdir': fs/ubifs/dir.c:629:13: warning: 'fstr_real_len' may be used uninitialized in this function [-Wmaybe-uninitialized] fstr.len = fstr_real_len

[PATCH 2/3] clk: rockchip: rk3399: export 480M_SRC clocks id for usbphy0/usbphy1

2016-12-14 Thread Xing Zheng
This patch exports USBPHYx_480M_SRC clocks for usbphy. Signed-off-by: Xing Zheng --- drivers/clk/rockchip/clk-rk3399.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/clk/rockchip/clk-rk3399.c b/drivers/clk/rockchip/clk-rk3399.c index 3490887..cf2af4c 100644

Re: [PATCH] x86/kbuild: enable modversions for symbols exported from asm

2016-12-14 Thread Dodji Seketeli
Michal Marek a écrit: >> Libabigail does a "whole binary" analysis of types. >> >> So, consider the point of use of the type 'struct s1*'. Even if 'struct >> s' is just forward-declared at that point, the declaration of struct s1 >> is "resolved" to its definition. Even if the definition

[PATCH 1/3] clk: rockchip: rk3399: add USBPHYx_480M_SRC clock IDs

2016-12-14 Thread Xing Zheng
This patch add two clock IDs for the usb phy 480m source clocks. Signed-off-by: Xing Zheng --- include/dt-bindings/clock/rk3399-cru.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/dt-bindings/clock/rk3399-cru.h b/include/dt-bindings/clock/rk3399-cru.h index 220a60f..224daf7

[patch v1 1/1] platform/x86: mlx-platform: mlxcpld-hotplug driver style fixes

2016-12-14 Thread Vadim Pasternak
The patch contains several styling fixes: - Make names of hotplug devices shorter; - Change register offset assignment to defines; - Add defines for the all event masks; - Use PLATFORM_DEVID_NONE instead of -1; Signed-off-by: Vadim Pasternak --- drivers/platform/x86/mlx-platform.c | 84

[PATCH 3/3] arm64: dts: rockchip: add clk-480m for ehci and ohci of rk3399

2016-12-14 Thread Xing Zheng
From: William wu We found that the suspend process was blocked when it run into ehci/ohci module due to clk-480m of usb2-phy was disabled. The root cause is that usb2-phy suspended earlier than ehci/ohci (usb2-phy will be auto suspended if no devices plug-in). and the clk-480m provided by it

Re: [PATCH v2 1/2] iio: adc: hx711: Add DT binding for avia,hx711

2016-12-14 Thread Lars-Peter Clausen
On 12/14/2016 10:59 AM, Andreas Klinger wrote: > Add DT bindings for avia,hx711 > Add vendor avia to vendor list > > Signed-off-by: Andreas Klinger > --- > .../devicetree/bindings/iio/adc/avia-hx711.txt | 21 > + > .../devicetree/bindings/vendor-prefixes.txt |

[patch v1 0/1] platform/x86: mlx-platform: mlxcpld-hotplug driver notes

2016-12-14 Thread Vadim Pasternak
This patch contains the non-functional fixes, pointed out by Andy. I was waiting with sending the patch until the patch which moves mlx-platform driver from arch/x86/platform/mellanox to drivers/platform/x86 folder is accepted. Now after the below patches are committed to the testing branch:

Re: Fw: [lkp-developer] [sched,rcu] cf7a2dca60: [No primary change] +186% will-it-scale.time.involuntary_context_switches

2016-12-14 Thread Michal Hocko
On Tue 13-12-16 07:14:08, Paul E. McKenney wrote: > Just FYI for the moment... > > So even with the slowed-down checking, making cond_resched() do what > cond_resched_rcu_qs() does results in a smallish but quite measurable > degradation according to 0day. So if I understand those results

Re: [PATCH] x86/kbuild: enable modversions for symbols exported from asm

2016-12-14 Thread Michal Marek
On 2016-12-14 11:02, Dodji Seketeli wrote: > Michal Marek a écrit: > >>> Libabigail does a "whole binary" analysis of types. >>> >>> So, consider the point of use of the type 'struct s1*'. Even if 'struct >>> s' is just forward-declared at that point, the declaration of struct s1 >>> is

Re: [PATCH] x86/kbuild: enable modversions for symbols exported from asm

2016-12-14 Thread Michal Marek
On 2016-12-14 10:15, Michal Marek wrote: > A minimal example would be > > t1.c: > struct s1; > struct s2 { > int i; > } > struct s3 { > struct s1 *ptr1; > struct s2 *ptr2; > } > void foo(struct s3*); > EXPORT_SYMBOL(foo); > > t2.c: > struct s1 { > int j; > } > struct s2;

答复: [PATCH] fuse: freezing abort when use wait_event_killable{,_exclusive}().

2016-12-14 Thread 崔立飞
Rafael, Any questions about the patch, please let me know. Thanks! BR, Cui Li Fei 发件人: 崔立飞 发送时间: 2016年12月8日 14:31 收件人: Rafael J. Wysocki 抄送: linux-kernel@vger.kernel.org; mik...@szeredi.hu; pa...@ucw.cz; len.br...@intel.com;

[PATCH 0/3] Add and export clk-480m clocks for ehci and ohci on RK3399

2016-12-14 Thread Xing Zheng
Hi, This patches would like to fix the USB suspend block without the clk-480m clock. Let's add and export them to control them. Thanks. William wu (1): arm64: dts: rockchip: add clk-480m for ehci and ohci of rk3399 Xing Zheng (2): clk: rockchip: rk3399: add USBPHYx_480M_SRC clock IDs

Re: page allocation stall in kernel 4.9 when copying files from one btrfs hdd to another

2016-12-14 Thread Michal Hocko
On Tue 13-12-16 18:11:01, David Arendt wrote: > Hi, > > I receive the following page allocation stall while copying lots of > large files from one btrfs hdd to another. > > Dec 13 13:04:29 server kernel: kworker/u16:8: page allocation stalls for > 12260ms, order:0,

[PATCH] serial: fsl_lpuart: Remove the alias node dependence

2016-12-14 Thread Yuan Yao
From: Yuan Yao Numbering the ttyLPn space should not depend on the generic name "serial". If don't add the alias node like:"serial0 = ", then lpuart will probe failed: [0.773410] fsl-lpuart 295.serial: failed to get alias id, errno -19 So remove the alias node dependence, and add the

Re: [PATCH] vfio/pci: Support error recovery

2016-12-14 Thread Cao jin
Sorry for late. after reading all your comments, I think I will try the solution 1. On 12/13/2016 03:12 AM, Alex Williamson wrote: > On Mon, 12 Dec 2016 21:49:01 +0800 > Cao jin wrote: > >> Hi, >> I have 2 solutions(high level design) came to me, please see if they are >> acceptable, or which

[GIT PULL] sound updates for 4.10

2016-12-14 Thread Takashi Iwai
Linus, please pull sound updates for 4.10 from: git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git tags/sound-4.10-rc1 The topmost commit is 995c6a7fd9b9212abdf01160f6ce3193176be503 sound updates for 4.10-rc1 No

Re: [PATCH] block_dev: don't update file access position for sync direct IO

2016-12-14 Thread Christoph Hellwig
On Tue, Dec 13, 2016 at 09:08:18PM -0700, Jens Axboe wrote: > That's not great... Thanks, added. Ooops, yeah - we're still going through ->direct_IO for block devices. I'll take a stab at removing that, as it's just a pointless indirect call.

Re: [PATCH 6/6] media/cobalt: use pci_irq_allocate_vectors

2016-12-14 Thread Christoph Hellwig
Hi Hans, just checked the current Linux tree and cobalt still uses the old pci_enable_msi_range call. Did you queue this patch up for 4.10?

Re: page allocation stall in kernel 4.9 when copying files from one btrfs hdd to another

2016-12-14 Thread Michal Hocko
Btw. the stall should be preceded by the OOM killer invocation. Could you share the OOM report please. I am asking because such an OOM killer would be clearly pre-mature as per your meminfo. I am trying to change that code and seeing your numbers might help me. Thanks! On Wed 14-12-16 11:17:43,

Re: [PATCH 5/7] blk-mq-sched: add framework for MQ capable IO schedulers

2016-12-14 Thread Bart Van Assche
On 12/13/2016 04:14 PM, Jens Axboe wrote: > On 12/13/2016 06:56 AM, Bart Van Assche wrote: >> On 12/08/2016 09:13 PM, Jens Axboe wrote: >>> +struct request *blk_mq_sched_alloc_shadow_request(struct request_queue *q, >>> + struct blk_mq_alloc_data >>>

Re: [PATCH] HID: add Asus macrokey support for Asus "Republic of Gamers" laptop

2016-12-14 Thread Jiri Kosina
On Mon, 12 Dec 2016, Chris Chiu wrote: [ ... snip ... ] > +static const struct hid_device_id asus_rog_devices[] = { > + { HID_USB_DEVICE(USB_VENDOR_ID_ASUSTEK, > USB_DEVICE_ID_ASUSTEK_ROG_MACROKEY1) }, > + { HID_USB_DEVICE(USB_VENDOR_ID_ASUSTEK, > USB_DEVICE_ID_ASUSTEK_ROG_MACROKEY2) },

[PATCH] acct: fix coding style issue

2016-12-14 Thread GaoShengWu
Line 449 of acct.c violates chapter 3 of CodingStyle - Use one space around '==' . Signed-off-by: GaoShengWu --- checkpatch.pl complained about the following missing space: ERROR: spaces required around that '==' (ctx:VxV) #449: FILE: kernel/acct.c:449: +#if ACCT_VERSION==2

Re: [PATCH] cpumask: avoid WARN in prefill_possible_map()

2016-12-14 Thread Dmitry Safonov
On 12/13/2016 09:32 PM, Thomas Gleixner wrote: On Mon, 12 Dec 2016, Dmitry Safonov wrote: Subject : [PATCH] cpumask: avoid WARN in prefill_possible_map() 'cpumask' is hardly the proper prefix for x86/smpboot related issues. With CONFIG_DEBUG_PER_CPU_MAPS and CONFIG_CPUMASK_OFFSTACK enabled

Re: [PATCH v2 1/2] iio: adc: hx711: Add DT binding for avia,hx711

2016-12-14 Thread Andreas Klinger
Hi Lars-Peter, Lars-Peter Clausen schrieb am Wed, 14. Dec 11:11: > On 12/14/2016 10:59 AM, Andreas Klinger wrote: > > Add DT bindings for avia,hx711 > > Add vendor avia to vendor list > > > > Signed-off-by: Andreas Klinger > > --- > > .../devicetree/bindings/iio/adc/avia-hx711.txt | 21

Re: [PATCH 2/2] mm, oom: do not enfore OOM killer for __GFP_NOFAIL automatically

2016-12-14 Thread Michal Hocko
On Mon 12-12-16 09:48:37, Michal Hocko wrote: > On Sun 11-12-16 20:23:47, Tetsuo Handa wrote: [...] > > I believe that __GFP_NOFAIL should not imply invocation of the OOM killer. > > Therefore, I want to change __GFP_NOFAIL not to invoke the OOM killer. > > But since currently the OOM killer

Re: [PATCH 6/6] media/cobalt: use pci_irq_allocate_vectors

2016-12-14 Thread Hans Verkuil
On 14/12/16 11:29, Christoph Hellwig wrote: Hi Hans, just checked the current Linux tree and cobalt still uses the old pci_enable_msi_range call. Did you queue this patch up for 4.10? -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to

Re: [PATCH 1/2] crypto: asymmetric_keys: set error code on failure

2016-12-14 Thread Herbert Xu
On Tue, Dec 13, 2016 at 09:26:18AM +, David Howells wrote: > From: Pan Bian > > In function public_key_verify_signature(), returns variable ret on > error paths. When the call to kmalloc() fails, the value of ret is 0, > and it is not set to an errno before returning. This patch fixes the >

Re: [PATCH] drm/mxsfb: use bus_format to determine LCD bus width

2016-12-14 Thread Marek Vasut
On 12/14/2016 12:56 AM, Stefan Agner wrote: > On 2016-12-08 20:24, Marek Vasut wrote: >> On 12/09/2016 04:44 AM, Stefan Agner wrote: >>> On 2016-12-08 15:33, Marek Vasut wrote: On 12/08/2016 11:52 PM, Stefan Agner wrote: > The LCD bus width does not need to align with the pixel format.

[no subject]

2016-12-14 Thread Mr Friedrich Mayrhofer
Good Day, This is the second time i am sending you this mail. I, Friedrich Mayrhofer Donate $ 1,000,000.00 to You, Email Me personally for more details. Regards. Friedrich Mayrhofer

Re: [PATCH 6/6] media/cobalt: use pci_irq_allocate_vectors

2016-12-14 Thread Christoph Hellwig
On Wed, Dec 14, 2016 at 11:37:17AM +0100, Hans Verkuil wrote: > Completely forgot this. Is it OK to queue it for 4.11? Or is it blocking > other follow-up work you want to do for 4.10? My plan was to see if Bjorn would take the patch to do the trivial removal of pci_enable_msix_exact and

Re: [PATCH] objtool: fix build

2016-12-14 Thread Jiri Slaby
On 12/05/2016, 09:40 PM, Josh Poimboeuf wrote: > On Mon, Dec 05, 2016 at 01:41:37PM +0100, Jiri Slaby wrote: >> 0x8d opcode was handled twice. Fixed. >> >> Signed-off-by: Jiri Slaby > > I applied the other patch to the objtool-dwarf branch, but this one > doesn't apply (the branch already has

Re: [PATCH] drm/mxsfb: fix pixel clock polarity

2016-12-14 Thread Marek Vasut
On 12/14/2016 01:01 AM, Stefan Agner wrote: > On 2016-12-08 15:38, Marek Vasut wrote: >> On 12/08/2016 09:46 PM, Stefan Agner wrote: >>> On 2016-12-07 18:37, Marek Vasut wrote: On 12/08/2016 02:26 AM, Stefan Agner wrote: > On 2016-12-07 16:59, Stefan Agner wrote: >> On 2016-12-07

Re: [PATCH v2] drm/mxsfb: use bus_format to determine LCD bus width

2016-12-14 Thread Marek Vasut
On 12/14/2016 02:02 AM, Stefan Agner wrote: > The LCD bus width does not need to align with the pixel format. The > LCDIF controller automatically converts between pixel formats and > bus width by padding or dropping LSBs. > > The DRM subsystem has the notion of bus_format which allows to >

Re: [RFC][PATCHv5 5/7] printk: report lost messages in printk safe/nmi contexts

2016-12-14 Thread Petr Mladek
On Tue 2016-12-13 10:52:37, Sergey Senozhatsky wrote: > On (12/12/16 16:58), Petr Mladek wrote: > > On Thu 2016-12-01 22:55:44, Sergey Senozhatsky wrote: > [..] > > But not really because we report lost messages from both buffers > > and from all CPUs here. > [..] > > The perfect solution would be

Re: [PATCH v3 3/3] perf tool: add cgroup identifier entry in perf report

2016-12-14 Thread Peter Zijlstra
On Wed, Dec 14, 2016 at 08:56:43AM +1300, Eric W. Biederman wrote: > > I would just make the identifier a structure containing the > device number and the inode number. It didn't look like perf required > the identifier to be a simple integer. Right, perf doesn't care at all here, its just a

Re: [PATCH] rcu: shift by 1UL rather than 1 to fix sign extension error

2016-12-14 Thread Mark Rutland
On Wed, Dec 14, 2016 at 09:40:02AM +0800, Boqun Feng wrote: > On Wed, Dec 14, 2016 at 08:47:55AM +0800, Boqun Feng wrote: > > On Tue, Dec 13, 2016 at 10:36:47AM -0800, Paul E. McKenney wrote: > > > On Wed, Dec 14, 2016 at 02:09:27AM +0800, Boqun Feng wrote: > > > > #define

Re: [PATCH 6/6] media/cobalt: use pci_irq_allocate_vectors

2016-12-14 Thread Hans Verkuil
On 14/12/16 11:47, Christoph Hellwig wrote: On Wed, Dec 14, 2016 at 11:37:17AM +0100, Hans Verkuil wrote: Completely forgot this. Is it OK to queue it for 4.11? Or is it blocking other follow-up work you want to do for 4.10? My plan was to see if Bjorn would take the patch to do the trivial

[PATCH v2] KVM: x86: avoid redundant REQ_EVENT

2016-12-14 Thread Denis Plotnikov
When processing KVM_REQ_EVENT, apic_update_ppr is called which may set KVM_REQ_EVENT again if the recalculated value of PPR becomes smaller than the previous one. This results in cancelling the guest entry and reiterating in vcpu_enter_guest. However this is unnecessary because at this point

xhci_reset_endpoint() doesn't reset endpoint

2016-12-14 Thread Michal Necasek
Hi Mathias, We have run into a problem with a USB printer which we're quite confident is a bug in the Linux xHCI driver. There is no problem when the same printer is plugged into a port managed by the EHCI driver. The core problem is that xhci_reset_endpoint() doesn't do anything, and

Re: [PATCH 2/3] selftests: do not require bash to run bpf tests

2016-12-14 Thread Daniel Borkmann
On 12/14/2016 11:58 AM, Rolf Eike Beer wrote: From b9d6c1b7427d708ef2d4d57aac17b700b3694d71 Mon Sep 17 00:00:00 2001 From: Rolf Eike Beer Date: Wed, 14 Dec 2016 09:58:12 +0100 Subject: [PATCH 2/3] selftests: do not require bash to run bpf tests Nothing in this minimal script seems to require

Re: Fw: [lkp-developer] [sched,rcu] cf7a2dca60: [No primary change] +186% will-it-scale.time.involuntary_context_switches

2016-12-14 Thread Paul E. McKenney
On Wed, Dec 14, 2016 at 10:54:25AM +0100, Michal Hocko wrote: > On Tue 13-12-16 07:14:08, Paul E. McKenney wrote: > > Just FYI for the moment... > > > > So even with the slowed-down checking, making cond_resched() do what > > cond_resched_rcu_qs() does results in a smallish but quite measurable >

Re: [PATCH linux v1 4/4] arm: dts: Add dt-binding to support seven segment display on zaius

2016-12-14 Thread Russell King - ARM Linux
On Wed, Dec 14, 2016 at 10:00:46AM +0100, Arnd Bergmann wrote: > On Wednesday, December 14, 2016 9:55:47 AM CET Arnd Bergmann wrote: > > According to your introductory mail, the interface is assumed to be > > a 74HC164. Should we use that ID in the compatible string? > > > > We can always add

[PATCH] media: platform: s3c-camif: constify v4l2_subdev_ops structures

2016-12-14 Thread Bhumika Goyal
Check for v4l2_subdev_ops structures that are only passed as an argument to the function v4l2_subdev_init. This argument is of type const, so v4l2_subdev_ops structures having this property can also be declared const. Done using Coccinelle: @r1 disable optional_qualifier @ identifier i; position

Re: [PATCH] binder: replace kzalloc with kmem_cache

2016-12-14 Thread Greg KH
On Wed, Dec 14, 2016 at 10:39:16AM +0800, Ganesh Mahendran wrote: > Hi, Greg: > > Sorry for the late response. > > On Tue, Nov 22, 2016 at 02:53:02PM +0100, Greg KH wrote: > > On Tue, Nov 22, 2016 at 07:17:30PM +0800, Ganesh Mahendran wrote: > > > This patch use kmem_cache to allocate/free

RE: [PATCH] arm/dts: ls1021a: Add dma-coherent property to usb3 node

2016-12-14 Thread Jerry Huang
> -Original Message- > From: Changming Huang [mailto:jerry.hu...@nxp.com] > Sent: Wednesday, November 23, 2016 3:15 PM > To: robh...@kernel.org; mark.rutl...@arm.com; li...@armlinux.org.uk > Cc: devicet...@vger.kernel.org; linux-arm-ker...@lists.infradead.org; linux- >

Re: [PATCH v2 1/2] iio: adc: hx711: Add DT binding for avia,hx711

2016-12-14 Thread Lars-Peter Clausen
On 12/14/2016 11:34 AM, Andreas Klinger wrote: > Hi Lars-Peter, > > Lars-Peter Clausen schrieb am Wed, 14. Dec 11:11: >> On 12/14/2016 10:59 AM, Andreas Klinger wrote: >>> Add DT bindings for avia,hx711 >>> Add vendor avia to vendor list >>> >>> Signed-off-by: Andreas Klinger >>> --- >>>

[PATCH] USB: serial: f81534: Detect errors from f81534_logic_to_phy_port()

2016-12-14 Thread Geert Uytterhoeven
With gcc 4.1.2: drivers/usb/serial/f81534.c: In function ‘f81534_port_probe’: drivers/usb/serial/f81534.c:1250: warning: comparison is always false due to limited range of data type f81534_logic_to_phy_port() may return a negative error value, which is ignored by assigning it to u8

[PATCH] spi: fsl-lpspi: Pre-initialize ret in fsl_lpspi_transfer_one_msg()

2016-12-14 Thread Geert Uytterhoeven
With gcc 4.1.2: drivers/spi/spi-fsl-lpspi.c: In function ‘fsl_lpspi_transfer_one_msg’: drivers/spi/spi-fsl-lpspi.c:369: warning: ‘ret’ may be used uninitialized in this function If the message contains no transfers, the function will set the message's status to an uninitialized value,

Re: [PATCH V5] i2c: designware: fix wrong Tx/Rx FIFO for ACPI

2016-12-14 Thread Jarkko Nikula
On 12/14/2016 11:23 AM, Tin Huynh wrote: ACPI always sets Tx/Rx FIFO to 32. This configuration will cause problem if the IP core supports a FIFO size of less than 32. The driver should read the FIFO size from the IP and select the smaller one of the two. Signed-off-by: Tin Huynh ---

[PATCH] arch: x86: kernel: fixed unused label issue

2016-12-14 Thread Piotr Gregor
The patch_default label is only used from within case PARAVIRT_PATCH(pv_lock_ops.queued_spin_unlock) and case PARAVIRT_PATCH(pv_lock_ops.vcpu_is_preempted) i.e. when #if defined(CONFIG_PARAVIRT_SPINLOCKS) is true. Therefore no code jumps to this label in case

[PATCH] acct: fix coding style issue

2016-12-14 Thread GaoShengWu
Line 449 of acct.c violates chapter 3 of CodingStyle - Use one space around '==' . Signed-off-by: GaoShengWu --- checkpatch.pl complained about the following missing space: ERROR: spaces required around that '==' (ctx:VxV) #449: FILE: kernel/acct.c:449: +#if ACCT_VERSION==2

Re: [PATCH v2 1/4] siphash: add cryptographically secure hashtable function

2016-12-14 Thread Hannes Frederic Sowa
Hello, On 14.12.2016 04:59, Jason A. Donenfeld wrote: > SipHash is a 64-bit keyed hash function that is actually a > cryptographically secure PRF, like HMAC. Except SipHash is super fast, > and is meant to be used as a hashtable keyed lookup function. Can you show or cite benchmarks in

RE: [PATCH v6 2/2] crypto: add virtio-crypto driver

2016-12-14 Thread Gonglei (Arei)
Hi, > > Subject: Re: [PATCH v6 2/2] crypto: add virtio-crypto driver > > > > On 12/12/2016 11:05 PM, Michael S. Tsirkin wrote: > > On Mon, Dec 12, 2016 at 06:54:07PM +0800, Herbert Xu wrote: > >> On Mon, Dec 12, 2016 at 06:25:12AM +, Gonglei (Arei) wrote: > >>> Hi, Michael & Herbert > >>>

Re: page allocation stall in kernel 4.9 when copying files from one btrfs hdd to another

2016-12-14 Thread admin
Hi, I verified the log files and see no prior oom killer invocation. Unfortunately the machine has been rebooted since. Next time it happens, I will also look in dmesg. Thanks, David Arendt Michal Hocko – Wed., 14. December 2016 11:31 > Btw. the stall should be preceded by the OOM killer

Re: [PATCH linux v1 4/4] arm: dts: Add dt-binding to support seven segment display on zaius

2016-12-14 Thread Russell King - ARM Linux
On Wed, Dec 14, 2016 at 11:06:35AM +, Russell King - ARM Linux wrote: > On Wed, Dec 14, 2016 at 10:00:46AM +0100, Arnd Bergmann wrote: > > On Wednesday, December 14, 2016 9:55:47 AM CET Arnd Bergmann wrote: > > > According to your introductory mail, the interface is assumed to be > > > a

Re: [v5,1/6] usb: separate out sysdev pointer from usb_bus

2016-12-14 Thread Alexander Sverdlin
Hi! On 17/11/16 12:43, Sriram Dash wrote: > From: Arnd Bergmann > > For xhci-hcd platform device, all the DMA parameters are not > configured properly, notably dma ops for dwc3 devices. > > The idea here is that you pass in the parent of_node along with > the child device pointer, so it would

[PATCH 2/3] selftests: do not require bash to run bpf tests

2016-12-14 Thread Rolf Eike Beer
>From b9d6c1b7427d708ef2d4d57aac17b700b3694d71 Mon Sep 17 00:00:00 2001 From: Rolf Eike Beer Date: Wed, 14 Dec 2016 09:58:12 +0100 Subject: [PATCH 2/3] selftests: do not require bash to run bpf tests Nothing in this minimal script seems to require bash. We often run these tests on embedded

[PATCH v7 0/1] virtio-crypto: add Linux driver

2016-12-14 Thread Gonglei
v7: - fix "BUG: smp_processor_id() in preemptible [] code" reported by Halil, using get_cpu/put_cpu instead of calling smp_processor_id() directly. - fix a possible spinlock recursion in virtcrypto_dataq_callback(), we should release the spinlock before invoking the callback. -

[PATCH v7 1/1] crypto: add virtio-crypto driver

2016-12-14 Thread Gonglei
This patch introduces virtio-crypto driver for Linux Kernel. The virtio crypto device is a virtual cryptography device as well as a kind of virtual hardware accelerator for virtual machines. The encryption anddecryption requests are placed in the data queue and are ultimately handled by

Re: [PATCH V5] i2c: designware: fix wrong Tx/Rx FIFO for ACPI

2016-12-14 Thread Mika Westerberg
On Wed, Dec 14, 2016 at 04:23:58PM +0700, Tin Huynh wrote: > ACPI always sets Tx/Rx FIFO to 32. This configuration will > cause problem if the IP core supports a FIFO size of less than 32. > The driver should read the FIFO size from the IP and select the smaller > one of the two. > >

Re: [RFC] perf/x86/intel/uncore: pmu->type->single_fixed question

2016-12-14 Thread Jiri Olsa
On Mon, Dec 12, 2016 at 02:49:03PM +, Liang, Kan wrote: > > > > I really would prefer to move the thing to its own PMU. > > The patch as below creates a new PMU to fix the issue. > > Jirka, could you please try the patch on your machine? > > > Thanks, > Kan > --- > From

Re: [PATCH v2 8/9] openrisc: Updates after openrisc.net has been lost

2016-12-14 Thread Stafford Horne
Hi Geert, On Wed, Dec 14, 2016 at 09:57:11AM +0100, Geert Uytterhoeven wrote: > Hi Stafford, Stefan, > > On Mon, Nov 14, 2016 at 2:30 PM, Stafford Horne wrote: > > The openrisc.net domain expired and was taken over by squatters. > > These updates point documentation to the new domain, mailing

Samsung SSD 1.92TB PM863 Enterprise 2.5" SATA3 errors withc stable 4.4.34

2016-12-14 Thread Vasiliy Tolstov
Hi! I have stable problems with all Samsung SSD drivers like PM863 and EVO 850 Pro. Time after time scsi bus reset link with messages: [ 2477.973617] ata1: exception Emask 0x50 SAct 0x0 SErr 0x4090800 action 0xe frozen [ 2477.975036] ata1: irq_stat 0x00400040, connection status changed [

[RFC PATCH] Memory hotplug support for arm64 platform

2016-12-14 Thread Maciej Bielski
This patch relates to the work previously announced in [1]. This builds on the work by Scott Branden [2] and, henceforth, it needs to be applied on top of Scott's patches [2]. Comments are very welcome. Changes from the original patchset and known issues: - Compared to Scott's original

Re: [GIT PULL] arm64 updates for 4.10

2016-12-14 Thread Catalin Marinas
On Tue, Dec 13, 2016 at 04:58:33PM -0800, Linus Torvalds wrote: > On Tue, Dec 13, 2016 at 11:21 AM, Catalin Marinas > wrote: > > > > Please pull the arm64 updates for 4.10 below. > > Mind checking that I got the conflict resolution right? > > The conflict looked completely trivial, but with

Re: partial bluetooth success on n900 [was Re: bluetooth/uart timeout handling]

2016-12-14 Thread Pali Rohár
On Wednesday 19 October 2016 11:25:06 Pavel Machek wrote: > Hi! > > [Ccing lists.] > > > Can you push the patch, which gets further than negotiation into > > some git branch available to me? I tried to apply your patch to > > my code, but it did not work for me. > > Ok, I've pushed the branch

Re: Samsung SSD 1.92TB PM863 Enterprise 2.5" SATA3 errors withc stable 4.4.34

2016-12-14 Thread Johannes Thumshirn
On Wed, Dec 14, 2016 at 03:07:48PM +0300, Vasiliy Tolstov wrote: > Hi! I have stable problems with all Samsung SSD drivers like PM863 and > EVO 850 Pro. > > Time after time scsi bus reset link with messages: > [ 2477.973617] ata1: exception Emask 0x50 SAct 0x0 SErr 0x4090800 > action 0xe frozen >

Re: [PATCH] n900 device tree: cleanup

2016-12-14 Thread Pali Rohár
On Wednesday 07 December 2016 04:10:48 Sebastian Reichel wrote: > Hi Tony, > > It looks like this fell through the cracks. Apart from inconsistent > patch subject: > > Reviewed-By: Sebastian Reichel Fine for me too. Reviewed-By: Pali Rohár > -- Sebastian > > On Tue, Oct 11, 2016 at

[PATCH] spi: SPI_FSL_DSPI should depend on HAS_DMA

2016-12-14 Thread Geert Uytterhoeven
If NO_DMA=y: ERROR: "bad_dma_ops" [drivers/spi/spi-fsl-dspi.ko] undefined! Add a dependency on HAS_DMA to fix this. Signed-off-by: Geert Uytterhoeven --- drivers/spi/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig index

[PATCH] iio: adc: TI_AM335X_ADC should depend on HAS_DMA

2016-12-14 Thread Geert Uytterhoeven
If NO_DMA=y: ERROR: "bad_dma_ops" [drivers/iio/adc/ti_am335x_adc.ko] undefined! Add a dependency on HAS_DMA to fix this. Signed-off-by: Geert Uytterhoeven --- drivers/iio/adc/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iio/adc/Kconfig

Re: [PATCH linux v1 2/4] drivers: misc: Character device driver for seven segment display

2016-12-14 Thread Russell King - ARM Linux
On Tue, Dec 13, 2016 at 11:55:02PM -0800, Jaghathiswari Rankappagounder Natarajan wrote: > +int seven_seg_setup_cdev(struct seven_seg_disp_dev *disp_dev, > + void (*update_disp_data)(struct device *, u16 data)) > +{ > + struct device *dev; > + int err; > + > + dev =

Re: [PATCH v2] iommu/intel-iommu: fix pasid table size encoding

2016-12-14 Thread Mika Kuoppala
Jacob Pan writes: > Different encodings are used to represent supported PASID bits > and number of PASID table entries. > The current code assigns ecap_pss directly to extended context > table entry PTS which is wrong and could result in writing > non-zero bits to the reserved fields. IOMMU

Re: [PATCH v2 2/4] KVM: x86: replace kvm_apic_id with kvm_{x,x2}apic_id

2016-12-14 Thread David Hildenbrand
Am 13.12.2016 um 17:29 schrieb Radim Krčmář: There were three calls sites: - recalculate_apic_map and kvm_apic_match_physical_addr, where it would only complicate implementation of x2APIC hotplug; - in apic_debug, where it was still somewhat preserved, but keeping the old function just

Re: [PATCH linux v1 0/4] Seven segment display support

2016-12-14 Thread Thomas Petazzoni
Hello, On Tue, 13 Dec 2016 23:55:00 -0800, Jaghathiswari Rankappagounder Natarajan wrote: > Documentation for the binding which provides an interface for adding clock, > data and clear signal GPIO lines to control seven segment display. > > The platform device driver provides an API for

Re: [PATCH v2 1/4] siphash: add cryptographically secure hashtable function

2016-12-14 Thread Jason A. Donenfeld
Hi David, On Wed, Dec 14, 2016 at 10:56 AM, David Laight wrote: > ... >> +u64 siphash24(const u8 *data, size_t len, const u8 key[SIPHASH24_KEY_LEN]) > ... >> + u64 k0 = get_unaligned_le64(key); >> + u64 k1 = get_unaligned_le64(key + sizeof(u64)); > ... >> + m =

Re: Samsung SSD 1.92TB PM863 Enterprise 2.5" SATA3 errors withc stable 4.4.34

2016-12-14 Thread Greg KH
On Wed, Dec 14, 2016 at 03:07:48PM +0300, Vasiliy Tolstov wrote: > Hi! I have stable problems with all Samsung SSD drivers like PM863 and > EVO 850 Pro. > > Time after time scsi bus reset link with messages: > [ 2477.973617] ata1: exception Emask 0x50 SAct 0x0 SErr 0x4090800 > action 0xe frozen >

[PATCH v5] media: Driver for Toshiba et8ek8 5MP sensor

2016-12-14 Thread Pavel Machek
Add driver for et8ek8 sensor, found in Nokia N900 main camera. Can be used for taking photos in 2.5MP resolution with fcam-dev. Signed-off-by: Ivaylo Dimitrov Signed-off-by: Pavel Machek --- From v4 I did cleanups to coding style and removed various oddities. Exposure value is now in native

Re: [PATCH 4.8 00/33] 4.8.15-stable review

2016-12-14 Thread Greg Kroah-Hartman
On Tue, Dec 13, 2016 at 08:13:01PM -0800, Guenter Roeck wrote: > On 12/13/2016 09:16 AM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.8.15 release. > > There are 33 patches in this series, all will be posted as a response > > to this one. If anyone has any

Re: [PATCH v2 3/4] secure_seq: use siphash24 instead of md5_transform

2016-12-14 Thread Jason A. Donenfeld
Hi David, On Wed, Dec 14, 2016 at 10:51 AM, David Laight wrote: > From: Jason A. Donenfeld >> Sent: 14 December 2016 00:17 >> This gives a clear speed and security improvement. Rather than manually >> filling MD5 buffers, we simply create a layout by a simple anonymous >> struct, for which gcc

Re: partial bluetooth success on n900 [was Re: bluetooth/uart timeout handling]

2016-12-14 Thread Pavel Machek
Hi! > > [ 220.248596] tty ttyO1: Radio packet sent > > [ 220.249328] Bluetooth: hci0: Frame reassembly failed (-84) > > [ 220.272949] tty ttyO1: wakeup received: 1 -> 0 > > [ 221.283477] tty ttyO1: radio packet timeout! > > [ 221.283630] enqueue: hu c304cc80 skb cd4a9b40 > > [ 223.363372]

[PATCH] openrisc: Add _text symbol to fix ksym build error

2016-12-14 Thread Stafford Horne
The build report reports: .tmp_kallsyms1.o: In function `kallsyms_relative_base': >> (.rodata+0x8a18): undefined reference to `_text' This is when using 'make alldefconfig'. Adding this _text symbol to mark the start of the kernel as in other architecture fixes this. Signed-off-by: Stafford

Re: [PATCH linux v1 0/4] Seven segment display support

2016-12-14 Thread Greg KH
On Wed, Dec 14, 2016 at 01:45:30PM +0100, Thomas Petazzoni wrote: > Hello, > > On Tue, 13 Dec 2016 23:55:00 -0800, Jaghathiswari Rankappagounder > Natarajan wrote: > > > Documentation for the binding which provides an interface for adding clock, > > data and clear signal GPIO lines to control

Re: undefined reference to `_text'

2016-12-14 Thread Stafford Horne
On Wed, Dec 14, 2016 at 05:00:22AM +0800, kbuild test robot wrote: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > master > head: b78b499a67c3f77aeb6cd0b54724bc38b141255d > commit: 7c7808ce107d63e158dbbc3af085980985a0c3c4 openrisc: prevent VGA > console, fix

Re: [PATCH 1/1] Fixed to BUG_ON to WARN_ON def

2016-12-14 Thread Tariq Toukan
Thanks Ozgur for your report. On 12/12/2016 8:18 PM, Leon Romanovsky wrote: On Mon, Dec 12, 2016 at 03:04:28PM +0200, Ozgur Karatas wrote: Dear Romanovsky; Please avoid top-posting in your replies. Thanks I'm trying to learn english and I apologize for my mistake words and phrases. So, I

Re: [PATCH v5] media: Driver for Toshiba et8ek8 5MP sensor

2016-12-14 Thread Pali Rohár
Hi! See inlined some my notes. On Wednesday 14 December 2016 13:24:51 Pavel Machek wrote: > > Add driver for et8ek8 sensor, found in Nokia N900 main camera. Can be > used for taking photos in 2.5MP resolution with fcam-dev. > > Signed-off-by: Ivaylo Dimitrov > Signed-off-by: Pavel Machek >

Re: [PATCH] rcu: shift by 1UL rather than 1 to fix sign extension error

2016-12-14 Thread Boqun Feng
On Wed, Dec 14, 2016 at 10:55:07AM +, Mark Rutland wrote: > On Wed, Dec 14, 2016 at 09:40:02AM +0800, Boqun Feng wrote: > > On Wed, Dec 14, 2016 at 08:47:55AM +0800, Boqun Feng wrote: > > > On Tue, Dec 13, 2016 at 10:36:47AM -0800, Paul E. McKenney wrote: > > > > On Wed, Dec 14, 2016 at

Re: [PATCH v2 1/4] siphash: add cryptographically secure hashtable function

2016-12-14 Thread Jason A. Donenfeld
Hi Hannes, On Wed, Dec 14, 2016 at 12:21 PM, Hannes Frederic Sowa wrote: > Can you show or cite benchmarks in comparison with jhash? Last time I > looked, especially for short inputs, siphash didn't beat jhash (also on > all the 32 bit devices etc.). I assume that jhash is likely faster than

Re: [OpenRISC] [PATCH] openrisc: Add _text symbol to fix ksym build error

2016-12-14 Thread Stafford Horne
Hi Geert, On Wed, Dec 14, 2016 at 01:58:32PM +0100, Geert Uytterhoeven wrote: > Hi Stafford, > > On Wed, Dec 14, 2016 at 1:55 PM, Stafford Horne wrote: > > The build report reports: > > > >.tmp_kallsyms1.o: In function `kallsyms_relative_base': > >>> (.rodata+0x8a18): undefined reference to

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