[PATCH 11/15] net: thunderx: Use netdev's name for naming VF's interrupts

2016-07-11 Thread sunil . kovvuri
From: Sunil Goutham This patch changes the way VF's irqs are visible in /proc/interrupts. Instead of VF id, logical interface's netdev name is used for IRQ naming and also all secondary VF's interrupts in multiqset config use primary VF's netdev name. Signed-off-by: Sunil Goutham --- drivers/n

[PATCH 09/15] net: thunderx: Add QSGMII interface type support

2016-07-11 Thread sunil . kovvuri
From: Sunil Goutham This patch adds support for QSGMII interface type to the BGX driver. This type of interface is supported by 81xx SOC. Signed-off-by: Sunil Goutham --- drivers/net/ethernet/cavium/thunder/thunder_bgx.c | 55 ++- drivers/net/ethernet/cavium/thunder/thunder

Re: [PATCH v2 05/13] sched: Enable SD_BALANCE_WAKE for asymmetric capacity systems

2016-07-11 Thread Peter Zijlstra
On Wed, Jun 22, 2016 at 06:03:16PM +0100, Morten Rasmussen wrote: > Systems with the SD_ASYM_CPUCAPACITY flag set indicate that sched_groups > at this level or below do not include cpus of all capacities available > (e.g. group containing little-only or big-only cpus in big.LITTLE > systems). It is

Re: KASAN vs vmapped stacks

2016-07-11 Thread Andrey Ryabinin
On 07/10/2016 03:47 PM, Andy Lutomirski wrote: > Hi all- > > I found two nasty issues with virtually mapped stacks if KASAN is > enabled. The first issue is a crash: the first non-init stack is > allocated and accessed before KASAN initializes its zero shadow > AFAICT, which means that we switc

Re: [PATCH] CFLAGS: add -Wunused-but-set-parameter

2016-07-11 Thread kbuild test robot
Hi, [auto build test WARNING on kbuild/for-next] [also build test WARNING on v4.7-rc7 next-20160708] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Alexey-Dobriyan/CFLAGS-add-Wunused-but-set-par

[PATCH 01/15] net: thunderx: Moved HW capability info from macros to structure

2016-07-11 Thread sunil . kovvuri
From: Sunil Goutham Current driver has most of the HW maximums info like no of channels, traffic limiters, RSS indices e.t.c in the form of macros. These have been moved into a 'hw_info' structure so that support for VNIC on newer chips with different set of HW maximums can be added. Signed-off-

Re: [kernel-hardening] [PATCH v4 26/29] sched: Allow putting thread_info into task_struct

2016-07-11 Thread Mark Rutland
Hi, On Sun, Jun 26, 2016 at 02:55:48PM -0700, Andy Lutomirski wrote: > If an arch opts in by setting CONFIG_THREAD_INFO_IN_TASK_STRUCT, > then thread_info is defined as a single 'u32 flags' and is the first > entry of task_struct. thread_info::task is removed (it serves no > purpose if thread_inf

[PATCH 04/15] net: thunderx: Set queue count based on number of CPUs

2016-07-11 Thread sunil . kovvuri
From: Sunil Goutham 81xx has only 4 CPUs, so it doesn't make sense to initialize entire Qset i.e 8 queues by default. Made changes to queue initialization to init queues equal to number of CPUs or 8 queues whichever is lesser. Also this will be applicable to VMs with VNIC VF attached and having l

[PATCH 05/15] net: thunderx: Enable CQE_RX desc's extension fields

2016-07-11 Thread sunil . kovvuri
From: Sunil Goutham Unlike 88xx, CQE_RX descriptor's tunnelling extension i.e CQE_RX2_S is always enabled on 81xx/83xx and HW does insert these fields into CQE_RX. As a result receive buffer addresses will now be present at 7th word of CQE_RX instead of 6th. Enable CQE_RX2_S on 88xx pass 2.x as

Re: [PATCH] iommu/amd: Fix unity mapping initialization race

2016-07-11 Thread Wan ZongShun
> >> Sorry, why you still say this 'init_device_table_dma' can block DMA? >> I just think this function will enable DMA transfer, since we set >> the V and TV bits, right? or I misunderstand what "block DMA" mean? > > When the V and TV bits are not set, it means that all DMA from that > device-id

Re: [PATCH v8 4/9] pwm: pwm-tiecap: Update dt binding document to use proper unit address

2016-07-11 Thread Thierry Reding
On Mon, Jul 11, 2016 at 11:56:23AM +0200, Thierry Reding wrote: > On Tue, May 03, 2016 at 10:56:50AM -0500, Franklin S Cooper Jr wrote: > > Replace unit address from 0 to the proper physical address. Also insure > > that the unit address matches the reg property address. > > > > Signed-off-by: Fra

Re: [PATCH 2/2] arm64: dts: set UART1 clock frequency to 150MHz

2016-07-11 Thread Wei Xu
Hi Jorge, On 08/07/2016 09:11, Jorge Ramirez-Ortiz wrote: > Enable support for higher baud rates (up to 3Mbps) in UART1 - required > for bluetooth transfers. > > Signed-off-by: Jorge Ramirez-Ortiz > Tested-by: Jorge Ramirez-Ortiz Fine to me. Thanks! Acked-by: Wei Xu Best Regards, Wei > ---

Re: [PATCH] [linux-next] crypto: doc- Fix double words "the the" in crypto-API.tmpl

2016-07-11 Thread Herbert Xu
On Thu, Jul 07, 2016 at 09:58:16PM +0900, Masanari Iida wrote: > This patch fix double words "the the" in crypto-API.tmpl. > > Signed-off-by: Masanari Iida Patch applied. Thanks. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/

[PATCH 03/15] net: thunderx: Add support for 81xx and 83xx chips

2016-07-11 Thread sunil . kovvuri
From: Sunil Goutham This patch adds info on HW maximums of 81xx/83xx and also configures receive and transmit datapaths accordingly. Signed-off-by: Sunil Goutham --- drivers/net/ethernet/cavium/thunder/nic_main.c| 87 ++- drivers/net/ethernet/cavium/thunder/nic_reg.h

[PATCH 13/15] net: thunderx: Improvement for MBX interface debug messages

2016-07-11 Thread sunil . kovvuri
From: Radoslaw Biernacki Adding debug messages in case of NACK for a mailbox message, also did small cleanups. Signed-off-by: Radoslaw Biernacki Signed-off-by: Sunil Goutham --- drivers/net/ethernet/cavium/thunder/nic_main.c | 16 ++-- drivers/net/ethernet/cavium/thunder/nicvf_m

[PATCH 15/15] net: thunderx: Don't set mac address for secondary Qset VFs

2016-07-11 Thread sunil . kovvuri
From: Sunil Goutham Set MAC addresses only for primary VF's and don't for secondary VFs. Signed-off-by: Sunil Goutham --- drivers/net/ethernet/cavium/thunder/nic_main.c | 2 +- drivers/net/ethernet/cavium/thunder/nicvf_main.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --g

Re: [PATCH v11 00/22] Add HiSilicon RoCE driver

2016-07-11 Thread Wei Hu (Xavier)
On 2016/7/8 10:58, oulijun wrote: 在 2016/7/2 17:39, Lijun Ou 写道: The HiSilicon Network Substem is a long term evolution IP which is supposed to be used in HiSilicon ICT SoCs. HNS (HiSilicon Network Sybsystem) also has a hardware support of performing RDMA with RoCEE. The driver for HiSilicon R

[PATCH 08/15] net: thunderx: Add 81xx support to BGX driver

2016-07-11 Thread sunil . kovvuri
From: Sunil Goutham This patch adds support for BGX module on 81xx where a BGX can be split and have different LMACs configured in different modes. Signed-off-by: Sunil Goutham --- drivers/net/ethernet/cavium/thunder/thunder_bgx.c | 112 -- drivers/net/ethernet/cavium/thund

[PATCH 14/15] net: thunderx: Reset RXQ HW stats when interface is brought down

2016-07-11 Thread sunil . kovvuri
From: Jerin Jacob When SQ/TXQ is reclaimed i.e reset it's stats also automatically reset by HW. This is not the case with RQ. Also VF doesn't have write access to statistics counter registers. Hence a new Mbox msg is introduced which supports resetting RQ, SQ and full Qset stats. Currently only R

[PATCH 12/15] net: thunderx: Use skb_add_rx_frag() for split buffer Rx pkts

2016-07-11 Thread sunil . kovvuri
From: Sunil Goutham Instead of a round about way of converting buffers to SKBs and combining them into a frag list, use standard skb_add_rx_frag() API to merge page fragments. This code is useful when incoming packets are of size more than RCV_FRAG_LEN which is currently set to 2048bytes. Signed

[PATCH 07/15] net: thunderx: Support for different LMAC types within BGX

2016-07-11 Thread sunil . kovvuri
From: Sunil Goutham On 88xx all LMACs in a BGX will be in same mode but on 81xx BGX can be split as two and there can be LMACs configured in different modes. These changes move lmac_type, lane2serdes fields into per lmac struct from BGX struct. Got rid of qlm_mode field which has become redundan

[PATCH 10/15] net: thunderx: Add RGMII interface type support

2016-07-11 Thread sunil . kovvuri
From: Sunil Goutham This patch adds RGX/RGMII interface type support to BGX driver. This type of interface is supported by 81xx SOC. CN81XX VNIC has 8 VFs and max possible LMAC interfaces are 9, hence RGMII interface will not work if all DLMs are in BGX mode and all 8 LMACs are enabled. Signed-

[PATCH 00/15] net: thunderx: Add support for 81xx and 83xx

2016-07-11 Thread sunil . kovvuri
From: Sunil Goutham This patch series adds support for VNIC on 81xx and 83xx SOCs. 81xx/83xx is different from 88xx in terms of capabilities and different types of interfaces supported (eg: QSGMII, RGMII) and have DLMs instead of QLMs which allows single BGX to have interfaces of different LMAC

[PATCH 02/15] net: thunderx: Add VNIC's PCI devid on future chips

2016-07-11 Thread sunil . kovvuri
From: Sunil Goutham This patch adds PCI device IDs of VNIC on newer chips and also registers VF driver with them. Device id remains same for all versions of chips but subsystem device id changes. Signed-off-by: Sunil Goutham --- drivers/net/ethernet/cavium/thunder/nic.h| 10 +-

Re: [PATCH v8 3/9] pwm: pwm-tiehrpwm: Update dt binding document to use generic node name

2016-07-11 Thread Thierry Reding
On Tue, May 03, 2016 at 10:56:49AM -0500, Franklin S Cooper Jr wrote: > Now that the node name has been changed from ehrpwm to pwm the document > should show this proper usage. Change the unit address in the example > from 0 to the proper physical address value that should be used. Also > insure th

Re: [PATCH v8 4/9] pwm: pwm-tiecap: Update dt binding document to use proper unit address

2016-07-11 Thread Thierry Reding
On Tue, May 03, 2016 at 10:56:50AM -0500, Franklin S Cooper Jr wrote: > Replace unit address from 0 to the proper physical address. Also insure > that the unit address matches the reg property address. > > Signed-off-by: Franklin S Cooper Jr > --- > Documentation/devicetree/bindings/pwm/pwm-tiec

Re: [Xen-devel] [PATCH] xen_pvscsi: reclaim the ring request when mapping data failed

2016-07-11 Thread Juergen Gross
On 11/07/16 11:50, David Vrabel wrote: > On 11/07/16 10:33, Juergen Gross wrote: >> On 11/07/16 04:51, Bin Wu wrote: >>> During scsi command queueing, if mapping data fails, we need to >>> reclaim the failed request. Otherwise, the garbage request will >>> be pushed into the ring for the backend to

Re: [PATCH v2 04/13] sched: Introduce SD_ASYM_CPUCAPACITY sched_domain topology flag

2016-07-11 Thread Peter Zijlstra
On Wed, Jun 22, 2016 at 06:03:15PM +0100, Morten Rasmussen wrote: > Add a topology flag to the sched_domain hierarchy indicating > sched_groups at this sched_domain level having different per cpu > capacity (e.g. big.LITTLE big-only and little-only groups) or groups in > sibling domains with differ

Re: [PATCH] sched/fair: do not announce throttled next buddy in dequeue_task_fair

2016-07-11 Thread Wanpeng Li
Hi Konstantin, Xunlei, 2016-07-11 16:42 GMT+08:00 Xunlei Pang : > On 2016/07/11 at 16:22, Xunlei Pang wrote: >> On 2016/07/11 at 15:25, Wanpeng Li wrote: >>> 2016-06-16 20:57 GMT+08:00 Konstantin Khlebnikov >>> : Hierarchy could be already throttled at this point. Throttled next buddy co

Re: [Xen-devel] [PATCH] xen_pvscsi: reclaim the ring request when mapping data failed

2016-07-11 Thread David Vrabel
On 11/07/16 10:33, Juergen Gross wrote: > On 11/07/16 04:51, Bin Wu wrote: >> During scsi command queueing, if mapping data fails, we need to >> reclaim the failed request. Otherwise, the garbage request will >> be pushed into the ring for the backend to work. > > Well spotted. There is another in

Re: [Xen-devel] [PATCHv3 1/2] libfs: allow simple_fill_super() to add symlinks

2016-07-11 Thread David Vrabel
On 28/06/16 19:06, David Vrabel wrote: > simple_fill_super() will add symlinks if an entry has mode & S_IFLNK. > The target is provided in the new "link" field. Can I get an ack for this, please? So it can go into 4.8 via the Xen tree. David > > Signed-off-by: David Vrabel > --- > v2: > - simp

Re: [PATCH] pwm: Create device class for pwm channels

2016-07-11 Thread Thierry Reding
On Wed, Jun 15, 2016 at 04:52:56PM -0700, David Hsu wrote: > On Wed, Jun 15, 2016 at 7:37 AM, Thierry Reding > wrote: > > On Tue, Jun 14, 2016 at 07:12:04PM -0700, Greg KH wrote: > >> From: David Hsu > >> > >> Pwm channels don't send uevents when exported, this change adds the > >> channels to a

Re: [PATCH] iommu/amd: Fix unity mapping initialization race

2016-07-11 Thread Joerg Roedel
On Mon, Jul 11, 2016 at 05:25:29PM +0800, Wan Zongshun wrote: > Okay, this patch should also better to general case not only unity-mapping. > > How about the interrupt remap function? Do we need same considering > for IV bit enable for interrupt remap? No, there are no unity mappings for irqs, so

RE: PCIe MSI address is not written at pci_enable_msi_range call

2016-07-11 Thread Bharat Kumar Gogada
Hi Marc, Thanks for the reply. >From PCIe Spec: MSI Enable Bit: If 1 and the MSI-X Enable bit in the MSI-X Message Control register (see Section 6.8.2.3) is 0, the function is permitted to use MSI to request service and is prohibited from using its INTx# pin. >From Endpoint perspective, MSI Enab

Re: [PATCH] xen_pvscsi: reclaim the ring request when mapping data failed

2016-07-11 Thread Juergen Gross
On 11/07/16 04:51, Bin Wu wrote: > During scsi command queueing, if mapping data fails, we need to > reclaim the failed request. Otherwise, the garbage request will > be pushed into the ring for the backend to work. Well spotted. There is another instance of this problem in scsifront_action_handle

Re: [PATCH 0/5] pwm: Fixes and support for Tegra186

2016-07-11 Thread Thierry Reding
On Wed, Jun 22, 2016 at 05:17:18PM +0530, Laxman Dewangan wrote: > Have fixes for 100% duty cycle, avoid computation loss for duty > period calculation and add support the Tegra186. > > Hyong Bin Kim (1): > pwm: tegra: fix overflow when calculating duty cycle > > Laxman Dewangan (2): > pwm: t

Re: [PATCH] iommu/amd: Fix unity mapping initialization race

2016-07-11 Thread Wan Zongshun
On 2016年07月11日 15:19, Joerg Roedel wrote: On Sun, Jul 10, 2016 at 07:40:53PM +0800, Wan Zongshun wrote: Do you mean we need enable the V and TV bits to DTE entry after all DTEs tables were initialized completely? Yes, this is what my patch does and what fixes the bug that was reported on mac

Re: [PATCH v3] sched/deadline: remove useless param from setup_new_dl_entity

2016-07-11 Thread luca abeni
On Mon, 11 Jul 2016 16:16:20 +0800 Xunlei Pang wrote: > On 2016/07/11 at 16:01, luca abeni wrote: > > Hello, > > > > On Mon, 11 Jul 2016 13:03:56 +0800 > > Xunlei Pang wrote: > > > >> On 2016/07/08 at 19:28, Juri Lelli wrote: > > [...] > >>> @@ -363,6 +364,15 @@ static inline void setup_ne

Re: [PATCH 5/7] drm/rockchip: dw-mipi: support HPD poll

2016-07-11 Thread John Keeping
On Mon, 11 Jul 2016 08:46:53 +0800, Mark yao wrote: > On 2016年07月08日 21:52, John Keeping wrote: > > On Fri, 8 Jul 2016 17:04:59 +0800, Chris Zhong wrote: > > > >> At the first time of bind, there is no any panel attach in mipi. Add a > >> DRM_CONNECTOR_POLL_HPD porperty to detect the panel stat

Re: [PATCH] spi: spi-ti-qspi: clear wlen field while setting word length.

2016-07-11 Thread prahlad venkata
On Mon, Jul 11, 2016 at 2:45 PM, Vignesh R wrote: > > > On Monday 11 July 2016 02:39 PM, prahlad venkata wrote: >> On Mon, Jul 11, 2016 at 2:36 PM, prahlad venkata >> wrote: >>> On Mon, Jul 11, 2016 at 2:14 PM, Vignesh R wrote: On Monday 11 July 2016 01:34 PM, prahlad venkata wro

Re: [PATCH v2 11/13] KVM: x86: add KVM_CAP_X2APIC_API

2016-07-11 Thread Paolo Bonzini
On 11/07/2016 10:56, Yang Zhang wrote: > On 2016/7/11 15:44, Paolo Bonzini wrote: >> >> >> On 11/07/2016 08:06, Yang Zhang wrote: Changes to MSI addresses follow the format used by interrupt remapping unit. The upper address word, that used to be 0, contains upper 24 bits of t

Re: [PATCH] spi: spi-ti-qspi: clear wlen field while setting word length.

2016-07-11 Thread Vignesh R
On Monday 11 July 2016 02:39 PM, prahlad venkata wrote: > On Mon, Jul 11, 2016 at 2:36 PM, prahlad venkata > wrote: >> On Mon, Jul 11, 2016 at 2:14 PM, Vignesh R wrote: >>> >>> >>> On Monday 11 July 2016 01:34 PM, prahlad venkata wrote: On Mon, Jul 11, 2016 at 10:37 AM, Vignesh R wrote:

Re: [TEST PATCH] rtc: convert ds1307 to interim probe_new

2016-07-11 Thread Kieran Bingham
Hi Wolfram, On 13/06/16 18:13, Wolfram Sang wrote: > >> As we match on only the device, not the manufacturer, I've changed your >> sketch >> so that the test maxim line is on a compatible with name ds to make it >> unique. Otherwise, we would match to the dallas,ds1307 id type. > > OK, so I

Re: How to set Current register in IIO driver from sysfs

2016-07-11 Thread Pratik Prajapati
Hi Jonathan, Thanks for the answers. One more question: What are volatile registers? I couldn't understood the difference between volatile and writable registers from max44000 driver. Best Regards, Pratik On Sun, Jul 10, 2016 at 8:09 PM, Jonathan Cameron wrote: > On 10/07/16 14:11, Pratik Praja

Re: [PATCH 3/3] arm: dts: thermal: add thermal/auxadc node.

2016-07-11 Thread Keerthy
On Monday 11 July 2016 02:26 PM, dawei chien wrote: Dear Keerthy, On Thu, 2016-07-07 at 17:39 +0530, Keerthy wrote: On Thursday 07 July 2016 02:36 PM, Dawei Chien wrote: This adds the thermal controller and auxadc nodes to the Mediatek MT2701 dtsi file. Signed-off-by: Dawei Chien --- This

Re: [PATCH] spi: spi-ti-qspi: clear wlen field while setting word length.

2016-07-11 Thread prahlad venkata
On Mon, Jul 11, 2016 at 2:36 PM, prahlad venkata wrote: > On Mon, Jul 11, 2016 at 2:14 PM, Vignesh R wrote: >> >> >> On Monday 11 July 2016 01:34 PM, prahlad venkata wrote: >>> On Mon, Jul 11, 2016 at 10:37 AM, Vignesh R wrote: Hi Prahlad, On Sunday 10 July 2016 01:35 AM, Prahlad

Re: [PATCH v2 06/10] soc: Add SoC specific driver support for nuc900

2016-07-11 Thread Wan Zongshun
On 2016年07月11日 16:03, Arnd Bergmann wrote: On Sunday, July 10, 2016 3:27:26 PM CEST Wan Zongshun wrote: + ret = of_property_read_string(np, "compatible", &soc_dev_attr->soc_id); + if (ret) return -EINVAL; + + soc_dev_attr->machine = "NUC900EVB"; + soc_dev

Re: [PATCH] spi: spi-ti-qspi: clear wlen field while setting word length.

2016-07-11 Thread prahlad venkata
On Mon, Jul 11, 2016 at 2:14 PM, Vignesh R wrote: > > > On Monday 11 July 2016 01:34 PM, prahlad venkata wrote: >> On Mon, Jul 11, 2016 at 10:37 AM, Vignesh R wrote: >>> Hi Prahlad, >>> >>> On Sunday 10 July 2016 01:35 AM, Prahlad V wrote: When a word length of 1 byte is selected and writing

STRICTLY CONFIDENTIAL

2016-07-11 Thread Acct. Dept. Bank Of China
I have important transaction for you as next of kin to claim US$8.37m Mail me on my private email: chi...@yahoo.com so i can send you more details Thanks Mr.Chim Wai Kim === DISCLAIMER: This email and any files

Re: [PATCH 00/31] Move LRU page reclaim from zones to nodes v8

2016-07-11 Thread Mel Gorman
On Mon, Jul 11, 2016 at 10:47:57AM +1000, Dave Chinner wrote: > > I had tested XFS with earlier releases and noticed no major problems > > so later releases tested only one filesystem. Given the changes since, > > a retest is desirable. I've posted the current version of the series but > > I'll qu

Re: [PATCH 5/7] bus: vexpress-config: add missing of_node_put after calling of_parse_phandle

2016-07-11 Thread Liviu Dudau
On Fri, Jul 01, 2016 at 05:41:59PM +0800, Peter Chen wrote: > of_node_put needs to be called when the device node which is got > from of_parse_phandle has finished using. > > Cc: Liviu Dudau > Cc: Sudeep Holla > Cc: Lorenzo Pieralisi > Signed-off-by: Peter Chen Acked-by: Liviu Dudau > --- >

Re: [rfc patch] sched/fair: Use instantaneous load for fork/exec balancing

2016-07-11 Thread Dietmar Eggemann
On 04/07/16 16:04, Matt Fleming wrote: > On Wed, 15 Jun, at 04:32:58PM, Dietmar Eggemann wrote: >> On 14/06/16 17:40, Mike Galbraith wrote: >>> On Tue, 2016-06-14 at 15:14 +0100, Dietmar Eggemann wrote: >>> IMHO, the hackbench performance "boost" w/o 0905f04eb21f is due to the fact that a

Re: [PATCH v2 11/13] KVM: x86: add KVM_CAP_X2APIC_API

2016-07-11 Thread Yang Zhang
On 2016/7/11 15:44, Paolo Bonzini wrote: On 11/07/2016 08:06, Yang Zhang wrote: Changes to MSI addresses follow the format used by interrupt remapping unit. The upper address word, that used to be 0, contains upper 24 bits of the LAPIC address in its upper 24 bits. Lower 8 bits are reserved a

Re: [PATCH 3/3] arm: dts: thermal: add thermal/auxadc node.

2016-07-11 Thread dawei chien
Dear Keerthy, On Thu, 2016-07-07 at 17:39 +0530, Keerthy wrote: > > On Thursday 07 July 2016 02:36 PM, Dawei Chien wrote: > > This adds the thermal controller and auxadc nodes > > to the Mediatek MT2701 dtsi file. > > > > Signed-off-by: Dawei Chien > > --- > > This patch depned on: > > https://p

Re: [PATCH v7 1/4] soc: mediatek: Refine scpsys to support multiple platform

2016-07-11 Thread James Liao
Hi Matthias, On Thu, 2016-07-07 at 13:20 +0200, Matthias Brugger wrote: > > On 06/07/16 07:39, James Liao wrote: > > Hi Matthias, > > > > On Sat, 2016-07-02 at 18:33 +0200, Matthias Brugger wrote: > >> > >> On 05/16/2016 11:28 AM, James Liao wrote: > >>> Refine scpsys driver common code to suppor

Re: [PATCH 2/3] thermal: Add Mediatek thermal driver for mt2701.

2016-07-11 Thread dawei chien
Dear Keerthy, On Thu, 2016-07-07 at 17:24 +0530, Keerthy wrote: > Hi Dawei Chien, > > > On Thursday 07 July 2016 02:36 PM, Dawei Chien wrote: > > This patch adds support for mt2701 chip to mtk_thermal.c, > > and integrate both mt8173 and mt2701 on the same driver. > > MT8173 has four banks and f

linux-next: Tree for Jul 11

2016-07-11 Thread Stephen Rothwell
Hi all, Changes since 20160708: The arm64 tree gained a conflict against Linus' tree. The pm tree gained a build failure so I used the version from next-20160708. The wireless-drivers-next tree gained a conflict against the net-next tree. The drm tree gained a conflict against the jc_docs tree

Re: [PATCH 1/3] dt-bindings: thermal: Add binding document for Mediatek thermal controller

2016-07-11 Thread dawei chien
Dear Keerthy, On Thu, 2016-07-07 at 16:39 +0530, Keerthy wrote: > > On Thursday 07 July 2016 02:36 PM, Dawei Chien wrote: > > This adds the device tree binding documentation for the mediatek thermal > > controller found on Mediatek MT2701. > > > > Signed-off-by: Dawei Chien > > --- > > .../bin

Re: PCIe MSI address is not written at pci_enable_msi_range call

2016-07-11 Thread Marc Zyngier
On 11/07/16 03:32, Bharat Kumar Gogada wrote: > Hi, > > I have a query. > I see that when we use PCI_MSI_IRQ_DOMAIN to handle MSI's, MSI address is not > being > written in to end point's PCI_MSI_ADDRESS_LO/HI at the call > pci_enable_msi_range. > > Instead it is being written at the time end p

[patch 2/2] qxl: silence uninitialized variable warning

2016-07-11 Thread Dan Carpenter
GCC doesn't complain about this but my static checker does. We're passing "drawable" before initializing it. It's not actually used so it's harmless and I just removed it. Signed-off-by: Dan Carpenter diff --git a/drivers/gpu/drm/qxl/qxl_draw.c b/drivers/gpu/drm/qxl/qxl_draw.c index 56e1d63..f

[patch 1/2] qxl: check for kmap failures

2016-07-11 Thread Dan Carpenter
If kmap fails, it leads to memory corruption. Fixes: f64122c1f6ad ('drm: add new QXL driver. (v1.4)') Signed-off-by: Dan Carpenter diff --git a/drivers/gpu/drm/qxl/qxl_draw.c b/drivers/gpu/drm/qxl/qxl_draw.c index 56e1d63..6e6c760 100644 --- a/drivers/gpu/drm/qxl/qxl_draw.c +++ b/drivers/gpu/drm

[PATCH v3]Add STM32F746 MCU pinctrl support

2016-07-11 Thread Alexandre TORGUE
This series adds STM32F746 pinctrl and GPIO support, relies on the generic STM32 pinctrl driver. Changes since v2: According to Linus remark, use builtin_platform_driver() instead of device_initcall() as there are nothing to do in driver init function (except to register driver). As soon this p

Re: [PATCH] spi: spi-ti-qspi: clear wlen field while setting word length.

2016-07-11 Thread Vignesh R
On Monday 11 July 2016 01:34 PM, prahlad venkata wrote: > On Mon, Jul 11, 2016 at 10:37 AM, Vignesh R wrote: >> Hi Prahlad, >> >> On Sunday 10 July 2016 01:35 AM, Prahlad V wrote: >>> When a word length of 1 byte is selected and writing data of length >>> more than QSPI_WLEN_MAX_BYTES, first MAX

[PATCH v3] pinctrl: Add STM32F746 MCU support

2016-07-11 Thread Alexandre TORGUE
This patch which adds STM32F746 pinctrl and GPIO support, relies on the generic STM32 pinctrl driver. Signed-off-by: Maxime Coquelin Signed-off-by: Alexandre TORGUE diff --git a/drivers/pinctrl/stm32/Kconfig b/drivers/pinctrl/stm32/Kconfig index 0f28841..4c40dae 100644 --- a/drivers/pinctrl/stm

Re: [PATCH] sched/fair: do not announce throttled next buddy in dequeue_task_fair

2016-07-11 Thread Xunlei Pang
On 2016/07/11 at 16:22, Xunlei Pang wrote: > On 2016/07/11 at 15:25, Wanpeng Li wrote: >> 2016-06-16 20:57 GMT+08:00 Konstantin Khlebnikov : >>> Hierarchy could be already throttled at this point. Throttled next >>> buddy could trigger null pointer dereference in pick_next_task_fair(). >> There is

Re: [PATCH 3/3] net: hisilicon: Add Fast Ethernet MAC driver

2016-07-11 Thread Dongpo Li
On 2016/7/11 16:16, Arnd Bergmann wrote: > On Monday, July 11, 2016 11:44:23 AM CEST Dongpo Li wrote: >> Hi Arnd, >> >> On 2016/6/28 17:34, Arnd Bergmann wrote: >>> On Tuesday, June 28, 2016 5:21:19 PM CEST Dongpo Li wrote: On 2016/6/15 5:20, Arnd Bergmann wrote: > On Tuesday, June 14, 2

Re: [V3 PATCH 1/2] x86/panic: Replace smp_send_stop() with kdump friendly version

2016-07-11 Thread Dave Young
On 07/05/16 at 08:33pm, Hidehiro Kawai wrote: > This patch fixes one of the problems reported by Daniel Walker > (https://lkml.org/lkml/2015/6/24/44). > > If crash_kexec_post_notifiers boot option is specified, other CPUs > are stopped by smp_send_stop() instead of machine_crash_shutdown() > in cr

[tip:WIP.hotplug 25/66] arch/x86/events/amd/power.c:292:2: error: implicit declaration of function 'cpuhp_set_state'

2016-07-11 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git WIP.hotplug head: 0e5de16e9e45b4d853a31761fd74ff56998169a1 commit: a819753cd02cd6d2c88f8d070f94346af5d8a0c2 [25/66] perf/x86/amd/power: Convert the hotplug notifier to state machine config: i386-allmodconfig (attached as .config

Re: [PATCH v2 4/4] kernel/time/clockevents: compensate for monotonic clock's dynamic frequency

2016-07-11 Thread Thomas Gleixner
On Mon, 11 Jul 2016, Nicolai Stange wrote: > > + raw = ((u64)interval >> 32) * raw_mult; /* Upper half of interval */ > > + if (raw >> 32) > > + return KTIME_MAX; > > + raw <<= 32; > > + tmp = ((u64)interval & U32_MAX) * raw_mult; /* Lower half of interval */ > > + if (U64_MAX -

Re: [PATCH v2 00/13] sched: Clean-ups and asymmetric cpu capacity support

2016-07-11 Thread Morten Rasmussen
On Wed, Jun 22, 2016 at 06:03:11PM +0100, Morten Rasmussen wrote: > Hi, > > The scheduler is currently not doing much to help performance on systems with > asymmetric compute capacities (read ARM big.LITTLE). This series improves the > situation with a few tweaks mainly to the task wake-up path th

Re: linux-next: build warning after merge of the rtc tree

2016-07-11 Thread Uwe Kleine-König
Hello, On Mon, Jul 11, 2016 at 06:12:08PM +1000, Stephen Rothwell wrote: > After merging the rtc tree, today's linux-next build (x86 64_allmodconfig) > produced this warning: > > drivers/rtc/rtc-isl12057.c: In function 'isl12057_rtc_read_alarm': > drivers/rtc/rtc-isl12057.c:249:26: warning: unuse

Re: KASAN vs vmapped stacks

2016-07-11 Thread Dmitry Vyukov
On Sun, Jul 10, 2016 at 2:47 PM, Andy Lutomirski wrote: > Hi all- > > I found two nasty issues with virtually mapped stacks if KASAN is > enabled. The first issue is a crash: the first non-init stack is > allocated and accessed before KASAN initializes its zero shadow > AFAICT, which means that w

Re: [4.7.0rc6] Page Allocation Failures with dm-crypt

2016-07-11 Thread Matthias Dahl
Hello, I made a few more tests and here my observations: - kernels 4.4.8 and 4.5.5 show the same behavior - the moment dd starts, memory usage spikes rapidly and within a just a few seconds has filled up all 32 GiB of RAM - dd w/ direct i/o works just fine - mkfs.ext4 unfortunately shows th

Re: [PATCH] qla2xxx: Fix NULL pointer deref in QLA interrupt

2016-07-11 Thread Bruno Prémont
On Mon, 11 Jul 2016 09:30:30 +0200 Thorsten Leemhuis wrote: > Bruno Prémont wrote on 11.07.2016 09:17: > > On Fri, 8 Jul 2016 09:27:18 +0200 Thorsten Leemhuis wrote: > >> Bruno Prémont wrote on 30.06.2016 17:00: > >> > In qla24xx_process_response_queue() rsp->msix->cpuid may trigger NULL > >> >

[GIT PULL v2] STi defconfig updates for v4.8

2016-07-11 Thread Patrice Chotard
Hi Olof, Arnd and Kevin, Please consider this first round of multi_v7_defconfig updates for v4.8: The following changes since commit 5edb56491d4812c42175980759da53388e5d86f5: Linux 4.7-rc3 (2016-06-12 07:20:35 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/lin

Re: [PATCH v9 01/10] clk: fix initial state of critical clock's parents

2016-07-11 Thread James Liao
Hi Mike, On Fri, 2016-07-08 at 16:32 -0700, Michael Turquette wrote: > Hi James, > > Quoting James Liao (2016-07-03 20:51:48) > > On Fri, 2016-07-01 at 18:21 -0700, Stephen Boyd wrote: > > > (Resending to everyone) > > > > > > On 06/22, Erin Lo wrote: > > > > From: James Liao > > > > > > > > T

Re: [PATCH] leds: leds-gpio: Set of_node for created LED devices

2016-07-11 Thread Rafał Miłecki
On 07/11/2016 10:20 AM, Jacek Anaszewski wrote: On 07/11/2016 09:52 AM, Rafał Miłecki wrote: On 07/11/2016 09:34 AM, Jacek Anaszewski wrote: On 07/08/2016 02:53 PM, Rafał Miłecki wrote: When working with Device Tree we iterate over children of "gpio-leds" compatible node and create LED device

Re: [PATCH] sched/fair: do not announce throttled next buddy in dequeue_task_fair

2016-07-11 Thread Xunlei Pang
On 2016/07/11 at 15:25, Wanpeng Li wrote: > 2016-06-16 20:57 GMT+08:00 Konstantin Khlebnikov : >> Hierarchy could be already throttled at this point. Throttled next >> buddy could trigger null pointer dereference in pick_next_task_fair(). > There is cfs_rq->next check in pick_next_entity(), so how

[PATCH V2 3/3] dts: Add disp bls dtsi and dts config for MT2701

2016-07-11 Thread Weiqing Kong
Add disp_bls node in dtsi for CCF, add backlight_lcd in dts for backlight subsystem driver, and init pwm gpio mode. Signed-off-by: Weiqing Kong --- arch/arm/boot/dts/mt2701-evb.dts | 29 + arch/arm/boot/dts/mt2701.dtsi| 9 + 2 files changed, 38 insertions

[PATCH V2 2/3] pwm: Add MediaTek MT2701 display PWM driver support

2016-07-11 Thread Weiqing Kong
Use the mtk_pwm_data struction to define different registers and add MT2701 specific register operations, such as MT2701 doesn't have commit register, needs to disable double buffer before writing register, and needs to select manual mode and use PWM_PERIOD/PWM_HIGH_WIDTH. Signed-off-by: Weiqing K

Re: [PATCH] leds: leds-gpio: Set of_node for created LED devices

2016-07-11 Thread Jacek Anaszewski
On 07/11/2016 09:52 AM, Rafał Miłecki wrote: On 07/11/2016 09:34 AM, Jacek Anaszewski wrote: On 07/08/2016 02:53 PM, Rafał Miłecki wrote: When working with Device Tree we iterate over children of "gpio-leds" compatible node and create LED device for each of them. We take care of all common DT p

[PATCH V2 0/3] Support Mediatek Soc MT2701 disp pwm

2016-07-11 Thread Weiqing Kong
These series patches modify pwm-mtk-disp.c and dts/dtsi config to support MT2701 disp pwm. Changes since v1: - Change dtsi compatible string "mediatek,mt2701-disp-bls" into "mediatek,mt2701-disp-pwm" - Change some macros into struct mtk_pwm_data Weiqing Kong (3): dt-bindings: pwm: Add MediaTek

[PATCH V2 1/3] dt-bindings: pwm: Add MediaTek display PWM bindings

2016-07-11 Thread Weiqing Kong
Add MT2701 compatible string. Signed-off-by: Weiqing Kong --- Documentation/devicetree/bindings/pwm/pwm-mtk-disp.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/pwm/pwm-mtk-disp.txt b/Documentation/devicetree/bindings/pwm/pwm-mtk-disp.

Re: linux-next: build warning after merge of the net-next tree

2016-07-11 Thread Simon Horman
On Mon, Jul 11, 2016 at 04:13:11PM +1000, Stephen Rothwell wrote: > Hi all, > > After merging the net-next tree, today's linux-next build (arm > multi_v7_defconfig) produced this warning (CONFIG_MPLS is disabled): > > net/ipv4/tunnel4.c: In function 'tunnel4_init': > net/ipv4/tunnel4.c:223:1: war

Re: [PATCH] sched/fair: do not announce throttled next buddy in dequeue_task_fair

2016-07-11 Thread Konstantin Khlebnikov
On 11.07.2016 10:25, Wanpeng Li wrote: 2016-06-16 20:57 GMT+08:00 Konstantin Khlebnikov : Hierarchy could be already throttled at this point. Throttled next buddy could trigger null pointer dereference in pick_next_task_fair(). There is cfs_rq->next check in pick_next_entity(), so how can null

Re: [PATCH v3] sched/deadline: remove useless param from setup_new_dl_entity

2016-07-11 Thread Xunlei Pang
On 2016/07/11 at 16:01, luca abeni wrote: > Hello, > > On Mon, 11 Jul 2016 13:03:56 +0800 > Xunlei Pang wrote: > >> On 2016/07/08 at 19:28, Juri Lelli wrote: > [...] >>> @@ -363,6 +364,15 @@ static inline void setup_new_dl_entity(struct >>> sched_dl_entity *dl_se, return; >>> >>> /* >>> +

Re: [RFC] arm64: kexec_file_load support

2016-07-11 Thread Dave Young
On 07/11/16 at 04:19pm, AKASHI Takahiro wrote: > On Fri, Jul 08, 2016 at 11:48:44AM -0300, Thiago Jung Bauermann wrote: > > Am Donnerstag, 07 Juli 2016, 14:12:45 schrieb Dave Young: > > > If so maybe change a bit from your precious mentioned 7 args proposal like > > > below? > > > > > > struct kex

2% lånetilbud

2016-07-11 Thread David Rogers
oppmerksomhet; Dette er for å informere deg gjorde som et privat selskap, Utlån selskap basert i Storbritannia (til økonomisk Ltd). Vi gir ut lån til melodi av $ 10 000 til $ 300 millioner ved 2% rente til alle som er interessert. Country er ikke en barriere, så ta gjerne kontakt med oss på den

Re: [PATCH 3/3] net: hisilicon: Add Fast Ethernet MAC driver

2016-07-11 Thread Arnd Bergmann
On Monday, July 11, 2016 11:44:23 AM CEST Dongpo Li wrote: > Hi Arnd, > > On 2016/6/28 17:34, Arnd Bergmann wrote: > > On Tuesday, June 28, 2016 5:21:19 PM CEST Dongpo Li wrote: > >> On 2016/6/15 5:20, Arnd Bergmann wrote: > >>> On Tuesday, June 14, 2016 9:17:44 PM CEST Li Dongpo wrote: > On

Re: [PATCH] [RFC V1]s390/perf: fix 'start' address of module's map

2016-07-11 Thread Songshan Gong
在 7/8/2016 11:18 PM, Jiri Olsa 写道: On Thu, Jul 07, 2016 at 09:49:36AM +0800, Song Shan Gong wrote: At preset, when creating module's map, perf gets 'start' address by parsing 'proc/modules', but it's module base address, isn't the start address of '.text' section. In most archs, it's OK. But f

linux-next: build warning after merge of the rtc tree

2016-07-11 Thread Stephen Rothwell
Hi Alexandre, After merging the rtc tree, today's linux-next build (x86 64_allmodconfig) produced this warning: drivers/rtc/rtc-isl12057.c: In function 'isl12057_rtc_read_alarm': drivers/rtc/rtc-isl12057.c:249:26: warning: unused variable 'alarm_secs' [-Wunused-variable] unsigned long rtc_secs

Re: [PATCH] vcodec: mediatek: Add g/s_selection support for V4L2 Encoder

2016-07-11 Thread tiffany lin
Hi Hans, On Mon, 2016-07-11 at 06:32 +0200, Hans Verkuil wrote: > Hi Tiffany, > > My apologies for the delay, but here is my review at last: > > On 05/30/2016 09:52 AM, Tiffany Lin wrote: > > This patch add g/s_selection support for MT8173 > > > > Signed-off-by: Tiffany Lin > > --- > > driver

Re: [PATCH] spi: spi-ti-qspi: clear wlen field while setting word length.

2016-07-11 Thread prahlad venkata
On Mon, Jul 11, 2016 at 10:37 AM, Vignesh R wrote: > Hi Prahlad, > > On Sunday 10 July 2016 01:35 AM, Prahlad V wrote: >> When a word length of 1 byte is selected and writing data of length >> more than QSPI_WLEN_MAX_BYTES, first MAX_BYTES will be transfered >> and remaining will be transfered byt

Re: staging/wilc1000: wrong conversion to completion?

2016-07-11 Thread Arnd Bergmann
On Monday, July 11, 2016 9:41:15 AM CEST Jiri Slaby wrote: > Hi, > > while looking at this commit: > > commit b27a6d5e636ac80b223a18ca2b3c892f1caef9e3 > Author: Binoy Jayan > Date: Wed Jun 15 11:00:34 2016 +0530 > > staging: wilc1000: Replace semaphore txq_event with completion > > T

Re: linux-next: manual merge of the wireless-drivers-next tree with the net-next tree

2016-07-11 Thread Kalle Valo
Stephen Rothwell writes: > Today's linux-next merge of the wireless-drivers-next tree got a > conflict in: > > drivers/net/wireless/intel/iwlwifi/mvm/scan.c > > between commit: > > 7947d3e075cd ("mac80211: Add support for beacon report radio measurement") > > from the net-next tree and commit

Re: [PATCH v3] sched/deadline: remove useless param from setup_new_dl_entity

2016-07-11 Thread luca abeni
Hello, On Mon, 11 Jul 2016 13:03:56 +0800 Xunlei Pang wrote: > On 2016/07/08 at 19:28, Juri Lelli wrote: [...] > > @@ -363,6 +364,15 @@ static inline void setup_new_dl_entity(struct > > sched_dl_entity *dl_se, return; > > > > /* > > +* Use the scheduling parameters of the top pi-waiter

Re: [PATCH v2 06/10] soc: Add SoC specific driver support for nuc900

2016-07-11 Thread Arnd Bergmann
On Sunday, July 10, 2016 3:27:26 PM CEST Wan Zongshun wrote: > + ret = of_property_read_string(np, "compatible", > &soc_dev_attr->soc_id); > + if (ret) > return -EINVAL; > + > + soc_dev_attr->machine = "NUC900EVB"; > + soc_dev_attr->family = "NUC900"; > +

[tip:WIP.hotplug 59/66] include/linux/rcutree.h:42:20: error: redefinition of 'rcu_virt_note_context_switch'

2016-07-11 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git WIP.hotplug head: 0e5de16e9e45b4d853a31761fd74ff56998169a1 commit: 5b7fb17c566567d3470f3651dbd6a18b4875f222 [59/66] rcu: Convert rcutree to hotplug state machine config: xtensa-allmodconfig (attached as .config) compiler: xtensa

linux-next: manual merge of the nvdimm tree with the block tree

2016-07-11 Thread Stephen Rothwell
Hi Dan, Today's linux-next merge of the nvdimm tree got a conflict in: drivers/nvdimm/pmem.c between commit: 0d52c756a665 ("block: convert to device_add_disk()") from the block tree and commit: f02716db951c ("libnvdimm: use devm_add_action_or_reset()") from the nvdimm tree. I fixed it

Re: [PATCH] pinctrl: uniphier: add Ethernet pin-mux settings

2016-07-11 Thread Linus Walleij
On Wed, Jul 6, 2016 at 5:12 PM, Masahiro Yamada wrote: > Add the following Ethernet interfaces: > > PH1-LD4: MII, RMII > PH1-Pro4: MII, RMII, RGMII > PH1-sLD8: MII, RMII (Built-in PHY is also supported) > ProXstream2: MII, RMII, RGMII > PH1-LD6b: RMII, RGMII > PH1-LD11: RMII (Built-in

<    3   4   5   6   7   8   9   >