[PATCH 2/2] of/platform: clarify of_find_device_by_node refcounting

2016-11-01 Thread Johan Hovold
Add comment clarifying that of_find_device_by_node() takes a reference to the embedded struct device which needs to be dropped after use. Note that most current users fail to do so. Signed-off-by: Johan Hovold --- drivers/of/platform.c | 3 +++ 1 file changed, 3 insertions(+) diff --git

[PATCH 1/2] of/platform: fix of_platform_device_destroy comment

2016-11-01 Thread Johan Hovold
Update the comment to of_platform_device_destroy() to reflect that it no longer returns a status value. Fixes: 75f353b61342 ("of/platform: Fix of_platform_device_destroy...") Signed-off-by: Johan Hovold --- drivers/of/platform.c | 3 --- 1 file changed, 3 deletions(-) diff --git

[PATCH 2/2] net: rfkill-regulator: Add devicetree support

2016-11-01 Thread Paul Cercueil
This commit adds the support for probing the rfkill-regulator from devicetree. Information about the devicetree bindings can be found here: Documentation/devicetree/bindings/net/rfkill-regulator.txt Signed-off-by: Paul Cercueil --- net/rfkill/rfkill-regulator.c | 43

[PATCH 1/2] Documentation: devicetree: Add bindings info for rfkill-regulator

2016-11-01 Thread Paul Cercueil
This document gives information about how to write a devicetree node that corresponds to the rfkill-regulator driver. Signed-off-by: Paul Cercueil --- .../devicetree/bindings/net/rfkill-regulator.txt | 18 ++ 1 file changed, 18 insertions(+) create mode 100644

Re: [PATCH v2] usb: dwc3: gadget: wait for End Transfer to complete

2016-11-01 Thread Felipe Balbi
Hi, Baolin Wang writes: > Changes since v1: > - Move the suspend checking to right place to avoid checking twice. there is still one problem > @@ -1736,12 +1739,38 @@ static int dwc3_gadget_stop(struct usb_gadget *g) > { > struct dwc3 *dwc = gadget_to_dwc(g); >

[PATCH net 2/4] net: ethernet: ti: cpsw: fix device and of_node leaks

2016-11-01 Thread Johan Hovold
Make sure to drop the references taken by of_get_child_by_name() and bus_find_device() before returning from cpsw_phy_sel(). Note that there is no guarantee that the devres-managed struct cpsw_phy_sel_priv will continue to be valid until this function returns regardless of this change. Fixes:

[PATCH net 1/4] phy: fix device reference leaks

2016-11-01 Thread Johan Hovold
Make sure to drop the reference taken by bus_find_device_by_name() before returning from phy_connect() and phy_attach(). Note that both function still take a reference to the phy device through phy_attach_direct(). Fixes: e13934563db0 ("[PATCH] PHY Layer fixup") Signed-off-by: Johan Hovold ---

[PATCH net 3/4] net: ethernet: ti: davinci_emac: fix device reference leak

2016-11-01 Thread Johan Hovold
Make sure to drop the references taken by bus_find_device() before returning from emac_dev_open(). Note that phy_connect still takes a reference to the phy device. Fixes: 5d69e0076a72 ("net: davinci_emac: switch to new mdio") Signed-off-by: Johan Hovold ---

Re: [Patch V6 2/6] irqchip: xilinx: Clean up irqdomain argument and read/write

2016-11-01 Thread Zubair Lutfullah Kakakhel
Hi, Thanks for the review. On 10/31/2016 07:51 PM, Thomas Gleixner wrote: On Mon, 31 Oct 2016, Zubair Lutfullah Kakakhel wrote: The drivers read/write function handling is a bit quirky. Can you please explain in more detail what's quirky and why it should be done differently, And the

[PATCH net 0/4] net: fix device reference leaks

2016-11-01 Thread Johan Hovold
This series fixes a number of device reference leaks (and one of_node leak) due to failure to drop the references taken by bus_find_device() and friends. Note that the final two patches have been compile tested only. Thanks, Johan Johan Hovold (4): phy: fix device reference leaks net:

[PATCH net 4/4] net: hns: fix device reference leaks

2016-11-01 Thread Johan Hovold
Make sure to drop the reference taken by class_find_device() in hnae_get_handle() on errors and when later releasing the handle. Fixes: 6fe6611ff275 ("net: add Hisilicon Network Subsystem...") Signed-off-by: Johan Hovold --- drivers/net/ethernet/hisilicon/hns/hnae.c | 8 +++- 1 file

Re: [PATCH v2] usb: dwc3: gadget: wait for End Transfer to complete

2016-11-01 Thread Baolin Wang
Hi, On 1 November 2016 at 19:01, Felipe Balbi wrote: > > Hi, > > Baolin Wang writes: >> Changes since v1: >> - Move the suspend checking to right place to avoid checking twice. > > there is still one problem > >> @@ -1736,12 +1739,38 @@ static int dwc3_gadget_stop(struct usb_gadget *g) >> {

Re: [BUG][REGRESSION] mangled display since -rc1

2016-11-01 Thread Martin Kepplinger
Am 31. Oktober 2016 22:54:54 MEZ, schrieb Joerg Roedel : >On Mon, Oct 31, 2016 at 09:44:51PM +0100, Martin Kepplinger wrote: >> This is one machine booting a bad kernel. I could provide another >> example later this week. > >You have an Intel system without any IOMMU (enabled), otherwise you

[PATCH v16 1/5] dt-bindings: soc: Add documentation for the MediaTek GCE unit

2016-11-01 Thread HS Liao
This adds documentation for the MediaTek Global Command Engine (GCE) unit found in MT8173 SoCs. Signed-off-by: HS Liao Acked-by: Rob Herring --- .../devicetree/bindings/mailbox/mtk-gce.txt| 43 ++ 1 file changed, 43 insertions(+) create mode 100644

[PATCH v16 0/5] Mediatek MT8173 CMDQ support

2016-11-01 Thread HS Liao
Hi, This is Mediatek MT8173 Command Queue(CMDQ) driver. The CMDQ is used to help write registers with critical time limitation, such as updating display configuration during the vblank. It controls Global Command Engine (GCE) hardware to achieve this requirement. These patches have a build

[PATCH v16 5/5] CMDQ: save energy

2016-11-01 Thread HS Liao
use clk_disable_unprepare instead of clk_disable to save more energy when CMDQ is idle. Signed-off-by: HS Liao --- drivers/mailbox/mtk-cmdq-mailbox.c | 52 -- 1 file changed, 44 insertions(+), 8 deletions(-) diff --git a/drivers/mailbox/mtk-cmdq-mailbox.c

[PATCH v16 4/5] CMDQ: suspend and resume

2016-11-01 Thread HS Liao
take suspend and resume into consideration Signed-off-by: HS Liao --- drivers/mailbox/mtk-cmdq-mailbox.c | 44 ++ 1 file changed, 44 insertions(+) diff --git a/drivers/mailbox/mtk-cmdq-mailbox.c b/drivers/mailbox/mtk-cmdq-mailbox.c index d086fd8..747bcd3

[PATCH v16 3/5] arm64: dts: mt8173: Add GCE node

2016-11-01 Thread HS Liao
This patch adds the device node of the GCE hardware for CMDQ module. Signed-off-by: HS Liao --- arch/arm64/boot/dts/mediatek/mt8173.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi b/arch/arm64/boot/dts/mediatek/mt8173.dtsi index

[PATCH v16 2/5] CMDQ: Mediatek CMDQ driver

2016-11-01 Thread HS Liao
This patch is first version of Mediatek Command Queue(CMDQ) driver. The CMDQ is used to help write registers with critical time limitation, such as updating display configuration during the vblank. It controls Global Command Engine (GCE) hardware to achieve this requirement. Currently, CMDQ only

Re: [PATCH v2] usb: dwc3: gadget: wait for End Transfer to complete

2016-11-01 Thread Felipe Balbi
Hi, Baolin Wang writes: > Hi, > > On 1 November 2016 at 19:01, Felipe Balbi wrote: >> >> Hi, >> >> Baolin Wang writes: >>> Changes since v1: >>> - Move the suspend checking to right place to avoid checking twice. >> >> there is still one problem >> >>> @@ -1736,12 +1739,38 @@ static int

Re: [PATCH v2] phy: rcar-gen3-usb2: add sysfs for usb role swap

2016-11-01 Thread Peter Chen
On Tue, Nov 01, 2016 at 04:01:58PM +0900, Yoshihiro Shimoda wrote: > This patch adds sysfs "otg_inputs" for usb role swap. This parameter > is write-only and if you use them as the following, you can swap > the usb role. > > For example: > 1) connect a usb cable using 2 salvator-x boards > 2)

Re: [PATCH V6 3/4] drm/bridge: Add driver for GE B850v3 LVDS/DP++ Bridge

2016-11-01 Thread Philipp Zabel
Hi Peter, Am Donnerstag, den 27.10.2016, 15:01 +0200 schrieb Peter Senna Tschudin: > Add a driver that create a drm_bridge and a drm_connector for the LVDS > to DP++ display bridge of the GE B850v3. > > There are two physical bridges on the video signal pipeline: a > STDP4028(LVDS to DP) and a

Re: [PATCH] UBIFS: Remove some dead code

2016-11-01 Thread Richard Weinberger
On 01.11.2016 07:45, Christophe JAILLET wrote: > 'ubifs_fast_find_freeable()' can not return an error pointer, so this test > can be removed. > > Signed-off-by: Christophe JAILLET > --- > fs/ubifs/gc.c | 4 > 1 file changed, 4 deletions(-) > > diff --git a/fs/ubifs/gc.c b/fs/ubifs/gc.c

Re: [PATCH v2] usb: dwc3: gadget: wait for End Transfer to complete

2016-11-01 Thread Baolin Wang
Hi, On 1 November 2016 at 19:36, Felipe Balbi wrote: > > Hi, > > Baolin Wang writes: >> Hi, >> >> On 1 November 2016 at 19:01, Felipe Balbi wrote: >>> >>> Hi, >>> >>> Baolin Wang writes: Changes since v1: - Move the suspend checking to right place to avoid checking twice. >>> >>>

Re: [PATCH 2/2] swiotlb: Add swiotlb=nobounce debug option

2016-11-01 Thread Robin Murphy
On 31/10/16 18:20, Geert Uytterhoeven wrote: > Hi Robin, > > On Mon, Oct 31, 2016 at 6:41 PM, Robin Murphy wrote: >> On 31/10/16 15:45, Geert Uytterhoeven wrote: >>> On architectures like arm64, swiotlb is tied intimately to the core >>> architecture DMA support. In addition, ZONE_DMA cannot be

Re: [BUG][REGRESSION] mangled display since -rc1

2016-11-01 Thread Jani Nikula
On Tue, 01 Nov 2016, Martin Kepplinger wrote: > Am 31. Oktober 2016 22:54:54 MEZ, schrieb Joerg Roedel : >>On Mon, Oct 31, 2016 at 09:44:51PM +0100, Martin Kepplinger wrote: >>> This is one machine booting a bad kernel. I could provide another >>> example later this week. >> >>You have an Intel

Re: [PATCH 3/4] MIPS: Fix ISA I/II FP signal context offsets

2016-11-01 Thread Maciej W. Rozycki
On Tue, 1 Nov 2016, Paul Burton wrote: > BTW, do you have a feel for whether there's a good r2k/r3k platform (ideal > would be some software emulator if any are good enough) that we could hook up > to our continuous integration system? That would help us to catch any > regressions like this in

[PATCH v2 0/3] Add Mediatek CIRQ interrupt controller

2016-11-01 Thread Youlin Pei
In Mediatek SOCs, the CIRQ is a low power interrupt controller designed to works outside MCUSYS which comprises with Cortex-Ax cores,CCI and GIC. The CIRQ controller is integrated in between MCUSYS and interrupt sources as the second level interrupt controller. The external interrupts which

[PATCH v2 3/3] ARM: dts: mt2701: Add mtk-cirq node for mt2701

2016-11-01 Thread Youlin Pei
This commit add mtk-cirq node to mt2701 dtsi. Signed-off-by: Youlin Pei --- arch/arm/boot/dts/mt2701.dtsi | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/mt2701.dtsi b/arch/arm/boot/dts/mt2701.dtsi index 2800231..cd00bc4 100644 ---

[PATCH v2 1/3] binding: irqchip: mtk-cirq: Add binding document

2016-11-01 Thread Youlin Pei
This commit adds the device tree binding document for the mediatek cirq. Signed-off-by: Youlin Pei --- .../interrupt-controller/mediatek,cirq.txt | 30 1 file changed, 30 insertions(+) create mode 100644

[PATCH v2 2/3] irqchip: mtk-cirq: Add mediatek mtk-cirq implement

2016-11-01 Thread Youlin Pei
In Mediatek SOCs, the CIRQ is a low power interrupt controller designed to works outside MCUSYS which comprises with Cortex-Ax cores,CCI and GIC. The CIRQ controller is integrated in between MCUSYS( include Cortex-Ax, CCI and GIC ) and interrupt sources as the second level interrupt controller.

[RFC PATCH 1/3] notifiers: Document notifier priority

2016-11-01 Thread Borislav Petkov
From: Borislav Petkov I always forget which is highest priority so document it. Signed-off-by: Borislav Petkov --- include/linux/notifier.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/notifier.h b/include/linux/notifier.h index 4149868de4e6..6bd3c691e562 100644 ---

[RFC PATCH 3/3] x86/MCE: Dump MCE to dmesg if no consumers

2016-11-01 Thread Borislav Petkov
From: Borislav Petkov When there are no error record consumers registered with the kernel, the only thing that appears in dmesg is something like: [ 300.000326] mce: [Hardware Error]: Machine check events logged and the error records are gone. Which is seriously counterproductive. So let's

[RFC PATCH 0/3] x86/RAS: Dump error record to dmesg if no consumers

2016-11-01 Thread Borislav Petkov
From: Borislav Petkov Right, so this is not a good thing: systems may not have any error record consumers registered and in such cases, any logged MCEs disappear into the void. And this shouldn't happen. So let's dump them to dmesg as a last resort. Borislav Petkov (3): notifiers: Document

[RFC PATCH 2/3] x86/RAS: Add TSC to the injected MCE

2016-11-01 Thread Borislav Petkov
From: Borislav Petkov Add the TSC at the time of injection. Signed-off-by: Borislav Petkov --- arch/x86/ras/mce_amd_inj.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/x86/ras/mce_amd_inj.c b/arch/x86/ras/mce_amd_inj.c index 1ac76479c266..8730c2882fff 100644 ---

Re: please, where has xconfig KConf option documentation gone with linux 4.8's Qt5 / Qt4 xconfig ?

2016-11-01 Thread Boris Barbulovski
hi Randy, Frankly I don't have answer to your questions, but I did reproduced the issues you described. And found that: * `Show Debug Info` menu item was(created, but) not added to the menu. * if the `showDebug` setting was set to true, the the initial widgets state will not be set correctly.

Re: [tpmdd-devel] tpm_tis regression in 4.9?

2016-11-01 Thread Jarkko Sakkinen
On Mon, Oct 31, 2016 at 08:16:59PM +, Winkler, Tomas wrote: > > > > On Fri, Oct 28, 2016 at 05:37:45PM +0300, Jarkko Sakkinen wrote: > > > > > > I think this patch from Jarkko's next is the fix: > > > > > > > > http://git.infradead.org/users/jjs/linux-tpmdd.git/commit/65da72b7dd > > > >

Re: [PATCH] net/mlx5: Simplify a test

2016-11-01 Thread Saeed Mahameed
On 11/01/2016 09:10 AM, Christophe JAILLET wrote: 'create_root_ns()' does not return an error pointer, so the test can be simplified to be more consistent. Signed-off-by: Christophe JAILLET Acked-by: Saeed Mahameed

RE: [PATCH v3 3/3] clocksource: Add clockevent support to NPS400 driver

2016-11-01 Thread Noam Camus
> From: Thomas Gleixner [mailto:t...@linutronix.de] > Sent: Monday, October 31, 2016 8:13 PM >> >> -static unsigned long nps_timer_rate; >> +static unsigned long nps_timer1_freq; >This should be either in the previous patch or seperate. Will fix in V4 >> @@ -101,3 +101,215 @@ static

Urgent Private Massage.

2016-11-01 Thread Mr. Adams mahjid
-- Good day my dear friend, I am Mr. Adams mahjid I work as the Foreign Operations Manager with one of the Bank here in Burkina Faso. Although the world is very small place and hard place to meet people because you don't know who to trust or believe, but as I have developed the trust in you

Re: [PATCH v6 1/3] LSM: Add /sys/kernel/security/lsm

2016-11-01 Thread Tetsuo Handa
Casey Schaufler wrote: > diff --git a/security/security.c b/security/security.c > index f825304..f0a802ee 100644 > --- a/security/security.c > +++ b/security/security.c > @@ -32,6 +32,7 @@ > /* Maximum number of letters for an LSM name string */ > #define SECURITY_NAME_MAX10 > > +char

Re: [PATCH v18 0/4] Introduce usb charger framework to deal with the usb gadget power negotation

2016-11-01 Thread Baolin Wang
Hi, On 31 October 2016 at 08:00, NeilBrown wrote: > On Fri, Oct 28 2016, Baolin Wang wrote: > >>> >>> 3/ usb_charger_notify_state() does nothing if the state doesn't change. >>> When the extcon detects an SDP, it will be called to set the state >>> to USB_CHARGER_PRESENT. The value of

Re: [PATCH] staging: vc04_services: setup DMA and coherent mask

2016-11-01 Thread Robin Murphy
Hi Michael, On 31/10/16 19:53, Michael Zoran wrote: > On Mon, 2016-10-31 at 11:40 -0700, Michael Zoran wrote: >> On Mon, 2016-10-31 at 11:36 -0700, Eric Anholt wrote: >>> Michael Zoran writes: >>> Setting the DMA mask is optional on 32 bit but is mandatory on 64 bit. Set the DMA mask

[PATCH v3 1/2] backlight: pwm_bl: Move the checks for initial power state to a separate function

2016-11-01 Thread Peter Ujfalusi
Move the checks to select the initial state for the backlight to a new function and document the checks we are doing. With the separate function it is going to be easier to fix or improve the initial power state configuration later and it is easier to read the code. Signed-off-by: Peter Ujfalusi

[PATCH v3 0/2] backlight: pwm_bl: Fix the initial power state selection

2016-11-01 Thread Peter Ujfalusi
Hi, Changes since v2: - Do not change the way how the GPIO initially configured as input is handled. Configure it as output and set it's state as active. Changes since v1: - Handling of the enable GPIO is reworked: - Only change direction to output when the pin was input and in this case set

[PATCH v3 2/2] backlight: pwm_bl: Check the pwm state for initial backlight power state

2016-11-01 Thread Peter Ujfalusi
If the pwm is not enabled the backlight initially should not be enabled either if we have booted with DT and there is a phandle pointing to the backlight node. The patch extends the checks to decide if we should keep the backlight off initially. Signed-off-by: Peter Ujfalusi ---

[PATCH/RESEND V4 3/3] ARM64 LPC: LPC driver implementation on Hip06

2016-11-01 Thread zhichang.yuan
On Hip06, the accesses to LPC peripherals work in an indirect way. A corresponding LPC driver configure some registers in LPC master at first, then the real accesses on LPC slave devices are finished by the LPC master, which is transparent to LPC driver. This patch implement the relevant driver

[PATCH/RESEND V4 1/3] ARM64 LPC: Indirect ISA port IO introduced

2016-11-01 Thread zhichang.yuan
For arm64, there is no I/O space as other architectural platforms, such as X86. Most I/O accesses are achieved based on MMIO. But for some arm64 SoCs, such as Hip06, when accessing some legacy ISA devices connected to LPC, those known port addresses are used to control the corresponding target

Re: [PATCHv2] PCI: QDF2432 32 bit config space accessors

2016-11-01 Thread cov
Hi Bjorn, On 2016-10-31 15:48, Bjorn Helgaas wrote: On Wed, Sep 21, 2016 at 06:38:05PM -0400, Christopher Covington wrote: The Qualcomm Technologies QDF2432 SoC does not support accesses smaller than 32 bits to the PCI configuration space. Register the appropriate quirk. Signed-off-by:

[PATCH/RESEND V4 2/3] ARM64 LPC: Add missing range exception for special ISA

2016-11-01 Thread zhichang.yuan
Currently if the range property is not specified of_translate_one returns an error. There are some special devices that work on a range of I/O ports where it's is not correct to specify a range property as the cpu addresses are used by special accessors. Here we add a new exception in

[PATCH/RESEND V4 0/3] ARM64 LPC: legacy ISA I/O support

2016-11-01 Thread zhichang.yuan
This patch supports the IPMI-bt device attached to the Low-Pin-Count interface implemented on Hisilicon Hip06 SoC. --- | LPC host| | | --- |

Re: [PATCH v3 1/2] backlight: pwm_bl: Move the checks for initial power state to a separate function

2016-11-01 Thread Philipp Zabel
Am Dienstag, den 01.11.2016, 14:59 +0200 schrieb Peter Ujfalusi: > Move the checks to select the initial state for the backlight to a new > function and document the checks we are doing. > > With the separate function it is going to be easier to fix or improve the > initial power state

Re: [PATCH v3 2/2] backlight: pwm_bl: Check the pwm state for initial backlight power state

2016-11-01 Thread Philipp Zabel
Am Dienstag, den 01.11.2016, 14:59 +0200 schrieb Peter Ujfalusi: > If the pwm is not enabled the backlight initially should not be enabled > either if we have booted with DT and there is a phandle pointing to the > backlight node. > > The patch extends the checks to decide if we should keep the

BUG? genirq: irq 14 uses trigger mode 8; requested 0

2016-11-01 Thread Mika Westerberg
Hi, I started seeing following messages on Intel Broxton when the pinctrl/GPIO driver [1] loads: [0.645786] genirq: irq 14 uses trigger mode 8; requested 0 The driver shares interrupt with other GPIO "communities" or banks so it uses request_irq() instead of

Re: [RFC PATCH 0/4] Clean up watchdog handlers

2016-11-01 Thread Don Zickus
On Mon, Oct 31, 2016 at 04:30:59PM -0500, Babu Moger wrote: > > On 10/31/2016 4:00 PM, Don Zickus wrote: > >On Wed, Oct 26, 2016 at 09:02:19AM -0700, Babu Moger wrote: > >>This is an attempt to cleanup watchdog handlers. Right now, > >>kernel/watchdog.c implements both softlockup and hardlockup

ATTENZIONE;

2016-11-01 Thread Amministratore
ATTENZIONE; La cassetta postale ha superato il limite di archiviazione, che è 5 GB come definiti dall'amministratore, che è attualmente in esecuzione su 10.9GB, non si può essere in grado di inviare o ricevere nuovi messaggi fino a ri-convalidare la tua mailbox. Per rinnovare la vostra casella

[PATCH v2] Drivers: hv: vmbus: Raise retry/wait limits in vmbus_post_msg()

2016-11-01 Thread Vitaly Kuznetsov
DoS protection conditions were altered in WS2016 and now it's easy to get -EAGAIN returned from vmbus_post_msg() (e.g. when we try changing MTU on a netvsc device in a loop). All vmbus_post_msg() callers don't retry the operation and we usually end up with a non-functional device or crash. While

Re: [PATCH v4 20/23] ARM: shmobile: rcar-gen2: Stop passing mode pins state to clock driver

2016-11-01 Thread Sergei Shtylyov
On 10/21/2016 04:17 PM, Geert Uytterhoeven wrote: Now the R-Car Gen2 CPG clock driver obtains the state of the mode pins from the R-Car RST driver, there's no longer a need to pass this state explicitly. Hence we can just call of_clk_init() instead. Signed-off-by: Geert Uytterhoeven Acked-by:

Re: [PATCH 01/14] dma: sun6i-dma: Add burst case of 4

2016-11-01 Thread Koul, Vinod
On Sun, 2016-10-30 at 10:06 +0800, Chen-Yu Tsai wrote: > Looking at the dmaengine API, I believe we got it wrong. > > max_burst in dma_slave_config denotes the largest amount of data > a single transfer should be, as described in dmaengine.h: Not a single transfer but smallest transaction within

Re: [PATCH v8 0/3] ARM: dts: imx6q: Add Engicam i.CoreM6 dts

2016-11-01 Thread Shawn Guo
On Fri, Oct 21, 2016 at 01:35:50PM +0530, Jagan Teki wrote: > From: Jagan Teki > > This is series add dts support for Engicam I.Core M6 qdl modules. just > rebased on top of linux-next. > > Jagan Teki (3): > ARM: dts: imx6q: Add Engicam i.CoreM6 Quad/Dual initial support > ARM: dts: imx6q:

Re: [PATCH RESEND] mpt3sas: Fix for block device of raid exists even after deleting raid disk

2016-11-01 Thread Martin K. Petersen
> "Sreekanth" == Sreekanth Reddy writes: Sreekanth> While merging mpt3sas & mpt2sas code, we posted below patch Sreekanth> for WarpDrive support, [...] Sreekanth> Due to above hunk, we are not initializing raid_device's Sreekanth> starget for raid volumes, and so during raid disk deletion

Re: [PATCH v3 3/5] mtd: nand: Add bb_per_lun and blocks_per_lun fields to nand_chip

2016-11-01 Thread Boris Brezillon
On Fri, 28 Oct 2016 15:27:42 -0500 Zach Brown wrote: > The fields bb_per_lun and blocks_per_lun are useful determining the > number of bad blocks a MTD needs to allocate. How they are set will > depend on if the chip is ONFI, JEDEC or a fuill-id entry in the nand_ids > table. > > Signed-off-by:

Re: [PATCH 2/4] loop: Enable correct physical blocksize

2016-11-01 Thread Christoph Hellwig
On Mon, Oct 31, 2016 at 08:37:17PM +0100, Hannes Reinecke wrote: > When running on files the physical blocksize is actually 4k, Is it? Independent of that sentence the patch looks fine: Reviewed-by: Christoph Hellwig

Re: [PATCH 3/4] loop: Add 'lo_logical_blocksize'

2016-11-01 Thread Christoph Hellwig
On Mon, Oct 31, 2016 at 08:37:18PM +0100, Hannes Reinecke wrote: > Add a new field 'lo_logical_blocksize' to hold the logical > blocksize of the loop device. Why do we use the same flag for both block sizes? If there is a good reason for that it should be documented and both should be in the

Re: [Qemu-devel] [PATCH v9 04/12] vfio iommu: Add support for mediated devices

2016-11-01 Thread Kirti Wankhede
On 10/28/2016 7:48 AM, Alexey Kardashevskiy wrote: > On 27/10/16 23:31, Kirti Wankhede wrote: >> >> >> On 10/27/2016 12:50 PM, Alexey Kardashevskiy wrote: >>> On 18/10/16 08:22, Kirti Wankhede wrote: VFIO IOMMU drivers are designed for the devices which are IOMMU capable. Mediated

Re: [PATCH 4/4] loop: Pass logical blocksize in 'lo_init[0]' ioctl field

2016-11-01 Thread Christoph Hellwig
On Mon, Oct 31, 2016 at 08:37:19PM +0100, Hannes Reinecke wrote: > The current LOOP_SET_STATUS64 ioctl has two unused fields > 'init[2]', which can be used in conjunction with the > LO_FLAGS_BLOCKSIZE flag to pass in the new logical blocksize. Can we give them sane field names while at it? Also

Re: [PATCH v2 1/3] arm64: crypto/aes-ce-ccm: Cleanup hwcap check

2016-11-01 Thread Ard Biesheuvel
Hi Suzuki, On 31 October 2016 at 16:03, Suzuki K Poulose wrote: > Use the module_cpu_feature_match to make sure the system has > HWCAP_AES to use the module. > > Cc: Ard Biesheuvel > Signed-off-by: Suzuki K Poulose > --- > arch/arm64/crypto/aes-ce-ccm-glue.c | 5 ++--- > 1 file changed, 2

Re: [PATCH v2 2/3] arm64: Add hypervisor safe helper for checking constant capabilities

2016-11-01 Thread Will Deacon
On Mon, Oct 31, 2016 at 04:03:44PM +, Suzuki K Poulose wrote: > The hypervisor may not have full access to the kernel data structures > and hence cannot safely use cpus_have_cap() helper for checking the > system capability. Add a safe helper for hypervisors to check a constant > system

ATENCIÓN;

2016-11-01 Thread Sistemas administrador
ATENCIÓN; Su buzón ha superado el límite de almacenamiento, que es de 5 GB definidos por el administrador, quien actualmente está ejecutando en 10.9GB, no puede ser capaz de enviar o recibir correo nuevo hasta que vuelva a validar su buzón de correo electrónico. Para revalidar su buzón de

[char-misc:char-misc-testing] warning

2016-11-01 Thread Robin van der Gracht
Hi Tobias, Lately I've submitted patches to Gregs (char-misc) git repo and they got bounced because the kbuild bot threw a warning: warning: (PMAC_BACKLIGHT && DRM_NOUVEAU && HT16K33 && FB_TFT) selects FB_BACKLIGHT which has unmet direct dependencies (HAS_IOMEM && FB) My patched added a new

Re: [PATCH] kexec: Export memory sections virtual addresses to vmcoreinfo

2016-11-01 Thread Dave Anderson
- Original Message - > On 11/01/16 at 01:10pm, Dave Young wrote: > > On 10/06/16 at 04:46pm, Baoquan He wrote: > > > KASLR memory randomization can randomize the base of the physical memory > > > mapping (PAGE_OFFSET), vmalloc (VMALLOC_START) and vmemmap > > > (VMEMMAP_START). These need

Re: [PATCH 45/60] block: bio: introduce bio_for_each_segment_all_rd() and its write pair

2016-11-01 Thread Theodore Ts'o
On Tue, Nov 01, 2016 at 07:51:27AM +0800, Ming Lei wrote: > Sorry for forgetting to mention one important point: > > - after multipage bvec is introduced, the iterated bvec pointer > still points to singlge page bvec, which is generated in-flight > and is readonly actually. That is the motivation

Re: [PATCH 1/2] block: add bio_iov_iter_get_pages()

2016-11-01 Thread Christoph Hellwig
On Tue, Nov 01, 2016 at 09:05:00AM +0800, Ming Lei wrote: > > + size = iov_iter_get_pages(iter, pages, LONG_MAX, nr_pages, ); > > BTW, if there is one multi-page version of get_user_pages_fast() and > iov_iter_get_pages(), size of page array can be reduced too. There isn't at the moment.

Re: [PATCH v2 1/3] arm64: crypto/aes-ce-ccm: Cleanup hwcap check

2016-11-01 Thread Suzuki K Poulose
On 01/11/16 14:03, Ard Biesheuvel wrote: Hi Suzuki, On 31 October 2016 at 16:03, Suzuki K Poulose wrote: Use the module_cpu_feature_match to make sure the system has HWCAP_AES to use the module. Cc: Ard Biesheuvel Signed-off-by: Suzuki K Poulose --- arch/arm64/crypto/aes-ce-ccm-glue.c | 5

Re: [PATCH 2/2] block: fast-path for small and simple direct I/O requests

2016-11-01 Thread Christoph Hellwig
On Mon, Oct 31, 2016 at 04:19:11PM -0700, Omar Sandoval wrote: > > + if (unlikely(ret)) > > + return ret; > > + ret = bio.bi_iter.bi_size; > > + > > + if (iov_iter_rw(iter) == READ) { > > + bio_set_op_attrs(, REQ_OP_READ, 0); > > + if (iter->type == ITER_IOVEC)

Re: [PATCH v5 2/2] drm: tilcdc: clear the sync lost bit in crtc isr

2016-11-01 Thread Jyri Sarha
On 10/31/16 16:19, Bartosz Golaszewski wrote: > The frame synchronization error happens when the DMA engine attempts > to read what it believes to be the first word of the video buffer but > it cannot be recognized as such or when the LCDC is starved of data > due to insufficient bandwidth of the

Re: BUG? genirq: irq 14 uses trigger mode 8; requested 0

2016-11-01 Thread Jon Hunter
Hi Mika, On 01/11/16 13:02, Mika Westerberg wrote: Hi, I started seeing following messages on Intel Broxton when the pinctrl/GPIO driver [1] loads: [0.645786] genirq: irq 14 uses trigger mode 8; requested 0 The driver shares interrupt with other GPIO "communities" or banks so it uses

Re: [PATCH 2/4] fs: remove the never implemented aio_fsync file operation

2016-11-01 Thread Christoph Hellwig
On Tue, Nov 01, 2016 at 07:25:21AM +1100, Dave Chinner wrote: > That sounds like a problem with your fix - it should work > regardless of whether a valid/implemented AIO function is called > or not, right? There's no difference between an invalid command, > IOCB_CMD_FSYNC where ->aio_fsync() is

Re: [PATCH v2 1/3] introduce memcpy_nocache()

2016-11-01 Thread Boaz Harrosh
On 10/28/2016 04:54 AM, Boylston, Brian wrote: > Boaz Harrosh wrote on 2016-10-26: >> On 10/26/2016 06:50 PM, Brian Boylston wrote: >>> Introduce memcpy_nocache() as a memcpy() that avoids the processor cache >>> if possible. Without arch-specific support, this defaults to just >>> memcpy(). For

Re: [PATCH v5 2/2] drm: tilcdc: clear the sync lost bit in crtc isr

2016-11-01 Thread Jyri Sarha
On 10/31/16 16:19, Bartosz Golaszewski wrote: > The frame synchronization error happens when the DMA engine attempts > to read what it believes to be the first word of the video buffer but > it cannot be recognized as such or when the LCDC is starved of data > due to insufficient bandwidth of the

Re: [PATCH v8 7/7] KVM: x86: virtualize cpuid faulting

2016-11-01 Thread Paolo Bonzini
> + vcpu->arch.cpuid_fault = false; This should be conditional on "if (!init_event)". Most MSRs are untouched on an INIT IPI. Otherwise looks good. The patch is independent of the rest, so I would prefer to take it through the KVM tree. Thanks, Paolo >

Re: [PATCH 2/4] fs: remove the never implemented aio_fsync file operation

2016-11-01 Thread Christoph Hellwig
On Mon, Oct 31, 2016 at 06:30:11PM -0700, Linus Torvalds wrote: > I still suspect that if we want to do this, we should strive to expose > all the other syncing flags from sync_file_range() too. sync_file_range is entirely different from fsync - sync_file_range allows you detailed control of data

Re: [PATCH v2 2/3] arm64: Add hypervisor safe helper for checking constant capabilities

2016-11-01 Thread Suzuki K Poulose
On 01/11/16 14:03, Will Deacon wrote: On Mon, Oct 31, 2016 at 04:03:44PM +, Suzuki K Poulose wrote: The hypervisor may not have full access to the kernel data structures and hence cannot safely use cpus_have_cap() helper for checking the system capability. Add a safe helper for hypervisors

[4.9-rc3] BUG: unable to handle kernel paging request at ffffc900144dfc60

2016-11-01 Thread Tetsuo Handa
Hello. Andy Lutomirski wrote: > Reporting these fields on a non-current task is dangerous. If the > task is in any state other than normal kernel code, they may contain > garbage or even kernel addresses on some architectures. (x86_64 > used to do this. I bet lots of architectures still do.)

Re: BUG? genirq: irq 14 uses trigger mode 8; requested 0

2016-11-01 Thread Mika Westerberg
On Tue, Nov 01, 2016 at 02:24:38PM +, Jon Hunter wrote: > Hi Mika, > > On 01/11/16 13:02, Mika Westerberg wrote: > > Hi, > > > > I started seeing following messages on Intel Broxton when the > > pinctrl/GPIO driver [1] loads: > > > > [0.645786] genirq: irq 14 uses trigger mode 8;

Re: [PATCH 1/1] xen-netfront: do not cast grant table reference to signed short

2016-11-01 Thread David Miller
From: Dongli Zhang Date: Mon, 31 Oct 2016 21:46:09 -0700 (PDT) > David, I am very sorry for this error and I will be careful the next time. > Would you please let me know if I should resend a new patch or an incremental > based on previous one at >

Re: [PATCH 01/14] dma: sun6i-dma: Add burst case of 4

2016-11-01 Thread Chen-Yu Tsai
On Tue, Nov 1, 2016 at 9:46 PM, Koul, Vinod wrote: > On Sun, 2016-10-30 at 10:06 +0800, Chen-Yu Tsai wrote: >> Looking at the dmaengine API, I believe we got it wrong. >> >> max_burst in dma_slave_config denotes the largest amount of data >> a single transfer should be, as described in

Re: [PATCH] kobject: set state_initialized to 0 in kobject_cleanup

2016-11-01 Thread Greg KH
On Tue, Nov 01, 2016 at 06:41:44PM +0800, Songjun Wu wrote: > If state_initialized is not set to 0 when a kobject is > released, a device is registered, unregistered, and > registered again, the error below will occur. > > kobject (dec04bb0): tried to init an initialized object, > something is

Re: [RFC PATCH 0/4] Clean up watchdog handlers

2016-11-01 Thread Babu Moger
On 11/1/2016 8:20 AM, Don Zickus wrote: On Mon, Oct 31, 2016 at 04:30:59PM -0500, Babu Moger wrote: On 10/31/2016 4:00 PM, Don Zickus wrote: On Wed, Oct 26, 2016 at 09:02:19AM -0700, Babu Moger wrote: This is an attempt to cleanup watchdog handlers. Right now, kernel/watchdog.c implements

Re: [PATCH 2/4] fs: remove the never implemented aio_fsync file operation

2016-11-01 Thread Linus Torvalds
On Tue, Nov 1, 2016 at 7:30 AM, Christoph Hellwig wrote: > > sync_file_range is entirely different from fsync - Absolutely. And I think it's a shame. Particularly the fact that we don't have any way to actually tie into the filesystem, and we just work on the page cache level, which "mostly

Re: [RFC 1/2] mmc: sdhci: dt: Add device tree properties sdhci-caps and sdhci-caps-mask

2016-11-01 Thread Zach Brown
On Tue, Nov 01, 2016 at 07:13:29AM +0900, Jaehoon Chung wrote: > On 10/31/2016 09:34 PM, Adrian Hunter wrote: > > On 31/10/16 13:59, Jaehoon Chung wrote: > >> On 10/28/2016 05:12 PM, Ulf Hansson wrote: > >>> On 25 October 2016 at 21:58, Zach Brown wrote: > On some systems the sdhci capabilty

Re: [PATCH/RESEND V4 2/3] ARM64 LPC: Add missing range exception for special ISA

2016-11-01 Thread kbuild test robot
nce) to record what (public, well-known) commit your patch series was built on] [Check https://git-scm.com/docs/git-format-patch for more information] url: https://github.com/0day-ci/linux/commits/zhichang-yuan/ARM64-LPC-legacy-ISA-I-O-support/20161101-211425 base: https://git.kernel.org/

Re: [PATCH net-next 5/5] ipv6: Compute multipath hash for forwarded ICMP errors from offending packet

2016-11-01 Thread Jakub Sitnicki
On Mon, Oct 31, 2016 at 07:15 PM GMT, David Miller wrote: > From: Jakub Sitnicki > Date: Sun, 30 Oct 2016 14:03:11 +0100 > >> 2) ensure the flow labels used in both directions are the same (either >>reflected by one side, or fixed, e.g. not used and set to 0), so that >>the 4-tuple we

RE: [PATCH v2] Drivers: hv: vmbus: Raise retry/wait limits in vmbus_post_msg()

2016-11-01 Thread Haiyang Zhang
> -Original Message- > From: Vitaly Kuznetsov [mailto:vkuzn...@redhat.com] > Sent: Tuesday, November 1, 2016 9:34 AM > To: de...@linuxdriverproject.org > Cc: linux-kernel@vger.kernel.org; KY Srinivasan ; > Haiyang Zhang ; Van De Ven, Arjan > > Subject: [PATCH v2] Drivers: hv: vmbus:

[PATCH] staging: vc04_services: parse_rx_slots() - Fix compiler warning

2016-11-01 Thread Michael Zoran
vc04_services contains a debug logging mechanism. The log is maintained in a shared memory area between the kernel and the firmware. Changing the sizes of the data in this area would require a firmware change which is distributed independently from the kernel binary. One of the items logged is

[PATCH] USB: fix typo in documentation

2016-11-01 Thread Luis de Bethencourt
A typo sneaked in the latest change on the USB documentation. Fixing it and also a trailing whitespace since it is also in the "USB Host-Side API Model" chapter. Signed-off-by: Luis de Bethencourt --- Documentation/DocBook/usb.tmpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff

[PATCH] NVMe: Call nvme_pci_disable on error path of nvme_probe_work

2016-11-01 Thread Rashika Kheria
Commit d5537e988eec ("NVMe: Don't unmap controller registers on reset"), introduced a regression in which it did not replace nvme_dev_unmap() with nvme_pci_disable() in the error path of nvme_probe_work(). This led to the following NVMe driver crash on systems where the devices did not initialise

Re: [PATCH v10 00/19] Add Mediated device support

2016-11-01 Thread Gerd Hoffmann
Hi, > I rebased KVMGT upon v10, with 2 minor changes: > > 1, get_user_pages_remote has only 7 args Appears to be a 4.9 merge window change. v10 as-is applies and builds fine against 4.8, after rebasing to 4.9-rc3 it stops building due to this. Can you share the patch? > 2, vfio

[PATCH 2/3] net: 3c59x: use new api ethtool_{get|set}_link_ksettings

2016-11-01 Thread Philippe Reynes
The ethtool api {get|set}_settings is deprecated. We move this driver to new api {get|set}_link_ksettings. Signed-off-by: Philippe Reynes --- drivers/net/ethernet/3com/3c59x.c | 14 -- 1 files changed, 8 insertions(+), 6 deletions(-) diff --git a/drivers/net/ethernet/3com/3c59x.c

Re: [char-misc:char-misc-testing] warning

2016-11-01 Thread Tobias Jakobi
Hello Robin, I'm afraid I can't help you with that. The series was done as a request by Daniel Vetter, see here for reference: http://www.spinics.net/lists/dri-devel/msg113011.html I don't have any nouveau platform here. With best wishes, Tobias Robin van der Gracht wrote: > Hi Tobias, > >

<    3   4   5   6   7   8   9   10   11   12   >