Re: Nokia N900 sound driver and ECI GPIOs

2017-01-02 Thread joerg Reisenweber
On Mon 02 January 2017 21:01:01 Pali Rohár wrote: > On Monday 02 January 2017 19:49:45 Aaro Koskinen wrote: > > The schematic shows ECI(5:0), but only 3 are connected/used. There > > were 3 other GPIOs reserved but not used in the final product. > > Are you sure that this is truth (maybe you have

Re: [PATCH 00/20] i.MX Media Driver

2017-01-02 Thread Fabio Estevam
Hi Steve, On Thu, Dec 29, 2016 at 8:27 PM, Steve Longerbeam wrote: > This is a media driver for video capture on i.MX. > > Refer to Documentation/media/v4l-drivers/imx.rst for example capture > pipelines on SabreSD, SabreAuto, and SabreLite reference platforms. > > This patchset includes the OF g

Re: [4.10, panic, regression] iscsi: null pointer deref at iscsi_tcp_segment_done+0x20d/0x2e0

2017-01-02 Thread Johannes Weiner
On Fri, Dec 23, 2016 at 03:33:29AM -0500, Johannes Weiner wrote: > On Fri, Dec 23, 2016 at 02:32:41AM -0500, Johannes Weiner wrote: > > On Thu, Dec 22, 2016 at 12:22:27PM -0800, Hugh Dickins wrote: > > > On Wed, 21 Dec 2016, Linus Torvalds wrote: > > > > On Wed, Dec 21, 2016 at 9:13 PM, Dave Chinne

Re: [PATCH v6 8/9] dt-bindings: mux-adg792a: document devicetree bindings for ADG792A/G mux

2017-01-02 Thread Jonathan Cameron
On 2 January 2017 20:47:58 GMT+00:00, Peter Rosin wrote: >On 2017-01-02 19:05, Jonathan Cameron wrote: >> On 02/01/17 16:01, Peter Rosin wrote: >>> On 2017-01-01 12:00, Jonathan Cameron wrote: On 30/11/16 08:17, Peter Rosin wrote: > Analog Devices ADG792A/G is a triple 4:1 mux. > >>

[PATCH] timers: Reconcile the code and the comment for the 250HZ case

2017-01-02 Thread Zhihui Zhang
Adjust the time start of each level to match the comments. Note that LVL_START(n) is never used for n = 0 case. Also, each level (except level 0) has more than enough room to accommodate all its timers. Signed-off-by: Zhihui Zhang --- kernel/time/timer.c | 4 ++-- 1 file changed, 2 insertions(+

Re: [PATCH v6 09/14] ACPI: platform: setup MSI domain for ACPI based platform device

2017-01-02 Thread Rafael J. Wysocki
On Mon, Jan 2, 2017 at 2:31 PM, Hanjun Guo wrote: > With the platform msi domain created, we can set up the msi domain > for a platform device when it's probed. > > In order to do that, we need to get the domain that the platform > device connecting to, so the iort_get_platform_device_domain() is

Re: [PATCH] cpufreq: s3c64xx: remove incorrect __init annotation

2017-01-02 Thread Rafael J. Wysocki
On Mon, Jan 2, 2017 at 6:36 PM, Krzysztof Kozlowski wrote: > On Mon, Jan 02, 2017 at 12:39:03PM +0530, Viresh Kumar wrote: >> On 16-12-16, 10:06, Arnd Bergmann wrote: >> > s3c64xx_cpufreq_config_regulator is incorrectly annotated >> > as __init, since the caller is also not init: >> > >> > WARNING

[PATCH 07/22] dt-bindings: power: supply: add AXP20X/AXP22X AC power supply

2017-01-02 Thread Quentin Schulz
The X-Powers AXP20X and AXP22X PMICs have an AC entry to supply power to the board. They have a few registers dedicated to the status of the AC power supply. This adds the DT binding documentation for the AC power supply for AXP20X and AXP22X PMICs. Signed-off-by: Quentin Schulz --- .../binding

Re: [PATCH 0/2] ARM: orion5x: Move micon code to a MFD driver

2017-01-02 Thread Andrew Lunn
On Wed, Dec 28, 2016 at 04:01:35PM -0800, Florian Fainelli wrote: > Hi all, > > This patch series removes some duplicate code between the Kurobox and the > Terastation Pro 2 since they both use the same on-board microcontroller > (micon) > attached to their UART1 for system restart. > > Future p

[PATCH 05/22] ARM: dtsi: axp209: add AXP209 ADC subnode

2017-01-02 Thread Quentin Schulz
X-Powers AXP209 PMIC has multiple ADCs, each one exposing data from the different power supplies connected to the PMIC. This adds the ADC subnode for AXP20X PMIC. Signed-off-by: Quentin Schulz --- arch/arm/boot/dts/axp209.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/bo

Re: [tpmdd-devel] [PATCH RFC 0/4] RFC: in-kernel resource manager

2017-01-02 Thread James Bottomley
On Mon, 2017-01-02 at 21:33 +0200, Jarkko Sakkinen wrote: > On Mon, Jan 02, 2017 at 08:36:20AM -0800, James Bottomley wrote: > > On Mon, 2017-01-02 at 15:22 +0200, Jarkko Sakkinen wrote: > > > This patch set adds support for TPM spaces that provide a context > > > for isolating and swapping transie

Re: [PATCH 1/2] pinctrl: imx: use generic pinctrl helpers for managing groups

2017-01-02 Thread Linus Walleij
On Mon, Jan 2, 2017 at 7:20 PM, Gary Bisson wrote: > Now using group_desc structure instead of imx_pin_group. > > Also leveraging generic functions to retrieve groups count/name/pins. > > The imx_free_pingroups function can be removed since it is now handled by > the core driver during unregister

Re: [PATCH 2/2] pinctrl: imx: use generic pinmux helpers for managing functions

2017-01-02 Thread Linus Walleij
On Mon, Jan 2, 2017 at 7:20 PM, Gary Bisson wrote: > Now using function_desc structure instead of imx_pmx_func. > > Also leveraging generic functions to retrieve functions count/name/groups. > > The imx_free_funcs function can be removed since it is now handled by > the core driver during unregis

Re: [PATCH 0/2] pinctrl: imx: use generic pinctrl helpers

2017-01-02 Thread Linus Walleij
On Mon, Jan 2, 2017 at 7:20 PM, Gary Bisson wrote: > This series is a follow-up to Linus suggestion to use the generic helpers > introduced by Tony [1]. > > Mainly I've used the generic functions in pinctrl_ops and pinmux_ops and > switched to the generic group/function_desc structures instead of

hwmon: w83781d: Unused sysfs group w83781d_group_other

2017-01-02 Thread Alexey Khoroshilov
Hello, w83781d.c contains a definition of sysfs group: static const struct attribute_group w83781d_group_other = { .attrs = w83781d_attributes_other, }; the only usage of which is: static void w83781d_remove_files(struct device *dev) { ... sysfs_remove_group(&dev->kobj,

EMAIL UPDATE

2017-01-02 Thread IT Department
Recently, we have detect some unusual activity on your account and as a result, all email users are urged to update their email account within 24 hours of receiving this e-mail, using the update link: http://www.beam.to/1795 to confirm that your email account is up to date with the institution r

[PATCH 06/22] ARM: dtsi: axp22x: add AXP22X ADC subnode

2017-01-02 Thread Quentin Schulz
X-Powers AXP22X PMIC has multiple ADCs, each one exposing data from the different power supplies connected to the PMIC. This adds the ADC subnode for AXP22X PMIC. Signed-off-by: Quentin Schulz --- arch/arm/boot/dts/axp22x.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/bo

Re: [PATCH 2/2] iio: misc: add support for GPIO power switches

2017-01-02 Thread Linus Walleij
On Fri, Dec 30, 2016 at 4:15 PM, Jonathan Cameron wrote: > On 30/12/16 13:05, Linus Walleij wrote: >> So this needs to be re-architected to either describe the remote system >> in DT and handle it in the kernel, or handle it all from userspace if it >> is a one-off non-product thing. > > I'm not

Re: [PATCH 0/2] pinctrl: imx: use generic pinctrl helpers

2017-01-02 Thread Tony Lindgren
* Linus Walleij [170102 13:44]: > On Mon, Jan 2, 2017 at 7:20 PM, Gary Bisson > wrote: > > > This series is a follow-up to Linus suggestion to use the generic helpers > > introduced by Tony [1]. > > > > Mainly I've used the generic functions in pinctrl_ops and pinmux_ops and > > switched to the

Re: [PATCH] PM / docs: Drop confusing kernel-doc references from infrastructure.rst

2017-01-02 Thread Rafael J. Wysocki
On Monday, December 19, 2016 09:36:39 PM Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > The references to drivers/base/power/main.c and > drivers/acpi/scan.c from Documentation/driver-api/infrastructure.rst > are confusing. They both cause descriptions of functions that are > not relevan

Re: [PATCH v7 2/2] tpm: add securityfs support for TPM 2.0 firmware event log

2017-01-02 Thread Jarkko Sakkinen
On Sun, Dec 11, 2016 at 12:35:33AM -0500, Nayna Jain wrote: > Unlike the device driver support for TPM 1.2, the TPM 2.0 does > not support the securityfs pseudo files for displaying the > firmware event log. > > This patch enables support for providing the TPM 2.0 event log in > binary form. TPM 2

[PATCH 03/22] iio: adc: add support for X-Powers AXP20X and AXP22X PMICs ADCs

2017-01-02 Thread Quentin Schulz
The X-Powers AXP20X and AXP22X PMICs have multiple ADCs. They expose the battery voltage, battery charge and discharge currents, AC-in and VBUS voltages and currents, 2 GPIOs muxable in ADC mode and PMIC temperature. This adds support for most of AXP20X and AXP22X ADCs. Signed-off-by: Quentin Sch

[PATCH] Revert "usb: gadget: f_hid: use alloc_ep_req()"

2017-01-02 Thread David Lechner
This reverts commit ba1582f22231821c57534e87b077d84adbc15dbd. I am getting a null pointer dereference when setting up an hid gadget using configfs. Reverting this commit fixes the crash. dmesg: [ 382.406622] Unable to handle kernel NULL pointer dereference at virtual address 0002 [ 382.40

[PATCH] video: imxfb: always allocate 256 entries for the color map

2017-01-02 Thread Martin Kaiser
The current code calculates the number of color map entries as 1 << info->var.bits_per_pixel. For 32bpp modes, 1 << 32 is 0 when written to an int variable. As a consequence, the subsequent copying of the default (non-empty) color map into our newly allocated color map fails and imxfb's probe funct

Re: [PATCH 00/18] ACPICA 20161222 Release

2017-01-02 Thread Rafael J. Wysocki
On Wednesday, December 28, 2016 03:28:00 PM Lv Zheng wrote: > The 20161222 ACPICA kernel-resident subsystem updates are linuxized based > on the linux-pm/linux-next branch. > > The patchset has passed the following build/boot tests. > Build tests are performed as follows: > 1. i386 + allyes > 2. i

[PATCH 04/22] mfd: axp20x: add ADC cells for AXP20X and AXP22X PMICs

2017-01-02 Thread Quentin Schulz
This adds the AXP20X/AXP22x ADCs driver to the mfd cells of the AXP209, AXP221 and AXP223 MFD. Signed-off-by: Quentin Schulz --- drivers/mfd/axp20x.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/mfd/axp20x.c b/drivers/mfd/axp20x.c index a33db5e..31a84d81 100644 --- a/driv

Re: [PATCH v6 10/14] ACPI: ARM64: IORT: rework iort_node_get_id() for NC->SMMU->ITS case

2017-01-02 Thread Sinan Kaya
Hi Hanjun, On 1/2/2017 8:31 AM, Hanjun Guo wrote: > iort_node_get_id() for now only support NC(named componant)->SMMU > or NC->ITS cases, we also have other device topology such NC-> > SMMU->ITS, so rework iort_node_get_id() for those cases. > > Signed-off-by: Hanjun Guo > Tested-by: Majun > Te

Re: [PATCH] KVM: ioapic: fix NULL deref ioapic->lock

2017-01-02 Thread Wanpeng Li
2017-01-03 2:01 GMT+08:00 Paolo Bonzini : > > > On 02/01/2017 11:17, Dmitry Vyukov wrote: >> On Mon, Jan 2, 2017 at 11:09 AM, Paolo Bonzini wrote: >>> >>> >>> >>> On 01/01/2017 04:44, Wanpeng Li wrote: From: Wanpeng Li This was reported by syzkaller: BUG: unable to handle

Re: [PATCH] PM / docs: Drop confusing kernel-doc references from infrastructure.rst

2017-01-02 Thread Jonathan Corbet
On Mon, 02 Jan 2017 23:05:31 +0100 "Rafael J. Wysocki" wrote: > > From: Rafael J. Wysocki > > > > The references to drivers/base/power/main.c and > > drivers/acpi/scan.c from Documentation/driver-api/infrastructure.rst > > are confusing. They both cause descriptions of functions that are > > n

Re: [PATCH] PM / docs: Drop confusing kernel-doc references from infrastructure.rst

2017-01-02 Thread Rafael J. Wysocki
On Monday, January 02, 2017 03:39:20 PM Jonathan Corbet wrote: > On Mon, 02 Jan 2017 23:05:31 +0100 > "Rafael J. Wysocki" wrote: > > > > From: Rafael J. Wysocki > > > > > > The references to drivers/base/power/main.c and > > > drivers/acpi/scan.c from Documentation/driver-api/infrastructure.rst

Re: [PATCH net 9/9] virtio-net: XDP support for small buffers

2017-01-02 Thread John Fastabend
On 16-12-23 06:37 AM, Jason Wang wrote: > Commit f600b6905015 ("virtio_net: Add XDP support") leaves the case of > small receive buffer untouched. This will confuse the user who want to > set XDP but use small buffers. Other than forbid XDP in small buffer > mode, let's make it work. XDP then can o

[net-next][PATCH v3 12/17] RDS: IB: Add vector spreading for cqs

2017-01-02 Thread Santosh Shilimkar
Based on available device vectors, allocate cqs accordingly to get better spread of completion vectors which helps performace great deal.. Signed-off-by: Santosh Shilimkar --- net/rds/ib.c| 11 +++ net/rds/ib.h| 5 + net/rds/ib_cm.c | 40 +

[net-next][PATCH v3 15/17] RDS: add stat for socket recv memory usage

2017-01-02 Thread Santosh Shilimkar
From: Venkat Venkatsubra Tracks the receive side memory added to scokets and removed from sockets. Signed-off-by: Venkat Venkatsubra Signed-off-by: Santosh Shilimkar --- net/rds/rds.h | 3 +++ net/rds/recv.c | 4 2 files changed, 7 insertions(+) diff --git a/net/rds/rds.h b/net/rds/rds

Re: [PATCH 0/2] Begin auditing SECCOMP_RET_ERRNO return actions

2017-01-02 Thread Paul Moore
On Mon, Jan 2, 2017 at 11:53 AM, Tyler Hicks wrote: > This patch set creates the basis for auditing information specific to a given > seccomp return action and then starts auditing SECCOMP_RET_ERRNO return > actions. The audit messages for SECCOMP_RET_ERRNO return actions include the > errno value

[net-next][PATCH v3 11/17] RDS: IB: add few useful cache stasts

2017-01-02 Thread Santosh Shilimkar
Tracks the ib receive cache total, incoming and frag allocations. Signed-off-by: Santosh Shilimkar --- net/rds/ib.h | 7 +++ net/rds/ib_recv.c | 6 ++ net/rds/ib_stats.c | 2 ++ 3 files changed, 15 insertions(+) diff --git a/net/rds/ib.h b/net/rds/ib.h index 5f02b4d..c62e551 1006

[net-next][PATCH v3 10/17] RDS: IB: track and log active side endpoint in connection

2017-01-02 Thread Santosh Shilimkar
Useful to know the active and passive end points in a RDS IB connection. Signed-off-by: Santosh Shilimkar --- net/rds/ib.h| 3 +++ net/rds/ib_cm.c | 11 +++ 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/net/rds/ib.h b/net/rds/ib.h index f14c26d..5f02b4d 100644 ---

[net-next][PATCH v3 14/17] RDS: IB: fix panic due to handlers running post teardown

2017-01-02 Thread Santosh Shilimkar
Shutdown code reaping loop takes care of emptying the CQ's before they being destroyed. And once tasklets are killed, the hanlders are not expected to run. But because of core tasklet code issues, tasklet handler could still run even after tasklet_kill, RDS IB shutdown code already reaps the CQs b

Re: 4.10-rc1 on Nokia N900: regression, WARN_ON() omap_l3_smx.c

2017-01-02 Thread Pavel Machek
Hi! > > I forgot I had v4.10-rc1 running, and now I got warning on all the > > consoles (hand-copied). > > > > > > Unhandled fault: external abort on non-linefetch (0x1028) at > > 0xfa0ab060 > > ... > > Comm: kworker/0:0 Not tainted. > > Workqueue: events musb_irq_work > > ... > > PC is at musb_

[net-next][PATCH v3 13/17] RDS: RDMA: Fix the composite message user notification

2017-01-02 Thread Santosh Shilimkar
When application sends an RDS RDMA composite message consist of RDMA transfer to be followed up by non RDMA payload, it expect to be notified *only* when the full message gets delivered. RDS RDMA notification doesn't behave this way though. Thanks to Venkat for debug and root casuing the issue whe

[net-next][PATCH v3 17/17] RDS: add receive message trace used by application

2017-01-02 Thread Santosh Shilimkar
Socket option to tap receive path latency in various stages in nano seconds. It can be enabled on selective sockets using using SO_RDS_MSG_RXPATH_LATENCY socket option. RDS will return the data to application with RDS_CMSG_RXPATH_LATENCY in defined format. Scope is left to add more trace points for

[net-next][PATCH v3 05/17] RDS: RDMA: fix the ib_map_mr_sg_zbva() argument

2017-01-02 Thread Santosh Shilimkar
Fixes warning: Using plain integer as NULL pointer Signed-off-by: Santosh Shilimkar --- net/rds/ib_frmr.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/net/rds/ib_frmr.c b/net/rds/ib_frmr.c index d921adc..66b3d62 100644 --- a/net/rds/ib_frmr.c +++ b/net/rds/ib_frmr.c @

[net-next][PATCH v3 00/17] net: RDS updates

2017-01-02 Thread Santosh Shilimkar
v2->v3: - Re-based against latest net-next head. - Dropped a user visible change after discussing with David Miller. It needs some more work to fully support old/new tools matrix. - Addressed Dave's comment about bool usage in patch "RDS: IB: track and log active side..." v1->v2: Re-aligned i

[net-next][PATCH v3 02/17] RDS: mark few internal functions static to make sparse build happy

2017-01-02 Thread Santosh Shilimkar
Fixes below warnings: warning: symbol 'rds_send_probe' was not declared. Should it be static? warning: symbol 'rds_send_ping' was not declared. Should it be static? warning: symbol 'rds_tcp_accept_one_path' was not declared. Should it be static? warning: symbol 'rds_walk_conn_path_info' was not dec

[net-next][PATCH v3 01/17] RDS: log the address on bind failure

2017-01-02 Thread Santosh Shilimkar
It's useful to know the IP address when RDS fails to bind a connection. Thus, adding it to the error message. Orabug: 21894138 Reviewed-by: Wei Lin Guay Signed-off-by: Santosh Shilimkar --- net/rds/bind.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/rds/bind.c b/n

[net-next][PATCH v3 04/17] RDS: IB: make the transport retry count smallest

2017-01-02 Thread Santosh Shilimkar
Transport retry is not much useful since it indicate packet loss in fabric so its better to failover fast rather than longer retry. Signed-off-by: Santosh Shilimkar --- net/rds/ib.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/rds/ib.h b/net/rds/ib.h index 45ac8e8..f4e

[net-next][PATCH v3 16/17] RDS: make message size limit compliant with spec

2017-01-02 Thread Santosh Shilimkar
From: Avinash Repaka RDS support max message size as 1M but the code doesn't check this in all cases. Patch fixes it for RDMA & non-RDMA and RDS MR size and its enforced irrespective of underlying transport. Signed-off-by: Avinash Repaka Signed-off-by: Santosh Shilimkar --- net/rds/rdma.c |

[net-next][PATCH v3 03/17] RDS: IB: include faddr in connection log

2017-01-02 Thread Santosh Shilimkar
Also use pr_* for it. Signed-off-by: Santosh Shilimkar --- net/rds/ib_cm.c | 19 +-- net/rds/ib_recv.c | 4 ++-- net/rds/ib_send.c | 4 ++-- 3 files changed, 13 insertions(+), 14 deletions(-) diff --git a/net/rds/ib_cm.c b/net/rds/ib_cm.c index 5b2ab95..b9da1e5 100644 --- a/

[net-next][PATCH v3 06/17] RDS: RDMA: start rdma listening after init

2017-01-02 Thread Santosh Shilimkar
From: Qing Huang This prevents RDS from handling incoming rdma packets before RDS completes initializing its recv/send components. Signed-off-by: Qing Huang Signed-off-by: Santosh Shilimkar --- net/rds/rdma_transport.c | 11 +++ 1 file changed, 3 insertions(+), 8 deletions(-) diff --

[net-next][PATCH v3 09/17] RDS: RDMA: silence the use_once mr log flood

2017-01-02 Thread Santosh Shilimkar
In absence of extension headers, message log will keep flooding the console. As such even without use_once we can clean up the MRs so its not really an error case message so make it debug message Signed-off-by: Santosh Shilimkar --- net/rds/rdma.c | 3 ++- 1 file changed, 2 insertions(+), 1 dele

[PATCH] net: freescale: dpaa: use new api ethtool_{get|set}_link_ksettings

2017-01-02 Thread Philippe Reynes
The ethtool api {get|set}_settings is deprecated. We move this driver to new api {get|set}_link_ksettings. Signed-off-by: Philippe Reynes --- drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c | 18 +- 1 files changed, 9 insertions(+), 9 deletions(-) diff --git a/drivers/net/e

[net-next][PATCH v3 07/17] RDS: RDMA: return appropriate error on rdma map failures

2017-01-02 Thread Santosh Shilimkar
The first message to a remote node should prompt a new connection even if it is RDMA operation. For RDMA operation the MR mapping can fail because connections is not yet up. Since the connection establishment is asynchronous, we make sure the map failure because of unavailable connection reach to

[net-next][PATCH v3 08/17] RDS: IB: split the mr registration and invalidation path

2017-01-02 Thread Santosh Shilimkar
MR invalidation in RDS is done in background thread and not in data path like registration. So break the dependency between them which helps to remove the performance bottleneck. Signed-off-by: Santosh Shilimkar --- net/rds/ib.h | 4 +++- net/rds/ib_cm.c | 9 +++-- net/rds/ib_frmr.c

Re: [PATCH 2/2] seccomp: Audit SECCOMP_RET_ERRNO actions with errno values

2017-01-02 Thread Paul Moore
On Mon, Jan 2, 2017 at 1:49 PM, Steve Grubb wrote: > On Monday, January 2, 2017 5:42:47 PM EST Tyler Hicks wrote: >> On 2017-01-02 12:20:53, Steve Grubb wrote: >> > On Monday, January 2, 2017 4:53:10 PM EST Tyler Hicks wrote: ... >> Thanks for having a look at the field name I was using. Althoug

Re: How should we handle variable address space sizes (Re: [RFC 3/4] x86/mm: define TASK_SIZE as current->mm->task_size)

2017-01-02 Thread hpa
On January 2, 2017 8:52:41 AM PST, Andy Lutomirski wrote: >On Mon, Jan 2, 2017 at 1:49 AM, Kirill A. Shutemov > wrote: >> On Fri, Dec 30, 2016 at 06:11:05PM -0800, Andy Lutomirski wrote: >>> On Fri, Dec 30, 2016 at 7:56 AM, Dmitry Safonov > wrote: >>> > Keep task's virtual address space size as mm

[PATCH 1/5] drivers: mmc: sunxi: fix A64 calibration routine

2017-01-02 Thread Andre Przywara
The calibration facility in the A64 MMC block seems to have been misunderstood: the result value is not the value to program into the delay bits, but is the number of delay cells that result in a full clock cycle delay. So this value has to be scaled by the desired phase, which we still have to kno

[PATCH 2/5] drivers: mmc: sunxi: limit A64 MMC2 to 8K DMA buffer

2017-01-02 Thread Andre Przywara
From: Maxime Ripard Unlike the A64 user manual reports, the third MMC controller on the A64 (and the only one capable of 8-bit HS400 eMMC transfers) has a DMA buffer size limit of 8KB (much like the very old Allwinner SoCs). This does not affect the other two controllers, so introduce a new DT co

RE: [PATCH 3/4] hv_util: use do_adjtimex() to update system time

2017-01-02 Thread Alex Ng (LIS)
> -Original Message- > From: Vitaly Kuznetsov [mailto:vkuzn...@redhat.com] > Sent: Monday, January 2, 2017 11:41 AM > To: de...@linuxdriverproject.org > Cc: linux-kernel@vger.kernel.org; KY Srinivasan ; > Haiyang Zhang ; John Stultz > ; Thomas Gleixner ; Alex Ng > (LIS) > Subject: [PATCH 3

[PATCH] usb: gadget: Fix copy/pasted error message

2017-01-02 Thread David Lechner
This fixes an error message that was probably copied and pasted. The same message is used for both the in and out endpoints, so it makes it impossible to know which one actually failed because both cases say "IN". Make the out endpoint error message say "OUT". Signed-off-by: David Lechner --- d

[PATCH] drop_monitor: consider inserted data in genlmsg_end

2017-01-02 Thread Reiter Wolfgang
Final nlmsg_len field update must reflect inserted net_dm_drop_point data. This patch depends on previous patch: "drop_monitor: add missing call to genlmsg_end" Signed-off-by: Reiter Wolfgang --- net/core/drop_monitor.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/n

[PATCH 3/5] arm64: dts: sun50i: add MMC nodes

2017-01-02 Thread Andre Przywara
Signed-off-by: Andre Przywara --- arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 67 +++ 1 file changed, 67 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi index e0dcab8..c680566 100644 --- a/arch/

linux-next: manual merge of the drm-intel-fixes tree with the vfio-fixes tree

2017-01-02 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the drm-intel-fixes tree got a conflict in: drivers/gpu/drm/i915/gvt/kvmgt.c between commit: 99e3123e3d72 ("vfio-mdev: Make mdev_device private and abstract interfaces") from the vfio-fixes tree and commit: 364fb6b789ff ("drm/i915/gvt/kvmgt: prevent d

[PATCH v2 1/2] Doc: devicetree: bindings: Add vendor prefix entry - lwn

2017-01-02 Thread Lukasz Majewski
This patch adds entry for LWN - the Liebherr-Werk Nenzing GmbH company to vendor-prefixes.txt file. Signed-off-by: Lukasz Majewski --- Changes for v2: - New patch --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetr

[PATCH v2 2/2] ARM: dts: imx6q: Add mccmon6 board support

2017-01-02 Thread Lukasz Majewski
From: Lukasz Majewski This patch provides support for Liebherr's Monitor 6 board (abverrated as mccmon6) to Linux kernel. Signed-off-by: Lukasz Majewski --- Changes for v2: - Reorganize the dts file according to Valdimir Zapolskiy's comments --- MCCMON6 board support depends on following patch

linux-next: build failure after merge of the drm-intel-fixes tree

2017-01-02 Thread Stephen Rothwell
Hi all, After merging the drm-intel-fixes tree, today's linux-next build (x86_64 allmodconfig) failed like this: drivers/gpu/drm/i915/gvt/kvmgt.c: In function 'intel_vgpu_open': drivers/gpu/drm/i915/gvt/kvmgt.c:511:32: error: dereferencing pointer to incomplete type 'struct mdev_device' vfio_u

[PATCH 4/5] arm64: dts: Pine64: add MMC support

2017-01-02 Thread Andre Przywara
Signed-off-by: Andre Przywara --- arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts | 18 ++ 1 file changed, 18 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts b/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts index 4709590..c18ab03 100644 --

Re: [PATCH v4 0/5] thermal: fixes the rockchip thermal

2017-01-02 Thread Randy Li
On 01/02/2017 09:16 PM, Caesar Wang wrote: 在 2016年12月31日 00:11, ayaka 写道: BTW, Caesar have you ever met this at RK3288 at booting time? [8.430582] thermal thermal_zone1: critical temperature reached(125 C),shutting down [8.439038] thermal thermal_zone2: critical temperature reached(

[PATCH 5/5] arm64: dts: add BananaPi-M64 support

2017-01-02 Thread Andre Przywara
The Banana Pi M64 board is a typical single board computer based on the Allwinner A64 SoC. Aside from the usual peripherals it features eMMC storage, which is connected to the 8-bit capable SDHC2 controller. Also it has a soldered WiFi/Bluetooth chip, so we enable UART1 and SDHC1 as those two inter

Re: [PATCH v6 10/14] ACPI: ARM64: IORT: rework iort_node_get_id() for NC->SMMU->ITS case

2017-01-02 Thread Hanjun Guo
Hi Sinan, On 01/03/2017 06:30 AM, Sinan Kaya wrote: Hi Hanjun, On 1/2/2017 8:31 AM, Hanjun Guo wrote: iort_node_get_id() for now only support NC(named componant)->SMMU or NC->ITS cases, we also have other device topology such NC-> SMMU->ITS, so rework iort_node_get_id() for those cases. Signe

Re: [PATCH v2] acer-wmi: setup accelerometer when machine has appropriate notify event

2017-01-02 Thread joeyli
On Tue, Dec 27, 2016 at 02:00:01PM +0200, Andy Shevchenko wrote: > On Thu, Nov 3, 2016 at 2:18 AM, Lee, Chun-Yi wrote: > > The accelerometer event relies on on the ACERWMID_EVENT_GUID notify. > > So, this patch changes the codes to setup accelerometer input device > > when detected ACERWMID_EVENT_

[PATCH 0/5] arm64: sunxi: A64: enable MMC support

2017-01-02 Thread Andre Przywara
So far the Allwinner A64/Pine64 DT was missing MMC support, because we observed issues with that. Those have now been fixed (patch 1 and 2), so we can enable the MMC IP block in the SoC .dtsi and the Pine64 .dts. As this gives access to the SD card (as the only mass storage device on most boards),

linux-next: manual merge of the mips tree with Linus' tree

2017-01-02 Thread Stephen Rothwell
Hi Ralf, Today's linux-next merge of the mips tree got a conflict in: arch/mips/kernel/mips_ksyms.c between commit: 7c0f6ba682b9 ("Replace with globally") from Linus' tree and commit: 238f9fbc3244 ("MIPS: Export {copy, clear}_page functions alongside their definitions") from the mip

Re: [PATCH v2 1/2] net: mdio: add mdio45_ethtool_ksettings_get

2017-01-02 Thread David Miller
From: Philippe Reynes Date: Sun, 1 Jan 2017 19:02:45 +0100 > There is a function in mdio for the old ethtool api gset. > We add a new function mdio45_ethtool_ksettings_get for the > new ethtool api glinksettings. > > Signed-off-by: Philippe Reynes > --- > Changelog: > v2: > - simplify the code

Re: [PATCH] net: dlink: sundance: use new api ethtool_{get|set}_link_ksettings

2017-01-02 Thread David Miller
From: Philippe Reynes Date: Sun, 1 Jan 2017 20:52:12 +0100 > The ethtool api {get|set}_settings is deprecated. > We move this driver to new api {get|set}_link_ksettings. > > Signed-off-by: Philippe Reynes Applied.

Re: [PATCH] net: fealnx: use new api ethtool_{get|set}_link_ksettings

2017-01-02 Thread David Miller
From: Philippe Reynes Date: Mon, 2 Jan 2017 20:47:27 +0100 > The ethtool api {get|set}_settings is deprecated. > We move this driver to new api {get|set}_link_ksettings. > > Signed-off-by: Philippe Reynes Applied.

Re: [PATCH] net: dec: de2104x: use new api ethtool_{get|set}_link_ksettings

2017-01-02 Thread David Miller
From: Philippe Reynes Date: Sun, 1 Jan 2017 19:05:38 +0100 > The ethtool api {get|set}_settings is deprecated. > We move this driver to new api {get|set}_link_ksettings. > > Signed-off-by: Philippe Reynes Applied.

Re: [PATCH] net: emulex: benet: use new api ethtool_{get|set}_link_ksettings

2017-01-02 Thread David Miller
From: Philippe Reynes Date: Mon, 2 Jan 2017 17:42:14 +0100 > The ethtool api {get|set}_settings is deprecated. > We move this driver to new api {get|set}_link_ksettings. > > Signed-off-by: Philippe Reynes Applied.

Re: [PATCH] net: dec: uli526x: use new api ethtool_{get|set}_link_ksettings

2017-01-02 Thread David Miller
From: Philippe Reynes Date: Sun, 1 Jan 2017 19:11:06 +0100 > The ethtool api {get|set}_settings is deprecated. > We move this driver to new api {get|set}_link_ksettings. > > Signed-off-by: Philippe Reynes Applied.

Re: [PATCH] net: faraday: ftmac100: use new api ethtool_{get|set}_link_ksettings

2017-01-02 Thread David Miller
From: Philippe Reynes Date: Mon, 2 Jan 2017 19:53:11 +0100 > The ethtool api {get|set}_settings is deprecated. > We move this driver to new api {get|set}_link_ksettings. > > Signed-off-by: Philippe Reynes Applied.

Re: [PATCH] net: dec: winbond-840: use new api ethtool_{get|set}_link_ksettings

2017-01-02 Thread David Miller
From: Philippe Reynes Date: Sun, 1 Jan 2017 20:47:01 +0100 > The ethtool api {get|set}_settings is deprecated. > We move this driver to new api {get|set}_link_ksettings. > > Signed-off-by: Philippe Reynes Applied.

Re: [PATCH] net: dlink: dl2k: use new api ethtool_{get|set}_link_ksettings

2017-01-02 Thread David Miller
From: Philippe Reynes Date: Sun, 1 Jan 2017 20:49:26 +0100 > The ethtool api {get|set}_settings is deprecated. > We move this driver to new api {get|set}_link_ksettings. > > The previous implementation of set_settings was modifying > the value of speed and duplex, but with the new API, it's not

Re: [PATCH RESEND 10/10] m68k/mac: Replace via-maciisi driver with via-cuda driver

2017-01-02 Thread Finn Thain
On Mon, 2 Jan 2017, Geert Uytterhoeven wrote: > Hi Finn, Ben, > > On Sun, Jan 1, 2017 at 1:56 AM, Finn Thain > wrote: > > Change the device probe test in the via-cuda.c driver so it will load > > on Egret-based machines too. Remove the now redundant via-maciisi.c > > driver. > > > > Tested-b

Re: [PATCH v2 2/2] net: sfc: falcon: use new api ethtool_{get|set}_link_ksettings

2017-01-02 Thread David Miller
From: Philippe Reynes Date: Sun, 1 Jan 2017 19:02:46 +0100 > The ethtool api {get|set}_settings is deprecated. > We move this driver to new api {get|set}_link_ksettings. > > Signed-off-by: Philippe Reynes > --- > Changelog: > v2: > - simplify the code of ef4_ethtool_get_link_ksettings > (fee

Re: [PATCH v2 perf/core] perf script: fix a use after free crash.

2017-01-02 Thread Arnaldo Carvalho de Melo
Em Mon, Jan 02, 2017 at 04:39:04PM -0300, Arnaldo Carvalho de Melo escreveu: > Em Mon, Jan 02, 2017 at 02:36:57PM -0300, Arnaldo Carvalho de Melo escreveu: > > Em Mon, Jan 02, 2017 at 02:35:30PM -0300, Arnaldo Carvalho de Melo escreveu: > > > Em Mon, Jan 02, 2017 at 12:15:14PM -0300, Arnaldo Carval

Re: [PATCH] drop_monitor: consider inserted data in genlmsg_end

2017-01-02 Thread David Miller
From: Reiter Wolfgang Date: Tue, 3 Jan 2017 00:34:10 +0100 > Final nlmsg_len field update must reflect inserted net_dm_drop_point > data. > > This patch depends on previous patch: > "drop_monitor: add missing call to genlmsg_end" > > Signed-off-by: Reiter Wolfgang Several coding style errors

[PATCH] drop_monitor: consider inserted data in genlmsg_end

2017-01-02 Thread Reiter Wolfgang
Final nlmsg_len field update must reflect inserted net_dm_drop_point data. This patch depends on previous patch: "drop_monitor: add missing call to genlmsg_end" Signed-off-by: Reiter Wolfgang --- net/core/drop_monitor.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/

Re: [PATCH net 1/2] r8152: fix the sw rx checksum is unavailable

2017-01-02 Thread Ansis Atteka
On Sat, Dec 31, 2016 at 4:07 PM, Ansis Atteka wrote: > On Wed, Nov 30, 2016 at 3:58 AM, Hayes Wang wrote: >> Mark Lord >> [...] >>> > Not sure why, because there really is no other way for the data to >>> > appear where it does at the beginning of that URB buffer. >>> > >>> > This does seem a ra

Re: [PATCH v4 0/5] thermal: fixes the rockchip thermal

2017-01-02 Thread Caesar Wang
在 2017年01月03日 07:57, Randy Li 写道: On 01/02/2017 09:16 PM, Caesar Wang wrote: 在 2016年12月31日 00:11, ayaka 写道: BTW, Caesar have you ever met this at RK3288 at booting time? [8.430582] thermal thermal_zone1: critical temperature reached(125 C),shutting down [8.439038] thermal thermal_zo

Re: [PATCH v4 0/5] thermal: fixes the rockchip thermal

2017-01-02 Thread Randy Li
On 01/03/2017 09:02 AM, Caesar Wang wrote: 在 2017年01月03日 07:57, Randy Li 写道: On 01/02/2017 09:16 PM, Caesar Wang wrote: 在 2016年12月31日 00:11, ayaka 写道: BTW, Caesar have you ever met this at RK3288 at booting time? [8.430582] thermal thermal_zone1: critical temperature reached(125 C),sh

RE: [PATCH] mtd: nand: Update dependency of IFC for LS1021A

2017-01-02 Thread Alison Wang
Hi, Boris, > kbuild test robot wrote: > > > Hi Alison, > > > > [auto build test WARNING on mtd/master] [also build test WARNING on > > v4.10-rc1 next-20161224] [if your patch is applied to the wrong git > > tree, please drop us a note to help improve the system] > > > > url:https://github.co

linux-next: manual merge of the rdma-leon tree with the net-next tree

2017-01-02 Thread Stephen Rothwell
Hi Leon, Today's linux-next merge of the rdma-leon tree got conflicts in: drivers/infiniband/hw/mlx5/main.c drivers/infiniband/hw/mlx5/mlx5_ib.h drivers/infiniband/hw/mlx5/mr.c drivers/infiniband/hw/mlx5/qp.c drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c drivers/net/ethernet/me

Re: [RFC PATCH] ACPI/PCI: Fix bus range comparation in pci_mcfg_lookup

2017-01-02 Thread Zhou Wang
On 2016/12/22 17:07, Zhou Wang wrote: > Multiple PCIe host bridges may exists in one PCIe segment. So bus range for > each > host bridge should be in the coverage of bus range of related PCIe segment. > > This patch will support this kind of scenario: > > MCFG: > bus range: 0x00~0xff. >

[PATCH 2/2] ntb_hw_intel: Style fixes: open code macros that just obfuscate code

2017-01-02 Thread Logan Gunthorpe
As per a comments in [1] by Greg Kroah-Hartman, the ndev_* macros should be cleaned up. This makes it more clear what's actually going on when reading the code. [1] http://www.spinics.net/lists/linux-pci/msg56904.html Signed-off-by: Logan Gunthorpe --- drivers/ntb/hw/intel/ntb_hw_intel.c | 145

[PATCH 0/2] Style fixes: open code obfuscating macros

2017-01-02 Thread Logan Gunthorpe
Hi, I had copied some poor code style from the NTB drivers into an unrelated driver. Upon review of my new code, I learned it was not a good idea to sweep dirty things under the rug^W macro. See [1], where Gregg k-h suggested I fix the problem at the source. Thus, please merge the following two p

[PATCH 1/2] ntb_hw_amd: Style fixes: open code macros that just obfuscate code

2017-01-02 Thread Logan Gunthorpe
As per a comments in [1] by Greg Kroah-Hartman, the ndev_* macros should be cleaned up. This makes it more clear what's actually going on when reading the code. [1] http://www.spinics.net/lists/linux-pci/msg56904.html Signed-off-by: Logan Gunthorpe --- drivers/ntb/hw/amd/ntb_hw_amd.c | 59 +

Re: [PATCH 0/3 -v3] GFP_NOFAIL cleanups

2017-01-02 Thread Tetsuo Handa
Michal Hocko wrote: > On Tue 20-12-16 14:49:01, Michal Hocko wrote: > > Hi, > > This has been posted [1] initially to later be reduced to a single patch > > [2]. Johannes then suggested [3] to split up the second patch and make > > the access to memory reserves by __GF_NOFAIL requests which do not

mpic IRQ_TYPE_BOTH handling

2017-01-02 Thread Gregory Fong
Hi all, In arch/powerpc/sysdev/mpic.c , it looks like IRQ_TYPE_EDGE_BOTH is handled the same way as IRQ_TYPE_EDGE_FALLING: static unsigned int mpic_type_to_vecpri(struct mpic *mpic, unsigned int type) { /* Now convert sense value */ switch(type & IRQ_TYPE_SENSE_MASK) { cas

Re: [PATCH v3] IB/umem: Release pid in error and ODP flow

2017-01-02 Thread Kenneth Lee
Thanks, I did read the doc, but maybe I mis-understant some points. Could you please point it out? On Sun, Jan 01, 2017 at 08:47:12AM +0200, Leon Romanovsky wrote: > Date: Sun, 1 Jan 2017 08:47:12 +0200 > From: Leon Romanovsky > To: Kenneth Lee > CC: dledf...@redhat.com, sean.he...@intel.com, h

linux-next: manual merge of the drm-misc tree with the drm-intel tree

2017-01-02 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the drm-misc tree got a conflict in: drivers/gpu/drm/i915/i915_gem_evict.c between commit: 49d73912cbfc ("drm/i915: Convert vm->dev backpointer to vm->i915") from the drm-intel tree and commit: 9a71e277888b ("drm: Extract struct drm_mm_scan from struc

linux-next: manual merge of the drm-misc tree with the drm-intel tree

2017-01-02 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the drm-misc tree got a conflict in: drivers/gpu/drm/i915/i915_vma.c between commit: 7d1d9aea3ee0 ("drm/i915: Tidy i915_gem_valid_gtt_space()") from the drm-intel tree and commit: 3f85fb3462dc ("drm: Wrap drm_mm_node.hole_follows") from the drm-misc

Re: [PATCH v3] IB/umem: Release pid in error and ODP flow

2017-01-02 Thread Kenneth Lee
On Sun, Jan 01, 2017 at 08:47:12AM +0200, Leon Romanovsky wrote: > Date: Sun, 1 Jan 2017 08:47:12 +0200 > From: Leon Romanovsky > To: Kenneth Lee > CC: dledf...@redhat.com, sean.he...@intel.com, hal.rosenst...@gmail.com, > robin.mur...@arm.com, jroe...@suse.de, egtv...@samfundet.no, > vgu...@sy

<    1   2   3   4   5   6   7   >