[PATCH v2 1/2] scsi: lpfc: Use kzalloc instead of kmalloc

2015-10-24 Thread Punit Vara
This patch is to the lpfc_els.c which resolves following warning reported by coccicheck: WARNING: kzalloc should be used for rdp_context, instead of kmalloc/memset Signed-off-by: Punit Vara --- drivers/scsi/lpfc/lpfc_els.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dr

Re: [PATCH v4 4/4] ARM: dts: sun6i: Add dts file for MSI Primo81 tablet

2015-10-24 Thread Maxime Ripard
Hi, On Fri, Oct 23, 2015 at 11:56:35PM +0800, Chen-Yu Tsai wrote: > >> as described in > >> Documentation/devicetree/bindings/input/touchscreen/touchscreen.txt > >> here, as the display is in portrait mode while the touchscreen is > >> in landscape mode and needs to have the x and y axes swapped t

Re: [PATCH v2 4/4] Staging: rtl8712: fix warning for placing constant on the right side of test

2015-10-24 Thread punit vara
On Fri, Oct 23, 2015 at 2:04 AM, Dan Carpenter wrote: > First fetch the changes, then check them out. > > $ git fetch git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git > staging-next > $ git checkout FETCH_HEAD > > regards, > dan carpenter > Thank you very much Dan. Problem is solv

Re: [PATCH 5/6] ARM: dts: sunxi: Add Allwinner H3 DTSI

2015-10-24 Thread Maxime Ripard
On Fri, Oct 23, 2015 at 09:20:13PM +0200, Jean-Francois Moine wrote: > On Fri, 23 Oct 2015 20:14:06 +0200 > Maxime Ripard wrote: > > > On Wed, Oct 21, 2015 at 06:20:27PM +0200, Jens Kuske wrote: > > > + bus_gates: clk@01c20060 { > > > + #clock-cells = <1>; > > > +

[PATCH] lustre: obdclass: fix sparse warning

2015-10-24 Thread Paul Davies C
This patch fixes the following warnings given by the sparse: drivers/staging/lustre/lustre/obdclass/linux/linux-module.c:424:5: warning: symbol 'class_procfs_init' was not declared. Should it be static? drivers/staging/lustre/lustre/obdclass/linux/linux-module.c:460:5: warning: symbol 'class_pro

Re: [PATCH V4 7/8] PCI: OF: Move of_pci_dma_configure() to pci_dma_configure()

2015-10-24 Thread Hanjun Guo
Hi Suravee, Some minor comments below: On 2015/10/21 23:52, Suravee Suthikulpanit wrote: [...] > diff --git a/drivers/pci/probe.c b/drivers/pci/probe.c > index eea8b42..09264f8 100644 > --- a/drivers/pci/probe.c > +++ b/drivers/pci/probe.c > @@ -6,12 +6,14 @@ > #include > #include > #includ

Re: [PATCH V4 8/8] PCI: ACPI: Add support for PCI device DMA coherency

2015-10-24 Thread Hanjun Guo
On 2015/10/21 23:52, Suravee Suthikulpanit wrote: > This patch adds support for setting up PCI device DMA coherency from > ACPI _CCA object that should normally be specified in the DSDT node > of its PCI host bridge. > > Signed-off-by: Suravee Suthikulpanit > CC: Bjorn Helgaas > CC: Catalin Marin

Re: [PATCH V4 0/8] PCI: ACPI: Setting up DMA coherency for PCI device from _CCA attribute

2015-10-24 Thread Hanjun Guo
On 2015/10/21 23:52, Suravee Suthikulpanit wrote: > This patch series adds support to setup DMA coherency for PCI device using > the ACPI _CCA attribute. According to the ACPI spec, the _CCA attribute > is required for ARM64. Therefore, this patch is a pre-req for ACPI PCI > support for ARM64 which

Re: [linux-sunxi] Re: [PATCH 5/6] ARM: dts: sunxi: Add Allwinner H3 DTSI

2015-10-24 Thread Hans de Goede
Hi, On 10/23/2015 08:14 PM, Maxime Ripard wrote: On Wed, Oct 21, 2015 at 06:20:27PM +0200, Jens Kuske wrote: + bus_gates: clk@01c20060 { + #clock-cells = <1>; + compatible = "allwinner,sun8i-h3-bus-gates-clk"; + reg

Re: [PATCH v3] VFIO: platform: reset: AMD xgbe reset module

2015-10-24 Thread kbuild test robot
Hi Eric, [auto build test ERROR on asm-generic/master -- if it's inappropriate base, please suggest rules for selecting the more suitable base] url: https://github.com/0day-ci/linux/commits/Eric-Auger/VFIO-platform-reset-AMD-xgbe-reset-module/20151024-000245 config: arm-allyesc

Re: [PATCH 5/6] ARM: dts: sunxi: Add Allwinner H3 DTSI

2015-10-24 Thread Jean-Francois Moine
On Sat, 24 Oct 2015 09:13:28 +0200 Maxime Ripard wrote: > Or simply > > bus_gates { > clocks = <&ahb1>, <&ahb2>; > clock-indices = <5>, <6>, <8>, ... > clock-output-names = "bus_ce", "bus_dma", "bus_mmc0" > }; I don't understand: the apb1, apb2, ahb1 and ahb2 clocks may be pro

Re: [PATCH v9 4/5] iio: trigger: Introduce IIO hrtimer based trigger

2015-10-24 Thread Matt Ranostay
Tested-by: Matt Ranostay On Fri, Oct 23, 2015 at 5:32 AM, Daniel Baluta wrote: > This patch registers a new IIO software trigger interrupt source > based on high resolution timers. > > Notice that if configfs is enabled we create sampling_frequency > attribute allowing users to change hrtimer pe

Re: [PATCH v10 2/5] iio: core: Introduce IIO configfs support

2015-10-24 Thread Matt Ranostay
Tested-by: Matt Ranostay On Fri, Oct 23, 2015 at 8:33 AM, Daniel Baluta wrote: > This patch creates the IIO configfs root group. The group > will appear under /iio/, usually /config/iio. > > We introduce configfs support in IIO in order to be able to easily > create IIO objects from userspace. T

RE: [PATCH v8 06/14] task_isolation: provide strict mode configurable signal

2015-10-24 Thread Gilad Ben Yossef
Hi Andy, Thank for the feedback. > From: Andy Lutomirski [mailto:l...@amacapital.net] > Sent: Wednesday, October 21, 2015 9:53 PM > To: Gilad Ben Yossef > Cc: Chris Metcalf; Steven Rostedt; Ingo Molnar; Peter Zijlstra; Andrew > Morton; Rik van Riel; Tejun Heo; Frederic Weisbecker; Thomas Gleixn

Re: [PATCH v4 4/4] ARM: dts: sun6i: Add dts file for MSI Primo81 tablet

2015-10-24 Thread Siarhei Siamashka
Hello, On Fri, 23 Oct 2015 23:46:59 +0800 Chen-Yu Tsai wrote: > On Fri, Oct 23, 2015 at 10:53 PM, Karsten Merker wrote: > > On Fri, Oct 23, 2015 at 11:50:41AM +0800, Chen-Yu Tsai wrote: > > > >> From: Karsten Merker > >> > >> The MSI Primo81 is an A31s based tablet, with 1G RAM, 16G NAND, > >>

Re: [PATCHv3 1/6] integrity: define '.evm' as a builtin 'trusted' keyring

2015-10-24 Thread Petko Manolov
On 15-10-23 14:43:53, Mimi Zohar wrote: > On Fri, 2015-10-23 at 16:05 +0300, Petko Manolov wrote: > > On 15-10-22 21:49:25, Dmitry Kasatkin wrote: > > > > diff --git a/security/integrity/ima/Kconfig > > > b/security/integrity/ima/Kconfig > > > index df30334..a292b88 100644 > > > --- a/security/in

Re: Problem about CPU stalling in hrtimer_intterrupts()

2015-10-24 Thread Thomas Gleixner
On Thu, 22 Oct 2015, Yang Yingliang wrote: > But I found out when the cpu is stalling, basenow.tv64(7676664221321) is > bigger than ktime_get().tv64(7336008904750) in hrtimer_interrupt() and > the timer->_softexpires is 733628800. This makes it can not finish > the while loop until ktime_get()

Re: [PATCH 1/4] arm: omap2+: add missing HWMOD_NO_IDLEST in 81xx hwmod data

2015-10-24 Thread Neil Armstrong
Hi, 2015-10-24 3:21 GMT+02:00 Tony Lindgren : > > Hi, > > * Neil Armstrong [151022 02:19]: > > Add missing HWMOD_NO_IDLEST hwmod flag for entries no > > having omap4 clkctrl values. > > Have you checked this is the case both in dm814x and dm816x TRM? > Also the documentation may not be complete F

Re: [PATCH V1 10/10] acpi, gicv3, its: Use MADT ITS subtable to do PCI/MSI domain initialization.

2015-10-24 Thread Hanjun Guo
On 2015/10/15 22:05, Tomasz Nowicki wrote: > After refactoring DT code, we let ACPI to build ITS PCI MSI domain > and do requester ID to device ID translation using IORT table. > > We have now full PCI MSI domain stack, thus we can enable ITS initialization > from GICv3 core driver for ACPI scenari

Re: [PATCH tip/locking/core v4 1/6] powerpc: atomic: Make *xchg and *cmpxchg a full barrier

2015-10-24 Thread Peter Zijlstra
On Thu, Oct 22, 2015 at 08:07:16PM +0800, Boqun Feng wrote: > On Wed, Oct 21, 2015 at 09:48:25PM +0200, Peter Zijlstra wrote: > > On Wed, Oct 21, 2015 at 12:35:23PM -0700, Paul E. McKenney wrote: > > > > > > > I ask this because I recall Peter once bought up a discussion: > > > > > > > > > > > > >

Re: [Ksummit-discuss] Linux Foundation Technical Advisory Board Elections and Nomination process

2015-10-24 Thread Grant Likely
[Including Rafael who also asked about what being a TAB member means] On Thu, Oct 22, 2015 at 10:03 PM, Darren Hart wrote: > On Tue, Oct 06, 2015 at 11:06:47AM +0100, Grant Likely wrote: > Is there a good description of what is expected of a TAB member? How much time > is involved? What makes a g

[PATCH v4 0/8] Build and support rk3036 SoC platform

2015-10-24 Thread Xing Zheng
Hi, We need to support rk3036 soc platform via upstream, there are 3 primary parts for the initial release of minimum system: dts, pinctrl, and clock tree for rk3036, and additional, we can use these startup and run to init processs. Thanks. Changed in v4: - add some basic IP modules on rk3036

[PATCH v4 2/8] clk: rockchip: add dt-binding header for rk3036

2015-10-24 Thread Xing Zheng
Add the dt-bindings header for the rk3036, that gets shared between the clock controller and the clock references in the dts. Signed-off-by: Xing Zheng Reviewed-by: Heiko Stuebner --- Changes in v4: None include/dt-bindings/clock/rk3036-cru.h | 195 1 file ch

[PATCH v4 4/8] clk: rockchip: add new pll-type for rk3036 and similar socs

2015-10-24 Thread Xing Zheng
The rk3036's pll and clock are different with base on the rk3066(rk3188, rk3288, rk3368 use it), there are different adjust foctors and control registers, so these should be independent and separate from the series of rk3066s. Signed-off-by: Xing Zheng Reviewed-by: Heiko Stuebner --- Changes in

[PATCH v4 3/8] clk: rockchip: add clock controller for rk3036

2015-10-24 Thread Xing Zheng
Add the clock tree definition for the new rk3036 SoC. Signed-off-by: Xing Zheng Reviewed-by: Heiko Stuebner --- Changes in v4: None drivers/clk/rockchip/Makefile |1 + drivers/clk/rockchip/clk-rk3036.c | 500 + drivers/clk/rockchip/clk.h|

[PATCH v4 1/8] dt-bindings: add documentation of rk3036 clock controller

2015-10-24 Thread Xing Zheng
Add the devicetree binding for the cru on the rk3036 which quite similar structured as previous clock controllers. Signed-off-by: Xing Zheng Reviewed-by: Heiko Stuebner --- Changes in v4: None .../bindings/clock/rockchip,rk3036-cru.txt | 56 1 file changed, 56 i

[PATCH v4 5/8] ARM: dts: rockchip: add core rk3036 dts

2015-10-24 Thread Xing Zheng
Initial release for rk3036, node definitions rk3036 sdk board. Signed-off-by: Xing Zheng Reviewed-by: Heiko Stuebner --- Changes in v4: None arch/arm/boot/dts/Makefile |1 + arch/arm/boot/dts/rk3036-evb.dts | 64 + arch/arm/boot/dts/rk3036.dtsi| 536 ++

[PATCH v4 6/8] ARM: rockchip: add support smp for rk3036

2015-10-24 Thread Xing Zheng
From: Heiko Stuebner The dual-core Cortex A7 rk3036 is a bit special in that it does not allow to control the actual powerdomain of the cpu cores, while the rest of the smp-bringup like reset control and entry address handling stays the same. Its bigger sibling, the quad-core rk3128 again allows

[PATCH v4 7/8] ARM: dts: enable smp for rk3036

2015-10-24 Thread Xing Zheng
Enable smp for rk3036, and add the smp sram name for adapting. Signed-off-by: Xing Zheng Reviewed-by: Heiko Stuebner --- Changes in v4: None arch/arm/boot/dts/rk3036.dtsi |5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/rk3036.dtsi b/arch/arm/boot/dts/rk3036.dtsi

[PATCH v4 8/8] rockchip: make sure timer5 is enabled on rk3036 platforms

2015-10-24 Thread Xing Zheng
The timer5 supplies the architected timer and thus as has to run when the system clocksource and clockevents drivers are registered. --- Changes in v4: Signed-off-by: Xing Zheng Reviewed-by: Heiko Stuebner arch/arm/mach-rockchip/rockchip.c | 44 +++-- 1 file

Re: [GIT PULL] ARM: dts: Exynos for v4.4 (3rd)

2015-10-24 Thread Krzysztof Kozlowski
2015-10-24 4:35 GMT+09:00 Kukjin Kim : > On 10/16/15 14:42, Krzysztof Kozlowski wrote: >> Dear Kukjin, >> >> Last batch of changes to DT for Exynos for v4.4. >> Includes dependency - clock driver changes. >> >> Best regards, >> Krzysztof >> >> >> The following changes since commit 9aaf43d9b59d6b5d8

Re: [PATCH v4 4/8] clk: rockchip: add new pll-type for rk3036 and similar socs

2015-10-24 Thread Heiko Stübner
Hi, Am Samstag, 24. Oktober 2015, 18:30:25 schrieb Xing Zheng: > The rk3036's pll and clock are different with base on the rk3066(rk3188, > rk3288, rk3368 use it), there are different adjust foctors and control > registers, so these should be independent and separate from the series > of rk3066s.

Re: [PATCH RFC net-next 0/2] tcp: Redundant Data Bundling (RDB)

2015-10-24 Thread Jonas Markussen
> On 24 Oct 2015, at 08:11, Yuchung Cheng wrote: > > On Fri, Oct 23, 2015 at 1:50 PM, Bendik Rønning Opstad > wrote: >> >> This is a request for comments. >> >> Redundant Data Bundling (RDB) is a mechanism for TCP aimed at reducing >> the latency for applications sending time-dependent data.

Re: [PATCH tip/locking/core v4 1/6] powerpc: atomic: Make *xchg and *cmpxchg a full barrier

2015-10-24 Thread Boqun Feng
On Sat, Oct 24, 2015 at 12:26:27PM +0200, Peter Zijlstra wrote: > On Thu, Oct 22, 2015 at 08:07:16PM +0800, Boqun Feng wrote: > > On Wed, Oct 21, 2015 at 09:48:25PM +0200, Peter Zijlstra wrote: > > > On Wed, Oct 21, 2015 at 12:35:23PM -0700, Paul E. McKenney wrote: > > > > > > > > I ask this becaus

Re: [PATCH v2 1/3] staging: rtl8712: Remove boolean comparisons

2015-10-24 Thread Luis de Bethencourt
On 22/10/15 20:05, Dan Carpenter wrote: > On Mon, Oct 19, 2015 at 06:14:29PM +0100, Luis de Bethencourt wrote: >> Boolean tests do not need explicit comparison to true or false. >> >> Signed-off-by: Luis de Bethencourt >> --- >> diff --git a/drivers/staging/rtl8712/usb_ops_linux.c >> b/drivers/st

[PATCH] block: remove useless casting value returned by kmalloc to structure

2015-10-24 Thread Punit Vara
This is the patch to the cciss_scsi.c file that resolves following warning reported by coccicheck: WARNING: casting value returned by memory allocation function to (struct cciss_scsi_adapter_data_t *) is useless. Signed-off-by: Punit Vara --- drivers/block/cciss_scsi.c | 3 +-- 1 file changed,

Re: [PATCH 0/4] Patches to fix remote wakeup on rk3288 dwc2 "host" port

2015-10-24 Thread Heiko Stübner
Am Freitag, 23. Oktober 2015, 11:28:07 schrieb Douglas Anderson: > The "host1" port (AKA the dwc2 port that isn't the OTG port) on rk3288 > has a hardware errata that causes everything to get confused when we get > a remote wakeup. It appears that the "port reset" bit that's in the USB > phy (loca

[PATCH] keys, trusted: select TPM2 hash algorithm

2015-10-24 Thread Jarkko Sakkinen
Added 'hashalg=' option for selecting the hash algorithm. Currently available options are: * sha1 * sha256 * sha384 * sha512 * sm3_256 Signed-off-by: Jarkko Sakkinen --- drivers/char/tpm/tpm.h | 5 - drivers/char/tpm/tpm2-cmd.c | 34 ++ include/keys/tr

Re: [RFC] hwmon: ina2xx: port to using remap, improve bandwidth.

2015-10-24 Thread Guenter Roeck
On 10/23/2015 01:35 PM, Marc Titinger wrote: Hi Guenter thanks for the review, answers bellow. [ ... ] /* shunt voltage */ -static SENSOR_DEVICE_ATTR(in0_input, S_IRUGO, ina2xx_show_value, NULL, +static SENSOR_DEVICE_ATTR(in0_input, S_IRUGO, ina2xx_show_shunt, NULL, INA2XX_

Re: [PATCH RFC net-next 0/2] tcp: Redundant Data Bundling (RDB)

2015-10-24 Thread Eric Dumazet
On Sat, 2015-10-24 at 08:00 +, Jonas Markussen wrote: > Repacketization is only on retransmissions; RDB bundles previously sent > segments with the next “normal” transmission instead. > > This makes the flow recover the lost segment before a retransmission is > triggered by an RTO or fast

Re: [PATCH 1/3] ACPI: Using correct irq when uninstalling acpi irq handler

2015-10-24 Thread Rafael J. Wysocki
On Thursday, October 22, 2015 08:03:08 PM Chen Yu wrote: > Currently when system is trying to uninstall the acpi irq > handler, it uses the acpi_gbl_FADT.sci_interrupt directly. > But acpi irq handler is actually installed by mapped irq > in acpi_os_install_interrupt_handler, so this patch fixes >

Re: [PATCH] usb: dwc2: host: Fix ahbcfg for rk3066

2015-10-24 Thread Heiko Stübner
Am Dienstag, 20. Oktober 2015, 16:33:53 schrieb Douglas Anderson: > The comment for ahbcfg for rk3066 parameters (also used for rk3288) > claimed that ahbcfg was INCR16, but it wasn't. Since the bits weren't > shifted properly, the 0x7 ended up being masked and we ended up > programming 0x3 for th

Re: [PATCH 4.1 00/46] 4.1.12-stable review

2015-10-24 Thread Greg Kroah-Hartman
On Fri, Oct 23, 2015 at 08:15:09PM -0700, Guenter Roeck wrote: > On 10/23/2015 10:45 AM, Greg Kroah-Hartman wrote: > >This is the start of the stable review cycle for the 4.1.12 release. > >There are 46 patches in this series, all will be posted as a response > >to this one. If anyone has any issu

Re: [PATCH 4.2 00/54] 4.2.5-stable review

2015-10-24 Thread Greg Kroah-Hartman
On Fri, Oct 23, 2015 at 07:04:21PM -0700, Guenter Roeck wrote: > On 10/23/2015 10:44 AM, Greg Kroah-Hartman wrote: > >This is the start of the stable review cycle for the 4.2.5 release. > >There are 54 patches in this series, all will be posted as a response > >to this one. If anyone has any issue

Re: [PATCH v6 22/22] of/platform: Defer probes of registered devices

2015-10-24 Thread Rafael J. Wysocki
On Thursday, October 22, 2015 04:27:10 PM Scott Wood wrote: > On Thu, 2015-10-22 at 15:04 +0200, Tomeu Vizoso wrote: > > On 22 October 2015 at 00:51, Scott Wood wrote: > > > On Wed, 2015-10-21 at 08:44 -0500, Rob Herring wrote: > > > > On Wed, Oct 21, 2015 at 12:54 AM, Scott Wood > > > > wrote: >

Re: [PATCH v6 04/22] of: add function to allow probing a device from a OF node

2015-10-24 Thread Rafael J. Wysocki
On Thursday, October 22, 2015 03:03:37 PM Tomeu Vizoso wrote: > On 22 October 2015 at 03:06, Rafael J. Wysocki wrote: > > On Monday, September 21, 2015 04:02:44 PM Tomeu Vizoso wrote: > >> Walks the OF tree up and finds the closest ancestor that has a struct > >> device associated with it, probing

Re: [PATCH v6 03/22] of/platform: Point to struct device from device node

2015-10-24 Thread Rafael J. Wysocki
On Thursday, October 22, 2015 03:01:45 PM Tomeu Vizoso wrote: > On 22 October 2015 at 03:02, Rafael J. Wysocki wrote: > > On Monday, September 21, 2015 04:02:43 PM Tomeu Vizoso wrote: > >> When adding platform and AMBA devices, set the device node's device > >> member to point to it. > >> > >> Thi

Re: [GIT PULL] On-demand device probing

2015-10-24 Thread Rafael J. Wysocki
On Friday, October 23, 2015 11:34:34 AM Rob Herring wrote: > On Fri, Oct 23, 2015 at 10:45 AM, Tim Bird wrote: > > On 10/22/2015 11:53 AM, Frank Rowand wrote: > >> On 10/22/2015 7:44 AM, Greg Kroah-Hartman wrote: > >>> > >>> > >>> On Thu, Oct 22, 2015 at 11:05:11AM +0200, Tomeu Vizoso wrote: > >>

Re: [PATCH] timeconst: update path in comment

2015-10-24 Thread Nicholas Mc Guire
On Thu, Oct 22, 2015 at 05:31:17PM +0200, Jason A. Donenfeld wrote: > It's understandable nobody really cares about applying this patch, > since it's mostly just cosmetic. But it would be nice to know that > somebody out there cares about consistency like I do. It would also > help out the next per

[PATCH] ASoC: sun4i-codec: use consistent names for PA controls

2015-10-24 Thread Adam Sampson
The power amplifier for the headphone output is called "the PA" and "the headphone amplifier" in Allwinner's documentation for the A10 and A20. sun4i-codec calls it "PA" in some places and "Pre-Amplifier" (which isn't really accurate) in others, leading to user-visible controls with different names

Re: [PATCH V1 10/10] acpi, gicv3, its: Use MADT ITS subtable to do PCI/MSI domain initialization.

2015-10-24 Thread Tomasz Nowicki
On 10/24/2015 12:20 PM, Hanjun Guo wrote: On 2015/10/15 22:05, Tomasz Nowicki wrote: After refactoring DT code, we let ACPI to build ITS PCI MSI domain and do requester ID to device ID translation using IORT table. We have now full PCI MSI domain stack, thus we can enable ITS initialization fro

Re: [PATCH v6 04/22] of: add function to allow probing a device from a OF node

2015-10-24 Thread Rafael J. Wysocki
On Friday, October 23, 2015 08:54:19 AM Mark Brown wrote: > > --7cm2iqirTL37Ot+N > Content-Type: text/plain; charset=us-ascii > Content-Disposition: inline > > On Thu, Oct 22, 2015 at 03:03:37PM +0200, Tomeu Vizoso wrote: > > On 22 October 2015 at 03:06, Rafael J. Wysocki wrote: > > > > Same qu

Re: [PATCH v2 2/2] net: ethernet: add driver for Aurora VLSI NB8800 Ethernet controller

2015-10-24 Thread David Miller
From: Mans Rullgard Date: Thu, 22 Oct 2015 17:28:50 +0100 > +static void nb8800_mac_tx(struct net_device *dev, int enable) ... > +static void nb8800_mac_rx(struct net_device *dev, int enable) ... > +static void nb8800_mac_af(struct net_device *dev, int enable) Please use 'bool' and true/false

Re: [PATCH 5/5] block: enable dax for raw block devices

2015-10-24 Thread Jan Kara
On Thu 22-10-15 23:41:27, Williams, Dan J wrote: > On Thu, 2015-10-22 at 23:08 +0200, Jan Kara wrote: > > On Thu 22-10-15 16:05:46, Williams, Dan J wrote: > > > On Thu, 2015-10-22 at 11:35 +0200, Jan Kara wrote: > > > > On Thu 22-10-15 02:42:11, Dan Williams wrote: > > > > > If an application wants

BUSINESS VORSCHLAG

2015-10-24 Thread Mr chin sang
BUSINESS VORSCHLAG Ich bin mit diesem Medium, um Sie über die Transaktion zur Abgabe von $ 2150 (einundzwanzig Millionen fünfhunderttausend US-Dollar) auf meinem Bank in China, Sie als Empfänger zu informieren. Es ist 100% sicher, wobei der Finanzvorstand des verstorbenen Kunden.

Re: [PATCH] rtc: ds1307: Fix alarm programming for mcp794xx

2015-10-24 Thread Nishanth Menon
On 10/23/2015 01:29 AM, Tero Kristo wrote: > mcp794xx alarm registers must be written in BCD format. However, the > alarm programming logic neglected this by adding one to the value > after bin2bcd conversion has been already done, writing bad values > to month register in case the alarm being set

Re: [RFC Patch 01/12] PCI: Add virtfn_index for struct pci_device

2015-10-24 Thread Lan, Tianyu
On 10/22/2015 2:07 AM, Alexander Duyck wrote: On 10/21/2015 09:37 AM, Lan Tianyu wrote: Add "virtfn_index" member in the struct pci_device to record VF sequence of PF. This will be used in the VF sysfs node handle. Signed-off-by: Lan Tianyu --- drivers/pci/iov.c | 1 + include/linux/pci

Re: [PATCH 5/5] block: enable dax for raw block devices

2015-10-24 Thread Jan Kara
On Fri 23-10-15 16:32:57, Dan Williams wrote: > On Thu, Oct 22, 2015 at 2:08 PM, Jan Kara wrote: > > On Thu 22-10-15 16:05:46, Williams, Dan J wrote: > [..] > >> This text was aimed at the request from Ross to document the differences > >> vs the generic_file_mmap() path. Is the following increme

[PATCH 8/9] soc: ti: knav_qmss_queue: add missing of_node_put

2015-10-24 Thread Julia Lawall
for_each_child_of_node performs an of_node_get on each iteration, so a break out of the loop requires an of_node_put. A simplified version of the semantic patch that fixes this problem is as follows (http://coccinelle.lip6.fr): // @@ expression root,e; local idexpression child; @@ for_each_chi

[PATCH 1/9] powerpc/powernv: add missing of_node_put

2015-10-24 Thread Julia Lawall
for_each_child_of_node performs an of_node_get on each iteration, so a break out of the loop requires an of_node_put. A simplified version of the semantic patch that fixes this problem is as follows (http://coccinelle.lip6.fr): // @@ expression root,e; local idexpression child; @@ for_each_chi

[PATCH 6/9] Bluetooth: btmrvl: add missing of_node_put

2015-10-24 Thread Julia Lawall
for_each_compatible_node performs an of_node_get on each iteration, so a break out of the loop requires an of_node_put. A simplified version of the semantic patch that fixes this problem is as follows (http://coccinelle.lip6.fr): // @@ expression e; local idexpression n; @@ for_each_compatible

[PATCH 9/9] pinctrl: at91: add missing of_node_put

2015-10-24 Thread Julia Lawall
for_each_child_of_node performs an of_node_get on each iteration, so a break out of the loop requires an of_node_put. A simplified version of the semantic patch that fixes this problem is as follows (http://coccinelle.lip6.fr): // @@ expression root,e; local idexpression child; @@ for_each_chi

[PATCH 7/9] gpu: host1x: add missing of_node_put

2015-10-24 Thread Julia Lawall
for_each_child_of_node performs an of_node_get on each iteration, so a break out of the loop requires an of_node_put. A simplified version of the semantic patch that fixes this problem is as follows (http://coccinelle.lip6.fr): // @@ expression root,e; local idexpression child; @@ for_each_chi

[PATCH 3/9] leds: bcm6328: add missing of_node_put

2015-10-24 Thread Julia Lawall
for_each_available_child_of_node performs an of_node_get on each iteration, so a break out of the loop requires an of_node_put. A simplified version of the semantic patch that fixes this problem is as follows (http://coccinelle.lip6.fr): // @@ expression root,e; local idexpression child; @@ fo

Re: [PATCH v2 3/3] ACPI/APEI/EINJ: Allow memory error injection to NVDIMM

2015-10-24 Thread Rafael J. Wysocki
On Friday, October 23, 2015 12:53:59 PM Toshi Kani wrote: > In the case of memory error injection, einj_error_inject() checks > if a target address is regular RAM. Update this check to add a call > to region_intersects_pmem() to verify if a target address range is > NVDIMM. This allows injecting

[PATCH 0/9] add missing of_node_put

2015-10-24 Thread Julia Lawall
The various for_each device_node iterators performs an of_node_get on each iteration, so a break out of the loop requires an of_node_put. The complete semantic patch that fixes this problem is (http://coccinelle.lip6.fr): // @r@ local idexpression n; expression e1,e2; iterator name for_each_node

[PATCH 5/9] drm/tegra: dc: add missing of_node_put

2015-10-24 Thread Julia Lawall
for_each_matching_node performs an of_node_get on each iteration, so a break out of the loop requires an of_node_put. A simplified version of the semantic patch that fixes this problem is as follows (http://coccinelle.lip6.fr): // @@ local idexpression n; expression e; @@ for_each_matching_nod

[PATCH 4/9] leds: 88pm860x: add missing of_node_put

2015-10-24 Thread Julia Lawall
for_each_child_of_node performs an of_node_get on each iteration, so a break out of the loop requires an of_node_put. A simplified version of the semantic patch that fixes this problem is as follows (http://coccinelle.lip6.fr): // @@ local idexpression n; expression e,r; @@ for_each_child_of_n

[net-next:master 1605/1613] net/tipc/link.c:166:6: sparse: symbol 'link_is_bc_sndlink' was not declared. Should it be static?

2015-10-24 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git master head: 687f079addba1ac7f97ce97080c2291bbe8c8dce commit: 5266698661401afc5e4a1a521cf9ba10724d10dd [1605/1613] tipc: let broadcast packet reception use new link receive function reproduce: # apt-get install s

[PATCH 2/9] leds: bcm6358: add missing of_node_put

2015-10-24 Thread Julia Lawall
for_each_available_child_of_node performs an of_node_get on each iteration, so a break out of the loop requires an of_node_put. A simplified version of the semantic patch that fixes this problem is as follows (http://coccinelle.lip6.fr): // @@ expression root,e; local idexpression child; @@ fo

Re: [PATCH RFC] fsnotify: destroy marks with call_srcu instead of dedicated thread

2015-10-24 Thread Jan Kara
On Fri 23-10-15 15:06:59, Jeff Layton wrote: > At the time that this code was originally written, call_srcu didn't > exist, so this thread was required to ensure that we waited for that > SRCU grace period to settle before finally freeing the object. > > It does exist now however and we can much m

Re: [Ksummit-discuss] Linux Foundation Technical Advisory Board Elections and Nomination process

2015-10-24 Thread Rafael J. Wysocki
On Saturday, October 24, 2015 11:28:19 AM Grant Likely wrote: > [Including Rafael who also asked about what being a TAB member means] > > On Thu, Oct 22, 2015 at 10:03 PM, Darren Hart wrote: > > On Tue, Oct 06, 2015 at 11:06:47AM +0100, Grant Likely wrote: > > Is there a good description of what

[net-next:master 1610/1613] net/tipc/link.c:176:5: sparse: symbol 'tipc_link_is_active' was not declared. Should it be static?

2015-10-24 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git master head: 687f079addba1ac7f97ce97080c2291bbe8c8dce commit: c72fa872a23f03b2b9c17e88f3b0a8070924e5f1 [1610/1613] tipc: eliminate link's reference to owner node reproduce: # apt-get install sparse git ch

[PATCH] printk: prevent userland from spoofing kernel messages

2015-10-24 Thread Mathias Krause
The following statement of ABI/testing/dev-kmsg is not quite right: It is not possible to inject messages from userspace with the facility number LOG_KERN (0), to make sure that the origin of the messages can always be reliably determined. Userland actually can inject messages with a fac

Re: [PATCH v2 1/3] dmaengine: virt-dma: don't always free descriptor upon completion

2015-10-24 Thread Robert Jarzmik
Robert Jarzmik writes: > This patch attempts to enhance the case of a transfer submitted multiple > times, and where the cost of creating the descriptors chain is not > negligible. > > This happens with big video buffers (several megabytes, ie. several > thousands of linked descriptors in one sca

Re: [PATCH v5 1/4] media: pxa_camera: fix the buffer free path

2015-10-24 Thread Robert Jarzmik
Robert Jarzmik writes: > Fix the error path where the video buffer wasn't allocated nor > mapped. In this case, in the driver free path don't try to unmap memory > which was not mapped in the first place. > > Signed-off-by: Robert Jarzmik > --- > Since v3: take into account the 2 paths possibili

Re: [RFC Patch 05/12] IXGBE: Add new sysfs interface of "notify_vf"

2015-10-24 Thread Lan, Tianyu
On 10/22/2015 4:52 AM, Alexander Duyck wrote: Also have you even considered the MSI-X configuration on the VF? I haven't seen anything anywhere that would have migrated the VF's MSI-X configuration from BAR 3 on one system to the new system. MSI-X migration is done by Hypervisor(Qemu). Follow

Re: [PATCH 3/3] net: ethernet: add driver for Aurora VLSI NB8800 Ethernet controller

2015-10-24 Thread Måns Rullgård
Florian Fainelli writes: +static void nb8800_set_rx_mode(struct net_device *dev) +{ + struct nb8800_priv *priv = netdev_priv(dev); + struct netdev_hw_addr *ha; + int af_en; + + if ((dev->flags & (IFF_PROMISC | IFF_ALLMULTI)) || + netdev_mc_count(de

Re: [PATCH] mtd: spi-nor: fsl-quadspi: add big-endian support

2015-10-24 Thread Fabio Estevam
On Fri, Oct 23, 2015 at 5:53 AM, Yuan Yao wrote: > /* > + * R/W functions for big- or little-endian registers: > + * The qSPI controller's endian is independent of the CPU core's endian. > + * So far, although the CPU core is little-endian but the qSPI have two > + * versions for big-endian and

[PATCH 1/4] perf tools: Improve ambiguous option help message

2015-10-24 Thread Namhyung Kim
Currently if an option name is ambiguous it only prints first two matched option names but no help. It'd be better it could show all possible names and help messages too. Before: $ perf report --show Error: Ambiguous option: show (could be --show-total-period or

[PATCH 2/4] perf report: Rename to --show-cpu-utilization

2015-10-24 Thread Namhyung Kim
So that it can be more consistent with other --show-* options. The old name (--showcpuutilization) is provided only for compatibility. Signed-off-by: Namhyung Kim --- tools/perf/Documentation/perf-report.txt | 2 +- tools/perf/builtin-report.c | 4 +++- tools/perf/util/parse-option

[PATCH 4/4] perf tools: Introduce usage_with_options_msg()

2015-10-24 Thread Namhyung Kim
Now usage_with_options() setup a pager before printing message so normal printf() or pr_err() will not be shown. The usage_with_options_msg() can be used to print some help message before usage strings. Cc: Masami Hiramatsu Signed-off-by: Namhyung Kim --- tools/perf/builtin-evlist.c | 4 +

[PATCH 3/4] perf tools: Setup pager when printing usage and help

2015-10-24 Thread Namhyung Kim
It's annoying to see error or help message when command has many options like in perf record, report or top. So setup pager when print parser error or help message - it should be OK since no UI is enabled at the parsing time. The usage_with_options() already disables it by calling exit_browser()

Re: [tip:perf/core] perf tools: Improve call graph documents and help messages

2015-10-24 Thread Namhyung Kim
Hi Ingo, On Fri, Oct 23, 2015 at 6:03 PM, Ingo Molnar wrote: > > * tip-bot for Namhyung Kim wrote: > >> Commit-ID: 76a26549eb367f683fbb394b7246bef5dc665f8c >> Gitweb: >> http://git.kernel.org/tip/76a26549eb367f683fbb394b7246bef5dc665f8c >> Author: Namhyung Kim >> AuthorDate: Thu, 22 O

[PATCH] HID: usbhid: Add a quirk for Xin-Mo Dual Arcade

2015-10-24 Thread Michele Baldessari
The Xin-Mo Dual Arcade controller (16c0:05e1) needs this quirk in order to have the two distinct joysticks working. Before the change: $ jstest /dev/input/js0 Joystick (Xin-Mo Xin-Mo Dual Arcade) has 2 axes (X, Y) ... $ jstest /dev/input/js1 jstest: No such file or directory After the change: $ j

Re: [Tech-board] [Ksummit-discuss] Linux Foundation Technical Advisory Board Elections and Nomination process

2015-10-24 Thread John W. Linville
Good write-up! We should archive this for reference in future years! John On Sat, Oct 24, 2015 at 11:28:19AM +0100, Grant Likely wrote: > [Including Rafael who also asked about what being a TAB member means] > > On Thu, Oct 22, 2015 at 10:03 PM, Darren Hart wrote: > > On Tue, Oct 06, 2015 at 1

RE: [PATCH 1/3] ACPI: Using correct irq when uninstalling acpi irq handler

2015-10-24 Thread Chen, Yu C
Hi, Rafael > -Original Message- > From: Rafael J. Wysocki [mailto:r...@rjwysocki.net] > Sent: Saturday, October 24, 2015 9:32 PM > To: Chen, Yu C > Cc: l...@kernel.org; Zhang, Rui; Zheng, Lv; linux-a...@vger.kernel.org; > linux...@vger.kernel.org; linux-kernel@vger.kernel.org; > sta...@vge

Re: [RFC Patch 08/12] IXGBEVF: Rework code of finding the end transmit desc of package

2015-10-24 Thread Lan, Tianyu
On 10/22/2015 8:58 PM, Michael S. Tsirkin wrote: Do you really need to play the shifting games? Can't you just reset everything and re-initialize the rings? It's slower but way less intrusive. Also removes the need to track writes into rings. Shift ring is to avoid losing those packets in the

Re: [RFC Patch 08/12] IXGBEVF: Rework code of finding the end transmit desc of package

2015-10-24 Thread Lan, Tianyu
On 10/22/2015 5:14 AM, Alexander Duyck wrote: Where is i being initialized? It was here but you removed it. Are you using i without initializing it? Sorry, the initialization was put into patch 10 by mistake. "i" is assigned with "tx_ring->next_to_clean". -- To unsubscribe from this list: se

Re: [PATCH 0/4] Patches to fix remote wakeup on rk3288 dwc2 "host" port

2015-10-24 Thread Rob Herring
On 10/23/2015 01:28 PM, Douglas Anderson wrote: > The "host1" port (AKA the dwc2 port that isn't the OTG port) on rk3288 > has a hardware errata that causes everything to get confused when we get > a remote wakeup. It appears that the "port reset" bit that's in the USB > phy (located in the rk3288

Re: [PATCH v5 1/2] acpi: add acpi_preset_companion() stub

2015-10-24 Thread Wolfram Sang
On Fri, Oct 23, 2015 at 12:27:06PM -0700, Dustin Byford wrote: > Add a stub for acpi_preset_companion(). Fixes build failures when > acpi_preset_companion() is used and CONFIG_ACPI is not set. > > Acked-by: Mika Westerberg > Signed-off-by: Dustin Byford Waiting for Rafael's ack here... > ---

Re: [Ksummit-discuss] Linux Foundation Technical Advisory Board Elections and Nomination process

2015-10-24 Thread Dan Williams
On Tue, Oct 6, 2015 at 3:06 AM, Grant Likely wrote: > [Resending because I messed up the first one] > > The elections for five of the ten members of the Linux Foundation > Technical Advisory Board (TAB) are held every year[1]. This year the > election will be at the 2015 Kernel Summit in Seoul, So

Re: [PATCH] gpio: add tps65218 gpio driver

2015-10-24 Thread kbuild test robot
Hi Nicolas, [auto build test ERROR on gpio/for-next -- if it's inappropriate base, please suggest rules for selecting the more suitable base] url: https://github.com/0day-ci/linux/commits/Nicolas-Saenz-Julienne/gpio-add-tps65218-gpio-driver/20151024-003657 config: x86_64-randconfig

[PATCH 0/3][v2] Fix incorrect using of acpi irq

2015-10-24 Thread Chen Yu
This series of patches are trying to convert codes who use acpi_gbl_FADT.sci_interrupt incorrectly to use the right irq mapped by acpi_gsi_to_irq. Chen Yu (3): ACPI: Using correct irq when uninstalling acpi irq handler ACPI: Using correct irq when waiting for events ACPI / PM: Fix incorrect

[PATCH] leds: bcm6328: Handle default-state of LEDs correctly

2015-10-24 Thread Simon Arlott
The default-state handler assumes that the LED is active low and omits use of the shift macro causing "keep" to misdetect the state. Determine the brightness and then use the led set function to apply it. Update the documentation to indicate that this driver works for the BCM63168 (which has many

[PATCH 1/3][v2] ACPI: Using correct irq when uninstalling acpi irq handler

2015-10-24 Thread Chen Yu
Currently when system is trying to uninstall the acpi irq handler, it uses the acpi_gbl_FADT.sci_interrupt directly. But acpi irq handler is actually installed by mapped irq in acpi_os_install_interrupt_handler, so this patch fixes this problem by using the mapped irq returned from acpi_gsi_to_irq.

[PATCH 2/3][v2] ACPI: Using correct irq when waiting for events

2015-10-24 Thread Chen Yu
When system is waiting for GPE/fixed event handler to finish, it uses the acpi_gbl_FADT.sci_interrupt directly. However, we should use mapped irq returned by acpi_gsi_to_irq for synchronize_hardirq. Cc: # 3.19+ Acked-by: Lv Zheng Signed-off-by: Chen Yu --- drivers/acpi/osl.c | 4 ++-- 1 file c

[PATCH 3/3][v2] ACPI / PM: Fix incorrect wakeup irq setting before suspend-to-idle

2015-10-24 Thread Chen Yu
For ACPI compatible system, SCI(ACPI System Control Interrupt) is used to wake the system up from suspend-to-idle. Once the CPU is woken up by SCI, the interrupt handler will firstly check if the current interrupt is legal to wake up the whole system, thus irq_pm_check_wakeup is invoked to validate

[PATCH v2] ARM: dts: am335x-boneblack: Use pinctrl constants and AM33XX_IOPAD macro

2015-10-24 Thread Andrew F. Davis
Using constants for pinctrl allows better readability and removes redundancy with comments. AM33XX_IOPAD allows us to use part of the pinctrl physical address as in the TRM instead of an offset. Signed-off-by: Andrew F. Davis --- arch/arm/boot/dts/am335x-boneblack.dts | 44 +-

Re: [PATCH 2/3][v2] ACPI: Using correct irq when waiting for events

2015-10-24 Thread kbuild test robot
Hi Chen, [auto build test ERROR on pm/linux-next -- if it's inappropriate base, please suggest rules for selecting the more suitable base] url: https://github.com/0day-ci/linux/commits/Chen-Yu/ACPI-Using-correct-irq-when-waiting-for-events/20151025-010210 config: x86_64-randconfig-x015-20154

  1   2   >