Re: [PATCH v2] drm/rockchip: import dma_buf to gem

2015-10-06 Thread Mark yao
On 2015年10月02日 22:33, Heiko Stübner wrote: Hi Mark, Am Freitag, 26. Juni 2015, 09:27:18 schrieb Mark Yao: We want to display a buffer allocated by other driver, need import the buffer to gem. Signed-off-by: Mark Yao This looks interesting ... do you want to follow up on it? Heiko Hi

Re: [PATCH v2 2/3] word-at-a-time.h: support zero_bytemask() on alpha and tile

2015-10-06 Thread Ingo Molnar
* Chris Metcalf wrote: > Both alpha and tile needed implementations of zero_bytemask. > > The alpha version is untested. > > Signed-off-by: Chris Metcalf > --- > arch/alpha/include/asm/word-at-a-time.h | 2 ++ > arch/tile/include/asm/word-at-a-time.h | 8 +++- > 2 files changed, 9

[PATCH v2 1/2] fb.h: Provide alternate screen_base pointer

2015-10-06 Thread Lars Svensson
Some drivers use member screen_base of struct fb_info to store non- __iomem pointers, creating the need for ugly __force typecasts to avoid sparse warnings. This adds an alternate pointer without the __iomem qualifyer for this use. Signed-off-by: Lars Svensson --- include/linux/fb.h | 5 -

[PATCH v2 2/2] staging: fbtft: use alternate screen pointer

2015-10-06 Thread Lars Svensson
Member screen_base in struct fb_info is declared with __iomem qualifier causing sparse warnings when used as a regular ponter. To avoid the warnings, instead use alternate non-__iomem pointer, screen_buffer, troughout the driver. Signed-off-by: Lars Svensson --- v2: removed all references to

[Patch v2] firmware: qcom: scm: Convert to platform driver

2015-10-06 Thread Andy Gross
This patch creates a platform driver for the SCM so that we can adequately manage resources. This removes clients having to carry the necessary clocks to use the SCM resources. Signed-off-by: Andy Gross --- .../devicetree/bindings/firmware/qcom,scm.txt | 25

Re: can't oom-kill zap the victim's memory?

2015-10-06 Thread Vlastimil Babka
On 5.10.2015 16:44, Michal Hocko wrote: > So I can see basically only few ways out of this deadlock situation. > Either we face the reality and allow small allocations (withtout > __GFP_NOFAIL) to fail after all attempts to reclaim memory have failed > (so after even OOM killer hasn't made any

Re: netpoll_send_skb_on_dev warning with bnx2

2015-10-06 Thread Vinson Lee
On Fri, Oct 2, 2015 at 6:10 AM, Neil Horman wrote: > On Thu, Oct 01, 2015 at 08:25:46PM -0700, Vinson Lee wrote: >> Hi. >> >> I am seeing a netpoll_send_skb_on_dev warning with bnx2. It happens on >> Linux 4.1 and I am able to reproduce the warning with Linux 4.3-rc3. >> >> [ cut here

[PATCH next] staging: wilc1000: avoid NULL pointer dereference on error

2015-10-06 Thread Vincent Stehlé
The host_int_init() function can dereference the pstrWFIDrv pointer while it is NULL on its error path. Jump directly to the _fail_ error label in the end of the error handling path to avoid that. By doing that we also skip stopping our kthread and destroying our message queue, but they

linux-next: build warning after merge of the driver-core tree

2015-10-06 Thread Stephen Rothwell
Hi Greg, After merging the driver-core tree, today's linux-next build (arm multi_v7_defconfig) produced this warning: drivers/base/power/opp/debugfs.c: In function 'opp_debug_create_one': drivers/base/power/opp/debugfs.c:48:7: warning: passing argument 4 of 'debugfs_create_bool' from

[PATCH v2] zsmalloc: fix obj_to_head use page_private(page) as value but not pointer

2015-10-06 Thread Hui Zhu
In function obj_malloc: if (!class->huge) /* record handle in the header of allocated chunk */ link->handle = handle; else /* record handle in first_page->private */ set_page_private(first_page, handle); The huge's

Re: [PATCH] zsmalloc: fix obj_to_head use page_private(page) as value but not pointer

2015-10-06 Thread Hui Zhu
On Tue, Oct 6, 2015 at 9:54 PM, Minchan Kim wrote: > Hello, > > On Mon, Oct 05, 2015 at 04:23:01PM +0800, Hui Zhu wrote: >> In function obj_malloc: >> if (!class->huge) >> /* record handle in the header of allocated chunk */ >> link->handle = handle; >>

Free Gift

2015-10-06 Thread Maria-Elisabeth Schaeffler
I intend to give to you a portion of my Wealth as a free-will financial donation to you. Respond now to partake. Regards Maria-Elisabeth Schaeffler Email:charityinquiri...@qq.com -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

linux-next: manual merge of the akpm-current tree with the driver-core tree

2015-10-06 Thread Stephen Rothwell
Hi Andrew, Today's linux-next merge of the akpm-current tree got conflicts in: mm/failslab.c mm/page_alloc.c between commit: 621a5f7ad9cd ("debugfs: Pass bool pointer to debugfs_create_bool()") from the driver-core tree and commit: 67c145d9ff18 ("mm, page_alloc: rename __GFP_WAIT to

linux-next: manual merge of the akpm-current tree with the usb tree

2015-10-06 Thread Stephen Rothwell
Hi Andrew, Today's linux-next merge of the akpm-current tree got a conflict in: drivers/usb/host/u132-hcd.c between commit: d5f9e73309b7 ("USB: u132-hcd: Fix seperate word in printk message") from the usb tree and commit: ac4f832eb227 ("mm, page_alloc: distinguish between being unable

Re: [PATCH v4 2/5] mtd: nand: Qualcomm NAND controller driver

2015-10-06 Thread Archit Taneja
Hi, On 10/06/2015 02:47 PM, Brian Norris wrote: Hi Archit, On Mon, Oct 05, 2015 at 12:21:54PM +0530, Archit Taneja wrote: On 10/02/2015 08:35 AM, Brian Norris wrote: On Wed, Aug 19, 2015 at 10:19:03AM +0530, Archit Taneja wrote: The Qualcomm NAND controller is found in SoCs like IPQ806x,

Re: [PATCH] ARM:mm: fix kmap_atomic_to_page

2015-10-06 Thread Jongsung Kim
Recently, we made a driver utilizing kmap_atomic_to_page. Of course, it's not mainlined. People may be using it outside mainline just like us. vmalloc has vmalloc_to_page, pkmap has kmap_to page, and fixmap has kmap_atomic_to_page. Then.. how about letting virt_to_page do them all? On

Re: [PATCH 08/12] drm: bridge/dw_hdmi: avoid enabling interface in mode_set

2015-10-06 Thread Yakir Yang
On 08/09/2015 12:04 AM, Russell King wrote: On a mode set, DRM makes the following sequence of calls: * for_each_encoder * bridge mode_fixup * encoder mode_fixup * crtc mode_fixup * for_each_encoder * bridge disable * encoder prepare * bridge

linux-next: build failure after merge of the target-updates tree

2015-10-06 Thread Stephen Rothwell
Hi Nicholas, After merging the target-updates tree, today's linux-next build (x86_64 allmodconfig) failed like this: drivers/hwtracing/stm/policy.c:212:2: error: unknown field 'show_attribute' specified in initializer .show_attribute = stp_policy_node_attr_show, ^

Re: [PATCH 07/12] drm: bridge/dw_hdmi: enable audio only if sink supports audio

2015-10-06 Thread Yakir Yang
Hi Russell & Andy On 08/09/2015 12:03 AM, Russell King wrote: Only enable audio support if the sink supports audio in some form, as defined via its EDID. We discover this capability using the generic drm_detect_monitor_audio() function. Signed-off-by: Russell King Some to 06/12 reply.

Re: [PATCH 06/12] drm: bridge/dw_hdmi: clean up HDMI vs DVI mode handling

2015-10-06 Thread Yakir Yang
Hi Russell & Andy On 08/09/2015 12:03 AM, Russell King wrote: The FSL kernel detects the HDMI vendor id, and uses this to set hdmi->edid_cfg.hdmi_cap, which is then used to set mdvi appropriately, rather than detecting whether we are outputting a CEA mode. Update the dw_hdmi code to use this

Re: [REGRESSION] 998ef75ddb and aio-dio-invalidate-failure w/ data=journal

2015-10-06 Thread Theodore Ts'o
On Mon, Oct 05, 2015 at 11:04:35AM -0700, Dave Hansen wrote: > > The warning comes out of ext4_walk_page_buffers() and the dirty state > comes from page_zero_new_buffers(). That seems a _bit_ goofy that the > filesystem is marking the page dirty and then so shortly warning about it. Yes, this is

RE: [PATCH 3/5] mtd: brcmnand: Optional DT flag to reset IPROC NAND controller

2015-10-06 Thread Anup Patel
> -Original Message- > From: Florian Fainelli [mailto:f.faine...@gmail.com] > Sent: 07 October 2015 04:51 > To: Scott Branden; Brian Norris; Anup Patel > Cc: linux-arm-ker...@lists.infradead.org; Rob Herring; Pawel Moll; Mark > Rutland; Ian Campbell; Kumar Gala; Catalin Marinas; Will

Re: [PATCH v4] gpio: Add GPIO support for the ACCES 104-IDIO-16

2015-10-06 Thread kbuild test robot
Hi William, [auto build test WARNING on v4.3-rc4 -- if it's inappropriate base, please ignore] coccinelle warnings: (new ones prefixed by >>) >> drivers/gpio/gpio-104-idio-16.c:151:3-8: No need to set .owner here. The >> core will do it. Please review and possibly fold the followup patch.

[PATCH] gpio: fix platform_no_drv_owner.cocci warnings

2015-10-06 Thread kbuild test robot
drivers/gpio/gpio-104-idio-16.c:151:3-8: No need to set .owner here. The core will do it. Remove .owner field if calls are used which set it automatically Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci CC: William Breathitt Gray Signed-off-by: Fengguang Wu ---

Re: [PATCH 09/11] clocksource: add TI 32.768 Hz counter driver

2015-10-06 Thread Felipe Balbi
Hi, Daniel Lezcano writes: > On 10/06/2015 07:02 PM, Felipe Balbi wrote: >> Introduce a new clocksource driver for Texas >> Instruments 32.768 Hz device which is available >> on most OMAP-like devices. >> >> Signed-off-by: Felipe Balbi > > Hi Felipe, > > With the couple of nits below fixed,

Re: i.mx6 video out in mainline

2015-10-06 Thread Fabio Estevam
On Tue, Oct 6, 2015 at 8:02 PM, Pushpal Sidhu wrote: > When I took your patch and adapted it for imx6qdl-gw54xx.dtsi, I found > that HDMI video out was slightly shifted to the left and resolution > remained at 1024x768p. > > I also found that when I disabled DRM_IMX_LDB, HDMI out stopped >

Re: [RFC PATCH 2/2] trace: emit tracepoint in preempt and irqs off tracer

2015-10-06 Thread Mathieu Desnoyers
- On Oct 6, 2015, at 7:56 PM, Mathieu Desnoyers mathieu.desnoy...@efficios.com wrote: > Allow Ftrace, Perf, and LTTng to hook on the irqsoff tracer and trace > longest irqsoff and preemptoff critical sections, or those beyond a > specified threshold. > > This requires introducing a

[GIT PULL] Please pull NFS client bugfixes

2015-10-06 Thread Trond Myklebust
Hi Linus, The following changes since commit 5634347dee31373a8faf084f4cdbf6d5ea0b03a4: Merge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux (2015-10-02 14:54:16 -0400) are available in the git repository at:

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

2015-10-06 Thread Stephen Rothwell
Hi all, After merging the regulator tree, today's linux-next build (arm multi_v7_defconfig) produced this warning: drivers/regulator/core.c: At top level: drivers/regulator/core.c:139:13: warning: 'regulator_lock_supply' defined but not used [-Wunused-function] static void

[PATCH v4] gpio: Add GPIO support for the ACCES 104-IDIO-16

2015-10-06 Thread William Breathitt Gray
The ACCES 104-IDIO-16 family of PC/104 utility boards feature 16 optically isolated inputs and 16 optically isolated FET solid state outputs. This driver provides GPIO support for these 32 channels of digital I/O. Change-of-State detection interrupts are not supported. GPIO 0-15 correspond to

Re: [PATCH v2] staging: rtl8723au: Fix sparse errors in rtl8723a_cmd.c

2015-10-06 Thread Jacob Kiefer
On Wed, Oct 07, 2015 at 12:11:34AM +0100, Al Viro wrote: > On Tue, Oct 06, 2015 at 12:32:28AM -0400, Jacob Kiefer wrote: > > > int rtl8723a_set_rssi_cmd(struct rtw_adapter *padapter, u8 *param) > > { > > - *((u32 *)param) = cpu_to_le32(*((u32 *)param)); > > + __le32 leparam; > > > > -

Re: [PATCH v5 2/2] usb: dwc2: refactor common low-level hw code to platform.c

2015-10-06 Thread John Youn
On 10/6/2015 1:56 AM, Marek Szyprowski wrote: > DWC2 module on some platforms needs three additional hardware > resources: phy controller, clock and power supply. All of them must be > enabled/activated to properly initialize and operate. This was initially > handled in s3c-hsotg driver, which has

Re: [PATCH v5] clk: bcm2835: Add support for programming the audio domain clocks.

2015-10-06 Thread Stephen Warren
On 10/06/2015 07:25 PM, Eric Anholt wrote: > This adds support for enabling, disabling, and setting the rate of the > audio domain clocks. It will be necessary for setting the pixel clock > for HDMI in the VC4 driver and let us write a cpufreq driver. It will > also improve compatibility with

[PATCH v9 2/4] perf,kvm/{x86,s390}: Remove const from kvm_events_tp

2015-10-06 Thread Hemant Kumar
This patch removes the "const" qualifier from kvm_events_tp declaration to account for the fact that some architectures may need to update this variable dynamically. For instance, powerpc will need to update this variable dynamically depending on the machine type. Signed-off-by: Hemant Kumar ---

[PATCH v9 3/4] perf,kvm/powerpc: Port perf kvm stat to powerpc

2015-10-06 Thread Hemant Kumar
perf kvm can be used to analyze guest exit reasons. This support already exists in x86. Hence, porting it to powerpc. - To trace KVM events : perf kvm stat record If many guests are running, we can track for a specific guest by using --pid as in : perf kvm stat record --pid - To see the

[PATCH v9 4/4] perf,kvm/powerpc: Add support for HCALL reasons

2015-10-06 Thread Hemant Kumar
Powerpc provides hcall events that also provides insights into guest behaviour. Enhance perf kvm stat to record and analyze hcall events. - To trace hcall events : perf kvm stat record - To show the results : perf kvm stat report --event=hcall The result shows the number of hypervisor

[PATCH v9 1/4] perf,kvm/{x86,s390}: Remove dependency on uapi/kvm_perf.h

2015-10-06 Thread Hemant Kumar
Its better to remove the dependency on uapi/kvm_perf.h to allow dynamic discovery of kvm events (if its needed). To do this, some extern variables have been introduced with which we can keep the generic functions generic. Signed-off-by: Hemant Kumar --- Changelog: v8 to v9: - Removed the macro

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

2015-10-06 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the xen-tip tree got a conflict in: arch/x86/xen/p2m.c between commit: 98dd166ea3a3 ("x86/xen/p2m: hint at the last populated P2M entry") from Linus' tree and commit: c5fdd42b47ab ("x86/xen: export xen_alloc_p2m_entry()") from the xen-tip tree. I

[PATCH v3 1/1] USB:option:add ZTE PIDs

2015-10-06 Thread Liu.Zhao
This is intended to add ZTE device PIDs on kernel. Signed-off-by: Liu.Zhao --- drivers/usb/serial/option.c | 24 1 file changed, 24 insertions(+) diff --git a/drivers/usb/serial/option.c b/drivers/usb/serial/option.c index 876423b..6b4a766 100644 ---

RE: [PATCH v7 1/2] efi: export efi_capsule_supported() function symbol

2015-10-06 Thread Kweh, Hock Leong
> -Original Message- > From: Bryan O'Donoghue [mailto:pure.lo...@nexus-software.ie] > Sent: Tuesday, October 06, 2015 10:54 PM > >> > >> Aside from that, I'm curious which types of capsules you've used here > >> too - does it include the MFH header ? Keep in mind the initial > >> firmware

Re: [PATCH] ARM:mm: fix kmap_atomic_to_page

2015-10-06 Thread Nicolas Pitre
On Tue, 6 Oct 2015, Russell King - ARM Linux wrote: > On Tue, Oct 06, 2015 at 08:09:33PM +0900, Chanho Min wrote: > > Since kmap_atomic returns the pkmap address without a new mapping to > > fixmap for the page that is already mapped by kmap, It should be > > considered for the pkmap address in

Re: CFS scheduler unfairly prefers pinned tasks

2015-10-06 Thread Mike Galbraith
On Wed, 2015-10-07 at 07:44 +1100, paul.sz...@sydney.edu.au wrote: > I agree that pinning may be bad... should not the kernel penalize the > badly pinned processes? I didn't say pinning is bad, I said was what you're seeing is not a bug. -Mike -- To unsubscribe from this list: send the

Re: [PATCH v4] clk: bcm2835: Add support for programming the audio domain clocks.

2015-10-06 Thread Eric Anholt
Stefan Wahren writes: > Hi Eric, > > Am 02.10.2015 um 21:54 schrieb Eric Anholt: >> This adds support for enabling, disabling, and setting the rate of the >> audio domain clocks. It will be necessary for setting the pixel clock >> for HDMI in the VC4 driver and let us write a cpufreq driver.

Re: ver_linux: proposed implementation feedback request

2015-10-06 Thread Theodore Ts'o
On Mon, Oct 05, 2015 at 08:00:40PM +0300, Alexander Kapshuk wrote: > Thanks very much for everyone's feedback. > > Instead of flooding this mailing list with another bunch of ver_linux > patches, I thought I would post another implementation, and see if you > find any of the proposed changes

[PATCH v5] clk: bcm2835: Add support for programming the audio domain clocks.

2015-10-06 Thread Eric Anholt
This adds support for enabling, disabling, and setting the rate of the audio domain clocks. It will be necessary for setting the pixel clock for HDMI in the VC4 driver and let us write a cpufreq driver. It will also improve compatibility with user changes to the firmware's config.txt, since our

Re: [PATCH] fs/binfmt_elf_fdpic.c: provide NOMMU loader for regular ELF binaries

2015-10-06 Thread Rich Felker
Ping. On Tue, Sep 29, 2015 at 07:16:49PM -0400, Rich Felker wrote: > From: Rich Felker > > The ELF binary loader in binfmt_elf.c requires an MMU, making it > impossible to use regular ELF binaries on NOMMU archs. However, the > FDPIC ELF loader in binfmt_elf_fdpic.c is fully capable as a loader

[PATCH] mfd: Make TPS6105X select REGMAP_I2C

2015-10-06 Thread Axel Lin
This is required since commit 7e5071199355 ("mfd: tps6105x: Use i2c regmap to access registers"). Signed-off-by: Axel Lin --- drivers/mfd/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig index 87e84e7..0063c92 100644 --- a/drivers/mfd/Kconfig

Re: [ovs-dev] [PATCH] ovs: do not allocate memory from offline numa node

2015-10-06 Thread Jesse Gross
On Mon, Oct 5, 2015 at 1:25 PM, Alexander Duyck wrote: > On 10/05/2015 06:59 AM, Vlastimil Babka wrote: >> >> On 10/02/2015 12:18 PM, Konstantin Khlebnikov wrote: >>> >>> When openvswitch tries allocate memory from offline numa node 0: >>> stats = kmem_cache_alloc_node(flow_stats_cache,

Re: [PATCH] pwm: fix Broadcom BCM7038 PWM driver

2015-10-06 Thread Florian Fainelli
On 06/10/15 12:59, Arnd Bergmann wrote: > The newly added pwm-brcmstb driver fails to build if CONFIG_PM_SLEEP > is enabled: > > drivers/pwm/pwm-brcmstb.c: In function 'brcmstb_pwm_suspend': > drivers/pwm/pwm-brcmstb.c:309:42: error: 'dev' undeclared (first use in this > function) > struct

[PATCH RFT] regulator: tps6105x: Convert to use regmap helper functions

2015-10-06 Thread Axel Lin
Since commit 7e5071199355 ("mfd: tps6105x: Use i2c regmap to access registers"), we can use regmap helper functions instead of open coded. Signed-off-by: Axel Lin --- Hi Grigoryev, I don't have this h/w, can you help test this patch? Thanks. This patch depends on commit 7e5071199355 "mfd:

[PATCH v3] extcon: Modify the id and name of external connector

2015-10-06 Thread Chanwoo Choi
This patch modifies the id and name of external connector with the additional prefix to clarify both attribute and meaning of external connector as following: - EXTCON_CHG_* mean the charger connector. - EXTCON_JACK_* mean the jack connector. - EXTCON_DISP_* mean the display port connector.

[PATCH v2 2/3] mfd: dt-bindings: Document pulled down WRSTBI pin on S2MPS1X

2015-10-06 Thread Krzysztof Kozlowski
Document a new Device Tree property 'samsung,s2mps11-wrstbi-ground' indicating that WRSTBI pin of S2MPS13 PMIC is pulled down so corresponding buck warm reset function should be disabled. Signed-off-by: Krzysztof Kozlowski --- Changs since v1: None. ---

Re: [PATCH v2] perf: Fix build break on powerpc due to sample_reg_masks

2015-10-06 Thread Michael Ellerman
On Wed, 2015-09-30 at 16:45 -0300, Arnaldo Carvalho de Melo wrote: > Em Wed, Sep 30, 2015 at 09:09:09PM +0200, Jiri Olsa escreveu: > > On Wed, Sep 30, 2015 at 11:28:36AM -0700, Sukadev Bhattiprolu wrote: > > > From e29a7236122c4d807ec9ebc721b5d7d75c8d Mon Sep 17 00:00:00 2001 > > > From:

[PATCH v2 1/3] mfd: sec-core: Dump PMIC revision to find out the HW

2015-10-06 Thread Krzysztof Kozlowski
There are different revisions of the same chipset. For example S2MPS13 has more than 2 revisions. They differ slightly in regulator constraints. Print the revision number to easily find which PMIC is used on the board. Signed-off-by: Krzysztof Kozlowski --- Changs since v1: None. ---

Re: [PATCH] iio: mxs-lradc: Fix temperature offset

2015-10-06 Thread Alexandre Belloni
Hi, On 07/10/2015 at 01:19:09 +0200, Marek Vasut wrote : > >>/* The calculated value from the ADC is in Kelvin, we > >>* want Celsius for hwmon so the offset is > >>- * -272.15 * scale > >>+ * -273.15 * scale > >>*/ > >>- *val = -1075; > >>- *val2 = 691699; > >>+ *val = -1079; > >>+ *val2 =

[PATCH v2 3/3] mfd: sec-core: Disable buck voltage reset on watchdog falling edge

2015-10-06 Thread Krzysztof Kozlowski
The WRSTBI bit (disabled by default but enabled by bootloader), when set, is responsible for resetting voltages to default values of certain bucks on falling edge of Warm Reset Input pin from AP. However on some boards (with S2MPS13) the pin is pulled down so any suspend will effectively trigger

Re: [PATCH net-next 0/3] net: remove dsa.h from netdevice.h

2015-10-06 Thread Florian Fainelli
On 06/10/15 14:54, Vivien Didelot wrote: > In order to push switchdev objects down to DSA drivers, I need to include > switchdev.h in dsa.h. But compilation fails because of a circular dependency > issue, since dsa.h is also included in linux/netdevice.h. Just for the record, what does this

[PATCH] nfc: s3fwrn5: fix platform_no_drv_owner.cocci warnings

2015-10-06 Thread kbuild test robot
drivers/nfc/s3fwrn5/i2c.c:293:3-8: No need to set .owner here. The core will do it. Remove .owner field if calls are used which set it automatically Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci CC: Robert Baldyga Signed-off-by: Fengguang Wu --- i2c.c |1 - 1 file

drivers/nfc/s3fwrn5/i2c.c:293:3-8: No need to set .owner here. The core will do it.

2015-10-06 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 049e6dde7e57f0054fdc49102e7ef4830c698b46 commit: c04c674fadeb4a8e6522fc838d4620f7cfd4c621 nfc: s3fwrn5: Add driver for Samsung S3FWRN5 NFC Chip date: 7 weeks ago coccinelle warnings: (new ones prefixed

[Update][PATCH 3/3] input: i8042: Avoid resetting controller on system suspend/resume

2015-10-06 Thread Rafael J. Wysocki
From: Rafael J. Wysocki If the upcoming system suspend is not going to be handled by the platform firmware, like in the suspend-to-idle case, it is not necessary to reset the controller in i8042_pm_suspend(), so avoid doing that. Moreover, if the system resume currently in progress has not been

[RFT 3/3] ARM: dts: Fix usb3503 probe by enabling phy on exynos5250-arndale

2015-10-06 Thread Krzysztof Kozlowski
On Arndale board (unlike Odroid U3) the USB3503 hub controller is connected in phy mode (not through I2C). For successful probe it needs to get reference to proper phy and enable it. Signed-off-by: Krzysztof Kozlowski Reported-by: Kevin Hilman Reported-by: Arnd Bergmann Cc: Kevin Hilman Cc:

[RFT 1/3] dt-bindings: usb: usb5303: Document new 'phys' property

2015-10-06 Thread Krzysztof Kozlowski
Document new 'phys' and 'phys-names' properties. Signed-off-by: Krzysztof Kozlowski Cc: Kevin Hilman Cc: Arnd Bergmann Cc: riku.voi...@linaro.org Cc: Marek Szyprowski --- Documentation/devicetree/bindings/usb/usb3503.txt | 4 1 file changed, 4 insertions(+) diff --git

[RFT 2/3] usb: misc: usb3503: Allow usage of device through phy interface

2015-10-06 Thread Krzysztof Kozlowski
The USB3503 hub controller can be connected through I2C interface (e.g. on Odroid-U3 board) or directly by phy (e.g. on Arndale board). Thus the usb3503 driver can act as a i2c or platform device. In the second configuration (phy) the driver did not get a reference to necessary phy to use it.

[RFT 0/3] usb: usb3503: Fix probing on Arndale board (missing phy)

2015-10-06 Thread Krzysztof Kozlowski
Hi, Introduction This patchset tries to fix probing of usb3503 on Arndale board if the Samsung PHY driver is probed later (or built as a module). *The patchset was not tested on Arndale board.* I don't have that board. Please test it and say if the usb3503 deferred probe works fine

Re: [RFC PATCHv2] x86/pci: Initial commit for new VMD device driver

2015-10-06 Thread Keith Busch
Hi Bjorn, Thanks for the feedback. Much of the issues you mentioned look pretty straight forward to resolve, and will fix of for the next revision. I have some immediate follow up comments to two issues you brought up: On Tue, 6 Oct 2015, Bjorn Helgaas wrote: +static int

[RFC PATCH 2/2] trace: emit tracepoint in preempt and irqs off tracer

2015-10-06 Thread Mathieu Desnoyers
Allow Ftrace, Perf, and LTTng to hook on the irqsoff tracer and trace longest irqsoff and preemptoff critical sections, or those beyond a specified threshold. This requires introducing a __trace_() tracepoint static inline which bypass static jump labels, because calling a breakpoint from the

[RFC PATCH 1/2] Tracepoint: fix documentation of RCU lockdep checks

2015-10-06 Thread Mathieu Desnoyers
The documentation on top of __DECLARE_TRACE() does not match its implementation since the condition check has been added to the RCU lockdep checks. Update the documentation to match its implementation. Fixes: a05d59a56733 "tracing: Add condition check to RCU lockdep checks" Signed-off-by: Mathieu

[PATCH v5 1/4] PCI: Add Enhanced Allocation register entries

2015-10-06 Thread David Daney
From: "Sean O. Stalley" Add registers defined in PCI-SIG's Enhanced allocation ECN. Signed-off-by: Sean O. Stalley [david.da...@cavium.com: Added more definitions for PCI_EA_BEI_*] Signed-off-by: Signed-off-by: David Daney --- include/uapi/linux/pci_regs.h | 44

[PATCH v5 4/4] PCI: Handle Enhanced Allocation (EA) capability for SRIOV devices.

2015-10-06 Thread David Daney
From: David Daney SRIOV BARs can be specified via EA entries. Extend the EA parser to extract the SRIOV BAR resources, and modify sriov_init() to use resources previously obtained via EA. Signed-off-by: David Daney --- drivers/pci/iov.c | 11 +-- drivers/pci/pci.c | 7 +++ 2

[PATCH v5 3/4] PCI: Handle IORESOURCE_PCI_FIXED when sizing and assigning resources.

2015-10-06 Thread David Daney
From: David Daney The new Enhanced Allocation (EA) capability support creates resources with the IORESOURCE_PCI_FIXED set. This causes a couple of problems: 1) Since these resources cannot be relocated or resized, their alignment is not really defined, and it is therefore not specified.

[PATCH v5 0/4] PCI: Add support for PCI Enhanced Allocation "BARs"

2015-10-06 Thread David Daney
From: David Daney The original patches are from Sean O. Stalley. I made a few tweaks, but feel that it is substancially Sean's work, so I am keeping the patch set version numbering scheme going. Tested on Cavium ThunderX system with 4 Root Complexes containing 50 devices/bridges provisioned

[PATCH v5 2/4] PCI: Add support for Enhanced Allocation devices

2015-10-06 Thread David Daney
From: "Sean O. Stalley" Add support for devices using Enhanced Allocation entries instead of BARs. This patch allows the kernel to parse the EA Extended Capability structure in PCI configspace and claim the BAR-equivalent resources. Signed-off-by: Sean O. Stalley [david.da...@cavium.com: Add

Re: [PATCH] drivers/nfc/s3fwrn5/Makefile: remove superfluous cflags

2015-10-06 Thread Samuel Ortiz
Hi Robert, On Mon, Aug 31, 2015 at 10:02:40AM +0200, Robert Baldyga wrote: > [ +cc Samuel Ortiz and ] > > Hi Samuel, > > Could you please apply this patch? Applied, thanks. Cheers, Samuel. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

[REPOST PATCH v2] i2c-ocores: support big-endian register layout

2015-10-06 Thread Max Filippov
This allows using OpenCores I2C controller attached to its host in native-endian mode with bi-endian CPUs. Example of such system is Xtensa XTFPGA platform. Acked-by: Peter Korsgaard Signed-off-by: Max Filippov --- Changes v1->v2: - expand changelog with motivation for the change.

Re: [RFC][PATCH v3 3/3] input: i8042: Avoid resetting controller on system suspend/resume

2015-10-06 Thread Rafael J. Wysocki
On Wed, Oct 7, 2015 at 1:26 AM, Dmitry Torokhov wrote: > On Wed, Oct 07, 2015 at 01:31:44AM +0200, Rafael J. Wysocki wrote: >> On Tuesday, October 06, 2015 03:43:08 PM Dmitry Torokhov wrote: >> > On Wed, Oct 07, 2015 at 01:08:30AM +0200, Rafael J. Wysocki wrote: >> > > On Tuesday, October 06,

[PATCH 1/1] scsi: storvsc: Fix a bug in the handling of SRB status flags

2015-10-06 Thread K. Y. Srinivasan
SRB status can have additional information. Mask these out before processing SRB status. This patch was sent as part of a collection of patches more than a year ago. While the rest of the patches in the set were comitted, this patch was not. I woulod like to thank Olaf for noticing that this

[PATCH] Input: joydev - fix dereferencing possible ERR_PTR()

2015-10-06 Thread Javier Martinez Canillas
Commit 570c9a7a ("Input: joydev - use memdup_user() to duplicate memory from user-space") changed the kmalloc() and copy_from_user() with a single call to memdup_user() but wrongly used the same error path than the old code in which the buffer allocated by kmalloc() was freed if

mmotm 2015-10-06-16-30 uploaded

2015-10-06 Thread akpm
The mm-of-the-moment snapshot 2015-10-06-16-30 has been uploaded to http://www.ozlabs.org/~akpm/mmotm/ mmotm-readme.txt says README for mm-of-the-moment: http://www.ozlabs.org/~akpm/mmotm/ This is a snapshot of my -mm patch queue. Uploaded at random hopefully more than once a week. You

Re: [PATCH 26/26] x86, pkeys: Documentation

2015-10-06 Thread Dave Hansen
On 10/03/2015 12:27 AM, Ingo Molnar wrote: > - I'd also suggest providing an initial value with the 'alloc' call. It's > true >that user-space can do this itself in assembly, OTOH there's no reason not > to >provide a C interface for this. You mean an initial value for the rights

Re: [RFC][PATCH v3 3/3] input: i8042: Avoid resetting controller on system suspend/resume

2015-10-06 Thread Dmitry Torokhov
On Wed, Oct 07, 2015 at 01:31:44AM +0200, Rafael J. Wysocki wrote: > On Tuesday, October 06, 2015 03:43:08 PM Dmitry Torokhov wrote: > > On Wed, Oct 07, 2015 at 01:08:30AM +0200, Rafael J. Wysocki wrote: > > > On Tuesday, October 06, 2015 03:34:42 PM Dmitry Torokhov wrote: > > > > On Wed, Oct 07,

Re: [f2fs-dev] [PATCH 3/3] f2fs: introduce a periodic checkpoint flow

2015-10-06 Thread Jaegeuk Kim
On Tue, Oct 06, 2015 at 10:54:47PM +0800, Chao Yu wrote: > Hi Jaegeuk, > > > -Original Message- > > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > > Sent: Tuesday, October 06, 2015 6:44 AM > > To: linux-kernel@vger.kernel.org; linux-fsde...@vger.kernel.org; > >

Re: [PATCH 09/11] clocksource: add TI 32.768 Hz counter driver

2015-10-06 Thread Daniel Lezcano
On 10/06/2015 07:02 PM, Felipe Balbi wrote: Introduce a new clocksource driver for Texas Instruments 32.768 Hz device which is available on most OMAP-like devices. Signed-off-by: Felipe Balbi Hi Felipe, With the couple of nits below fixed, you can my: Acked-by: Daniel Lezcano [ ... ]

Re: [f2fs-dev] [PATCH] f2fs: merge meta writes as many possible

2015-10-06 Thread Jaegeuk Kim
Hi Chao, On Tue, Oct 06, 2015 at 10:54:12PM +0800, Chao Yu wrote: > Hi Jaegeuk, > > > -Original Message- > > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > > Sent: Saturday, October 03, 2015 12:48 AM > > To: linux-kernel@vger.kernel.org; linux-fsde...@vger.kernel.org; > >

Re: [PATCH 3/5] mtd: brcmnand: Optional DT flag to reset IPROC NAND controller

2015-10-06 Thread Florian Fainelli
On 06/10/15 15:25, Scott Branden wrote: > Hi Brian, > > On 15-10-06 06:41 AM, Brian Norris wrote: > Is there a reason not to do this reset unconditionally? I recall this came up in discussion previously, when the OpenWRT folks were trying to integrate with BCMA,

Re: [PATCH] iio: mxs-lradc: Fix temperature offset

2015-10-06 Thread Marek Vasut
On 10/06/2015 20:43, Stefan Wahren wrote: Hi, Alexandre Belloni hat am 6. Oktober 2015 um 16:22 geschrieben: 0° Kelvin is actually −273.15°C, not -272.15°C. Fix the temperature offset. Reported-by: Janusz Użycki Signed-off-by: Alexandre Belloni --- drivers/staging/iio/adc/mxs-lradc.c | 6

Re: [RFC PATCHv2] x86/pci: Initial commit for new VMD device driver

2015-10-06 Thread Bjorn Helgaas
Hi Keith, I have a few comments scattered below. On Thu, Oct 01, 2015 at 11:44:14AM -0600, Keith Busch wrote: > The Intel Volume Management Device (VMD) is an integrated endpoint on the > platform's PCIe root complex that acts as a host bridge to a secondary > PCIe domain. BIOS can reassign one

Re: [PATCH] iio: mxs-lradc: Fix temperature offset

2015-10-06 Thread Marek Vasut
On 10/06/2015 16:22, Alexandre Belloni wrote: 0° Kelvin is actually −273.15°C, not -272.15°C. Fix the temperature offset. Reported-by: Janusz Użycki Signed-off-by: Alexandre Belloni Nice find :-) Acked-by: Marek Vasut (I am using different MUA, please pardon the possible issues) ---

Re: Re: [RFC][PATCH v3 3/3] input: i8042: Avoid resetting controller on system suspend/resume

2015-10-06 Thread kbuild test robot
Hi Rafael, [auto build test ERROR on v4.3-rc4 -- if it's inappropriate base, please ignore] config: i386-randconfig-i1-201540 (attached as .config) reproduce: # save the attached .config to linux build tree make ARCH=i386 All errors (new ones prefixed by >>):

Re: [PATCH v2] staging: rtl8723au: Fix sparse errors in rtl8723a_cmd.c

2015-10-06 Thread Al Viro
On Tue, Oct 06, 2015 at 12:32:28AM -0400, Jacob Kiefer wrote: > int rtl8723a_set_rssi_cmd(struct rtw_adapter *padapter, u8 *param) > { > - *((u32 *)param) = cpu_to_le32(*((u32 *)param)); > + __le32 leparam; > > - FillH2CCmd(padapter, RSSI_SETTING_EID, 3, param); > + leparam =

Re: [PATCH v1] clocksource: Sigma Designs Tango 27 MHz xtal

2015-10-06 Thread Daniel Lezcano
Hi Marc, On 10/06/2015 05:10 PM, Marc Gonzalez wrote: Date: Tue, 6 Oct 2015 16:49:28 +0200 Subject: [PATCH] clocksource: Sigma Designs Tango 27 MHz xtal Fix the patch format. Subject is clocksource/drivers/tango_xtal: Add new timer ... Sigma Designs Tango platforms provide a 27 MHz

Re: [PATCH V2 1/2] Documentation: DT: Add binding documentation for NVIDIA ADMA

2015-10-06 Thread Stephen Warren
On 10/05/2015 06:10 AM, Jon Hunter wrote: Add device-tree binding documentation for the Tegra210 Audio DMA controller. diff --git a/Documentation/devicetree/bindings/dma/tegra210-adma.txt b/Documentation/devicetree/bindings/dma/tegra210-adma.txt +- #dma-cells : Must be <2>. The first cell

Re: i.mx6 video out in mainline

2015-10-06 Thread Pushpal Sidhu
On Tue, Oct 6, 2015 at 3:16 PM, Fabio Estevam wrote: > On Tue, Oct 6, 2015 at 6:52 PM, Pushpal Sidhu wrote: >> Hi All, >> >> I'm attempting to use a standard fb console (using the >> imx6qdl-gw54xx.dtsi), but I find that it only draws to the 1024x768p >> portion of the screen. This is also true

Re: [RFC][PATCH v3 3/3] input: i8042: Avoid resetting controller on system suspend/resume

2015-10-06 Thread Rafael J. Wysocki
On Tuesday, October 06, 2015 03:43:08 PM Dmitry Torokhov wrote: > On Wed, Oct 07, 2015 at 01:08:30AM +0200, Rafael J. Wysocki wrote: > > On Tuesday, October 06, 2015 03:34:42 PM Dmitry Torokhov wrote: > > > On Wed, Oct 07, 2015 at 12:53:49AM +0200, Rafael J. Wysocki wrote: > > > > From: Rafael J.

Re: RFC: reduce CONFIG_SCSI_CONSTANTS impact by 4k

2015-10-06 Thread Julian Calaby
Hi Rasmus, On Wed, Oct 7, 2015 at 2:39 AM, Rasmus Villemoes wrote: > On Tue, Oct 06 2015, Julian Calaby wrote: > >> Hi Rasmus, >> >>> >>> diff --git a/drivers/scsi/constants.c b/drivers/scsi/constants.c >>> index 47aaccd5e68e..ccd34b0481cd 100644 >>> --- a/drivers/scsi/constants.c >>> +++

Re: [RFC][PATCH 1/2] WIP: Devicetree bindings for Ion

2015-10-06 Thread Laura Abbott
On 10/6/15 3:35 PM, Rob Herring wrote: On Tue, Oct 6, 2015 at 3:47 PM, Laura Abbott wrote: From: Laura Abbott This adds a base set of devicetree bindings for the Ion memory manager. This supports setting up the generic set of heaps and their properties. Signed-off-by: Laura Abbott

[PATCH] perf tools: get version from uname(2), not /proc

2015-10-06 Thread Matt Mullins
Tools in kmod (e.g. modprobe) compose the module path from the release from uname(2). Because we use the UNAME26 personality, we need perf to find modules located at the same path as the system tools. Signed-off-by: Matt Mullins Cc: Vinson Lee --- tools/perf/util/machine.c | 28

Re: [PATCH] igb: improve handling of disconnected adapters

2015-10-06 Thread Alexander Duyck
On 10/06/2015 02:52 PM, Jarod Wilson wrote: Some pci changes upcoming in 4.3 seem to cause additional disconnects, which can happen at unfortuitous times for igb, leading to issues such as this: [ 414.440115] igb :15:00.0: enabling device ( -> 0002) [ 414.474934] pps pps0: new PPS

Re: [PATCH V2 1/2] Documentation: DT: Add binding documentation for NVIDIA ADMA

2015-10-06 Thread Stephen Warren
On 10/06/2015 03:16 AM, Jon Hunter wrote: On 05/10/15 14:12, Mark Rutland wrote: On Mon, Oct 05, 2015 at 01:10:06PM +0100, Jon Hunter wrote: Add device-tree binding documentation for the Tegra210 Audio DMA controller. Signed-off-by: Jon Hunter ---

Re: [PATCH v5 0/4] uio: add MSI/MSI-X support to uio_pci_generic driver

2015-10-06 Thread Michael S. Tsirkin
On Tue, Oct 06, 2015 at 11:35:27PM +0300, Vlad Zolotarov wrote: > > > On 10/06/15 21:27, Michael S. Tsirkin wrote: > >On Tue, Oct 06, 2015 at 08:17:35PM +0300, Vlad Zolotarov wrote: > >>This series add support for MSI and MSI-X interrupts to uio_pci_generic > >>driver. > >> > >>Currently

Re: [PATCH] Input: fix platform_no_drv_owner.cocci warnings

2015-10-06 Thread Dmitry Torokhov
On Tue, Oct 06, 2015 at 09:35:31AM +0800, kbuild test robot wrote: > drivers/input/touchscreen/ft6236.c:316:3-8: No need to set .owner here. The > core will do it. > > Remove .owner field if calls are used which set it automatically > > Generated by:

  1   2   3   4   5   6   7   8   9   10   >