Re: [PATCH v2 6/6] MAINTAINERS: Add phy-miphy28lp.c to ARCH/STI architecture

2015-03-31 Thread Kishon Vijay Abraham I
Hi, On Tuesday 31 March 2015 11:10 PM, Peter Griffin wrote: Hi Kishon, On Tue, 31 Mar 2015, Kishon Vijay Abraham I wrote: diff --git a/MAINTAINERS b/MAINTAINERS index 1de6afa..fa1bb4f 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1469,6 +1469,7 @@ F:

[PATCH 1/3] rtc: omap: Unlock and Lock rtc registers before and after register writes

2015-03-31 Thread Lokesh Vutla
RTC module contains a kicker mechanism to prevent any spurious writes from changing the register values. This mechanism requires two MMR writes to the KICK0 and KICK1 registers with exact data values before the kicker lock mechanism is released. Currently the driver release the lock in the probe

[PATCH 0/3] rtc: omap: Fix misc bugs

2015-03-31 Thread Lokesh Vutla
This patch series fixes miscellaneous bugs in OMAP RTC driver. Tested on DRA72-evm with an out of tree patch for RTC hwmod. Logs: http://pastebin.ubuntu.com/10716566/ Lokesh Vutla (3): rtc: omap: Unlock and Lock rtc registers before and after register writes rtc: omap: Update Kconfig for

[PATCH 3/3] rtc: omap: use module_platform_driver

2015-03-31 Thread Lokesh Vutla
module_platform_driver_probe() prevents driver from requesting probe deferral. So using module_platform_drive() to support probe deferral. Signed-off-by: Lokesh Vutla --- drivers/rtc/rtc-omap.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/rtc/rtc-omap.c

[PATCH 2/3] rtc: omap: Update Kconfig for OMAP RTC

2015-03-31 Thread Lokesh Vutla
RTC is present in AM43xx and DRA7xx also. Updating the Kconfig to depend on ARCH_OMAP or ARCH_DAVINCI Signed-off-by: Lokesh Vutla --- drivers/rtc/Kconfig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig index b5b5c3d..40faf56

[PATCH] drm/rockchip: vop: add vop power domain support

2015-03-31 Thread Mark Yao
From: Mark Yao Reference the power domain incase vop power down when in use. Signed-off-by: Mark Yao --- drivers/gpu/drm/rockchip/rockchip_drm_vop.c |7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/gpu/drm/rockchip/rockchip_drm_vop.c

[PATCH V2 19/25] sched: Use bool function return values of true/false not 1/0

2015-03-31 Thread Joe Perches
Use the normal return values for bool functions Update the other sets of ret in try_wait_for_completion. Signed-off-by: Joe Perches --- On Tue, 2015-03-31 at 22:17 -0700, Jason Low wrote: > On Mon, Mar 30, 2015 at 4:46 PM, Joe Perches wrote: > > > * try_wait_for_completion - try to

Re: [PATCH 1/2] kernel/reboot.c: Add orderly_reboot for graceful reboot

2015-03-31 Thread Joel Stanley
On Wed, Apr 1, 2015 at 3:22 PM, Anshuman Khandual wrote: >> +static int __orderly_poweroff(bool force) >> +{ >> + int ret; >> + >> + ret = run_cmd(reboot_cmd); > > Would it be poweroff_cmd instead of reboot_cmd ? Dont see poweroff_cmd > getting used. Yes, good catch. Thanks. Joel -- To

[PATCH v6 1/3] dt-bindings: Add I2C bindings for mt65xx/mt81xx.

2015-03-31 Thread Eddie Huang
From: Xudong Chen Add devicetree bindings for Mediatek Soc I2C driver. Signed-off-by: Xudong Chen Signed-off-by: Eddie Huang --- .../devicetree/bindings/i2c/i2c-mt6577.txt | 41 ++ 1 file changed, 41 insertions(+) create mode 100644

[PATCH v6 3/3] I2C: mediatek: Add driver for MediaTek MT8173 I2C controller

2015-03-31 Thread Eddie Huang
Add mediatek MT8173 I2C controller driver. Compare to I2C controller of earlier mediatek SoC, MT8173 fix write-then-read limitation, and also increase message size to 64kb. Signed-off-by: Xudong Chen Signed-off-by: Liguo Zhang Signed-off-by: Eddie Huang --- drivers/i2c/busses/i2c-mt65xx.c |

[PATCH v6 2/3] I2C: mediatek: Add driver for MediaTek I2C controller

2015-03-31 Thread Eddie Huang
From: Xudong Chen The mediatek SoCs have I2C controller that handle I2C transfer. This patch include common I2C bus driver. This driver is compatible with I2C controller on mt65xx/mt81xx. Signed-off-by: Xudong Chen Signed-off-by: Liguo Zhang Signed-off-by: Eddie Huang ---

[tip:timers/core] clocksource/drivers/sun5i: Refactor the current code

2015-03-31 Thread tip-bot for Maxime Ripard
Commit-ID: 4a59058f0b09682200c04b1db236b4a3b92128d7 Gitweb: http://git.kernel.org/tip/4a59058f0b09682200c04b1db236b4a3b92128d7 Author: Maxime Ripard AuthorDate: Tue, 31 Mar 2015 12:12:25 +0200 Committer: Ingo Molnar CommitDate: Tue, 31 Mar 2015 17:53:58 +0200

[PATCH v6 0/3] ARM: mediatek: Add driver for Mediatek I2C controller

2015-03-31 Thread Eddie Huang
This series is for Mediatek SoCs I2C controller common bus driver. Earlier MTK SoC (for example, MT6589, MT8135) I2C HW has some limitationes. New generation SoC like MT8173 fix these limitations. 1. Only support one i2c_msg number. One exception is WRRD (write then read) mode. WRRD can have two

[tip:timers/core] clocksource/drivers/arm_arch_timer: Rename ' arch_timer_probed()' to 'arch_timer_needs_probing()' to reflect behaviour

2015-03-31 Thread tip-bot for Laurent Pinchart
Commit-ID: 566e6dfad580a55084c29fe3e887c7273b16fc6a Gitweb: http://git.kernel.org/tip/566e6dfad580a55084c29fe3e887c7273b16fc6a Author: Laurent Pinchart AuthorDate: Tue, 31 Mar 2015 12:12:22 +0200 Committer: Ingo Molnar CommitDate: Tue, 31 Mar 2015 17:53:57 +0200

[tip:timers/core] clocksource/drivers/sun5i: Add clock notifiers

2015-03-31 Thread tip-bot for Maxime Ripard
Commit-ID: 3071efa466b30636bf958f3d13bc808e03105cd8 Gitweb: http://git.kernel.org/tip/3071efa466b30636bf958f3d13bc808e03105cd8 Author: Maxime Ripard AuthorDate: Tue, 31 Mar 2015 12:12:26 +0200 Committer: Ingo Molnar CommitDate: Tue, 31 Mar 2015 17:53:58 +0200

[tip:timers/core] clocksource/drivers/sun5i: Switch to request_irq()

2015-03-31 Thread tip-bot for Maxime Ripard
Commit-ID: 5673bc5a863bd4391eab5bb85277f0f1dd1dca50 Gitweb: http://git.kernel.org/tip/5673bc5a863bd4391eab5bb85277f0f1dd1dca50 Author: Maxime Ripard AuthorDate: Tue, 31 Mar 2015 12:12:23 +0200 Committer: Ingo Molnar CommitDate: Tue, 31 Mar 2015 17:53:57 +0200

[tip:timers/core] clocksource/drivers/sun5i: Use of_io_request_and_map()

2015-03-31 Thread tip-bot for Maxime Ripard
Commit-ID: a45860d0ba433c217d359fa2cc2a4984d18ce263 Gitweb: http://git.kernel.org/tip/a45860d0ba433c217d359fa2cc2a4984d18ce263 Author: Maxime Ripard AuthorDate: Tue, 31 Mar 2015 12:12:24 +0200 Committer: Ingo Molnar CommitDate: Tue, 31 Mar 2015 17:53:58 +0200

Re: Re: msgrcv: use freezable blocking call

2015-03-31 Thread Maninder Singh
Hi Andrew, Thanks for making new patch, Actually there is some problem with our mail editor. It changes tabs with spaces and corrupts the patch, we are solving the same at our end. Thats why i am sending you signed -off by only for both patches. 1. For msgrcv: use freezable blocking call

Re: [PATCH 19/25] sched: Use bool function return values of true/false not 1/0

2015-03-31 Thread Jason Low
On Mon, Mar 30, 2015 at 4:46 PM, Joe Perches wrote: > * try_wait_for_completion - try to decrement a completion without > blocking > * @x: completion structure > * > - * Return: 0 if a decrement cannot be done without blocking > - * 1 if a decrement succeeded.

Re: [PATCH] x86/numa: kernel stack corruption fix

2015-03-31 Thread Dave Young
Ccing Xishi Qiu who wrote the clear_kernel_node_hotplug code. On 04/01/15 at 12:53pm, Dave Young wrote: > I got below kernel panic during kdump test on Thinkpad T420 laptop: > > [0.00] No NUMA configuration found > > [0.00] Faking a node at

Re: [E1000-devel] [net] Intel Wired LAN Driver Updates

2015-03-31 Thread David Miller
From: Jeff Kirsher Date: Tue, 31 Mar 2015 21:27:53 -0700 > On Tue, 2015-03-31 at 19:19 -0700, Jeff Kirsher wrote: >> On Tue, 2015-03-31 at 13:22 -0400, David Miller wrote: >> > From: Jeff Kirsher >> > Date: Fri, 27 Mar 2015 16:04:10 -0700 >> > >> > > The following are changes since commit >> >

Re: [PATCH] of: Custom printk format specifier for device node

2015-03-31 Thread Joe Perches
On Tue, 2015-03-31 at 21:52 -0700, Grant Likely wrote: > Thinking about this more, I'd like to suggest a different format that > gives us a nice hack on the name that makes it easy to remember: > '%pOF[...]' > 'O' still means 'object', but it is also overloaded for Open Firmware. > That

Re: [RFC v2 0/5] arm64: kvm: reset hyp context for kexec

2015-03-31 Thread AKASHI Takahiro
Marc On 03/31/2015 04:31 PM, Marc Zyngier wrote: On Tue, 31 Mar 2015 07:04:44 +0100 AKASHI Takahiro wrote: Hi Takahiro, Marc, On 03/30/2015 05:54 PM, AKASHI Takahiro wrote: On 03/30/2015 04:16 PM, Marc Zyngier wrote: On Mon, 30 Mar 2015 02:39:53 +0100 AKASHI Takahiro wrote: On

Re: [PATCH 1/2] kernel/reboot.c: Add orderly_reboot for graceful reboot

2015-03-31 Thread Anshuman Khandual
On 04/01/2015 08:47 AM, Joel Stanley wrote: > Hi Andrew, > > On Wed, Apr 1, 2015 at 9:09 AM, Andrew Morton > wrote: >> > On Mon, 30 Mar 2015 12:45:32 +1030 Joel Stanley wrote: >> > >>> >> The kernel has orderly_poweroff which allows the kernel to initiate a >>> >> graceful shutdown of

Re: [PATCH 1/2] kernel/reboot.c: Add orderly_reboot for graceful reboot

2015-03-31 Thread Andrew Morton
On Tue, 31 Mar 2015 22:03:26 -0700 Andrew Morton wrote: > static char reboot_cmd[] = "/sbin/reboot"; static const char, actually. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: [PATCH 1/2] kernel/reboot.c: Add orderly_reboot for graceful reboot

2015-03-31 Thread Andrew Morton
On Wed, 01 Apr 2015 10:22:08 +0530 Anshuman Khandual wrote: > > char poweroff_cmd[POWEROFF_CMD_PATH_LEN] = "/sbin/poweroff"; > > +char reboot_cmd[POWEROFF_CMD_PATH_LEN] = "/sbin/reboot"; > > Should not we declare one more REBOOT_CMD_PATH_LEN to make it cleaner. It doesn't really seem

Re: [PATCH] of: Custom printk format specifier for device node

2015-03-31 Thread Grant Likely
On Tue, 31 Mar 2015 13:03:05 +0300 , Pantelis Antoniou wrote: > > +Device tree nodes: > > + > > + %pOn[fnpPcCFr] > > + > > + For printing device tree nodes. The optional arguments are: > > + f device node full_name > > + n device node name > > + p device node phandle > > +

Re: [PATCH 3/4] [SMB3] Fix dereference before null check warning

2015-03-31 Thread Steve French
On Tue, Mar 31, 2015 at 7:46 PM, Jeff Layton wrote: > On Fri, 27 Mar 2015 00:28:01 -0500 > Steve French wrote: > >> null tcon is not likely in these paths in current >> code, but obviously it does clarify the code to >> check for null (if at all) before derefrencing >> rather than after. >> >>

Re: [LKP] [Btrfs] 3a8b36f3780: -62.6% fileio.requests_per_sec

2015-03-31 Thread Huang Ying
On Tue, 2015-03-31 at 15:59 +0100, Filipe Manana wrote: [snip] > From: Filipe Manana > Date: Tue, 31 Mar 2015 14:16:52 +0100 > Subject: [PATCH] Btrfs: avoid syncing log in the fast fsync path when not > necessary > > Commit 3a8b36f37806 ("Btrfs: fix data loss in the fast fsync path") added >

Re: [PATCH v2] MIPS: IP32: Add platform data hooks to use DS1685 driver

2015-03-31 Thread Joshua Kinard
On 03/31/2015 06:56, Ralf Baechle wrote: > On Thu, Feb 26, 2015 at 09:23:50PM -0500, Joshua Kinard wrote: > >> This modifies the IP32 (SGI O2) platform and reset code to utilize the new >> rtc-ds1685 driver. The old mc146818rtc.h header is removed and >> ip32_defconfig >> is updated as well. >

[PATCH] x86/numa: kernel stack corruption fix

2015-03-31 Thread Dave Young
I got below kernel panic during kdump test on Thinkpad T420 laptop: [0.00] No NUMA configuration found [0.00] Faking a node at [mem 0x-0x37ba4fff] [0.00] Kernel panic - not syncing: stack-protector: Kernel

Re: [PATCH 1/2] kernel/reboot.c: Add orderly_reboot for graceful reboot

2015-03-31 Thread Anshuman Khandual
On 03/30/2015 07:45 AM, Joel Stanley wrote: > The kernel has orderly_poweroff which allows the kernel to initiate a > graceful shutdown of userspace, by running /sbin/poweroff. This adds > orderly_reboot that will cause userspace to shut itself down by calling > /sbin/reboot. > > This will be

Re: [net][resubmit] MAINTAINERS: Update Intel Wired Ethernet Driver info

2015-03-31 Thread Jeff Kirsher
On Tue, 2015-03-31 at 21:42 -0700, Jeff Kirsher wrote: > Update the git tree info with a recent change in tree names. Also > add our new mailing list created solely for Linux kernel patches > and kernel development, as well as the new patchwork project for > tracking patches. Lastly update the

[net][resubmit] MAINTAINERS: Update Intel Wired Ethernet Driver info

2015-03-31 Thread Jeff Kirsher
Update the git tree info with a recent change in tree names. Also add our new mailing list created solely for Linux kernel patches and kernel development, as well as the new patchwork project for tracking patches. Lastly update the list of "reviewers" since a couple of developers have moved on

Re: [RFC/RFT, RESEND] powerpc: move cacheinfo sysfs to generic cacheinfo infrastructure

2015-03-31 Thread Michael Ellerman
On Tue, 2015-03-31 at 18:14 +0100, Sudeep Holla wrote: > > On 31/03/15 11:56, Michael Ellerman wrote: > > On Mon, 2015-23-02 at 18:18:20 UTC, Sudeep Holla wrote: > >> This patch removes the redundant sysfs cacheinfo code by reusing > >> the newly introduced generic cacheinfo infrastructure

Re: [PATCH 0/5] Enhancements to twl4030 phy to support better charging - V2

2015-03-31 Thread NeilBrown
On Thu, 26 Mar 2015 05:29:42 +0530 Kishon Vijay Abraham I wrote: > Hi NeilBrown, > > On Thursday 26 March 2015 02:52 AM, NeilBrown wrote: > > On Thu, 26 Mar 2015 02:46:32 +0530 Kishon Vijay Abraham I > > wrote: > > > >> Hi, > >> > >> On Monday 23 March 2015 04:05 AM, NeilBrown wrote: > >>> Hi

Re: [PATCH] Revert "drm/i915: Performed deferred clflush inside set-cache-level"

2015-03-31 Thread Sudip Mukherjee
On Tue, Mar 31, 2015 at 04:35:49PM +0100, Chris Wilson wrote: > On Tue, Mar 31, 2015 at 08:40:12PM +0530, Sudip Mukherjee wrote: > > This reverts commit <0f71979ab7fbd0c71c41c2798de3d33937915434>. > > > > my display was getting garbled for a moment very frequently. it looked > > like when the

Re: [PATCH] Staging: rtl8192u Make function static

2015-03-31 Thread Eddie Kovsky
On Wed, Apr 01, 2015 at 09:09:26AM +0530, Sudip Mukherjee wrote: > On Tue, Mar 31, 2015 at 05:51:19PM -0600, Eddie Kovsky wrote: > > Changing function definition to static fixes the > > following warning generated by sparse: > > > > drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c:1924:6:

Re: [E1000-devel] [net] Intel Wired LAN Driver Updates

2015-03-31 Thread Jeff Kirsher
On Tue, 2015-03-31 at 19:19 -0700, Jeff Kirsher wrote: > On Tue, 2015-03-31 at 13:22 -0400, David Miller wrote: > > From: Jeff Kirsher > > Date: Fri, 27 Mar 2015 16:04:10 -0700 > > > > > The following are changes since commit > > dde93dfea53c72b07907d9e44a6e4b1545f6bdc4: > > > cxgb4: Fix frame

Re: [PATCH] add generic callbacks into compaction

2015-03-31 Thread Gioh Kim
2015-04-01 오후 12:46에 Hillf Danton 이(가) 쓴 글: I sent a patch about page allocation for less fragmentation. http://permalink.gmane.org/gmane.linux.kernel.mm/130599 It proposes a page allocator allocates pages in the same pageblock for the drivers to move their unmovable pages. Some drivers

Re: [PATCH v2 1/6] virtio_balloon: transitional interface

2015-03-31 Thread Rusty Russell
"Michael S. Tsirkin" writes: > Virtio 1.0 doesn't include a modern balloon device. > But it's not a big change to support a transitional > balloon device: this has the advantage of supporting > existing drivers, transparently. You decided to fix the packed struct... > diff --git

Re: [PATCH v3 3/3] mm: hugetlb: cleanup using PageHugeActive flag

2015-03-31 Thread Naoya Horiguchi
On Tue, Mar 31, 2015 at 02:08:14PM -0700, Andrew Morton wrote: > On Tue, 31 Mar 2015 08:50:46 + Naoya Horiguchi > wrote: > > > Now we have an easy access to hugepages' activeness, so existing helpers to > > get the information can be cleaned up. > > Similarly. Also I adapted the code to

Re: [PATCH v5 3/3] leds: Add ktd2692 flash LED driver

2015-03-31 Thread Joe Perches
On Wed, 2015-04-01 at 12:58 +0900, Ingi Kim wrote: > This patch adds a driver to support the ktd2692 flash LEDs. > ktd2692 can control flash current by ExpressWire interface. trivia: > diff --git a/drivers/leds/leds-ktd2692.c b/drivers/leds/leds-ktd2692.c [] > +static void

Re: [RFC PATCH v3 2/2] clk: exynos5420: Make sure MDMA0 clock is enabled during suspend

2015-03-31 Thread Kevin Hilman
Abhilash Kesavan writes: > On Wed, Apr 1, 2015 at 2:32 AM, Kevin Hilman wrote: >> Javier Martinez Canillas writes: >> >> [...] >> >>> Unfortunately I don't fully understand why this clock needs to be >>> enabled. It would be good if someone at Samsung can explain in more >>> detail what the

[PATCH v5 3/3] leds: Add ktd2692 flash LED driver

2015-03-31 Thread Ingi Kim
This patch adds a driver to support the ktd2692 flash LEDs. ktd2692 can control flash current by ExpressWire interface. Signed-off-by: Ingi Kim --- drivers/leds/Kconfig| 9 + drivers/leds/Makefile | 1 + drivers/leds/leds-ktd2692.c | 405

[PATCH v5 1/3] of: Add vendor prefix for Kinetic technologies

2015-03-31 Thread Ingi Kim
This patch adds vendor prefix for Kinetic technologies Signed-off-by: Ingi Kim Acked-by: Rob Herring --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt

Re: [PATCH] Btrfs: prevent deletion of mounted subvolumes

2015-03-31 Thread Eric W. Biederman
Omar Sandoval writes: > On Mon, Mar 30, 2015 at 02:30:34PM +0200, David Sterba wrote: >> On Mon, Mar 30, 2015 at 02:02:17AM -0700, Omar Sandoval wrote: >> > Before commit bafc9b754f75 ("vfs: More precise tests in d_invalidate"), >> > d_invalidate() could return -EBUSY when a dentry for a

[PATCH v5 0/3] Add ktd2692 Flash LED driver using LED Flash class

2015-03-31 Thread Ingi Kim
This patch adds ktd2692 Flash LED driver with LED Flash class Change in v5: - Clean up the code - Fix help message of Kconfig - Fix issue related with regulator and mutex usage - Remove tab spaces in bindings Change in v4: - Clean up the code -

[PATCH v5 2/3] leds: ktd2692: add device tree bindings for ktd2692

2015-03-31 Thread Ingi Kim
This patch adds the device tree bindings for ktd2692 flash LEDs. Add optional properties 'flash-timeout-us' to control flash timeout and 'vin-supply' for flash-led regulator Signed-off-by: Ingi Kim --- .../devicetree/bindings/leds/leds-ktd2692.txt | 32 ++ 1 file

[PATCH v4 3/3] drm: rockchip/dw_hdmi-rockchip: improve for HDMI electrical test

2015-03-31 Thread Yakir Yang
When pixel clock less than 148.5MHz, make sloopboost=2 tklvl=20 cklvl=13 increase rasing/falling time and increase data & clock voltage driver. When pixel clock less than 74.25MHz, make sloopboost=0 tklvl=19 cklvl=18, increase data and clock voltage driver. Signed-off-by: Yakir Yang --- Changes

[PATCH v4 2/3] drm: bridge/dw_hdmi: separate VLEVCTRL settting into platform driver

2015-03-31 Thread Yakir Yang
Because of iMX6 & Rockchip have differnet mpll config parameter, the VLEVCTRL parameter would be different. In this case we should separate VLEVCTRL setting from the common dw_hdmi driver, config this parameter in platform driver(dw_hdmi-imx and dw_hdmi-rockchip) Signed-off-by: Yakir Yang ---

[PATCH v4 1/3] drm: bridge/dw_hdmi: fixed codec style

2015-03-31 Thread Yakir Yang
Using a local struct pointer to reduce one level of indirection makes the code slightly more readable. Signed-off-by: Yakir Yang Reviewed-by: Daniel Kurtz --- Changes in v4: None Changes in v3: - make commit message more readable Changes in v2: None drivers/gpu/drm/bridge/dw_hdmi.c | 8

Re: [PATCH 2/2] EDMA: TI: fixed wrongly initialized data parameter to the edma callback

2015-03-31 Thread Vinod Koul
On Mon, Mar 23, 2015 at 09:35:01PM +0100, Petr Kulhavy wrote: > The "data" parameter passed indirectly to the edma_callback() should be > edma_chan and not the dma_chan. > > This bug was so far harmless since the offset of struct dma_chan within struct > edma_chan is 0. However as soon as someone

Re: [PATCH 4/4] watchdog: imgpdc: Add reboot support

2015-03-31 Thread Guenter Roeck
On 03/31/2015 11:49 AM, Andrew Bresticker wrote: Register a restart handler that will restart the system by writing to the watchdog's SOFT_RESET register. Signed-off-by: Andrew Bresticker Cc: Ezequiel Garcia Reviewed-by: Guenter Roeck -- To unsubscribe from this list: send the line

Re: [PATCH 3/4] watchdog: imgpdc: Set timeout before starting watchdog

2015-03-31 Thread Guenter Roeck
On 03/31/2015 11:49 AM, Andrew Bresticker wrote: From: Naidu Tellapati Set up the watchdog for the specified timeout before attempting to start it. Signed-off-by: Naidu Tellapati Signed-off-by: Andrew Bresticker Cc: Ezequiel Garcia --- drivers/watchdog/imgpdc_wdt.c | 2 ++ 1 file

[PATCH v4 0/3] Improve eys-diagram & single-ended electric test for rk3288 HDMI

2015-03-31 Thread Yakir Yang
Dear all, RK3288 hdmi eye-diagram test would fail when pixel clock is 148.5MHz, and single-ended test would failed when display mode is 74.25MHz. To fix such problems, we make those patch set: - Fix some code style, leave space for next patches. - Separate VLEVLCTRL setting into platform driver.

Re: [PATCH] add generic callbacks into compaction

2015-03-31 Thread Hillf Danton
> > I sent a patch about page allocation for less fragmentation. > http://permalink.gmane.org/gmane.linux.kernel.mm/130599 > > It proposes a page allocator allocates pages in the same pageblock > for the drivers to move their unmovable pages. Some drivers which comsumes > many pages > and

Re: [PATCH] dmaengine: ste_dma40: fix implicit conversion

2015-03-31 Thread Vinod Koul
On Sun, Mar 22, 2015 at 12:51:08AM +0100, Stefan Agner wrote: > The function d40_prep_sg takes the type enum dma_transfer_direction > as second last parameter. However, the memcpy calls pass DMA_NONE > which is of type enum dma_data_direction. Fix this by passing the > actual transfer direction

Re: [PATCH] Staging: rtl8192u Make function static

2015-03-31 Thread Sudip Mukherjee
On Tue, Mar 31, 2015 at 05:51:19PM -0600, Eddie Kovsky wrote: > Changing function definition to static fixes the > following warning generated by sparse: > > drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c:1924:6: warning: > symbol 'ieee80211_check_auth_response' was not declared. Should

Re: Build regression in next-20150331

2015-03-31 Thread Tyler Baker
y the kernelci.org system that a new >> > build error has been detected in next-20150331[0][1][2]. It seems that >> > "clockevents: Remove CONFIG_GENERIC_CLOCKEVENTS_BUILD" >> > c9439b1d6eb4ada5c2faf3970ac0d2bc4bd20e14 is the culprit. >> > >&g

Re: [PATCH v10 08/11] sched: replace capacity_factor by usage

2015-03-31 Thread Xunlei Pang
Hi Vincent, On 27 March 2015 at 23:59, Vincent Guittot wrote: > On 27 March 2015 at 15:52, Xunlei Pang wrote: >> Hi Vincent, >> >> On 27 February 2015 at 23:54, Vincent Guittot >> wrote: >>> /** >>> @@ -6432,18 +6435,19 @@ static inline void update_sd_lb_stats(struct lb_env >>> *env, struct

Re: [Patch v6 2/2] dmaengine: Add ADM driver

2015-03-31 Thread Vinod Koul
On Tue, Mar 17, 2015 at 12:46:12AM -0500, Andy Gross wrote: > +static enum dma_status adm_tx_status(struct dma_chan *chan, dma_cookie_t > cookie, > + struct dma_tx_state *txstate) > +{ > + struct adm_chan *achan = to_adm_chan(chan); > + struct virt_dma_desc *vd; > + enum

Re: [PATCH 1/2] dma: Add Freescale qDMA engine driver support

2015-03-31 Thread Vinod Koul
On Tue, Mar 17, 2015 at 01:28:38PM +0800, Yuan Yao wrote: > +static int fsl_qdma_alloc_chan_resources(struct dma_chan *chan) > +{ > + /* > + * In QDMA mode, We don't need to do anything. > + */ > + return 0; > +} Pls remove this > +static struct fsl_qdma_comp

Re: [PATCH 21/25] slub: Use bool function return values of true/false not 1/0

2015-03-31 Thread David Rientjes
On Mon, 30 Mar 2015, Joe Perches wrote: > Use the normal return values for bool functions > > Signed-off-by: Joe Perches Acked-by: David Rientjes -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo

Re: [PATCH] virtio: drop a useless config read

2015-03-31 Thread Rusty Russell
Cornelia Huck writes: > On Tue, 31 Mar 2015 13:55:42 +0200 > "Michael S. Tsirkin" wrote: > >> commit d71de9ec6ba806104439d3a669befda84757b5af >> "virtio: core support for config generation" >> fixed reading up 64 bit values, adding generation >> checks for such reads. >> >> By mistake, it

Re: [PATCH 2/3] rtc: __rtc_read_time: reduce log level

2015-03-31 Thread Joe Perches
On Wed, 2015-04-01 at 05:21 +0200, Alexandre Belloni wrote: > On 28/03/2015 at 23:09:35 +0200, Aaro Koskinen wrote : > > __rtc_read_time logs should be debug logs instead of error logs. > > > > For example, when the RTC clock is not set, it's not really useful > > to print a kernel error log

[LKP] [mm] b191f9b106e: -8.8% netperf.time.minor_page_faults

2015-03-31 Thread Huang Ying
el/e42391cd048809d903291d07f86ed3934ce138e9/0" node_roles: server client job_file: "/lkp/scheduled/lkp-ne02/cyclic_netperf-performance-300s-200%-TCP_SENDFILE-x86_64-rhel-BASE-e42391cd048809d903291d07f86ed3934ce138e9-0-20150331-32956-1uhguoe.yaml" dequeue_time: 2015-03-31 12:29:34.133136

Re: [PATCH v10 07/11] sched: get CPU's usage statistic

2015-03-31 Thread Xunlei Pang
Vincent, On 27 March 2015 at 23:37, Vincent Guittot wrote: > On 27 March 2015 at 16:12, Xunlei Pang wrote: >>> +static int get_cpu_usage(int cpu) >>> +{ >>> + unsigned long usage = cpu_rq(cpu)->cfs.utilization_load_avg; >>> + unsigned long capacity = capacity_orig_of(cpu); >>> + >>>

Re: [PATCH 2/3] rtc: __rtc_read_time: reduce log level

2015-03-31 Thread Alexandre Belloni
On 28/03/2015 at 23:09:35 +0200, Aaro Koskinen wrote : > __rtc_read_time logs should be debug logs instead of error logs. > > For example, when the RTC clock is not set, it's not really useful > to print a kernel error log every time someone tries to read the clock: > > ~ # hwclock -r >

Re: [RFC PATCH v3 2/2] clk: exynos5420: Make sure MDMA0 clock is enabled during suspend

2015-03-31 Thread Abhilash Kesavan
Hi Kevin, On Wed, Apr 1, 2015 at 2:32 AM, Kevin Hilman wrote: > Javier Martinez Canillas writes: > > [...] > >> Unfortunately I don't fully understand why this clock needs to be >> enabled. It would be good if someone at Samsung can explain in more >> detail what the real problem really is. > >

Re: [PATCH_V4 0/3] dma: dt: Add DMA driver for jz4780

2015-03-31 Thread Vinod Koul
On Wed, Mar 18, 2015 at 04:16:34PM +, Zubair Lutfullah Kakakhel wrote: > Hi, > > Here we have three patches that add a DMA driver for the Ingenic JZ4780 SoC. > > JZ4780 support is still in-flight. > > These are based on 4.0-rc4. Applied, thanks Please ensure you use the right subsystem

Re: [PATCH 3/3] rtc: hctosys: use function name in the error log

2015-03-31 Thread Joe Perches
On Wed, 2015-04-01 at 05:01 +0200, Alexandre Belloni wrote: > On 28/03/2015 at 23:09:36 +0200, Aaro Koskinen wrote : > > Use function name in the error log instead of __FILE__. > > Signed-off-by: Aaro Koskinen > Acked-by: Alexandre Belloni Hello. > > diff --git a/drivers/rtc/hctosys.c

[RFC][PATCH] tracing: Replace '-' with '_' in event system names

2015-03-31 Thread Steven Rostedt
There's a change I want to make to the tracing infrastructure that may require TRACE_SYSTEM be a valid variable name. As '-' can not be used in a variable, and I found only three cases that it is a TRACE_SYSTEM name, I want to ask those that are responsible if it is OK to change them? The three

Re: linux-next: Tree for Mar 31 (build failures and culprits)

2015-03-31 Thread Max Filippov
On Tue, Mar 31, 2015 at 7:16 PM, Guenter Roeck wrote: > > xtensa > > Lots of 'dangerous relocation: l32r: literal placed after use' all over the > place, causing all xtensa builds to fail. > > Introduced by commit 779c88c94c34 ("ARM: 8321/1: asm-generic: introduce > .text.fixup input section").

Re: [PATCH 1/2] kernel/reboot.c: Add orderly_reboot for graceful reboot

2015-03-31 Thread Joel Stanley
Hi Andrew, On Wed, Apr 1, 2015 at 9:09 AM, Andrew Morton wrote: > On Mon, 30 Mar 2015 12:45:32 +1030 Joel Stanley wrote: > >> The kernel has orderly_poweroff which allows the kernel to initiate a >> graceful shutdown of userspace, by running /sbin/poweroff. This adds >> orderly_reboot that will

Re: linux-next: Tree for Mar 31 (build failures and culprits)

2015-03-31 Thread Guenter Roeck
On 03/31/2015 08:01 PM, Michael Ellerman wrote: On Tue, 2015-03-31 at 19:18 -0700, Guenter Roeck wrote: On 03/31/2015 04:24 PM, Michael Ellerman wrote: On Wed, 2015-04-01 at 01:07 +0200, Greg Kroah-Hartman wrote: On Tue, Mar 31, 2015 at 09:16:40AM -0700, Guenter Roeck wrote:

[PATCH] x86/platform, acpi: Statically assign IRQ numbers in ACPI, hardware reduced mode

2015-03-31 Thread Li, Aubrey
We have to be conservative to dynamically assign IRQ number on the platform in ACPI Hardware-reduced mode. On the Bay Trail-T(ASUS-T100) platform, there is a RTC device still using the legacy hardcoded IRQ8, which could cause the following error if RTC is configured: 7486341a98f: genirq: Flags

Re: [PATCH 0/2] workqueue: fix a bug when numa mapping is changed

2015-03-31 Thread Tejun Heo
On Tue, Mar 31, 2015 at 11:02:42PM -0400, Tejun Heo wrote: > Ugh... so, cpu number allocation on hot-add is part of userland > interface that we're locked into? Tying hotplug and id allocation > order together usually isn't a good idea. What if the cpu up fails > while running the notifiers?

Re: [PATCH 0/2] workqueue: fix a bug when numa mapping is changed

2015-03-31 Thread Tejun Heo
On Wed, Apr 01, 2015 at 11:55:11AM +0900, Kamezawa Hiroyuki wrote: > Now, hot-added cpus will have the lowest free cpu id. > > Because of this, in most of systems which has only cpu-hot-add, cpu-ids are > always > contiguous even after cpu hot add. > In enterprise, this would be considered as

Re: [PATCH v2] lib: bitmap_[empty,full]: remove code duplication

2015-03-31 Thread Yury
On 01.04.2015 02:06, Andrew Morton wrote: On Sun, 29 Mar 2015 05:03:55 +0300 Yury Norov wrote: Function 'bitmap_empty' has it's own implementation. But it's clearly as simple as: "find_first_bit(src, nbits) == nbits" The same is true for 'bitmap_full'. Looks OK. Please send a

Re: [PATCH 1/3] rtc: initialize rtc name early

2015-03-31 Thread Alexandre Belloni
On 28/03/2015 at 23:09:34 +0200, Aaro Koskinen wrote : > In some error cases RTC name is used before it is initialized: > > rtc-rs5c372 0-0032: clock needs to be set > rtc-rs5c372 0-0032: rs5c372b found, 24hr, driver version 0.6 > rtc (null): read_time: fail to read >

Re: linux-next: Tree for Mar 31 (build failures and culprits)

2015-03-31 Thread Michael Ellerman
On Tue, 2015-03-31 at 19:18 -0700, Guenter Roeck wrote: > On 03/31/2015 04:24 PM, Michael Ellerman wrote: > > On Wed, 2015-04-01 at 01:07 +0200, Greg Kroah-Hartman wrote: > >> On Tue, Mar 31, 2015 at 09:16:40AM -0700, Guenter Roeck wrote: > >>> alpha:allmodconfig > >>> mips:allmodconfig > >>> >

Re: [PATCH 3/3] rtc: hctosys: use function name in the error log

2015-03-31 Thread Alexandre Belloni
On 28/03/2015 at 23:09:36 +0200, Aaro Koskinen wrote : > Use function name in the error log instead of __FILE__. > > Signed-off-by: Aaro Koskinen Acked-by: Alexandre Belloni > --- > drivers/rtc/hctosys.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git

Re: [PATCH 1/2] x86/cpu hotplug: make apicid <--> cpuid mapping persistent

2015-03-31 Thread Kamezawa Hiroyuki
On 2015/03/30 18:58, Gu Zheng wrote: > Hi Kame-san, > > On 03/27/2015 12:31 AM, Kamezawa Hiroyuki wrote: > >> On 2015/03/26 13:55, Gu Zheng wrote: >>> Hi Kame-san, >>> On 03/26/2015 11:19 AM, Kamezawa Hiroyuki wrote: >>> On 2015/03/26 11:17, Gu Zheng wrote: > Previously, we build the

[PATCH 2/3] sparc/PCI: Add mem64 resource parsing for root bus

2015-03-31 Thread Yinghai Lu
Found "no compatible bridge window" warning in boot log from T5-8. pci :00:01.0: can't claim BAR 15 [mem 0x1-0x4afff pref]: no compatible bridge window That resource is above 4G, but does not get offset correctly as root bus only report io and mem32. pci_sun4v f02dbcfc: PCI

[PATCH 3/3] PCI: Set pref for mem64 resource of pcie device

2015-03-31 Thread Yinghai Lu
We still get "no compatible bridge window" warning on sparc T5-8 after we add support for 64bit resource parsing for root bus. PCI: scan_bus[/pci@300/pci@1/pci@0/pci@6] bus no 8 PCI: Claiming :00:01.0: Resource 15: 8001..8004afff [220c] PCI: Claiming :01:00.0:

[PATCH 0/3] PCI/sparc: Fix booting with T5-8

2015-03-31 Thread Yinghai Lu
Fix regression by commit d63e2e1f3df9 ("sparc/PCI: Clip bridge windows to fit in upstream windows"). That cause bridge bar get clipped wrongly. The sparc64 dma_addr_t is 32-bit, we can not use it to check if we can use 64bit bar, introduce pci_bus_addr_t. sparc ofpci does not parse 64bit mem

[PATCH 1/3] PCI: Introduce pci_bus_addr_t

2015-03-31 Thread Yinghai Lu
David Ahern found commit d63e2e1f3df9 ("sparc/PCI: Clip bridge windows to fit in upstream windows") broke booting on sparc/T5-8. In the boot log, there is pci :06:00.0: reg 0x184: can't handle BAR above 4GB (bus address 0x110204000) but that only could happen when dma_addr_t is 32-bit.

Re: [PATCH 0/2] workqueue: fix a bug when numa mapping is changed

2015-03-31 Thread Kamezawa Hiroyuki
On 2015/04/01 0:28, Tejun Heo wrote: Hello, Kamezawa. On Tue, Mar 31, 2015 at 03:09:05PM +0900, Kamezawa Hiroyuki wrote: But this may be considered as API change for most hot-add users. Hmm... Why would it be? What can that possibly break? Now, hot-added cpus will have the lowest free

[PATCH v2 1/2] Documentation: bindings: add abracon,abx80x

2015-03-31 Thread Alexandre Belloni
Document the bindings for abracon,abx80x and related compatibles. Cc: devicetree-disc...@lists.ozlabs.org Signed-off-by: Alexandre Belloni --- .../devicetree/bindings/rtc/abracon,abx80x.txt | 32 ++ 1 file changed, 32 insertions(+) create mode 100644

[PATCH v2 0/2] rtc: add Abracon ABx80x

2015-03-31 Thread Alexandre Belloni
Hi, As discussed, I reworked the abracon abx80x driver, merging Philippe's and mine. I have added the Device Tree properties to enable the trickle charger and the driver will detect the partnumber before doing that so that it won't try to enable the charger when it is not available. Andrew,

[PATCH v2 2/2] rtc: add rtc-abx80x, a driver for the Abracon AB x80x i2c rtc

2015-03-31 Thread Alexandre Belloni
From: Philippe De Muyter This is a basic driver for the ultra-low-power Abracon AB x80x series of RTC chips. It supports in particular, the supersets AB0805 and AB1805. It allows reading and writing the time, and enables the supercapacitor/ battery charger. [a...@arndb.de: abx805 depends on

Re: [PATCH] sched/fair: Restore env status before goto redo in load_balance()

2015-03-31 Thread Xunlei Pang
On 27 March 2015 at 23:30, Peter Zijlstra wrote: > On Wed, Mar 18, 2015 at 02:31:02PM +0800, Xunlei Pang wrote: >> From: Xunlei Pang >> >> In load_balance(), some members of lb_env will be assigned with >> new values in LBF_DST_PINNED case. But lb_env::flags may still >> retain LBF_ALL_PINNED if

Re: linux-next: Tree for Mar 31 (build failures and culprits)

2015-03-31 Thread Guenter Roeck
On 03/31/2015 07:24 PM, Guenter Roeck wrote: On 03/31/2015 04:42 PM, Stephen Rothwell wrote: Hi Greg, On Wed, 1 Apr 2015 01:07:49 +0200 Greg Kroah-Hartman wrote: On Tue, Mar 31, 2015 at 09:16:40AM -0700, Guenter Roeck wrote: alpha:allmodconfig mips:allmodconfig

Re: [PATCH v7 0/4] cgroups: add pids subsystem

2015-03-31 Thread Tejun Heo
On Wed, Apr 01, 2015 at 01:36:06PM +1100, Aleksa Sarai wrote: > Hi Tejun, > > I decided to send out this version of the patchset (that has the additional > callback, and passes around an opaque "fork state" inside the copy_process() > callback), because I personally prefer this version of the

Re: [PATCH RESEND v4 2/3] sched/rt: Fix wrong SMP scheduler behavior for equal prio cases

2015-03-31 Thread Xunlei Pang
On 27 March 2015 at 23:28, Steven Rostedt wrote: > On Mon, 9 Mar 2015 15:32:27 +0800 > Xunlei Pang wrote: > >> From: Xunlei Pang >> >> Currently, SMP RT scheduler has some trouble in dealing with >> equal prio cases. >> >> For example, in check_preempt_equal_prio(): >> When RT1(current task)

Re: [PATCH] powerpc: fix memory corruption by pnv_alloc_idle_core_states

2015-03-31 Thread Michael Ellerman
On Tue, 2015-03-31 at 18:11 +0200, Jan Stancek wrote: > Space allocated for paca is based off nr_cpu_ids, > but pnv_alloc_idle_core_states() iterates paca with > cpu_nr_cores()*threads_per_core, which is using NR_CPUS. > > This causes pnv_alloc_idle_core_states() to write over memory, > which is

Re: [PATCH v3 0/3] Improve eye-diagram & single-ended test for rk3288 hdmi

2015-03-31 Thread Yakir
Hi Russell, 在 2015/4/1 0:25, Russell King - ARM Linux 写道: On Mon, Mar 09, 2015 at 05:42:21PM +0800, Yakir Yang wrote: RK3288 hdmi eye-diagram test would fail when pixel clock is 148.5MHz, and single-ended test would failed when display mode is 74.25MHz. Has anyone reviewed these changes yet?

Re: [PATCH v3 2/3] drm: bridge/dw_hdmi_rockchip: improve hdmi eye-diagram test

2015-03-31 Thread Yakir
Hi Russell, 在 2015/4/1 0:57, Russell King - ARM Linux 写道: On Mon, Mar 09, 2015 at 05:43:19PM +0800, Yakir Yang wrote: As for 1920x1080 display resolution, we should turn on the Transmitter Trailer-B. Signed-off-by: Yakir Yang --- BTW, one of: drm/rockchip: dw_hdmi-rockchip: ...

Re: [PATCH v7 0/4] cgroups: add pids subsystem

2015-03-31 Thread Aleksa Sarai
Hi Tejun, I decided to send out this version of the patchset (that has the additional callback, and passes around an opaque "fork state" inside the copy_process() callback), because I personally prefer this version of the patchset (it's much cleaner and doesn't mess around with the fork()

  1   2   3   4   5   6   7   8   9   10   >