Re: [PATCH] KVM: x86: Check for nested events if there is an injectable interrupt

2014-07-07 Thread Jan Kiszka
On 2014-07-08 07:50, Paolo Bonzini wrote: > Il 08/07/2014 06:30, Bandan Das ha scritto: >> >> With commit b6b8a1451fc40412c57d1 that introduced >> vmx_check_nested_events, checks for injectable interrupts happen >> at different points in time for L1 and L2 that could potentially >> cause a race. Th

[PATCH net] r8152: wake up the device before dumping the hw counter

2014-07-07 Thread Hayes Wang
The device should be waked up from runtime suspend before dumping the hw counter. Signed-off-by: Hayes Wang --- drivers/net/usb/r8152.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/net/usb/r8152.c b/drivers/net/usb/r8152.c index 2543196..a795ecf 100644 --- a/drivers/net/usb/r

Re: [PATCH 4/4] kvm, mem-hotplug: Update apic access page when it is migrated.

2014-07-07 Thread Nadav Amit
Tang, I am sorry if I caused any confusion. Following Gleb response, there is no apparent need for dealing with the scenario I mentioned (relocating the APIC base), so you don't need to do any changes to your patch, and I will post another patch later to warn if the guest relocates its APIC (

Re: [PATCH] alarmtimer: Fix bug where relative alarm timers were treated as absolute

2014-07-07 Thread Richard Cochran
On Mon, Jul 07, 2014 at 02:06:11PM -0700, John Stultz wrote: > @@ -597,8 +602,16 @@ static int alarm_timer_set(struct k_itimer *timr, int > flags, > > /* start the timer */ > timr->it.alarm.interval = timespec_to_ktime(new_setting->it_interval); > - alarm_start(&timr->it.alarm.al

Re: [f2fs-dev] [PATCH] f2fs: do checkpoint for the renamed inode

2014-07-07 Thread Jaegeuk Kim
On Mon, Jul 07, 2014 at 11:17:35AM +0800, Chao Yu wrote: > Hi Jaegeuk, > > > -Original Message- > > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > > Sent: Wednesday, July 02, 2014 6:35 PM > > To: linux-kernel@vger.kernel.org; linux-fsde...@vger.kernel.org; > > linux-f2fs-de...@lists.sourc

Re: [PATCH] Allow increasing the buffer-head per-CPU LRU size

2014-07-07 Thread Sebastien Buisson
Can anyone demonstrate why we shouldn't just do I was assuming due to memory usage: with 4K blocks 32K->64K Moreover, performance gain was not that satisfactory on ext4 when increasing BH_LRU_SIZE to 16. Here are the performances I got with: (a) mdtest on ramdisk device, single shared dir

Re: [PATCH v11 2/7] x86: add pmd_[dirty|mkclean] for THP

2014-07-07 Thread Zhang Yanfei
On 07/08/2014 02:03 PM, Minchan Kim wrote: > MADV_FREE needs pmd_dirty and pmd_mkclean for detecting recent > overwrite of the contents since MADV_FREE syscall is called for > THP page. > > This patch adds pmd_dirty and pmd_mkclean for THP page MADV_FREE > support. > > Cc: Thomas Gleixner > Cc:

Re: [PATCH v11 1/7] mm: support madvise(MADV_FREE)

2014-07-07 Thread Zhang Yanfei
On 07/08/2014 02:03 PM, Minchan Kim wrote: > Linux doesn't have an ability to free pages lazy while other OS > already have been supported that named by madvise(MADV_FREE). > > The gain is clear that kernel can discard freed pages rather than > swapping out or OOM if memory pressure happens. > >

Re: [PATCH v2 2/4] Staging: rts5208: Replace custom macro with print_hex_dump_bytes

2014-07-07 Thread Fabio Falzoi
> > Hi, > here exist some checkpatch errors. > > Best Regards. > micky. Yes, you'are right, I'm gonna fix it, thanks. On Tue, Jul 8, 2014 at 4:12 AM, micky wrote: > On 07/07/2014 03:10 PM, Fabio Falzoi wrote: >> >> Use print_hex_dump_bytes to have memory properly dumped only when >> DEBUG is def

Re: [PATCH v2 4/4] Staging: rts5208: Fix a format specifier for dev_err

2014-07-07 Thread Fabio Falzoi
Hi Micky, in the latest linux-tree sources, lun field in struct scsi_device from include/scsi/scsi_device.h is a u64: unsigned int id, channel; u64 lun; unsigned int manufacturer; so we get a compiler warning if we keep the %u specifier. Regards, Fabio On Tue, Jul 8, 20

Re: [PATCHv2 17/32] ARM: at91/dt: ge863-pro3: define crystals frequencies

2014-07-07 Thread Jiří Prchal
Hi, the slow crystal is not on the module "ge863-pro3", but it's usually on application board. So I think this clock should be in board dts. Dne 7.7.2014 22:23, Alexandre Belloni napsal(a): Define Telit GE863-PRO3, AK signal CDU and Telit EVK-PRO3 main and slow crystals frequencies. Signed-of

Re: [PATCH 1/1] ARM: imx: use PTR_ERR_OR_ZERO

2014-07-07 Thread Sachin Kamat
On Tue, Jul 8, 2014 at 10:49 AM, Shawn Guo wrote: > On Tue, Jul 08, 2014 at 09:18:56AM +0530, Sachin Kamat wrote: >> Hi Shawn, >> >> On Mon, Jul 7, 2014 at 11:25 AM, Shawn Guo wrote: >> > On Fri, Jul 04, 2014 at 09:03:10PM +0200, Fabian Frederick wrote: >> >> replace IS_ERR/PTR_ERR >> >> >> >> Cc

Re: [PATCH 6/8] phy: core: Support regulator supply for PHY power

2014-07-07 Thread Kishon Vijay Abraham I
Hi Greg, On Tuesday 08 July 2014 07:15 AM, Greg KH wrote: > On Mon, Jul 07, 2014 at 12:18:23PM +0530, Kishon Vijay Abraham I wrote: >> From: Roger Quadros >> >> Some PHYs can be powered by an external power regulator. >> e.g. USB_HS PHY on DRA7 SoC. Make the PHY core support a >> power regulator.

Re: [PATCH 5/8] phy: core: Fix error path in phy_create()

2014-07-07 Thread Kishon Vijay Abraham I
Hi, On Tuesday 08 July 2014 07:15 AM, Greg KH wrote: > On Mon, Jul 07, 2014 at 12:18:22PM +0530, Kishon Vijay Abraham I wrote: >> From: Roger Quadros >> >> Prevent resources from being freed twice in case device_add() call >> fails within phy_create(). Also use ida_simple_remove() instead of >> i

Re: [PATCH] appletalk: Fix socket referencing in skb

2014-07-07 Thread Eric Dumazet
On Mon, 2014-07-07 at 23:22 +0300, Andrey Utkin wrote: > Setting just skb->sk without taking its reference and setting a > destructor is invalid. However, in the places where this was done, skb > is used in a way not requiring skb->sk setting. So dropping the setting > of skb->sk. > Thanks to Eric

Re: [PATCH 3/8] phy: phy-samsung-usb2: Change phy power on/power off sequence

2014-07-07 Thread Kishon Vijay Abraham I
Hi Greg, On Tuesday 08 July 2014 07:14 AM, Greg KH wrote: > On Mon, Jul 07, 2014 at 12:18:20PM +0530, Kishon Vijay Abraham I wrote: >> From: Kamil Debski >> >> The Exynos4412 USB 2.0 PHY hardware differs from the description provided >> in the documentation. Some register bits have different func

Re: [PATCH v10 7/7] mm: Don't split THP page when syscall is called

2014-07-07 Thread Minchan Kim
On Tue, Jul 08, 2014 at 10:30:38AM +0900, Minchan Kim wrote: > On Mon, Jul 07, 2014 at 02:13:03PM +0300, Kirill A. Shutemov wrote: > > On Mon, Jul 07, 2014 at 09:53:58AM +0900, Minchan Kim wrote: > > > We don't need to split THP page when MADV_FREE syscall is > > > called. It could be done when VM

RE: [PATCH 3/4] power_supply: Introduce PSE compliant algorithm

2014-07-07 Thread Tc, Jenny
> > +static int get_tempzone(struct psy_pse_chrg_prof *pse_mod_bprof, > > + int temp) > > +{ > > + int i = 0; > > + int temp_range_cnt; > > + > > + temp_range_cnt = min_t(u16, pse_mod_bprof->temp_mon_ranges, > > + BATT_TEMP_NR_RNG); > > + if ((te

[PATCH v11 4/7] powerpc: add pmd_[dirty|mkclean] for THP

2014-07-07 Thread Minchan Kim
MADV_FREE needs pmd_dirty and pmd_mkclean for detecting recent overwrite of the contents since MADV_FREE syscall is called for THP page. This patch adds pmd_dirty and pmd_mkclean for THP page MADV_FREE support. Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: "Aneesh Kumar K.V" Cc: linuxppc-.

[PATCH v11 2/7] x86: add pmd_[dirty|mkclean] for THP

2014-07-07 Thread Minchan Kim
MADV_FREE needs pmd_dirty and pmd_mkclean for detecting recent overwrite of the contents since MADV_FREE syscall is called for THP page. This patch adds pmd_dirty and pmd_mkclean for THP page MADV_FREE support. Cc: Thomas Gleixner Cc: Ingo Molnar Cc: "H. Peter Anvin" Cc: x...@kernel.org Acked-

[PATCH v11 5/7] s390: add pmd_[dirty|mkclean] for THP

2014-07-07 Thread Minchan Kim
MADV_FREE needs pmd_dirty and pmd_mkclean for detecting recent overwrite of the contents since MADV_FREE syscall is called for THP page but for s390 pmds only referenced bit is available because there is no free bit left in the pmd entry for the software dirty bit so this patch adds dumb pmd_dirty

[PATCH v11 6/7] ARM: add pmd_[dirty|mkclean] for THP

2014-07-07 Thread Minchan Kim
MADV_FREE needs pmd_dirty and pmd_mkclean for detecting recent overwrite of the contents since MADV_FREE syscall is called for THP page. This patch adds pmd_dirty and pmd_mkclean for THP page MADV_FREE support. Cc: Catalin Marinas Cc: Will Deacon Cc: Steve Capper Cc: Russell King Cc: linux-ar

[PATCH v11 7/7] mm: Don't split THP page when syscall is called

2014-07-07 Thread Minchan Kim
We don't need to split THP page when MADV_FREE syscall is called. It could be done when VM decide really frees it so we could avoid unnecessary THP split. Signed-off-by: Minchan Kim --- mm/madvise.c | 20 +++- mm/rmap.c| 7 +++ mm/vmscan.c | 28 ++---

[PATCH 3/4] power_supply: Introduce PSE compliant algorithm

2014-07-07 Thread Jenny TC
As per Product Safety Engineering (PSE) specification for battery charging, the battery characteristics and thereby the charging rates can vary on different temperature zones. This patch introduces a PSE compliant charging algorithm with maintenance charging support. The algorithm can be selected b

[PATCH 1/4] power_supply: Add inlmt,iterm, min/max temp props

2014-07-07 Thread Jenny TC
Add new power supply properties for input current, charge termination current, min and max temperature POWER_SUPPLY_PROP_TEMP_MIN - minimum operatable temperature POWER_SUPPLY_PROP_TEMP_MAX - maximum operatable temperature POWER_SUPPLY_PROP_INPUT_CURRENT_LIMIT - input current limit programmed by

[PATCHv11 0/4] power_supply: Introduce power supply charging driver

2014-07-07 Thread Jenny TC
v1: introduced feature as a framework within power supply class driver with separate files for battid framework and charging framework v2: fixed review comments, moved macros and inline functions to power_supply.h v3: moved the feature as a separate driver, combined battid framework and

Re: powerpc allyesconfig fix

2014-07-07 Thread Stephen Rothwell
Hi Nicholas, On Tue, 8 Jul 2014 01:04:09 -0400 Nicholas Krause wrote: > > powerpc:allmodconfig has been failing for some time with the following > error. This patch has already bee submitted directly by Guenter, however for future reference: when you submit someone else's patch, you should inc

[PATCH 4/4] power_supply: bq24261 charger driver

2014-07-07 Thread Jenny TC
This patch introduces BQ24261 charger driver. The driver makes use of power supply charging driver to setup charging. So the driver does hardware abstraction and handles h/w specific corner cases. The charging logic resides with power supply charging driver Signed-off-by: Jenny TC --- drivers/po

[PATCH v11 3/7] sparc: add pmd_[dirty|mkclean] for THP

2014-07-07 Thread Minchan Kim
MADV_FREE needs pmd_dirty and pmd_mkclean for detecting recent overwrite of the contents since MADV_FREE syscall is called for THP page. This patch adds pmd_dirty and pmd_mkclean for THP page MADV_FREE support. Cc: "David S. Miller" Cc: sparcli...@vger.kernel.org Signed-off-by: Minchan Kim ---

[PATCH v11 1/7] mm: support madvise(MADV_FREE)

2014-07-07 Thread Minchan Kim
Linux doesn't have an ability to free pages lazy while other OS already have been supported that named by madvise(MADV_FREE). The gain is clear that kernel can discard freed pages rather than swapping out or OOM if memory pressure happens. Without memory pressure, freed pages would be reused by u

[PATCH v11 0/7] MADV_FREE support

2014-07-07 Thread Minchan Kim
This patch enable MADV_FREE hint for madvise syscall, which have been supported by other OSes. [PATCH 1] includes the details. [1] support MADVISE_FREE for !THP page so if VM encounter THP page in syscall context, it splits THP page. [2-6] is to preparing to call madvise syscall without THP plitti

[PATCH] arch/score/include/asm/Kbuild: Add generic "serial.h"

2014-07-07 Thread Chen Gang
The related error (with allmodconfig under score): CC [M] drivers/staging/speakup/speakup_acntpc.o In file included from drivers/staging/speakup/speakup_acntpc.c:33:0: drivers/staging/speakup/serialio.h:7:24: fatal error: asm/serial.h: No such file or directory #include

Re: [PATCH v2] video: fbdev: sis: init.c: Cleaning up variable that is never used

2014-07-07 Thread Dan Carpenter
On Mon, Jul 07, 2014 at 10:23:47PM +0200, Rickard Strandqvist wrote: > Variable ar assigned a value that is never used. > I have also removed all the code that thereby serves no purpose. > > This was found using a static code analysis program called cppcheck > > Signed-off-by: Rickard Strandqvist

Re: [f2fs-dev][PATCH 1/2] f2fs: check name_len of dir entry to prevent from deadloop

2014-07-07 Thread Jaegeuk Kim
On Mon, Jul 07, 2014 at 09:24:05AM +0800, Chao Yu wrote: > Hi Jaegeuk, > > > -Original Message- > > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > > Sent: Saturday, July 05, 2014 2:43 PM > > To: Chao Yu > > Cc: Changman Lee; linux-f2fs-de...@lists.sourceforge.net; > > linux-fsde...@vger.

[PATCH] staging: rtl8192u: fix checkpatch error/warning in r819xU_phy.c

2014-07-07 Thread sanjeev sharma
From: sanjeevs1 This is a patch to the r819xU_phy.c file that fixes up all the Error/Warning found by the checkpatch.pl tool Signed-off-by: Sanjeev Sharma --- drivers/staging/rtl8192u/r819xU_phy.c | 76 +-- 1 file changed, 36 insertions(+), 40 deletions(-) dif

Re: [PATCH] KVM: x86: Check for nested events if there is an injectable interrupt

2014-07-07 Thread Paolo Bonzini
Il 08/07/2014 06:30, Bandan Das ha scritto: With commit b6b8a1451fc40412c57d1 that introduced vmx_check_nested_events, checks for injectable interrupts happen at different points in time for L1 and L2 that could potentially cause a race. The regression occurs because KVM_REQ_EVENT is always set

Re: [PATCH] sparse: Add CLOG option for saving warning

2014-07-07 Thread Christopher Li
On Mon, Jul 7, 2014 at 4:22 AM, Sam Ravnborg wrote: >> > Typical usage: >> > >> > make -j8 C=2 CLOG= >> > We do not need this kind of special handling of outputs from gcc. > For sparse you just do a run with C=2 then you have it. > > In other words - this looks like overkill for somethign thas is

Re: [PATCH] KVM: nVMX: Fix IRQs inject to L2 which belong to L1 since race

2014-07-07 Thread Paolo Bonzini
Il 08/07/2014 01:38, Wanpeng Li ha scritto: On Mon, Jul 07, 2014 at 03:03:13PM +0200, Paolo Bonzini wrote: Il 07/07/2014 10:46, Wanpeng Li ha scritto: Hi Paolo, Is it ok for you to apply this patch and then more effort should be taken to figure out the other bug which don't have any relationsh

Re: [PATCH] checkstack: use $UTS_MACHINE as target architecture

2014-07-07 Thread Konstantin Khlebnikov
On Tue, Jul 8, 2014 at 2:05 AM, Andrew Morton wrote: > On Sat, 05 Jul 2014 15:22:38 +0400 Konstantin Khlebnikov > wrote: > >> This fixes command # make checkstack for i386/x86_64. >> Looks like $UTS_MACHINE is exactly what scripts/checkstack.pl needs. >> >> By default $UTS_MACHINE is equal to $A

Fwd: Fwd: Fwd: shx3_defconfig Fails

2014-07-07 Thread Nick Krause
From: Guenter Roeck wrote on Tue, Jul 8, 2014 at 1:18 AM Subject: Re: Fwd: Fwd: shx3_defconfig Fails To: Nick Krause , Greg KH Cc: jsl...@suse.cz, "linux-kernel@vger.kernel.org" On 07/07/2014 10:13 PM, Nick Krause wrote: > > -- Forwarded message -- > From: Nick Krause > Date: T

Re: [PATCH V8 0/9] PCI: Add SPEAr13xx PCie support

2014-07-07 Thread Viresh Kumar
On Tue, Jul 8, 2014 at 10:54 AM, Mohit KUMAR DCG wrote: > Pls find attached patches to push through your repo. These are rebased over > the top > of 3.16-rc3. git://git.kernel.org/pub/scm/linux/kernel/git/vireshk/linux.git spear/pcie-support-v8 -- To unsubscribe from this list: send the line "

Re: Fwd: Fwd: shx3_defconfig Fails

2014-07-07 Thread Guenter Roeck
On 07/07/2014 10:13 PM, Nick Krause wrote: -- Forwarded message -- From: Nick Krause Date: Tue, Jul 8, 2014 at 1:11 AM Subject: Fwd: Fwd: shx3_defconfig Fails To: li...@roeck-us.net, gre...@linuxfoundation.org Cc: sl...@suse.cz -- Forwarded message -- From: Nick

Re: [PATCH 1/1] ARM: imx: use PTR_ERR_OR_ZERO

2014-07-07 Thread Shawn Guo
On Tue, Jul 08, 2014 at 09:18:56AM +0530, Sachin Kamat wrote: > Hi Shawn, > > On Mon, Jul 7, 2014 at 11:25 AM, Shawn Guo wrote: > > On Fri, Jul 04, 2014 at 09:03:10PM +0200, Fabian Frederick wrote: > >> replace IS_ERR/PTR_ERR > >> > >> Cc: Shawn Guo > >> Cc: Sascha Hauer > >> Cc: linux-arm-ker.

Can I use DEVICE_INT_ATTR() so that probing and removing sysfs enteries happens automatically?

2014-07-07 Thread Jamie Risk
What is the proper way to use the 'DEVICE_(INT|ULONG|BOOL)_ATTR()' macros with a platform driver? Or, am I best using per attribute pairs of show/store functions? If I code my own 'show()' and 'store()' functions and use the 'DEVICE_ATTR()' macros things work happily with an assignment of 'struct

Fwd: Fwd: shx3_defconfig Fails

2014-07-07 Thread Nick Krause
-- Forwarded message -- From: Nick Krause Date: Tue, Jul 8, 2014 at 1:11 AM Subject: Fwd: Fwd: shx3_defconfig Fails To: li...@roeck-us.net, gre...@linuxfoundation.org Cc: sl...@suse.cz -- Forwarded message -- From: Nick Krause Date: Tue, Jul 8, 2014 at 1:07 AM Su

Fwd: Fwd: shx3_defconfig Fails

2014-07-07 Thread Nick Krause
From: Guenter Roeck work Tue, Jul 8, 2014 at 12:50 AM Subject: Re: Fwd: shx3_defconfig Fails To: Nick Krause , Greg KH Cc: jsl...@suse.cz, "linux-kernel@vger.kernel.org" On 07/07/2014 09:29 PM, Nick Krause wrote: > > Guenter Roeck work on Tue, Jul 8, 2014 at 12:00 AM > Subject: Re: shx3_defco

Re: [PATCH 1/1] ARM: imx: use PTR_ERR_OR_ZERO

2014-07-07 Thread Fabian Frederick
On Tue, 8 Jul 2014 09:18:56 +0530 Sachin Kamat wrote: > Hi Shawn, > > On Mon, Jul 7, 2014 at 11:25 AM, Shawn Guo wrote: > > On Fri, Jul 04, 2014 at 09:03:10PM +0200, Fabian Frederick wrote: > >> replace IS_ERR/PTR_ERR > >> > >> Cc: Shawn Guo > >> Cc: Sascha Hauer > >> Cc: linux-arm-ker...@lis

powerpc allyesconfig fix

2014-07-07 Thread Nicholas Krause
powerpc:allmodconfig has been failing for some time with the following error. arch/powerpc/kernel/exceptions-64s.S: Assembler messages: arch/powerpc/kernel/exceptions-64s.S:1312: Error: attempt to move .org backwards make[1]: *** [arch/powerpc/kernel/head_64.o] Error 1 A number of attempts to fix

Fwd: Fwd: Allyesconfig for powerpc still Failing

2014-07-07 Thread Nick Krause
From: Guenter Roeck on Mon, Jul 7, 2014 at 11:57 PM wrote Subject: Re: Fwd: Allyesconfig for powerpc still Failing To: Nick Krause , "linux-kernel@vger.kernel.org" , "linuxppc-...@lists.ozlabs.org" On 07/07/2014 08:38 PM, Nick Krause wrote: > > On 07/07/2014 07:45 PM, Nick Krause wrote: >> >> >

Re: Fwd: shx3_defconfig Fails

2014-07-07 Thread Guenter Roeck
On 07/07/2014 09:29 PM, Nick Krause wrote: Guenter Roeck work on Tue, Jul 8, 2014 at 12:00 AM Subject: Re: shx3_defconfig Fails On 07/07/2014 08:32 PM, Greg KH wrote: On Mon, Jul 07, 2014 at 11:04:23PM -0400, Nick Krause wrote: Hey Greg and others, The build, shx3_defconfig seems to be fail

Re: [PATCH 00/14] cpufreq: cpu0: Extend support beyond CPU0, V2

2014-07-07 Thread Viresh Kumar
On 4 July 2014 09:51, Viresh Kumar wrote: > Yeah, having something like what you suggested from DT is the perfect > solution to get over this. The only reason why I am not touching that here > is to not delay other patches just because of that. > > There are separate threads going on for that and

Re: [PATCH] [RFC] CMA: clear buffer-head lru before page migration

2014-07-07 Thread Andrew Morton
On Tue, 08 Jul 2014 13:44:04 +0900 Gioh Kim wrote: > 2014-07-08 __ 7:52, Andrew Morton ___ ___: > > On Fri, 04 Jul 2014 17:25:09 +0900 Gioh Kim wrote: > > > >> From: Gioh Kim > >> Date: Fri, 4 Jul 2014 16:53:22 +0900 > >> Subject: [PATCH] [RFC] CMA: clear buffer-head lru before page migrati

Re: Fwd: shx3_defconfig Fails

2014-07-07 Thread Guenter Roeck
On 07/07/2014 09:29 PM, Nick Krause wrote: Guenter Roeck work on Tue, Jul 8, 2014 at 12:00 AM Subject: Re: shx3_defconfig Fails On 07/07/2014 08:32 PM, Greg KH wrote: On Mon, Jul 07, 2014 at 11:04:23PM -0400, Nick Krause wrote: Hey Greg and others, The build, shx3_defconfig seems to be fail

Re: [PATCH v10 1/7] mm: support madvise(MADV_FREE)

2014-07-07 Thread Minchan Kim
Hello Zhang, On Tue, Jul 08, 2014 at 11:54:12AM +0800, Zhang Yanfei wrote: > Hi Minchan, > > On 07/07/2014 08:53 AM, Minchan Kim wrote: > > Linux doesn't have an ability to free pages lazy while other OS > > already have been supported that named by madvise(MADV_FREE). > > > > The gain is clear

Re: [PATCH] [RFC] CMA: clear buffer-head lru before page migration

2014-07-07 Thread Gioh Kim
It's my fault. I'm going to send another patch ASAP. 2014-07-08 오전 7:52, Andrew Morton 쓴 글: On Fri, 04 Jul 2014 17:25:09 +0900 Gioh Kim wrote: From: Gioh Kim Date: Fri, 4 Jul 2014 16:53:22 +0900 Subject: [PATCH] [RFC] CMA: clear buffer-head lru before page migration When CMA try to migrat

Re: [PATCH] KVM: nVMX: Fix IRQs inject to L2 which belong to L1 since race

2014-07-07 Thread Bandan Das
Wanpeng Li writes: ... > > As Jan metioned in http://www.spinics.net/lists/kvm/msg105238.html, "In any > case, > unconditionally setting KVM_REQ_EVENT seems strange and should be changed." > Your > trick still keep the unconditionally setting KVM_REQ_EVENT which is the root > cause > of the

Re: [PATCH] net: arcnet: Remove "#define bool int"

2014-07-07 Thread David Miller
From: Rasmus Villemoes Date: Wed, 2 Jul 2014 14:12:01 +0200 > The header file include/linux/arcdevice.h #defines bool to int, if > bool is not already #defined. However, the files which use that header > file seem to rely on that #define (unconditionally) being in effect: > the prototypes for th

[PATCH] KVM: x86: Check for nested events if there is an injectable interrupt

2014-07-07 Thread Bandan Das
With commit b6b8a1451fc40412c57d1 that introduced vmx_check_nested_events, checks for injectable interrupts happen at different points in time for L1 and L2 that could potentially cause a race. The regression occurs because KVM_REQ_EVENT is always set when nested_run_pending is set even if there's

Fwd: shx3_defconfig Fails

2014-07-07 Thread Nick Krause
Guenter Roeck work on Tue, Jul 8, 2014 at 12:00 AM Subject: Re: shx3_defconfig Fails On 07/07/2014 08:32 PM, Greg KH wrote: > > On Mon, Jul 07, 2014 at 11:04:23PM -0400, Nick Krause wrote: >> >> Hey Greg and others, >> The build, shx3_defconfig seems to be failing. > > > In what kernel version? >

Re: [PATCH V8 0/9] PCI: Add SPEAr13xx PCie support

2014-07-07 Thread Viresh Kumar
On Tue, Jul 8, 2014 at 9:21 AM, Mohit KUMAR DCG wrote: > - These patches are rebased over 3-16-rc3 to go through arm-soc tree. > Somehow we are having 'sync' issue in providing web link for spear public > repository with these patches. > > It will be resolve soon, and I will provide the link. I c

Re: [PATCH] net: Fix NETDEV_CHANGE notifier usage causing spurious arp flush

2014-07-07 Thread David Miller
From: Loic Prylli Date: Tue, 1 Jul 2014 21:39:43 -0700 > A bug was introduced in NETDEV_CHANGE notifier sequence causing the > arp table to be sometimes spuriously cleared (including manual arp > entries marked permanent), upon network link carrier changes. > > The changed argument for the noti

Re: [PATCH 1/2] phy: Kconfig: Re-organize Exynos USB 2.0 PHY configs

2014-07-07 Thread Sachin Kamat
On Mon, Jun 30, 2014 at 2:26 PM, Sachin Kamat wrote: > Since the USB 2.0 PHYs are required only with EHCI/OHCI USB drivers, > make it depend on them and default to ARCH_EXYNOS as they are meant > for Exynos platforms. Also, make the sub-drivers silent options enabling > them based on the SoC platf

Fwd: Compile issues with se7206_defconfig

2014-07-07 Thread Nick Krause
Guenter Roeck work on Tue, Jul 8, 2014 at 12:03 AM Subject: Re: Compile issues with se7206_defconfig To: Nick Krause , "linux-kernel@vger.kernel.org" On 07/07/2014 07:56 PM, Nick Krause wrote: > > There seems to me a build issue with this config. I will paste my logs > for this build below thi

Re: linux-next: build failure after merge of the iommu tree

2014-07-07 Thread Alex Williamson
On Tue, 2014-07-08 at 14:02 +1000, Stephen Rothwell wrote: > Hi Joerg, > > After merging the iommu tree, today's linux-next build (powerpc > ppc64_defconfig) failed like this: > > arch/powerpc/platforms/built-in.o:(.opd+0x29e8): multiple definition of > `iommu_device_destroy' > arch/powerpc/kern

Re: [PATCH 2/2] sched: Rewrite per entity runnable load average tracking

2014-07-07 Thread Yuyang Du
Thanks, Peter. On Mon, Jul 07, 2014 at 12:46:46PM +0200, Peter Zijlstra wrote: > > That tg->load_avg cacheline is already red hot glowing, and you've just > increased the amount of updates to it.. That's not going to be pleasant. > Logically, this rewrite updates tg->load_avg as soon as it is c

linux-next: build failure after merge of the iommu tree

2014-07-07 Thread Stephen Rothwell
+0x29d0): multiple definition of `iommu_device_create' arch/powerpc/kernel/built-in.o:(.opd+0x5610): first defined here Caused by commit c61959ecbbc6 ("iommu: Add sysfs support for IOMMUs"). CONFIG_IOMMU_API is not set for this build. Forgotten "static inline"s :-(

Re: Compile issues with se7206_defconfig

2014-07-07 Thread Guenter Roeck
On 07/07/2014 07:56 PM, Nick Krause wrote: There seems to me a build issue with this config. I will paste my logs for this build below this message. Cheers Nick scripts/mod/empty.c:1:0: error: cannot use atomic model soft-imask in user mode /* empty file to figure out endianness / word size */

Re: [PATCH 1/3] PCI/MSI: Add pci_enable_msi_partial()

2014-07-07 Thread Michael Ellerman
On Wed, 2014-07-02 at 14:22 -0600, Bjorn Helgaas wrote: > On Tue, Jun 10, 2014 at 03:10:30PM +0200, Alexander Gordeev wrote: > > There are PCI devices that require a particular value written > > to the Multiple Message Enable (MME) register while aligned on > > power of 2 boundary value of actually

Re: shx3_defconfig Fails

2014-07-07 Thread Guenter Roeck
On 07/07/2014 08:32 PM, Greg KH wrote: On Mon, Jul 07, 2014 at 11:04:23PM -0400, Nick Krause wrote: Hey Greg and others, The build, shx3_defconfig seems to be failing. In what kernel version? Has it ever worked? Why not ask the maintainer of that arch about it? I doubt many people ever use

Re: Fwd: Allyesconfig for powerpc still Failing

2014-07-07 Thread Guenter Roeck
On 07/07/2014 08:38 PM, Nick Krause wrote: On 07/07/2014 07:45 PM, Nick Krause wrote: Today I tested the allyesconfig for powerpc and it seems to be still failing according to my tests. Below are the error messages I get before the jobs finish and exit failing the build. Cheers Nick arch/powerp

Re: [PATCH v10 1/7] mm: support madvise(MADV_FREE)

2014-07-07 Thread Zhang Yanfei
Hi Minchan, On 07/07/2014 08:53 AM, Minchan Kim wrote: > Linux doesn't have an ability to free pages lazy while other OS > already have been supported that named by madvise(MADV_FREE). > > The gain is clear that kernel can discard freed pages rather than > swapping out or OOM if memory pressure h

Re: [PATCH] net: qmi_wwan: Add ID for Telewell TW-LTE 4G v2

2014-07-07 Thread David Miller
From: Bernd Wachter Date: Tue, 01 Jul 2014 22:01:09 +0300 > There's a new version of the Telewell 4G modem working with, but not > recognized by this driver. > > Signed-off-by: Bernd Wachter Applied and queued up for -stable, thanks. -- To unsubscribe from this list: send the line "unsubscrib

RE: [PATCH V8 0/9] PCI: Add SPEAr13xx PCie support

2014-07-07 Thread Mohit KUMAR DCG
It will be resolve soon, and I will provide the link. > > [ The patchset applies fine to next-20140707 after fixing trivial > reject in drivers/pci/host/Makefile in patch #8. To make it build > the following line from patch #8 needs to be dropped: > > + spin_loc

Re: [PATCH 1/1] ARM: imx: use PTR_ERR_OR_ZERO

2014-07-07 Thread Sachin Kamat
Hi Shawn, On Mon, Jul 7, 2014 at 11:25 AM, Shawn Guo wrote: > On Fri, Jul 04, 2014 at 09:03:10PM +0200, Fabian Frederick wrote: >> replace IS_ERR/PTR_ERR >> >> Cc: Shawn Guo >> Cc: Sascha Hauer >> Cc: linux-arm-ker...@lists.infradead.org >> Signed-off-by: Fabian Frederick > > Applied, thanks.

Re: [PATCH 0/3] dra7: Add PCIe support

2014-07-07 Thread Pratyush Anand
On Sat, Jul 5, 2014 at 11:02 PM, Bjorn Helgaas wrote: > On Wed, Jun 25, 2014 at 11:26:44PM +0530, Kishon Vijay Abraham I wrote: >> [1] is split into separate series in order for individual subsystem >> Maintainers to pick up the patches. This series handles the PCIe >> support for DRA7. >> >> Reba

Re: shx3_defconfig Fails

2014-07-07 Thread Greg KH
On Mon, Jul 07, 2014 at 11:04:23PM -0400, Nick Krause wrote: > Hey Greg and others, > The build, shx3_defconfig seems to be failing. In what kernel version? Has it ever worked? Why not ask the maintainer of that arch about it? I doubt many people ever use defconfig files anymore... thanks, gr

sh -allyesconfig Fails

2014-07-07 Thread Nick Krause
Hey guys, shallyesconfig seems to still be failing. Below this message are the logs for this failing build. Cheers Nick scripts/kconfig/conf --silentoldconfig Kconfig CHK include/config/kernel.release CHK include/generated/uapi/linux/version.h :1:0: error: cannot use atomic model so

Re: [PATCH] powerpc: Disable RELOCATABLE for COMPILE_TEST with PPC64

2014-07-07 Thread Benjamin Herrenschmidt
On Mon, 2014-07-07 at 20:03 -0700, Guenter Roeck wrote: > ping ... > > Ben, I know this is not perfect, but on the other side it is simple > and would be easy to backport. With this in place, a complete/clean > fix would not be as urgent. Any chance to get it applied ? Yes, that definitely helps,

sh allmodconfig Fails

2014-07-07 Thread Nick Krause
Hey Kirill and other maintainers , When building sh allmodconfig I hit errors in a file you guys maintain. I will paste below this log the issues with the build and their respective errors. Cheers Nick :) :1:0: error: cannot use atomic model soft-imask in user mode :1:0: error: cannot use atomic mo

Re: [PATCH v3 01/12] sched: fix imbalance flag reset

2014-07-07 Thread Preeti U Murthy
On 06/30/2014 09:35 PM, Vincent Guittot wrote: > The imbalance flag can stay set whereas there is no imbalance. > > Let assume that we have 3 tasks that run on a dual cores /dual cluster system. > We will have some idle load balance which are triggered during tick. > Unfortunately, the tick is als

Fwd: Allyesconfig for powerpc still Failing

2014-07-07 Thread Nick Krause
On Mon, Jul 7, 2014 at 11:03 PM wrote Benjamin Herrenschmidt On Mon, 2014-07-07 at 22:45 -0400, Nick Krause wrote: > Today I tested the allyesconfig for powerpc and it seems to be still > failing according to my tests. > Below are the error messages I get before the jobs finish and exit > failing

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

2014-07-07 Thread Stephen Rothwell
.c:239:19: note: declared here static inline int act8865_pdata_from_dt(struct device *dev, ^ Caused by commit 7160912a8c55 ("regulator: act8865: add support for act8846"). I have used the regulator tree from next-20140707 for today. -- Cheers, Stephen Rothwe

Re: Allyesconfig for powerpc still Failing

2014-07-07 Thread Nick Krause
Just hoped this log may help you in your issues with the train wreck. If you need any help with the issues here please let me know. Cheers Nick :) On Mon, Jul 7, 2014 at 11:03 PM, Benjamin Herrenschmidt wrote: > On Mon, 2014-07-07 at 22:45 -0400, Nick Krause wrote: >> Today I tested the allyescon

Re: Allyesconfig for powerpc still Failing

2014-07-07 Thread Guenter Roeck
On 07/07/2014 07:45 PM, Nick Krause wrote: Today I tested the allyesconfig for powerpc and it seems to be still failing according to my tests. Below are the error messages I get before the jobs finish and exit failing the build. Cheers Nick arch/powerpc/kernel/exceptions-64s.S: Assembler messages

Re: Allyesconfig for powerpc still Failing

2014-07-07 Thread Benjamin Herrenschmidt
On Mon, 2014-07-07 at 22:45 -0400, Nick Krause wrote: > Today I tested the allyesconfig for powerpc and it seems to be still > failing according to my tests. > Below are the error messages I get before the jobs finish and exit > failing the build. > Cheers Nick > arch/powerpc/kernel/exceptions-64s.

shx3_defconfig Fails

2014-07-07 Thread Nick Krause
Hey Greg and others, The build, shx3_defconfig seems to be failing. Below this message are the logs. Please note they are pretty long as the errors were not in the same subsystems from what I get from reading the trace. Cheers Nick net/ipv4/ping.c: In function ‘ping_err’: net/ipv4/ping.c:547:37: wa

Re: [PATCH] powerpc: Disable RELOCATABLE for COMPILE_TEST with PPC64

2014-07-07 Thread Guenter Roeck
ping ... Ben, I know this is not perfect, but on the other side it is simple and would be easy to backport. With this in place, a complete/clean fix would not be as urgent. Any chance to get it applied ? Nick, this doesn't fix the allyesconfig build - it still fails with relocation errors. But i

Re: [PATCH 2/3] ARM: dts: Update the parent for Audss clocks in Exynos5420

2014-07-07 Thread Tushar Behera
On 07/08/2014 05:04 AM, Kukjin Kim wrote: > On 07/01/14 20:59, Tushar Behera wrote: >> On 06/27/2014 08:18 PM, Kevin Hilman wrote: >>> On Fri, Jun 27, 2014 at 7:18 AM, Kevin Hilman >>> wrote: On Thu, Jun 26, 2014 at 8:38 PM, Tushar Behera wrote: > Would you please provide me th

Compile issues with se7206_defconfig

2014-07-07 Thread Nick Krause
There seems to me a build issue with this config. I will paste my logs for this build below this message. Cheers Nick scripts/mod/empty.c:1:0: error: cannot use atomic model soft-imask in user mode /* empty file to figure out endianness / word size */ ^ make[2]: *** [scripts/mod/empty.o] Error 1

Re: linux-next: build failure after merge of the net tree

2014-07-07 Thread David Miller
From: Stephen Rothwell Date: Fri, 4 Jul 2014 11:39:07 +1000 > After merging the net tree, today's linux-next build (x86_64 > allmodconfig) failed like this: > > ERROR: "phy_resume" [drivers/net/ethernet/stmicro/stmmac/stmmac.ko] undefined! > > Caused by commit 0acf16768740 ("net: stmmac: add pl

Re: [Intel-gfx] [PATCH 5/5] drm/i915: Kick out vga console

2014-07-07 Thread Ed Tomlinson
Hi Daniel, The patch below also works. You can use my Tested By for it. Thanks Ed Tomlinson PS. I _really_ need to get a serial console working on my i7 box. On Monday 07 July 2014 14:26:54 Daniel Vetter wrote: > On Mon, Jul 07, 2014 at 06:45:49AM -0400, Ed Tomlinson wrote: > > Daniel, > > >

Re: [PATCH] modules: Fix build error in moduleloader.h

2014-07-07 Thread Masami Hiramatsu
(2014/07/08 8:40), Rusty Russell wrote: > Steven Rostedt writes: >> Fengguang Wu's build bot detected that if moduleloader.h is included in >> a C file (used by ftrace and kprobes to access module_alloc() when >> available), that it can fail to build if CONFIG_MODULES and >> CONFIG_MODULES_USE_ELF

Re: [PATCH] sched/rt: overrun could happen in start_hrtick_dl

2014-07-07 Thread xiaofeng.yan
On 2014/7/8 10:40, Li Zefan wrote: On 2014/7/8 9:10, xiaofeng.yan wrote: On 2014/7/7 16:41, Peter Zijlstra wrote: On Fri, Jul 04, 2014 at 12:02:21PM +, xiaofeng.yan wrote: It could be wrong for the precision of runtime and deadline when the precision is within microsecond level. For exampl

Fwd: Compiler Tests

2014-07-07 Thread Nick Krause
-- Forwarded message -- From: Nick Krause Date: Mon, Jul 7, 2014 at 10:13 PM Subject: Fwd: Compiler Tests To: Levente Kurusa Cc: "linux-kernel@vger.kernel.org" -- Forwarded message -- From: Nick Krause Date: Mon, Jul 7, 2014 at 6:45 PM Subject: Fwd: Compiler Te

[PATCH 2/2] SCHED: allow wait_on_bit_action functions to support a timeout.

2014-07-07 Thread NeilBrown
It is currently not possible for various wait_on_bit functions to implement a timeout. While the "action" function that is called to do the waiting could certainly use schedule_timeout(), there is no way to carry forward the remaining timeout after a false wake-up. As false-wakeups a clearly possib

[PATCH 1/2] SCHED: remove proliferation of wait_on_bit action functions.

2014-07-07 Thread NeilBrown
The current "wait_on_bit" interface requires an 'action' function to be provided which does the actual waiting. There are over 20 such functions, many of them identical. Most cases can be satisfied by one of just two functions, one which uses io_schedule() and one which just uses schedule(). So:

[PATCH 0/2] Improve wait_on_bit interface.

2014-07-07 Thread NeilBrown
Hi Linus (hoping to get through your spam filter :-) I wonder if you would consider applying these patches directly? I originally sent them to Peter Zijlstra who was happy with them and they went into "tip" for a while http://lkml.iu.edu/hypermail/linux/kernel/1405.2/01678.html however ot

Allyesconfig for powerpc still Failing

2014-07-07 Thread Nick Krause
Today I tested the allyesconfig for powerpc and it seems to be still failing according to my tests. Below are the error messages I get before the jobs finish and exit failing the build. Cheers Nick arch/powerpc/kernel/exceptions-64s.S: Assembler messages: arch/powerpc/kernel/exceptions-64s.S:1331:

Re: [PATCH] sched/rt: overrun could happen in start_hrtick_dl

2014-07-07 Thread Li Zefan
On 2014/7/8 9:10, xiaofeng.yan wrote: > On 2014/7/7 16:41, Peter Zijlstra wrote: >> On Fri, Jul 04, 2014 at 12:02:21PM +, xiaofeng.yan wrote: >>> It could be wrong for the precision of runtime and deadline >>> when the precision is within microsecond level. For example: >>> Task runtime deadlin

Re: [PATCH net-next v1 2/2] netpoll: avoid reference leaks

2014-07-07 Thread David Miller
From: David Decotigny Date: Mon, 30 Jun 2014 16:50:10 -0700 > This ensures that the ndo_netpoll_cleanup callback is called for every > device that provides one. Otherwise there is a risk of reference leak > with bonding for example, which depends on this callback to cleanup > the slaves' referenc

  1   2   3   4   5   6   7   8   9   10   >