RE: [f2fs-dev] [PATCH 3/3] f2fs:use enum dentrt_ptr type to replace constant use

2015-03-08 Thread Chao Yu
Hi Yuan, > -Original Message- > From: Yuan Zhong [mailto:yuan.mark.zh...@samsung.com] > Sent: Saturday, March 07, 2015 6:10 PM > To: Jaegeuk Kim > Cc: linux-fsde...@vger.kernel.org; linux-kernel@vger.kernel.org; > linux-f2fs-de...@lists.sourceforge.net > Subject: [f2fs-dev] [PATCH 3/3] f2f

RE: [f2fs-dev] [PATCH 2/3] f2fs:set the correct place of initializing *res_page

2015-03-08 Thread Chao Yu
Hi Yuan, > -Original Message- > From: Yuan Zhong [mailto:yuan.mark.zh...@samsung.com] > Sent: Saturday, March 07, 2015 6:08 PM > To: Jaegeuk Kim > Cc: linux-fsde...@vger.kernel.org; linux-kernel@vger.kernel.org; > linux-f2fs-de...@lists.sourceforge.net > Subject: [f2fs-dev] [PATCH 2/3] f2f

Re: + zram-support-compaction.patch added to -mm tree

2015-03-08 Thread Sergey Senozhatsky
On (03/09/15 11:21), Minchan Kim wrote: > > I was thinking for some time already about splitting stats that we > > export in two categories and, thus, two files: IO_stats and MM_stats. > > > > zram/io_stat > > > > s*printf( num_reads, num_writes, failed_reads, failed_writes, etc.) > > Some of it

RE: [f2fs-dev] [PATCH 1/3 v2] f2fs:remove unnecessary condition judgment

2015-03-08 Thread Chao Yu
> -Original Message- > From: Yuan Zhong [mailto:yuan.mark.zh...@samsung.com] > Sent: Monday, March 09, 2015 10:44 AM > To: Jaegeuk Kim; ??? > Cc: linux-fsde...@vger.kernel.org; linux-kernel@vger.kernel.org; > linux-f2fs-de...@lists.sourceforge.net > Subject: [f2fs-dev] [PATCH 1/3 v2] f2fs:r

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

2015-03-08 Thread Joe Perches
On Sun, 2015-03-08 at 21:48 -0700, Joe Perches wrote: > Shouldn't all of these be static? Don't mind me. These shouldn't be static. I was a bit mislead by the commit message. I think it'd be better not to put patch-like + and - lines in the commit description. cheers, Joe -- To unsubscribe f

Re: [PATCH v2 0/7] New Lenovos 2015 touchpads: party time!

2015-03-08 Thread Dmitry Torokhov
On Wed, Feb 25, 2015 at 03:58:20PM +0100, Hans de Goede wrote: > Hi, > > On 25-02-15 15:36, Benjamin Tissoires wrote: > >On Mon, Feb 16, 2015 at 10:23 PM, Benjamin Tissoires > > wrote: > >>On Fri, Feb 6, 2015 at 3:04 PM, Benjamin Tissoires > >> wrote: > >>>Hi, > >>> > >>>This is the second episode

Re: [PATCH v2 6/7] Input: synaptics - re-route tracksticks buttons on the Lenovo 2015 series

2015-03-08 Thread Dmitry Torokhov
On Fri, Feb 06, 2015 at 03:04:34PM -0500, Benjamin Tissoires wrote: > The 2015 series of the Lenovo thinkpads added back the hardware buttons > on top of the touchpad for the trackstick. > > Unfortunately, they are wired to the touchpad, and not the trackstick. > Thus, they are seen as extra butto

Re: [PATCH v4 3/6] Input: synaptics - Query min dimensions for fw v8.1

2015-03-08 Thread Dmitry Torokhov
On Sat, Feb 07, 2015 at 09:50:57AM +0100, Hans de Goede wrote: > Hi, > > On 02/06/2015 07:14 PM, Benjamin Tissoires wrote: > > > > > > On 02/06/2015 10:44 AM, Benjamin Tissoires wrote: > >> From: Daniel Martin > >> > >> Query the min dimensions even if the check > >> SYN_EXT_CAP_REQUESTS(p

Re: [PATCH v4 2/6] Input: synaptics - Log queried and quirked dimension values

2015-03-08 Thread Dmitry Torokhov
On Fri, Feb 06, 2015 at 10:44:55AM -0500, Benjamin Tissoires wrote: > From: Daniel Martin > > Logging the dimension values we queried (info) and the values we use > from a quirk to overwrite (warn) can be helpful for debugging. Warnings should be sed when something goes wrong, not during normal

Re: [PATCH v4 1/6] Input: synaptics - Split synaptics_resolution(), query first

2015-03-08 Thread Dmitry Torokhov
On Fri, Feb 06, 2015 at 10:44:54AM -0500, Benjamin Tissoires wrote: > From: Daniel Martin > > Split the function synaptics_resolution() into > synaptics_resolution() and synaptics_quirks(). > > synaptics_resolution() will be called before synaptics_quirks() to query > dimensions and resoluti

[PATCH v5 4/4] rtc: Remove redundant rtc_valid_tm() from rtc_resume()

2015-03-08 Thread Xunlei Pang
From: Xunlei Pang rtc_read_time() has already judged valid tm by rtc_valid_tm(), so just remove it. Signed-off-by: Xunlei Pang --- drivers/rtc/class.c | 4 1 file changed, 4 deletions(-) diff --git a/drivers/rtc/class.c b/drivers/rtc/class.c index 74a943e..c29ba7e 100644 --- a/drivers/rt

Re: [PATCH v2] mtd:spi-nor: Add Altera EPCQ Driver

2015-03-08 Thread Rafał Miłecki
Hi Viet, I'm not too active in mtd subsystem, so I didn't notice your patch earlier. However I would like to share few comments. On 11 February 2015 at 05:53, Viet Nga Dao wrote: > From: Viet Nga Dao > > Altera EPCQ Controller is a soft IP which enables access to Altera EPCQ and > EPCS flash ch

Re: [PATCH 2/3] staging: panel: return register value

2015-03-08 Thread Willy Tarreau
On Sun, Mar 08, 2015 at 11:07:25PM +0530, Sudip Mukherjee wrote: > we were returning success even if the module failed to register. > now we are returning the actual return value, success or error. > > Signed-off-by: Sudip Mukherjee > --- > drivers/staging/panel/panel.c | 7 +-- > 1 file cha

[PATCH v5 3/4] time: rtc: Don't bother into rtc_resume() for the nonstop clocksource

2015-03-08 Thread Xunlei Pang
From: Xunlei Pang If a system does not provide a persistent_clock(), the time will be updated on resume by rtc_resume(). With the addition of the non-stop clocksources for suspend timing, those systems set the time on resume in timekeeping_resume(), but may not provide a valid persistent_clock().

[PATCH v5 2/4] time: Fix a bug in timekeeping_suspend() with no persistent clock

2015-03-08 Thread Xunlei Pang
From: Xunlei Pang When there's no persistent clock, normally timekeeping_suspend_time should always be zero, but this can break in timekeeping_suspend(). At T1, there was a system suspend, so old_delta was assigned T1. After some time, one time adjustment happened, and xtime got the value of T1-

[PATCH v5 1/4] time: Add needed macros for timekeeping_inject_sleeptime64()

2015-03-08 Thread Xunlei Pang
From: Xunlei Pang timekeeping_inject_sleeptime64() is only used by RTC suspend/resume, so embrace it in RTC related macros. Signed-off-by: Xunlei Pang --- v5 changes: Remove CONFIG_RTC_CLASS. kernel/time/timekeeping.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kernel/time/timekeepi

Re: [PATCH] workqueue: detect uninitated work_struct and BUG() if true

2015-03-08 Thread Tejun Heo
On Mon, Mar 09, 2015 at 04:43:11AM +, Du, Changbin wrote: > From cdebb88ac0fb3f900ef28f28ccb4a12159c295db Mon Sep 17 00:00:00 2001 > From: "Du, Changbin" > Date: Mon, 9 Mar 2015 12:06:43 +0800 > Subject: [PATCH] workqueue: detect uninitated work_struct and BUG() if true > > Recently I encount

Re: [PATCH] ASoC: wm5100: match wait_for_completion_timeout return type

2015-03-08 Thread Nicholas Mc Guire
On Sun, 08 Mar 2015, Mark Brown wrote: > On Sun, Mar 08, 2015 at 06:57:07AM -0400, Nicholas Mc Guire wrote: > > return type of wait_for_completion_timeout is unsigned long not int. An > > appropriately named unsigned long is added and the assignment fixed up. > > You are sending these to a very l

Re: [PATCH 3/3] staging: panel: remove initialization check

2015-03-08 Thread Willy Tarreau
On Sun, Mar 08, 2015 at 11:07:26PM +0530, Sudip Mukherjee wrote: > no need to monitor init_in_progress now as keypad_send_key() can only > be called after the timer is initialized. and timer is initialized > from keypad_init() which is in the attach section and can only execute > after the module h

Re: [PATCH 1/3] staging: panel: register reboot

2015-03-08 Thread Willy Tarreau
On Sun, Mar 08, 2015 at 11:07:24PM +0530, Sudip Mukherjee wrote: > we donot need the reboot notifier in module init section, as the > notifier is used after lcd is initialized. so lets register for the > reboot notifier only after we have successfully attached to the > parallel port. and similarly

Re: [PATCH v6]: clk: Add common clock support for Mediatek MT8135 and MT8173

2015-03-08 Thread Sascha Hauer
Hi Mike, On Sun, Feb 22, 2015 at 12:49:20PM +0100, Sascha Hauer wrote: > This patchset contains the initial common clock support for Mediatek SoCs. > Mediatek SoC's clock architecture comprises of various PLLs, dividers, muxes > and clock gates. Are these patches ok now? If yes, please pull: Th

[PATCH] ibmveth: enable interrupts after napi_complete()

2015-03-08 Thread Yongbae Park
The interrupt is enabled before napi_complete(). A network timeout occurs if the interrupt handler is called before napi_complete(). Fix the bug by enabling the interrupt after napi_complete(). Signed-off-by: Yongbae Park --- drivers/net/ethernet/ibm/ibmveth.c | 4 ++-- 1 file changed, 2 insert

[PATCH v2] drivers: hwspinlock: add CSR atlas7 implementation

2015-03-08 Thread Barry Song
From: Wei Chen Add hwspinlock support for the CSR atlas7 SoC. The Hardware Spinlock device on atlas7 provides hardware assistance for synchronization between the multiple processors in the system (dual Cortex-A7, CAN bus Cortex-M3 and audio DSP). Signed-off-by: Wei Chen Signed-off-by: Barry So

[PATCH] ibmveth: enable interrupts after napi_complete()

2015-03-08 Thread Yongbae Park
The interrupt is enabled before napi_complete(). A network timeout occurs if the interrupt handler is called before napi_complete(). Fix the bug by enabling the interrupt after napi_complete(). Signed-off-by: Yongbae Park --- drivers/net/ethernet/ibm/ibmveth.c | 4 ++-- 1 file changed, 2 insert

Crypto Fixes for 4.0

2015-03-08 Thread Herbert Xu
Hi Linus: This push fixes a bug in the ARM XTS implementation that can cause failures to in decrypting encrypted disks. Please pull from git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6.git or master.kernel.org:/pub/scm/linux/kernel/git/herbert/crypto-2.6.git Ard Biesheuvel (

[PATCH] ibmveth: enable interrupts after napi_complete()

2015-03-08 Thread Yongbae Park
The interrupt is enabled before napi_complete(). A network timeout occurs if the interrupt handler is called before napi_complete(). Fix the bug by enabling the interrupt after napi_complete(). Signed-off-by: Yongbae Park --- drivers/net/ethernet/ibm/ibmveth.c | 4 ++-- 1 file changed, 2 insert

Re: [PATCH] drm: msm: Fix build when legacy fbdev support isn't set

2015-03-08 Thread Archit Taneja
On 03/05/2015 09:14 PM, Daniel Vetter wrote: On Thu, Mar 05, 2015 at 07:10:44AM -0500, Rob Clark wrote: On Thu, Mar 5, 2015 at 5:06 AM, Archit Taneja wrote: On 02/23/2015 09:09 PM, Daniel Vetter wrote: On Mon, Feb 23, 2015 at 10:03:21AM -0500, Rob Clark wrote: On Mon, Feb 23, 2015 at 9:

mapping 2TB bar in linux kernel

2015-03-08 Thread Kallol Biswas
Hi, I have a need to map a 2TB bar in linux kernel. BIOS does not enumerate large bar and it seems theoretically it is possible to enumerate from Linux kernel, do necessary chipset programming so that entire 2TB memory can be accessed from Linux kernel. Has anyone attempted this? Is there any

Re: [PATCH] Mediatek PMIC wrapper support

2015-03-08 Thread Sascha Hauer
Hi Matthias, On Sun, Feb 22, 2015 at 01:02:45PM +0100, Sascha Hauer wrote: > This series adds support for the PMIC wrapper found on MT8135 and > MT8173 SoCs. This has been sent several times already as part of > different series, this time broken out as a series only containing > the wrapper code.

Re: [PATCH] usb gadget: remove size limitation for storage cdrom

2015-03-08 Thread Dave Young
On 03/08/15 at 11:29am, Alan Stern wrote: > On Sun, 8 Mar 2015, Dave Young wrote: > > > I used usb cdrom emulation to play video dvd for my daughter, but I got > > below > > error: > > > > [dave@darkstar tmp]$ cat /mnt/sr1/VIDEO_TS/VTS_01_5.VOB >/dev/null > > cat: /mnt/sr1/VIDEO_TS/VTS_01_5.VOB:

[RFC v0 PATCH] kvm: powerpc: Allow reuse of vCPU object

2015-03-08 Thread bharata . rao
From: Bharata B Rao Since KVM isn't equipped to handle closure of vcpu fd from userspace(QEMU) correctly, certain work arounds have to be employed to allow reuse of vcpu array slot in KVM during cpu hot plug/unplug from guest. One such proposed workaround is to park the vcpu fd in userspace durin

RE: [PATCH] Sound: soc: codecs: rt5670: fix two space coding style issue

2015-03-08 Thread Bard Liao
> -Original Message- > From: weizhewang [mailto:hmsjwz...@gmail.com] > Sent: Sunday, March 08, 2015 11:10 AM > To: Bard Liao > Cc: linux-kernel@vger.kernel.org; weizhewang > Subject: [PATCH] Sound: soc: codecs: rt5670: fix two space coding style > issue > > fixed a coding style issue > >

[PATCH] [media] rtl28xxu: add [0413:6f12] WinFast DTV2000 DS Plus

2015-03-08 Thread Christian Dale
Add Leadtek WinFast DTV2000DS Plus device based on Realtek RTL2832U. I have not tested the remote, but it is the Y04G0051 model. Signed-off-by: Christian Dale --- drivers/media/dvb-core/dvb-usb-ids.h| 1 + drivers/media/usb/dvb-usb-v2/rtl28xxu.c | 2 ++ 2 files changed, 3 insertions(+) dif

Re: [PATCH v2 1/1] mmc: dw_mmc: Add runtime pm to dw_mmc

2015-03-08 Thread Jaehoon Chung
Hi, Karol. This patch can't apply. You need to rebase on latest mmc-next. Then i will check this patch. Best Regards, Jaehoon Chung On 03/06/2015 10:29 PM, Karol Wrona wrote: > This patch adds runtime pm handling to dw_mmc. > It mainly uses mci_request/mci_request_end for mmc host state informat

[PATCH] [media] rtl28xxu: add [0413:6f12] WinFast DTV2000 DS Plus

2015-03-08 Thread Christian Dale
From: Christian Dale Add Leadtek WinFast DTV2000DS Plus device based on Realtek RTL2832U. I have not tested the remote, but it is the Y04G0051 model. Signed-off-by: Christian Dale --- drivers/media/dvb-core/dvb-usb-ids.h| 1 + drivers/media/usb/dvb-usb-v2/rtl28xxu.c | 2 ++ 2 files change

Re: [PATCH 1/3] phy: omap-control: Remove unneeded ifdef CONFIG_OF guard and of_match_ptr

2015-03-08 Thread Kishon Vijay Abraham I
Hi, On Friday 06 March 2015 03:36 PM, Roger Quadros wrote: On 05/03/15 17:29, Axel Lin wrote: 2015-03-05 18:48 GMT+08:00 Roger Quadros : Hi Alex, It's Axel. My apologies Axel. Since we're anyways going to fail probe for !CONFIG_OF, why do you want to add the unnecessary device table to

Re: [PATCH v5 1/2] power: rt5033_charger: Add RT5033 charger device driver

2015-03-08 Thread Beomho Seo
On 03/09/2015 12:46 PM, Beomho Seo wrote: > On 03/09/2015 10:50 AM, Sebastian Reichel wrote: >> Hi Beomho, >> >> On Mon, Mar 09, 2015 at 10:23:10AM +0900, Beomho Seo wrote: >>> This patch add device driver of Richtek RT5033 PMIC. The driver support >>> switching charger. rt5033 charger provide thre

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

2015-03-08 Thread Joe Perches
On Mon, 2015-03-09 at 12:42 +0800, Yakir Yang wrote: > diff --git a/drivers/gpu/drm/bridge/dw_hdmi.c > b/drivers/gpu/drm/bridge/dw_hdmi.c [] > @@ -900,10 +900,10 @@ static int hdmi_phy_configure(struct dw_hdmi *hdmi, > unsigned char prep, > { > unsigned res_idx, i; > u8 val, msec; >

[PATCH] coresight: remove the unnecessary configuration coresight-default-sink

2015-03-08 Thread Kaixu Xia
The judgement of configuration coresight-default-sink has been removed from the framework. So just remove it from DT and bindings. Signed-off-by: Kaixu Xia --- Documentation/devicetree/bindings/arm/coresight.txt | 1 - arch/arm/boot/dts/hip04.dtsi| 1 - arch/arm/boot/dts/

[PATCH v2 3/3] drm: bridge/dw_hdmi: improve hdmi single-end test

2015-03-08 Thread Yakir Yang
Because of iMX6 & Rockchip have differnet mpll config parameter, than the cklvl & txlvl would be different, we also should seperate this parmeter. As for Rockchip HDMI, when pixle clock less than 148MHz, the cklvl & txlvl should set to 13. When pixel clock less than 74.25MHz the cklvl should set t

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

2015-03-08 Thread Yakir Yang
As for 1920x1080 display resolution, we should turn on the Transmitter Trailer-B. Signed-off-by: Yakir Yang --- Changes in v2: - Set slopeboost back to 10%-20%, then rasing/falling time would pass. drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-

[PATCH] workqueue: detect uninitated work_struct and BUG() if true

2015-03-08 Thread Du, Changbin
>From cdebb88ac0fb3f900ef28f28ccb4a12159c295db Mon Sep 17 00:00:00 2001 From: "Du, Changbin" Date: Mon, 9 Mar 2015 12:06:43 +0800 Subject: [PATCH] workqueue: detect uninitated work_struct and BUG() if true Recently I encounter a driver issue that caused by missing initializing the work_struct. Th

Re: [PATCH 2/3] f2fs: fix get stale meta pages when build free nids

2015-03-08 Thread Wanpeng Li
Hi Jaegeuk, On Sun, Mar 08, 2015 at 09:18:47PM -0700, Jaegeuk Kim wrote: >Hi Wanpeng, > >On Mon, Mar 09, 2015 at 11:00:54AM +0800, Wanpeng Li wrote: >> The blocks of nat pages to be scanned will be readahead when build free >> nids. The start blkno will be adjusted to 0 when the intended range ove

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

2015-03-08 Thread Yakir Yang
- const struct dw_hdmi_mpll_config *mpll_config = -hdmi->plat_data->mpll_cfg; - const struct dw_hdmi_curr_ctrl *curr_ctrl = hdmi->plat_data->cur_ctr; - const struct dw_hdmi_sym_term *sym_term = hdmi->plat_data->sym_term; + const struct dw_hdmi_plat_data *pl

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

2015-03-08 Thread Yakir Yang
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. - For hdmi eye-diagram test, we turn on the Transmitter Trail

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

2015-03-08 Thread Yakir Yang
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. - For hdmi eye-diagram test, we turn on the Transmitter Trail

Re: [PATCH] linux/bitmap.h: Improve BITMAP_{LAST,FIRST}_WORD_MASK

2015-03-08 Thread George Spelvin
Looks good. Reviewed-by: George Spelvin -- 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 http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [patch] mm, hugetlb: abort __get_user_pages if current has been oom killed

2015-03-08 Thread Kirill A. Shutemov
On Sun, Mar 08, 2015 at 04:12:12PM -0700, David Rientjes wrote: > If __get_user_pages() is faulting a significant number of hugetlb pages, > usually as the result of mmap(MAP_LOCKED), it can potentially allocate a > very large amount of memory. > > If the process has been oom killed, this will cau

Re: [PATCH 2/3] f2fs: fix get stale meta pages when build free nids

2015-03-08 Thread Jaegeuk Kim
Hi Wanpeng, On Mon, Mar 09, 2015 at 11:00:54AM +0800, Wanpeng Li wrote: > The blocks of nat pages to be scanned will be readahead when build free > nids. The start blkno will be adjusted to 0 when the intended range over > max_nids, then function ra_meta_pages readahead the right blkno, however,

Re: [PATCH Resend] cpufreq: Set cpufreq_cpu_data to NULL before putting kobject

2015-03-08 Thread ethan zhao
On 2015/3/9 12:06, Viresh Kumar wrote: On 9 March 2015 at 07:04, Ethan Zhao wrote: Viresh, Got that box and did some debug, found the policy->kobj is not initialized. So the race happened between cpufreq_cpu_get() and __cpufreq_add_dev(), and verified 'this' race could be fixed by commit

[PATCH v1] serial: 8250: remove the redundant include

2015-03-08 Thread Wang Long
The serial_core.h file have been included in header file serial_8250.h. so remove the "#include " in some 8250 serial drivers, because they have included the header file serial_8250.h. Signed-off-by: Wang Long --- drivers/tty/serial/8250/8250_core.c | 1 - drivers/tty/serial/8250/8250_dw.c|

Re: [PATCH] serial: 8250: remove the redundant include

2015-03-08 Thread long.wanglong
On 2015/3/9 12:12, Wang Long wrote: > The serial_core.h file have been included in header file > serial_8250.h. so remove the "#include " in > some 8250 serial drivers, because they have included the header file > serial_8250.h. missing the 8250_dw.c. i will send another patch. Thanks > > Signed

Re: [PATCH Resend] cpufreq: Set cpufreq_cpu_data to NULL before putting kobject

2015-03-08 Thread Viresh Kumar
On 9 March 2015 at 07:04, Ethan Zhao wrote: > Viresh, > Got that box and did some debug, found the policy->kobj is not > initialized. > So the race happened between cpufreq_cpu_get() and > __cpufreq_add_dev(), and verified 'this' race could be fixed by commit > > 6d4e81e cpufreq: Ref the poli

[PATCH] serial: 8250: remove the redundant include

2015-03-08 Thread Wang Long
The serial_core.h file have been included in header file serial_8250.h. so remove the "#include " in some 8250 serial drivers, because they have included the header file serial_8250.h. Signed-off-by: Wang Long --- drivers/tty/serial/8250/8250_core.c | 1 - drivers/tty/serial/8250/8250_early.c |

[PATCH v2.0 2/2] pm: at91: add support to disable/enable the DDR clock

2015-03-08 Thread Wenyou Yang
To get the lower power consumption, disable the MPDDR controller's clock and the DDR system clock before going to suspend, enable these clocks after resuming. For the SAM5D4, postpone disabling the clocks, instead of the DDR entering the self-fresh mode immediately. Signed-off-by: Wenyou Yang --

[PATCH v2.0 1/2] pm: at91: add the PM initialization for the sama5d3 and sama5d4

2015-03-08 Thread Wenyou Yang
To get the mpddrc peripheral id from the PM initialization, which will be used to disable mpddrc'c clock during suspending. Signed-off-by: Wenyou Yang --- arch/arm/mach-at91/generic.h |4 arch/arm/mach-at91/include/mach/sama5d3.h |1 + arch/arm/mach-at91/include/mach/sa

[PATCH v2.0 0/2] ARM: AT91: pm: add support to disable the DDR's clock

2015-03-08 Thread Wenyou Yang
Hi, The patch series purpose is to disable the DDR controller's clock and DDR system clock during the suspending to achieve the lower power consumption. It is based on the branch, at91-4.0-fixes git://git.kernel.org/pub/scm/linux/kernel/git/nferre/linux-at91.git + [PATCH] ARM: at91: Add p

[PATCH v2.0 2/2] pm: at91: flush data cache and clean, invalidate and disable the L2 cache

2015-03-08 Thread Wenyou Yang
Flush data cache, and clean, invalidate and disable the L2 cache before going to suspend. Restore the L2 cache configuration and re-enable the L2 cache after waking up. Signed-off-by: Wenyou Yang --- arch/arm/mach-at91/pm.c |6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/m

[PATCH v2.0 1/2] pm: at91: pm_suspend: add the WFI instruction support for ARMv7

2015-03-08 Thread Wenyou Yang
Add the WFI instruction to make the cpu to the idle state. In the meanwhile, disable the processor's clock. Signed-off-by: Wenyou Yang --- arch/arm/mach-at91/pm_suspend.S | 20 +++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-at91/pm_suspend.S b/

[PATCH v2.0 0/2] ARM: at91: Add pm support for sama5d3 and sama5d4

2015-03-08 Thread Wenyou Yang
Hi, The patch series purpose is to add pm support for sama5d3 and sama5d4. It is based on the branch, at91-4.0-fixes git://git.kernel.org/pub/scm/linux/kernel/git/nferre/linux-at91.git + [PATCH] ARM: AT91: pm improvement for 4.1 Change log for v2.0: - remove the patch already stacked.

Re: [PATCH 1/3] f2fs: guarantee node/meta inode number won't be reused

2015-03-08 Thread Jaegeuk Kim
Hi Wanpeng, On Mon, Mar 09, 2015 at 11:00:53AM +0800, Wanpeng Li wrote: > Node/Meta inode numbers are also should not be reused, this patch > guarantee it. We don't need to do this, since the mkfs.f2fs assigns block addresses as 1 for node and meta nids in their nat entries. So, this should not h

[PATCH v2.0 5/6] pm: at91: rename function name: at91_slow_clock()-->at91_pm_suspend_sram_fn

2015-03-08 Thread Wenyou Yang
As the file name is renamed, rename the file name at91_slow_clock() --> at91_pm_suspend_sram_fn, rename the function handler's name at the same time. Signed-off-by: Wenyou Yang Acked-by: Alexandre Belloni --- arch/arm/mach-at91/pm.c | 27 ++- arch/arm/mach-at

[PATCH v2.0 6/6] pm: at91: remove unused void (*at91_pm_standby)(void)

2015-03-08 Thread Wenyou Yang
Because the standby mode use the same sram function as the suspend to memory mode, void (*at91_pm_standby)(void) doesn't need, remove it. Signed-off-by: Wenyou Yang --- arch/arm/mach-at91/pm.c |5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/arch/arm/mach-at91/pm.c b/ar

[PATCH v2.0 4/6] pm: at91: rename file name: pm_slowclock.S -->pm_suspend.S

2015-03-08 Thread Wenyou Yang
Because the sram function is used for both suspend to memory and the suspend to standby mode, renaming is more elegant. Signed-off-by: Wenyou Yang Acked-by: Alexandre Belloni --- arch/arm/mach-at91/Makefile |2 +- arch/arm/mach-at91/pm_slowclock.S | 353 --

[PATCH v2.0 3/6] pm: at91: standby mode uses same sram function as suspend to memory mode

2015-03-08 Thread Wenyou Yang
To simply the PM code, the suspend to standby mode uses same sram function as the suspend to memory mode, running in the internal SRAM, instead of the respective code for each mode. For the suspend to standby mode, the master clock doesn't switch to the slow clock, and PLLA and the main oscillator

[PATCH v2.0 2/6] pm: at91: move the copying the sram function to the sram initializationi phase

2015-03-08 Thread Wenyou Yang
To decrease the suspend time, move copying the sram function to the sram initialization phase, instead of every time go to suspend. In the meanwhile, substitute fncpy() for memcpy(). If there is no sram allocated for PM, the PM is not supported. Signed-off-by: Wenyou Yang Acked-by: Alexandre Be

Re: [PATCH] f2fs: fix to truncate inline data past EOF

2015-03-08 Thread Jaegeuk Kim
Hi Chao, On Mon, Mar 09, 2015 at 10:24:35AM +0800, Chao Yu wrote: > Hi Jaegeuk, > > > -Original Message- > > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > > Sent: Friday, March 06, 2015 5:34 AM > > To: Chao Yu > > Cc: Changman Lee; linux-f2fs-de...@lists.sourceforge.net; > > linux-ker

[PATCH v2.0 1/6] pm: at91: pm_slowclock: create the procedure to handle the sdram self-refresh

2015-03-08 Thread Wenyou Yang
To decrease the duplicated code, create the procedure to contain both activing and exiting the sdram self-refresh mode. Signed-off-by: Wenyou Yang --- arch/arm/mach-at91/pm_slowclock.S | 240 + 1 file changed, 137 insertions(+), 103 deletions(-) diff --git a

[PATCH v2.0 0/6] ARM: AT91: pm improvement for 4.1

2015-03-08 Thread Wenyou Yang
Hi, The patch series purpose is to improve the AT91 pm code. Create a procedure to handle the sdram self-fresh mode. The standby mode uses same sram function as the suspend to memory mode, It is based on the branch, at91-4.0-fixes git://git.kernel.org/pub/scm/linux/kernel/git/nfer

Re: [PATCH v5 1/2] power: rt5033_charger: Add RT5033 charger device driver

2015-03-08 Thread Beomho Seo
On 03/09/2015 10:50 AM, Sebastian Reichel wrote: > Hi Beomho, > > On Mon, Mar 09, 2015 at 10:23:10AM +0900, Beomho Seo wrote: >> This patch add device driver of Richtek RT5033 PMIC. The driver support >> switching charger. rt5033 charger provide three charging mode. >> Three charging mode are pre

[PATCH v2.0 3/3] pm: at91: remove CONFIG_AT91_SLOW_CLOCK config option

2015-03-08 Thread Wenyou Yang
The slow clock always exists, selecting CONFIG_AT91_SLOW_CLOCK config is unnecessary for the suspend to memory mode. For this mode the master clock should always switch to the slow clock. Signed-off-by: Wenyou Yang Acked-by: Alexandre Belloni --- arch/arm/mach-at91/Kconfig | 13 -

[PATCH v2.0 2/3] ARM: at91: move "select SRAM" under SOC_AT91SAM9 and SOC_SAMA5

2015-03-08 Thread Wenyou Yang
To simply the PM config the CONFIG_AT91_SLOW_CLOCK option will be removed, so move "select SRAM" from under AT91_SLOW_CLOCK, add "select SRAM if PM" under SOC_AT91SAM9 and SOC_SAMA5 Signed-off-by: Wenyou Yang Acked-by: Alexandre Belloni --- arch/arm/mach-at91/Kconfig |4 +++- 1 file changed

[PATCH v2.0 1/3] pm: at91: pm_slowclock: remove the unused code related with SLOWDOWN_MASTER_CLOCK

2015-03-08 Thread Wenyou Yang
The SLOWDOWN_MASTER_CLOCK definition is not used, remove the redundant code. Signed-off-by: Wenyou Yang Acked-by: Alexandre Belloni --- arch/arm/mach-at91/pm_slowclock.S | 37 - 1 file changed, 37 deletions(-) diff --git a/arch/arm/mach-at91/pm_slowclock.S

[PATCH v2.0 0/3] ARM: AT91: pm cleanup for 4.1

2015-03-08 Thread Wenyou Yang
Hi, The patch series purpose is to clean up the AT91 PM code. It is based on the branch: at91-4.0-fixes git://git.kernel.org/pub/scm/linux/kernel/git/nferre/linux-at91.git + [PATCH] ARM: at91: pm: change at91_pm_set_standby() to static Change log for v2.0 - rebase on the branch: at91-4.

Re: [PATCH v4 2/2] cgroups: add a pids subsystem

2015-03-08 Thread Tejun Heo
On Sun, Mar 08, 2015 at 11:34:05PM -0400, Tejun Heo wrote: > > + for (p = pids; p; p = p->parent) { > > + long new; > > + > > + new = atomic_long_add_return(num, &p->counter); > > + > > + if (p->limit == PIDS_UNLIMITED) > > + continue; > > Huh? So

Re: [PATCH v4 0/4] cpusets,isolcpus: exclude isolcpus from load balancing in cpusets

2015-03-08 Thread Tejun Heo
On Tue, Mar 03, 2015 at 06:00:19PM -0500, r...@redhat.com wrote: > Ensure that cpus specified with the isolcpus= boot commandline > option stay outside of the load balancing in the kernel scheduler. > > Operations like load balancing can introduce unwanted latencies, > which is exactly what the is

Re: [PATCH v4 2/2] cgroups: add a pids subsystem

2015-03-08 Thread Tejun Heo
On Fri, Mar 06, 2015 at 12:45:57PM +1100, Aleksa Sarai wrote: > +struct pids { This name is way too generic. Please make it clear it's part of a cgroup controller. > + struct pids *parent; > + struct cgroup_subsys_state css; Please make css the first element. The above prevents css <->

Re: [PATCH 1/5] soc: mediatek: Add SMI driver

2015-03-08 Thread Yingjoe Chen
On Fri, 2015-03-06 at 18:48 +0800, yong...@mediatek.com wrote: > From: Yong Wu > > This patch add SMI(Smart Multimedia Interface) driver. This driver is > responsible to enable/disable iommu and control the clocks of each > local arbiter. > > Signed-off-by: Yong Wu > --- > drivers/soc/medi

[PATCH 2/3] f2fs: fix get stale meta pages when build free nids

2015-03-08 Thread Wanpeng Li
The blocks of nat pages to be scanned will be readahead when build free nids. The start blkno will be adjusted to 0 when the intended range over max_nids, then function ra_meta_pages readahead the right blkno, however, function get_current_nat_page which is called in build_free_nids still get t

[PATCH 1/3] f2fs: guarantee node/meta inode number won't be reused

2015-03-08 Thread Wanpeng Li
Node/Meta inode numbers are also should not be reused, this patch guarantee it. Signed-off-by: Wanpeng Li --- fs/f2fs/node.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/f2fs/node.c b/fs/f2fs/node.c index 4687eae..1a7e925 100644 --- a/fs/f2fs/node.c +++ b/fs/f2fs/node.c

[PATCH 3/3] f2fs: fix unlocked nat set cache operation

2015-03-08 Thread Wanpeng Li
nm_i->nat_tree_lock is used to sync both the operations of nat entry cache tree and nat set cache tree, however, it isn't held when flush nat entries during checkpoint which lead to potential race, this patch fix it by holding the lock when gang lookup nat set cache and delete item from nat set

Re: [RFC 0/6] the big khugepaged redesign

2015-03-08 Thread Vlastimil Babka
On 02/23/2015 11:46 PM, Davidlohr Bueso wrote: On Mon, 2015-02-23 at 13:58 +0100, Vlastimil Babka wrote: Recently, there was concern expressed (e.g. [1]) whether the quite aggressive THP allocation attempts on page faults are a good performance trade-off. - THP allocations add to page fault lat

Re: Qemu e1000 broken in -rc1 and -rc2 : bisected

2015-03-08 Thread Chen, Tiejun
On 2015/3/7 3:27, Ken Moffat wrote: On Fri, Mar 06, 2015 at 12:02:40AM +, Ken Moffat wrote: I have a very recent qemu i686 image, using a 3.19.0 kernel and dhclient, which works fine if the host is running a 3.19.0 kernel, but breaks when the host runs 4.0.0-rc1 or -rc2. On those, dhcli

Re: [PATCH v4 0/2] cgroup: add pids subsystem

2015-03-08 Thread Tejun Heo
On Fri, Mar 06, 2015 at 12:45:55PM +1100, Aleksa Sarai wrote: > This is a checkpatch'd version of the pids patchset[1]. It fixes some > style problems, as well as switch to using need_canfork_callback inside > kernel/cgroup.c. Also remove the dependency on PAGE_COUNTER (because > pids now uses an i

Re: [PATCH v2 1/2] cgroups: allow a cgroup subsystem to reject a fork

2015-03-08 Thread Tejun Heo
On Fri, Feb 27, 2015 at 03:17:18PM +1100, Aleksa Sarai wrote: ... > In order for can_fork to deal with a task that has an accurate css_set, > move the css_set updating to cgroup_fork (where it belongs). Hmmm? So, now the task is visible on cgroup side before the point of no return? What happens

Re: [PATCH] Drivers: net: ieee802154: mrf24j40: fix some space around operator coding style issues

2015-03-08 Thread David Miller
From: weizhewang Date: Sun, 8 Mar 2015 11:34:01 +0800 > Fixed some codeing style issues. > > Signed-off-by: hmsjwzb Your real name is not hmsjwzb, and there should be a space between your real name and your email address. -- To unsubscribe from this list: send the line "unsubscribe linux-ker

Re: [PATCH] net/macb: Update DT bindings documentation

2015-03-08 Thread David Miller
From: Boris Brezillon Date: Sat, 7 Mar 2015 07:37:06 +0100 > Add missing "cdns,at91sam9260-macb", "atmel,sama5d3-gem" and > "atmel,sama5d4-gem" compatible strings. > > Signed-off-by: Boris Brezillon > Reviewed-by: Alexandre Belloni > Acked-by: Nicolas Ferre Applied to net-next, thanks. -- T

Re: [PATCH V2] bgmac: Clean warning messages

2015-03-08 Thread David Miller
From: Peter Senna Tschudin Date: Sat, 7 Mar 2015 12:10:26 +0100 > On my test environment the throughput of a file transfer drops > from 4.4MBps to 116KBps due the number of repeated warning > messages. This patch removes the warning messages as DMA works > correctly with addresses using 0xC0

Re: [PATCHv2 net-next] net: stmmac: make reset control an optional requirement

2015-03-08 Thread David Miller
From: Date: Fri, 6 Mar 2015 17:48:28 -0600 > From: Dinh Nguyen > > Not having a reset control line to the ethernet controller should not be a > hard failure. Instead, add support for deferred probing and just print out > a debug statement. > > Signed-off-by: Dinh Nguyen Applied, thanks. -- T

[PATCH v6 04/30] xen/PCI: Don't use deprecated function pci_scan_bus_parented()

2015-03-08 Thread Yijing Wang
From: Arnd Bergmann Use pci_scan_root_bus() instead of deprecated function pci_scan_bus_parented(). Signed-off-by: Arnd Bergmann Signed-off-by: Yijing Wang CC: Konrad Rzeszutek Wilk CC: xen-de...@lists.xenproject.org Signed-off-by: Bjorn Helgaas --- drivers/pci/xen-pcifront.c | 12 +++

[PATCH v6 03/30] PCI: Export busn_resource to drivers/pci

2015-03-08 Thread Yijing Wang
Export out busn_resource. Xen pcifront module need it. Signed-off-by: Yijing Wang --- drivers/pci/pci.h |2 ++ drivers/pci/probe.c |3 ++- 2 files changed, 4 insertions(+), 1 deletions(-) diff --git a/drivers/pci/pci.h b/drivers/pci/pci.h index 4091f82..eeacab9 100644 --- a/drivers/pc

[PATCH v6 23/30] PCI/mvebu: Use pci_common_init_dev() to simplify code

2015-03-08 Thread Yijing Wang
Mvebu_pcie_scan_bus() is not necessary, we could use pci_common_init_dev() instead of pci_common_init(), and pass the device pointer as the parent. Then pci_scan_root_bus() will be called to scan the pci busses. Signed-off-by: Yijing Wang CC: Thomas Petazzoni CC: Jason Cooper Signed-off-by: Bjo

[PATCH v6 10/30] PCI: Introduce pci_host_bridge_list to manage host bridges

2015-03-08 Thread Yijing Wang
Introduce pci_host_bridge_list to manage pci host bridges in system, so we could detect whether the host in domain:bus is alreay registered. Then we could remove bus alreay exist test in __pci_create_root_bus(). Signed-off-by: Yijing Wang Signed-off-by: Bjorn Helgaas --- drivers/pci/host-bridge

[PATCH v6 09/30] PCI: Separate pci_host_bridge creation out of pci_create_root_bus()

2015-03-08 Thread Yijing Wang
This patch separate pci_host_bridge creation out of pci_create_root_bus(), and try to make a generic pci_host_bridge, then we could place generic PCI infos like domain number in it. Also Ripping out pci_host_bridge creation from pci_create_root_bus() make code more better readability. Further more,

[PATCH v6 13/30] PCI: Introduce new scan function pci_scan_host_bridge()

2015-03-08 Thread Yijing Wang
Introduce new scan function pci_scan_host_bridge() to support host bridge drivers that need to provide platform own pci_host_bridge_ops. Signed-off-by: Yijing Wang Signed-off-by: Bjorn Helgaas --- drivers/pci/probe.c | 22 ++ include/linux/pci.h |4 2 files change

[PATCH v6 14/30] x86/PCI: Refine pci_acpi_scan_root() with generic pci_host_bridge

2015-03-08 Thread Yijing Wang
Signed-off-by: Yijing Wang CC: Thomas Gleixner CC: x...@kernel.org Signed-off-by: Bjorn Helgaas --- arch/x86/pci/acpi.c | 36 1 files changed, 20 insertions(+), 16 deletions(-) diff --git a/arch/x86/pci/acpi.c b/arch/x86/pci/acpi.c index ad0e926..e730d31

[PATCH v6 00/30] Refine PCI scan interfaces and make generic pci host bridge

2015-03-08 Thread Yijing Wang
v5->v6: Fix cross building errors found by kbuild test. Export busn_resource to Xen pcifront driver. v4->v5: Fix some code style issues and rename some functions suggested by Bjorn. Fix some code flaw(Eg. call pci_bus_add_devices() before resources claim or l

[PATCH v6 18/30] PCI: Remove weak pcibios_root_bridge_prepare()

2015-03-08 Thread Yijing Wang
Now no one use weak pcibios_root_bridge_prepare(), we could remove it. Signed-off-by: Yijing Wang Signed-off-by: Bjorn Helgaas --- drivers/pci/probe.c | 16 +--- include/linux/pci.h |2 -- 2 files changed, 1 insertions(+), 17 deletions(-) diff --git a/drivers/pci/probe.c b/dr

[PATCH v6 22/30] parisc/PCI: Use pci_scan_root_bus() for simplicity

2015-03-08 Thread Yijing Wang
From: Yijing Wang Now pci_bus_add_devices() has been ripped out from pci_scan_root_bus(), we could use pci_scan_root_bus() instead of pci_create_root_bus() + pci_scan_child_bus() for simplicity. Signed-off-by: Yijing Wang CC: "James E.J. Bottomley" CC: linux-par...@vger.kernel.org Signed-off-b

[PATCH v6 17/30] powerpc/pci: Use pci_scan_host_bridge() for simplicity

2015-03-08 Thread Yijing Wang
Now we could use pci_scan_host_bridge() to scan pci buses, provide powerpc specific pci_host_bridge_ops. Suggested-by: Arnd Bergmann Signed-off-by: Yijing Wang CC: Benjamin Herrenschmidt CC: linuxppc-...@lists.ozlabs.org Signed-off-by: Bjorn Helgaas --- arch/powerpc/include/asm/machdep.h

  1   2   3   4   >