[PATCH v9 7/8] scsi: ufs-qcom: add debug prints for test bus

2015-10-28 Thread Yaniv Gardi
Adds support for configuring and reading the test bus and debug registers. This change also adds another vops in order to print the debug registers. Reviewed-by: Subhash Jadavani Reviewed-by: Gilad Broner Signed-off-by: Yaniv Gardi --- drivers/scsi/ufs/ufs-qcom.c | 165 +++

[PATCH v9 6/8] scsi: ufs: make the UFS variant a platform device

2015-10-28 Thread Yaniv Gardi
This change turns the UFS variant (SCSI_UFS_QCOM) into a UFS a platform device. In order to do so a few additional changes are required: 1. The ufshcd-pltfrm is no longer serves as a platform device. Now it only serves as a group of platform APIs such as PM APIs (runtime suspend/resume, syste

[PATCH v9 8/8] scsi: ufs-qcom: add QUniPro hardware support and power optimizations

2015-10-28 Thread Yaniv Gardi
New revisions of UFS host controller supports the new UniPro hardware controller (referred as QUniPro). This patch adds the support to enable this new UniPro controller hardware. This change also adds power optimization for bus scaling feature, as well as support for HS-G3 power mode. Reviewed-by

[PATCH v9 1/8] phy: qcom-ufs: fix build error when the component is built as a module

2015-10-28 Thread Yaniv Gardi
Export the following functions in order to avoid build errors when the component PHY_QCOM_UFS is compiled as a module: ERROR: "ufs_qcom_phy_disable_ref_clk" [drivers/scsi/ufs/ufs-qcom.ko] undefined! ERROR: "ufs_qcom_phy_enable_ref_clk" [drivers/scsi/ufs/ufs-qcom.ko] undefined! ERRO

[PATCH v9 3/8] scsi: ufs-qcom: update configuration option of SCSI_UFS_QCOM component

2015-10-28 Thread Yaniv Gardi
This change is required in order to be able to build the component as a module. Reviewed-by: Akinobu Mita Reviewed-by: Subhash Jadavani Reviewed-by: Gilad Broner Signed-off-by: Yaniv Gardi --- drivers/scsi/ufs/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/driver

[PATCH v9 4/8] scsi: ufs: add ufshcd_get_variant ufshcd_set_variant

2015-10-28 Thread Yaniv Gardi
This patch adds ufshcd_get_variant() and ufshcd_set_variant() routines in order to get/set the variant specific data. Reviewed-by: Akinobu Mita Reviewed-by: Subhash Jadavani Reviewed-by: Gilad Broner Signed-off-by: Yaniv Gardi --- drivers/scsi/ufs/ufs-qcom.c | 34 +---

Re: [PATCH v3 0/3] virtio DMA API core stuff

2015-10-28 Thread Michael S. Tsirkin
On Wed, Oct 28, 2015 at 05:36:53PM +0900, Benjamin Herrenschmidt wrote: > On Wed, 2015-10-28 at 16:40 +0900, Christian Borntraeger wrote: > > We have discussed that at kernel summit. I will try to implement a dummy > > dma_ops for > > s390 that does 1:1 mapping and Ben will look into doing some qu

[PATCH 1/3] ARC: mm: preps ahead of HIGHMEM support

2015-10-28 Thread Vineet Gupta
Before we plug in highmem support, some of code needs to be ready for it - copy_user_highpage() needs to be using the kmap_atomic API - max_low_pfn can't be assumed to be same as max_pfn - mk_pte() can't assume page_address() - do_page_fault() can't assume VMALLOC_END is end of kernel vaddr spa

[PATCH 0/3] HIGHMEM support for ARC

2015-10-28 Thread Vineet Gupta
Hi, This series adds highmem suppport for ARC. It adds the kmap atomic API and some leg work for future patch for PAE40. Please Review. Thx, -Vineet Vineet Gupta (3): ARC: mm: preps ahead of HIGHMEM support ARC: mm: HIGHMEM: kmap API implementation ARC: mm: HIGHMEM: switch to using phys_a

[PATCH 2/3] ARC: mm: HIGHMEM: kmap API implementation

2015-10-28 Thread Vineet Gupta
Implement kmap* API for ARC. This enables - permanent kernel maps (pkmaps): :kmap() API - fixmap : kmap_atomic() We use a very simple/uniform approach for both (unlike some of the other arches). So fixmap doesn't use the customary compile time address stuff. The important semantic is sleep'abil

[PATCH 3/3] ARC: mm: HIGHMEM: switch to using phys_addr_t for physical addresses

2015-10-28 Thread Vineet Gupta
This allows PAE40 support in next patch when we switch to > 32-bits of physical addresses Signed-off-by: Vineet Gupta --- arch/arc/include/asm/cacheflush.h | 8 arch/arc/mm/cache.c | 26 +- arch/arc/mm/tlb.c | 10 +- 3 files

Re: [PATCH] MAINTAINERS: Start using the 'reviewer' (R) tag

2015-10-28 Thread Javier Martinez Canillas
Hello Joe, On Wed, Oct 28, 2015 at 12:06 PM, Joe Perches wrote: > On Wed, 2015-10-28 at 11:53 +0100, Javier Martinez Canillas wrote: >> (Lee) think(s) that the difference between a maintainer and >> a reviewer is if a branch with fixes / new features are kept and pull >> requests sent while I thi

Re: [PATCH v3 2/5] mfd: sec: Add support for S2MPS15 PMIC

2015-10-28 Thread Alim Akhtar
Hello, On 10/28/2015 02:16 PM, Lee Jones wrote: On Wed, 28 Oct 2015, Krzysztof Kozlowski wrote: On 26.10.2015 23:34, Lee Jones wrote: On Mon, 26 Oct 2015, Alim Akhtar wrote: From: Thomas Abraham Add support for S2MPS15 PMIC which is similar to S2MPS11 PMIC. The S2MPS15 PMIC supports 27 LD

Re: [PATCH 2/2] efi: Fix warning of int-to-pointer-cast on x86 32-bit builds

2015-10-28 Thread Ingo Molnar
* Matt Fleming wrote: > On Fri, 23 Oct, at 12:33:29PM, Ingo Molnar wrote: > > > > Matt, do you want to take these fixes, or should I apply them directly? > > Could you please apply them directly with my Reviewed-by tag? Sure, done! Thanks, Ingo -- To unsubscribe from this list: send

Re: [PATCH v3 0/3] virtio DMA API core stuff

2015-10-28 Thread Michael S. Tsirkin
On Wed, Oct 28, 2015 at 05:09:47PM +0900, David Woodhouse wrote: > On Wed, 2015-10-28 at 16:40 +0900, Christian Borntraeger wrote: > > Am 28.10.2015 um 16:17 schrieb Michael S. Tsirkin: > > > On Tue, Oct 27, 2015 at 11:38:57PM -0700, Andy Lutomirski wrote: > > > > This switches virtio to use the DM

Re: [PATCH V1 10/11] pci, acpi: Provide generic way to assign bus domain number.

2015-10-28 Thread Liviu . Dudau
On Tue, Oct 27, 2015 at 05:38:41PM +0100, Tomasz Nowicki wrote: > Architectures which support PCI_DOMAINS_GENERIC (like ARM64) > cannot call pci_bus_assign_domain_nr along ACPI PCI host bridge > initialization since this function needs valid parent device reference > to be able to retrieve domain n

Re: [PATCH] MAINTAINERS: Start using the 'reviewer' (R) tag

2015-10-28 Thread Lee Jones
On Wed, 28 Oct 2015, Javier Martinez Canillas wrote: > Hello Joe, > > On Wed, Oct 28, 2015 at 12:06 PM, Joe Perches wrote: > > On Wed, 2015-10-28 at 11:53 +0100, Javier Martinez Canillas wrote: > >> (Lee) think(s) that the difference between a maintainer and > >> a reviewer is if a branch with f

Re: [PATCH v2 3/3] mfd: lm3533: Support initialization from Device Tree

2015-10-28 Thread Lee Jones
On Tue, 27 Oct 2015, Bjorn Andersson wrote: > Implement Device Tree parsing functions to support initialization of the > lm3533 drivers. > > Signed-off-by: Bjorn Andersson > --- > > Changes since v1: > - Added units to bost-freq and als resistance > > drivers/mfd/lm3533-core.c | 264 > ++

Re: [PATCH v2 2/3] gpio: arizona: Support Cirrus Logic CS47L24 and WM1831

2015-10-28 Thread Lee Jones
On Tue, 27 Oct 2015, Linus Walleij wrote: > On Mon, Oct 19, 2015 at 4:13 PM, Richard Fitzgerald > wrote: > > > The CS47L24 and WM1831 codecs only have two GPIO lines, but are > > otherwise similar to the WM8280. > > > > Signed-off-by: Richard Fitzgerald > > Acked-by: Linus Walleij > > Lee ca

Re: [PATCH v4 4/6] reset: sunxi: Add Allwinner H3 bus resets

2015-10-28 Thread Philipp Zabel
Hi Jens, Am Dienstag, den 27.10.2015, 17:50 +0100 schrieb Jens Kuske: [...] > --- a/drivers/reset/reset-sunxi.c > +++ b/drivers/reset/reset-sunxi.c > @@ -75,7 +75,9 @@ static struct reset_control_ops sunxi_reset_ops = { > .deassert = sunxi_reset_deassert, > }; > > -static int sunxi_

Re: [PATCH V5 Base on RC7 3/3] Add reset controller for hi6220 SoC platform.

2015-10-28 Thread Philipp Zabel
Am Dienstag, den 27.10.2015, 17:51 +0800 schrieb Chen Feng: > reset: add driver for hi6220 reset controller > > Signed-off-by: Chen Feng > --- > arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 7 +++ > 1 file changed, 7 insertions(+) > > diff --git a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi >

Re: [PATCH v2 00/17] add fixes, device quirks, error recovery,

2015-10-28 Thread Gilad Broner
Looks good to me. Reviewed-by: Gilad Broner > V2: > This series should be pushed on top of 15 patches series: > "Big fixes, retries, handle a race condition" > fixed and few comments. > > V1: > This series should be pushed on top of 15 patches series: > "Big fixes, retries, handle a race conditio

Re: [PATCH V1 11/11] arm64, pci, acpi: Support for ACPI based PCI hostbridge init

2015-10-28 Thread Liviu . Dudau
On Tue, Oct 27, 2015 at 05:38:42PM +0100, Tomasz Nowicki wrote: > Because of two patch series: > 1. Jiang Liu's common interface to support PCI host bridge init > 2. Refactoring of MMCONFIG, part of this patch set > now we can think about PCI buses enumeration for ARM64 and ACPI tables. > > This p

Re: [PATCH v2 3/3] mfd: lm3533: Support initialization from Device Tree

2015-10-28 Thread Joe Perches
On Wed, 2015-10-28 at 11:40 +, Lee Jones wrote: > On Tue, 27 Oct 2015, Bjorn Andersson wrote: > > Implement Device Tree parsing functions to support initialization of the > > lm3533 drivers. [] > > Changes since v1: > > - Added units to bost-freq and als resistance [] > I assume you plan on fix

RE: [PATCH 07/11] pinctrl: use ngpios propety from DT

2015-10-28 Thread Pramod Kumar
Hi Linus, > -Original Message- > From: Linus Walleij [mailto:linus.wall...@linaro.org] > Sent: 27 October 2015 15:22 > To: Pramod Kumar > Cc: Rob Herring; Pawel Moll; Mark Rutland; Ian Campbell; Kumar Gala; Ray Jui; > Scott Branden; Russell King; linux-g...@vger.kernel.org; bcm-kernel-feed

RE: [RFC PATCH 1/2] usb: doc: Add bindings for ULPI platform driver

2015-10-28 Thread Subbaraya Sundeep Bhatta
Hi Kishon, > -Original Message- > From: Kishon Vijay Abraham I [mailto:kis...@ti.com] > Sent: Sunday, October 11, 2015 8:11 PM > To: Punnaiah Choudary Kalluri; ba...@ti.com > Cc: Rob Herring; Subbaraya Sundeep Bhatta; Peter Chen; > devicet...@vger.kernel.org; gre...@linuxfoundation.org; li

Re: [patch 3/3] vmstat: Create our own workqueue

2015-10-28 Thread Tetsuo Handa
Christoph Lameter wrote: > On Wed, 28 Oct 2015, Tejun Heo wrote: > > > The only thing necessary here is WQ_MEM_RECLAIM. I don't see how > > WQ_SYSFS and WQ_FREEZABLE make sense here. > I can still trigger silent livelock with this patchset applied. -- [ 272.283217] MemAlloc-Info: 9 sta

Re: [PATCH] recordmcount: arm64: replace the ignored mcount call into nop

2015-10-28 Thread Will Deacon
On Wed, Oct 28, 2015 at 04:16:19AM -0400, Steven Rostedt wrote: > On Wed, 28 Oct 2015 16:04:05 +0800 > Li Bin wrote: > > > By now, the recordmcount only records the function that in > > following sections: > > .text/.ref.text/.sched.text/.spinlock.text/.irqentry.text/ > > .kprobes.text/.text.unli

RE: [PATCH v5 00/15] Big fixes, retries, handle a race condition

2015-10-28 Thread Dolev Raviv
Reviewed-by: Dolev Raviv Thanks, Dolev -- Qualcomm Israel, on behalf of Qualcomm Innovation Center, Inc. Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project -Original Message- From: Yaniv Gardi [mailto:yga...@codeaurora.org] Sent:

Re: [PATCH 31/52] perf stat record: Synthesize stat record data

2015-10-28 Thread Jiri Olsa
On Tue, Oct 27, 2015 at 11:42:44AM -0300, Arnaldo Carvalho de Melo wrote: SNIP > > So, I'm creating a perf/stat branch and putting what I processed so far, with > the changelog edits and changes in some function/struct names I > partially mentioned, please try to continue from there, ok? ok, I'

Re: [PATCH] MAINTAINERS: Start using the 'reviewer' (R) tag

2015-10-28 Thread Lee Jones
On Wed, 28 Oct 2015, Lee Jones wrote: > On Wed, 28 Oct 2015, Javier Martinez Canillas wrote: > > > Hello Joe, > > > > On Wed, Oct 28, 2015 at 12:06 PM, Joe Perches wrote: > > > On Wed, 2015-10-28 at 11:53 +0100, Javier Martinez Canillas wrote: > > >> (Lee) think(s) that the difference between a

Re: [PATCH] MAINTAINERS: Start using the 'reviewer' (R) tag

2015-10-28 Thread Joe Perches
On Wed, 2015-10-28 at 12:14 +, Lee Jones wrote: > Ah, but wait. get_maintainer.pl *does* assume M means Maintainer > doesn't it? No, it looks at the "S:" line. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org Mo

Re: [PATCH] MAINTAINERS: Start using the 'reviewer' (R) tag

2015-10-28 Thread Lee Jones
On Wed, 28 Oct 2015, Joe Perches wrote: > On Wed, 2015-10-28 at 12:14 +, Lee Jones wrote: > > Ah, but wait. get_maintainer.pl *does* assume M means Maintainer > > doesn't it? > > No, it looks at the "S:" line. Right. Then assumes because the driver is 'supported' or 'maintained' that the pe

Re: [PATCH -rt] Revert "net: use synchronize_rcu_expedited()"

2015-10-28 Thread Paul E. McKenney
On Wed, Oct 28, 2015 at 03:34:00AM -0500, Josh Cartwright wrote: > On Tue, Oct 27, 2015 at 04:15:59PM -0700, Paul E. McKenney wrote: > > On Tue, Oct 27, 2015 at 08:27:53AM -0700, Eric Dumazet wrote: > > > On Tue, 2015-10-27 at 12:02 -0300, Arnaldo Carvalho de Melo wrote: > [..] > > > > The first su

Re: [PATCH v5] PCI: Xilinx-NWL-PCIe: Added support for Xilinx NWL PCIe Host Controller

2015-10-28 Thread Bjorn Helgaas
On Wed, Oct 28, 2015 at 10:17:22AM +, Bharat Kumar Gogada wrote: > > On Mon, Oct 26, 2015 at 08:26:26PM +0530, Bharat Kumar Gogada wrote: > > > Adding PCIe Root Port driver for Xilinx PCIe NWL bridge IP. > > > > + > > > + while ((status = nwl_bridge_readl(pcie, MSGF_MSI_STATUS_LO)) != > > 0) {

Re: [PATCH 11/12] usb: serial: usb_debug: add support for dbc debug device

2015-10-28 Thread Greg Kroah-Hartman
On Wed, Oct 28, 2015 at 04:00:42PM +0800, Lu Baolu wrote: > This patch add dbc debug device support in usb_debug driver. > > Signed-off-by: Lu Baolu > --- > drivers/usb/serial/usb_debug.c | 29 ++--- > 1 file changed, 26 insertions(+), 3 deletions(-) > > diff --git a/dri

Re: [PATCHv2] arm: perf: Add event descriptions

2015-10-28 Thread Mark Rutland
On Tue, Oct 27, 2015 at 05:32:38PM +, Will Deacon wrote: > On Thu, Oct 22, 2015 at 07:05:58AM -0700, Drew Richardson wrote: > > On Fri, Oct 09, 2015 at 03:13:38AM -0700, Will Deacon wrote: > > > Also, would you be able to do something similar for AArch64 too, please? > > > (take a look at our f

[char-misc-next 2/2] mei: bus: set the device name before running fixup

2015-10-28 Thread Tomas Winkler
The mei bus fixup use dev_xxx services for printing to kernel log so we need to setup the device name prior to running fixup hooks. Signed-off-by: Tomas Winkler --- drivers/misc/mei/bus.c | 20 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/drivers/misc/mei/b

[char-misc-next 1/2] mei: bus: use correct lock ordering

2015-10-28 Thread Tomas Winkler
The correct lock order is cl_bus_lock device_lock me_clients_rwsem This order was violated in bus rescan and remove routines when me_client_rwsem was locked before cl_bus_lock. Chain exists of: [4.321653] &dev->device_lock --> &dev->me_clients_rwsem --> &dev->cl_bus_lock [4.

[PATCH] ntp:Fix second_overflow's input parameter type

2015-10-28 Thread DengChao
The function "second_overflow" uses "unsigned long" as its input parameter type which will overflow after year 2106 on 32bit systems. This patch replaces it with a time64_t type. Since "next_ntp_leap_sec" is already calculated, we can reuse it and avoid re-doing the division (which is now moreexpen

Re: [PATCH 01/12] usb: xhci: expose xhci extended capabilities via debugfs

2015-10-28 Thread Greg Kroah-Hartman
On Wed, Oct 28, 2015 at 04:00:32PM +0800, Lu Baolu wrote: > The xHCI host exports xHCI-specific extended capabilities utilizing > a method similar to PCI extended capabilities. In many cases, users > want to know whether a specific extended capability is supported by > a host. Unfortunately, curren

DEAR SIR/MADAM

2015-10-28 Thread
DO YOU NEED A LOAN IF YES CONTRACT US AT 2% INTEREST RATE. (1) NAME: (2) COUNTRY: (3) ADDRESS: (4) LOAN AMOUNT: (5) LOAN DURATION: (6)PURPOSE OF LOAN: (7) PHONE NUMBER: MRS. FATUMA ABRAHAM -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to major

Re: [PATCH v12 3/6] fpga: add simple-fpga-bus

2015-10-28 Thread atull
On Wed, 28 Oct 2015, Josh Cartwright wrote: > On Tue, Oct 27, 2015 at 05:09:12PM -0500, at...@opensource.altera.com wrote: > > From: Alan Tull > > > > The Simple FPGA bus uses the FPGA Manager Framework and the > > FPGA Bridge Framework to provide a manufactorer-agnostic > > interface for reprog

Re: [PATCH] MAINTAINERS: Start using the 'reviewer' (R) tag

2015-10-28 Thread Joe Perches
On Wed, 2015-10-28 at 12:24 +, Lee Jones wrote: > On Wed, 28 Oct 2015, Joe Perches wrote: > > On Wed, 2015-10-28 at 12:14 +, Lee Jones wrote: > > > Ah, but wait. get_maintainer.pl *does* assume M means Maintainer > > > doesn't it? > > > > No, it looks at the "S:" line. > > Right. Then a

Re: [Linaro-acpi] [PATCH V1 10/11] pci, acpi: Provide generic way to assign bus domain number.

2015-10-28 Thread Tomasz Nowicki
Hi Liviu, On 28.10.2015 12:38, liviu.du...@arm.com wrote: On Tue, Oct 27, 2015 at 05:38:41PM +0100, Tomasz Nowicki wrote: Architectures which support PCI_DOMAINS_GENERIC (like ARM64) cannot call pci_bus_assign_domain_nr along ACPI PCI host bridge initialization since this function needs valid p

[v6, 1/6] fsl/fman: Add FMan MURAM support

2015-10-28 Thread igal.liberman
From: Igal Liberman Add Frame Manager Multi-User RAM support. This internal FMan memory block is used by the FMan hardware modules, the management being made through the generic allocator. The FMan Internal memory, for example, is used for allocating transmit and receive FIFOs. Signed-off-by: I

[v6, 2/6] fsl/fman: Add FMan support

2015-10-28 Thread igal.liberman
From: Igal Liberman Add the Data Path Acceleration Architecture Frame Manger Driver. The FMan embeds a series of hardware blocks that implement a group of Ethernet interfaces. This patch adds The FMan configuration, initialization and runtime control routines. The FMan driver supports several ha

[v6, 3/6] fsl/fman: Add FMan MAC support

2015-10-28 Thread igal.liberman
From: Igal Liberman Add the Data Path Acceleration Architecture Frame Manger MAC support. This patch adds The FMan MAC configuration, initialization and runtime control routines. This patch contains support for these types of MACs: - dTSEC: Three speed Ethernet controller (10/100/1000 Mbp

[v6, 4/6] fsl/fman: Add FMan SP support

2015-10-28 Thread igal.liberman
From: Igal Liberman The Storage Profiles contain parameters that are used by the FMan for frame reception and transmission. Signed-off-by: Igal Liberman --- drivers/net/ethernet/freescale/fman/Makefile |2 +- drivers/net/ethernet/freescale/fman/fman_sp.c | 167 +

Re: [PATCH v12 6/6] ARM: socfpga: fpga bridge driver support

2015-10-28 Thread atull
On Wed, 28 Oct 2015, Steffen Trumtrar wrote: > On Tue, Oct 27, 2015 at 05:09:15PM -0500, at...@opensource.altera.com wrote: > > From: Alan Tull > > > > Supports Altera SOCFPGA bridges: > > * fpga2sdram > > * fpga2hps > > * hps2fpga > > * lwhps2fpga > > > > Allows enabling/disabling the brid

Re: [PATCH v4 11/11] scsi: ufs-exynos: add UFS host support for Exynos SoCs

2015-10-28 Thread Kishon Vijay Abraham I
Hi, On Sunday 25 October 2015 05:34 PM, Alim Akhtar wrote: > Hi Kishon > Thanks again for you review. > > On Fri, Oct 23, 2015 at 8:48 PM, Kishon Vijay Abraham I wrote: >> Hi, >> >> On Thursday 15 October 2015 08:38 AM, Alim Akhtar wrote: >>> +CCing kishon Vijay, >>> >>> On 10/14/2015 06:25 PM,

Re: [PATCH 0/2] perf: we can now read separate debug-info files based on a build ID

2015-10-28 Thread Arnaldo Carvalho de Melo
Em Tue, Oct 27, 2015 at 07:50:41PM -0700, Dima Kogan escreveu: > Hi. I'd like to get this merged before I forget about it and then I hit Hey, me too! But you forgot to ask me to :-) I.e. please CC whoever is listed in the MAINTAINERS file, also please next time use 'git format-patch' when sending

[PATCH] staging: rdma: ipath: Remove unneeded vairable.

2015-10-28 Thread Muhammad Falak R Wani
Remove unneeded variable ret, directly return 0. Signed-off-by: Muhammad Falak R Wani --- drivers/staging/rdma/ipath/ipath_file_ops.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/rdma/ipath/ipath_file_ops.c b/drivers/staging/rdma/ipath/ipath_file_ops.c i

[PATCH 3/8] Staging: rtl8192u: ieee80211: added missing space around '='

2015-10-28 Thread Kurt Kanzenbach
This patch fixes the following checkpatch error: - ERROR: spaces required around that '=' Signed-off-by: Kurt Kanzenbach --- drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_tkip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8192u/ieee80211/ieee8021

[PATCH 5/8] Staging: rtl8192u: ieee80211: corrected indent

2015-10-28 Thread Kurt Kanzenbach
This patch corrects the indentation in five instances in the ieee80211_crypt_tkip.c file. Signed-off-by: Kurt Kanzenbach --- drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_tkip.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/staging/rtl8192u/ieee80211

[PATCH 2/8] Staging: rtl8192u: ieee80211: fixed position of else statements

2015-10-28 Thread Kurt Kanzenbach
This patch fixes the following checkpatch error: - ERROR: else should follow close brace '}' Signed-off-by: Kurt Kanzenbach --- drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_tkip.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/staging/rtl8192u/ieee80211

[PATCH 0/8] Staging: rtl8192u: ieee80211: checkpatch cleanups

2015-10-28 Thread Kurt Kanzenbach
This patch series corrects most checkpatch.pl errors and some warnings in the ieee80211_crypt_tkip.c file. Kurt Kanzenbach (8): Staging: rtl8192u: ieee80211: fixed open brace positions Staging: rtl8192u: ieee80211: fixed position of else statements Staging: rtl8192u: ieee80211: added missing

[PATCH 1/8] Staging: rtl8192u: ieee80211: fixed open brace positions

2015-10-28 Thread Kurt Kanzenbach
This patch fixes the following checkpatch error: - ERROR: that open brace { should be on the previous line Signed-off-by: Kurt Kanzenbach --- .../staging/rtl8192u/ieee80211/ieee80211_crypt_tkip.c | 18 ++ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/drivers/s

[PATCH 7/8] Staging: rtl8192u: ieee80211: removed unnecessary braces

2015-10-28 Thread Kurt Kanzenbach
This patch fixes the following checkpatch warning: - WARNING: braces {} are not necessary for single statement blocks Signed-off-by: Kurt Kanzenbach --- drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_tkip.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/s

[PATCH v5 0/7] VFIO platform reset module rework

2015-10-28 Thread Eric Auger
This series fixes the current implementation by getting rid of the usage of __symbol_get which caused a compilation issue with CONFIG_MODULES disabled. On top of this, the usage of MODULE_ALIAS makes possible to add a new reset module without being obliged to update the framework. The new implement

[PATCH v5 5/7] vfio: platform: add compat in vfio_platform_device

2015-10-28 Thread Eric Auger
Let's retrieve the compatibility string on probe and store it in the vfio_platform_device struct Signed-off-by: Eric Auger --- v2 -> v3: - populate compat after vdev check --- drivers/vfio/platform/vfio_platform_common.c | 15 --- drivers/vfio/platform/vfio_platform_private.h | 1

[v6, 0/6] Freescale DPAA FMan

2015-10-28 Thread igal.liberman
From: Igal Liberman The Freescale Data Path Acceleration Architecture (DPAA) is a set of hardware components on specific QorIQ multicore processors. This architecture provides the infrastructure to support simplified sharing of networking interfaces and accelerators by multiple CPU cores and the

[PATCH v5 4/7] vfio: platform: reset: calxedaxgmac: add reset function registration

2015-10-28 Thread Eric Auger
This patch adds the reset function registration/unregistration. This is handled through the module_vfio_reset_handler macro. This latter also defines a MODULE_ALIAS which simplifies the load from vfio-platform. Signed-off-by: Eric Auger Reviewed-by: Arnd Bergmann --- v3 -> v4: - I restored the

Re: [PATCH 31/52] perf stat record: Synthesize stat record data

2015-10-28 Thread Jiri Olsa
On Tue, Oct 27, 2015 at 11:42:44AM -0300, Arnaldo Carvalho de Melo wrote: > Em Sun, Oct 25, 2015 at 03:51:47PM +0100, Jiri Olsa escreveu: > > Synthesizing needed stat record data for report/script: > > - cpu/thread maps > > - stat config > > After this it gets a bit better, but then I expected

[v6, 6/6] fsl/fman: Add FMan MAC driver

2015-10-28 Thread igal.liberman
From: Igal Liberman This patch adds the Ethernet MAC driver supporting the three different types of MACs: dTSEC, tGEC and mEMAC. Signed-off-by: Igal Liberman --- drivers/net/ethernet/freescale/fman/Makefile |3 +- drivers/net/ethernet/freescale/fman/mac.c| 980

[char-misc-next 2/2 V2] mei: bus: set the device name before running fixup

2015-10-28 Thread Tomas Winkler
The mei bus fixup use dev_xxx services for printing to kernel log so we need to setup the device name prior to running fixup hooks. Signed-off-by: Tomas Winkler --- V2: remove redundant uuid string in debug messages drivers/misc/mei/bus-fixup.c | 10 -- drivers/misc/mei/bus.c | 20

[v6, 5/6] fsl/fman: Add FMan Port Support

2015-10-28 Thread igal.liberman
From: Igal Liberman Add the Data Path Acceleration Architecture Frame Manger Port Driver. The FMan driver uses a module called "Port" to represent the physical TX and RX ports. Each FMan version has different number of physical ports. This patch adds The FMan Port configuration, initialization an

Re: [PATCH 31/52] perf stat record: Synthesize stat record data

2015-10-28 Thread Jiri Olsa
On Tue, Oct 27, 2015 at 11:42:44AM -0300, Arnaldo Carvalho de Melo wrote: SNIP > This is confusing... > > Anyway, now the perf.data file doesn't produce that many confusing > messages, just one, and the error reporting continues needing a > newline, oops just noticed another problem: > > [root@

[PATCH v5 6/7] vfio: platform: use list of registered reset function

2015-10-28 Thread Eric Auger
Remove the static lookup table and use the dynamic list of registered reset functions instead. Also load the reset module through its alias. The reset struct module pointer is stored in vfio_platform_device. We also remove the useless struct device pointer parameter in vfio_platform_get_reset. Th

[PATCH v5 7/7] vfio: platform: add dev_info on device reset

2015-10-28 Thread Eric Auger
It might be helpful for the end-user to check the device reset function was found by the vfio platform reset framework. Lets store a pointer to the struct device in vfio_platform_device and trace when the reset function is called or not found. Signed-off-by: Eric Auger --- v3: creation --- dr

Re: [PATCH] MAINTAINERS: Start using the 'reviewer' (R) tag

2015-10-28 Thread Javier Martinez Canillas
Hello Lee, On Wed, Oct 28, 2015 at 1:14 PM, Lee Jones wrote: > On Wed, 28 Oct 2015, Lee Jones wrote: > >> On Wed, 28 Oct 2015, Javier Martinez Canillas wrote: >> >> > Hello Joe, >> > >> > On Wed, Oct 28, 2015 at 12:06 PM, Joe Perches wrote: >> > > On Wed, 2015-10-28 at 11:53 +0100, Javier Martin

[PATCH v4] VFIO: platform: reset: AMD xgbe reset module

2015-10-28 Thread Eric Auger
This patch introduces a module that registers and implements a low-level reset function for the AMD XGBE device. it performs the following actions: - reset the PHY - disable auto-negotiation - disable & clear auto-negotiation IRQ - soft-reset the MAC Those tiny pieces of code are inherited from t

[PATCH v5 3/7] vfio: platform: introduce module_vfio_reset_handler macro

2015-10-28 Thread Eric Auger
The module_vfio_reset_handler macro - define a module alias - implement module init/exit function which respectively registers and unregisters the reset function. Signed-off-by: Eric Auger Reviewed-by: Arnd Bergmann --- v4 -> v5: - add Arnd's R-b v3 -> v4: - pass reset to vfio_platform_unreg

[PATCH v5 2/7] vfio: platform: add capability to register a reset function

2015-10-28 Thread Eric Auger
In preparation for subsequent changes in reset function lookup, lets introduce a dynamic list of reset combos (compat string, reset module, reset function). The list can be populated/voided with vfio_platform_register/unregister_reset. Those are not yet used in this patch. Signed-off-by: Eric Auge

[PATCH 0/8] Staging: rtl8192u: ieee80211: checkpatch cleanups

2015-10-28 Thread Kurt Kanzenbach
This patch series corrects most checkpatch.pl errors and some warnings in the ieee80211_crypt_tkip.c file. Kurt Kanzenbach (8): Staging: rtl8192u: ieee80211: fixed open brace positions Staging: rtl8192u: ieee80211: fixed position of else statements Staging: rtl8192u: ieee80211: added missing

[PATCH 1/8] Staging: rtl8192u: ieee80211: fixed open brace positions

2015-10-28 Thread Kurt Kanzenbach
This patch fixes the following checkpatch error: - ERROR: that open brace { should be on the previous line Signed-off-by: Kurt Kanzenbach --- .../staging/rtl8192u/ieee80211/ieee80211_crypt_tkip.c | 18 ++ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/drivers/s

[PATCH v5 1/7] vfio: platform: introduce vfio-platform-base module

2015-10-28 Thread Eric Auger
To prepare for vfio platform reset rework let's build vfio_platform_common.c and vfio_platform_irq.c in a separate module from vfio-platform and vfio-amba. This makes possible to have separate module inits and works around a race between platform driver init and vfio reset module init: that way we

[PATCH 6/8] Staging: rtl8192u: ieee80211: corrected block comments

2015-10-28 Thread Kurt Kanzenbach
This patch reformats some block comments in order to match the Linux kernel coding style. Signed-off-by: Kurt Kanzenbach --- .../rtl8192u/ieee80211/ieee80211_crypt_tkip.c | 31 +++--- 1 file changed, 21 insertions(+), 10 deletions(-) diff --git a/drivers/staging/rtl8192u/ie

[PATCH 4/8] Staging: rtl8192u: ieee80211: added missing spaces after if

2015-10-28 Thread Kurt Kanzenbach
This patch fixes the following checkpatch error: - ERROR: space required before the open parenthesis '(' Signed-off-by: Kurt Kanzenbach --- drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_tkip.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/rtl8192u

[PATCH 8/8] Staging: rtl8192u: ieee80211: added missing blank lines

2015-10-28 Thread Kurt Kanzenbach
This patch resolves the following checkpatch warnings: - WARNING: Missing a blank line after declarations Signed-off-by: Kurt Kanzenbach --- drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_tkip.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/staging/rtl8192u/ieee80211/iee

[PULL] clockevents: fixes for 4.3-rc7

2015-10-28 Thread Daniel Lezcano
Hi Thomas, this pull request contains a set of fixes for tip/timers/urgent: - Prevent ftrace recursion by adding the 'notrace' attribute to the sched_clock read callback (Jisheng Zhang). - Fix multiple shutdown call issue (Magnus Damm). Beside that, the commit fc686d0037d782c994e338ecb01b

Re: [PATCH v3 1/2] ASoC: wm9713: convert to regmap

2015-10-28 Thread Charles Keepax
On Tue, Oct 27, 2015 at 10:58:21PM +0100, Robert Jarzmik wrote: > Convert the Wolfson WM9713 to regmap API. This will leverage all the > regmap functions (debug, registers update, etc ...). > > As a bonus, this will pave the path to gpio chip introduction, and > devicetree support. > > Signed-off

[PATCH 5/8] clocksource/drivers/vf_pit_timer: Prevent ftrace recursion

2015-10-28 Thread Daniel Lezcano
From: Jisheng Zhang Having a traceable function in the sched_clock() path leads to a recursion within ftrace and a kernel crash. We should not trace the pit_read_sched_clock() function. Fix this by adding a notrace attribute to this function. Signed-off-by: Jisheng Zhang Signed-off-by: Daniel

[PATCH 1/8] clocksource/drivers/arm_global_timer: Prevent ftrace recursion

2015-10-28 Thread Daniel Lezcano
From: Jisheng Zhang Currently arm_global_timer can be used as a scheduler clock. We properly marked gt_sched_clock_read() as notrace but we then call another function gt_counter_read() that _wasn't_ notrace. Having a traceable function in the sched_clock() path leads to a recursion within ftrace

[PATCH 3/8] clocksource/drivers/samsung_pwm_timer: Prevent ftrace recursion

2015-10-28 Thread Daniel Lezcano
From: Jisheng Zhang Currently samsung_pwm_timer can be used as a scheduler clock. We properly marked samsung_read_sched_clock() as notrace but we then call another function samsung_clocksource_read() that _wasn't_ notrace. Having a traceable function in the sched_clock() path leads to a recursio

Re: [GIT] Networking

2015-10-28 Thread David Miller
From: Linus Torvalds Date: Wed, 28 Oct 2015 18:39:56 +0900 > Get rid of it. And I don't *ever* want to see that shit again. No problem, I'll revert it all. I asked Hannes to repost his patches to linux-kernel hoping someone would review and say it stunk or not, give him some feedback, or whatev

[PATCH 6/8] clocksource/drivers/fsl_ftm_timer: Prevent ftrace recursion

2015-10-28 Thread Daniel Lezcano
From: Jisheng Zhang Having a traceable function in the sched_clock() path leads to a recursion within ftrace and a kernel crash. We should not trace the ftm_read_sched_clock() function. Fix this by adding the notrace attribute to this function. Signed-off-by: Jisheng Zhang Signed-off-by: Dani

Re: [PATCH] MAINTAINERS: Start using the 'reviewer' (R) tag

2015-10-28 Thread Krzysztof Kozlowski
W dniu 28.10.2015 o 18:55, Lee Jones pisze: > On Wed, 28 Oct 2015, Uwe Kleine-König wrote: > >> Hello, >> >> On Wed, Oct 28, 2015 at 06:23:37PM +0900, Krzysztof Kozlowski wrote: >>> On 28.10.2015 17:24, Lee Jones wrote: You guys are pushing back like this is some kind of demotion. That's

[RFC] vfio/type1: handle case where IOMMU does not support PAGE_SIZE size

2015-10-28 Thread Eric Auger
Current vfio_pgsize_bitmap code hides the supported IOMMU page sizes smaller than PAGE_SIZE. As a result, in case the IOMMU does not support PAGE_SIZE page, the alignment check on map/unmap is done with larger page sizes, if any. This can fail although mapping could be done with pages smaller than

[PATCH 7/8] clocksource/drivers/digicolor: Prevent ftrace recursion

2015-10-28 Thread Daniel Lezcano
From: Jisheng Zhang Having a traceable function in the sched_clock() path leads to a recursion within ftrace and a kernel crash. We should not trace digicolor_timer_sched_read() function. Fix this by adding the notrace attribute to this function. Signed-off-by: Jisheng Zhang Acked-by: Baruch S

Re: [RFC PATCH net-next 2/4] perf tools: Introduce bpf-output event

2015-10-28 Thread Sergei Shtylyov
Hello. On 10/28/2015 1:55 PM, Wang Nan wrote: Commit a43eec304259a6c637f4014a6d4767159b6a3aa3 (bpf: introduce bpf_perf_event_output() helper) add a helper to enable BPF program You haven't run the patch thru scripts/checkpath.pl, I guess? It now enforces the certain style of citing a comm

[PATCH v6 05/15] scsi: ufs: increase fDeviceInit query response timeout

2015-10-28 Thread Yaniv Gardi
fDeviceInit query response time for some devices is too long that default query request timeout of 100ms may not be enough. Experiments show that fDeviceInit response sometimes takes 500ms so to be on safer side this change sets the timeout to 600ms. Without this change, we might unnecessarily have

[PATCH v6 02/15] scsi: ufs: clear fields UTRD, UPIU req and rsp before new transfers

2015-10-28 Thread Yaniv Gardi
Some of the data structures (like response UPIU) and/or its elements (unused fields) should be cleared before sending out the respective command to UFS device. This change clears the UPIU response data structure for query commands and NOP command before sending out the command. We also initialize

[PATCH v6 11/15] scsi: ufs: retry failed query flag requests

2015-10-28 Thread Yaniv Gardi
UFS flag query requests may fail sometimes due to timeouts etc. Add a wrapper function to retry up to 10 times in case of such failure, similar to retries being made for attribute queries. Reviewed-by: Dolev Raviv Signed-off-by: Gilad Broner Signed-off-by: Yaniv Gardi --- drivers/scsi/ufs/ufs

[PATCH v6 15/15] scsi: ufs: add wrapper for retrying sending query attribute

2015-10-28 Thread Yaniv Gardi
Sometimes queries from the device might return a failure so it is recommended to retry sending the query, before giving up. This change adds a wrapper to retry sending a query attribute, in cases where we need to wait longer, before we continue, or before reporting a failure. Reviewed-by: Gilad Br

[PATCH v6 12/15] scsi: ufs: reduce the interrupts for power mode change requests

2015-10-28 Thread Yaniv Gardi
DME commands such as Hibern8 enter/exit and gear switch generate 2 completion interrupts, one for confirmation that command is received by local UniPro and 2nd one is the final confirmation after communication with remote UniPro. Currently both of these completions are registered as interrupt event

[PATCH v6 10/15] scsi: ufs: fix error recovery after the hibern8 exit failure

2015-10-28 Thread Yaniv Gardi
Hibern8 exit can be called from 3 different context: - ufshcd_hibern8_exit_work - ufshcd_ungate_work - runtime/system resume If hibern8 exit fails for some reason then we try to bring the link to active state by link startup but this recovery mechanism results into deadlock or errors f

[PATCH v6 13/15] scsi: ufs: add missing memory barriers

2015-10-28 Thread Yaniv Gardi
Performing several writes to UFS host controller registers has no guarantee of ordering, so we must make sure register writes to setup request list base address etc. are performed before the run/stop register is enabled. In addition, when setting up a task request, we must make sure the updating of

[PATCH v6 14/15] scsi: ufs: commit descriptors before setting the doorbell

2015-10-28 Thread Yaniv Gardi
Add a write memory barrier to make sure descriptors prepared are actually written to memory before ringing the doorbell. We have also added the write memory barrier after ringing the doorbell register so that controller sees the new request immediately. Reviewed-by: Dolev Raviv Signed-off-by: Gil

[PATCH 2/8] clocksource/drivers/pistachio: Prevent ftrace recursion

2015-10-28 Thread Daniel Lezcano
From: Jisheng Zhang Currently pistachio can be used as a scheduler clock. We properly marked pistachio_read_sched_clock() as notrace but we then call another function pistachio_clocksource_read_cycles() that _wasn't_ notrace. Having a traceable function in the sched_clock() path leads to a recur

<    1   2   3   4   5   6   7   8   9   10   >