[PATCH] m68k: Switch to asm-generic/futex.h

2015-01-05 Thread Geert Uytterhoeven
As of commit 00f634bc522dedc8 ("asm-generic: add generic futex for !CONFIG_SMP") asm-generic follows the m68k futex implementation. Signed-off-by: Geert Uytterhoeven --- arch/m68k/include/asm/Kbuild | 1 + arch/m68k/include/asm/futex.h | 94 --- 2 files

Re: Old O_DIRECT story

2015-01-05 Thread Leon Pollak
IMHO(!): 1. It will be slower, as pre-fill takes its significant time. 2. DMA-Kernel competition makes this method unusable. On 6 January 2015 at 04:04, Kirill A. Shutemov wrote: > On Mon, Jan 05, 2015 at 03:52:10PM +, One Thousand Gnomes wrote: >> > I tried in all ways to implement this

Re: [PATCH] GMAC: fix simple_return.cocci warnings

2015-01-05 Thread David Miller
From: Roger Date: Tue, 06 Jan 2015 15:13:39 +0800 > What should I do now? Nothing, I'm simply not applying this patch. -- 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] x86: Add Isolated Memory Regions for Quark X1000

2015-01-05 Thread Darren Hart
On Mon, Dec 29, 2014 at 05:23:02PM +, Bryan O'Donoghue wrote: > Intel's Quark X1000 SoC contains a set of registers called Isolated Memory > Regions. IMRs are accessed over the IOSF mailbox interface. IMRs are areas > carved out of memory that define read/write access rights to the various >

[PATCH v2] virtio-scsi: Fix the race condition in virtscsi_handle_event

2015-01-05 Thread Fam Zheng
There is a race condition in virtscsi_handle_event, when many device hotplug/unplug events flush in quickly. The scsi_remove_device in virtscsi_handle_transport_reset may trigger the BUG_ON in scsi_target_reap, because the state is altered behind it, probably by scsi_scan_host of another event.

Re: [PATCH] GMAC: fix simple_return.cocci warnings

2015-01-05 Thread Joe Perches
On Tue, 2015-01-06 at 15:13 +0800, Roger wrote: > What should I do now? I think it would be better to change "int gmac_clk_enable" to "void gmac_clk_enable" (it always returns 0) This function should simply call gmac_clk_enable and return 0; > >>> ---

Re: [PATCH] virtio-scsi: Fix the race condition in virtscsi_handle_event

2015-01-05 Thread Michael S. Tsirkin
On Tue, Jan 06, 2015 at 12:10:59AM +0200, Michael S. Tsirkin wrote: > On Mon, Jan 05, 2015 at 11:48:47AM -0800, Venkatesh Srinivas wrote: > > On Sun, Jan 4, 2015 at 10:04 PM, Fam Zheng wrote: > > > > There is a race condition in virtscsi_handle_event, when many device > > hotplug/unplug

Re: [PATCH] GMAC: fix simple_return.cocci warnings

2015-01-05 Thread Roger
Hi! David What should I do now? On 2015/1/5 11:20, David Miller wrote: From: Joe Perches Date: Fri, 02 Jan 2015 16:46:45 -0800 On Sat, 2015-01-03 at 08:25 +0800, kbuild test robot wrote: drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c:425:1-4: WARNING: end returns can be simpified

Re: [PATCH v6 00/17] Introduce ACPI for ARM64 based on ACPI 5.1

2015-01-05 Thread Yijing Wang
On 2015/1/4 18:55, Hanjun Guo wrote: > Hi, Hello Hanjun, We tested your v5 patch set (and added some GICv3 patches) on Hisilicon ARM64 SoC hardware, from your change log for v6, there is only one functional change to fix the NULL pointer, I think the test result is still valid for v6, please

Re: query on DWC3

2015-01-05 Thread sundeep subbaraya
Hi, On Mon, Dec 22, 2014 at 9:42 PM, Felipe Balbi wrote: > Hi again, > > On Mon, Dec 22, 2014 at 10:11:23AM -0600, Felipe Balbi wrote: >> (please don't top-post) Sure. >> >> On Sun, Dec 14, 2014 at 08:39:18AM +0530, sundeep subbaraya wrote: >> > Hi Paul, >> > >> > As per my understanding, for

Re: [PATCH 09/11] powerpc/8xx: dont save CR in SCRATCH registers

2015-01-05 Thread leroy christophe
Le 05/01/2015 19:30, Joakim Tjernlund a écrit : On Tue, 2014-12-16 at 16:03 +0100, Christophe Leroy wrote: CR only needs to be preserved when checking if we are handling a kernel address. So we can preserve CR in a register: - In ITLBMiss, check is done only when CONFIG_MODULES is defined.

Re: [PATCH 0/10] iommu/vt-d: Fix intel vt-d faults in kdump kernel

2015-01-05 Thread Li, ZhenHua
According to Takao Indoh's testing, seems adding flush after loading old irte and updating old irte does not fix the dmar faults. According to Takao Indoh's log and your log, the faults happens while and after driver is loaded. Maybe I am using incorrect code in 08/10. On 01/06/2015 02:37

Re: [PATCH] ceph: acl: Remove unused function

2015-01-05 Thread Yan, Zheng
On Sun, Jan 4, 2015 at 7:44 AM, Rickard Strandqvist wrote: > Remove the function ceph_get_cached_acl() that is not used anywhere. > > This was partially found by using a static code analysis program called > cppcheck. > > Signed-off-by: Rickard Strandqvist > --- > fs/ceph/acl.c | 14

Re: [PATCH v3 2/2] powerpc/8xx: use _PAGE_RO instead of _PAGE_RW

2015-01-05 Thread leroy christophe
Le 05/01/2015 19:12, Joakim Tjernlund a écrit : On Mon, 2014-12-22 at 11:14 +0100, Christophe Leroy wrote: On powerpc 8xx, in TLB entries, 0x400 bit is set to 1 for read-only pages and is set to 0 for RW pages. So we should use _PAGE_RO instead of _PAGE_RW Signed-off-by: Christophe Leroy Hi

Re: linux-next: error fetching the microblaze tree

2015-01-05 Thread Michal Simek
Hi Stephen, sorry for trouble. Server has been moved to 92.62.235.6. I have changed DNS record but it takes some time to update it that's why you can't reach it. :-( It will be fixed soon I believe. Thanks, Michal On 01/06/2015 12:03 AM, Stephen Rothwell wrote: > Hi Michal, > > Attempting to

[PATCH] dmaengine: tegra: add slave capabilities reporting

2015-01-05 Thread Paul Walmsley
Warren Cc: Thierry Reding Cc: Maxime Ripard Cc: Alexandre Courbot --- Applies on next-20150105. Boot-tested on Tegra132 Norrin FFD (with a few unrelated patches not yet in mainline to get the board to boot) drivers/dma/tegra20-apb-dma.c | 15 +++ 1 file changed, 15 insertions(+)

Re: [patch] perf_event_open.2 exclude_host/exclude_guest clarification

2015-01-05 Thread Michael Kerrisk (man-pages)
Hi Vince et al, On 12/05/2014 04:41 PM, Vince Weaver wrote: > Hello > > The PAPI developers recently ran into some issues with the various virtual > machine related settings in the perf_event_open() system call. > > What follows is what my proposed updated manpage sections look like; I'm >

Re: [PATCH 2/2] adjtimex.2: Update modes field of adjtimex

2015-01-05 Thread Michael Kerrisk (man-pages)
On 12/24/2014 02:00 PM, Masanari Iida wrote: > This patch update modes field of adjtimex man page. Hello Masanari Iida, Thanks for this patch. As it happened, some other recent changes to the page covered the same changes already, so this patch is obsolete. You can find the no current version in

Re: [PATCH 0/10] iommu/vt-d: Fix intel vt-d faults in kdump kernel

2015-01-05 Thread Baoquan He
Hi Zhenhua, I just tested your patchset based on 3.19.0-rc2+, and found several dmar fault and intr-remap fault, it seems not the same as Takao's, please check the attachment. Thanks Baoquan [root@dhcp-16-105 ~]# kdumpctl restart kexec: failed to unloaded kdump kernel Stopping kdump: [FAILED]

RE: [PATCH v4] can: Convert to runtime_pm

2015-01-05 Thread Appana Durga Kedareswara Rao
Hi Marc, Could you please provide your feedback on this patch ? @Soren : Will update the driver with your comments during next version of the patch. Regards, Kedar. -Original Message- From: Sören Brinkmann [mailto:soren.brinkm...@xilinx.com] Sent: Wednesday, December 24, 2014

Re: [PATCH 1/2] adjtimex.2: Update return value of adjtimex

2015-01-05 Thread Michael Kerrisk (man-pages)
Hello Masanari Iida, On 12/24/2014 02:00 PM, Masanari Iida wrote: > This patch update return value of adjtimex man page. > > Signed-off-by: Masanari Iida > --- > man2/adjtimex.2 | 13 +++-- > 1 file changed, 7 insertions(+), 6 deletions(-) > > diff --git a/man2/adjtimex.2

[f2fs-dev][PATCH 2/2] f2fs: enable recover_xattr_data to avoid cp when fsync after operating xattr

2015-01-05 Thread Chao Yu
Now if we call fsync() after we update the xattr date belongs to the file, f2fs will do checkpoint to keep data. This can cause low performance because checkpoint block most operation and write lots of blocks. So we'd better to avoid doing checkpoint by writing modified xattr node page to warm

[f2fs-dev][PATCH 1/2] f2fs: get rid of kzalloc in __recover_inline_status

2015-01-05 Thread Chao Yu
We use kzalloc to allocate memory in __recover_inline_status, and use this all-zero memory to check the inline date content of inode page by comparing them. This is low effective and not needed, let's check inline date content directly. Signed-off-by: Chao Yu --- fs/f2fs/inode.c | 27

Re: [PATCH] Staging: comedi: dmm32at: Fixed a code indent issue

2015-01-05 Thread Sudip Mukherjee
On Mon, Jan 05, 2015 at 08:24:06PM +0100, Piotr Kubus wrote: > On Sun, Jan 04, 2015 at 11:31:29PM +0100, Konrad Zapalowicz wrote: > > On 01/04, Piotr Kubus wrote: > > > This is a patch to the dmm32at.c file that fixes up a code indent error > > > found by the checkpatch.pl tool. > > > > Nice

Re: [PATCH 3.19 3/3] x86, mpx: Change the MPX enable/disable API to arch_prctl

2015-01-05 Thread Andy Lutomirski
On Mon, Jan 5, 2015 at 8:04 PM, Andi Kleen wrote: >> We should avoid arch_prctl because glibc won't add a syscall stub that >> libgcc or whatever would want? My mind boggles. > > Please turn brain on before posting. Brain was on. > > Of course they would add it. But only in the next version.

Re: [PATCH 0/2] x86: Add IMR support to Quark/Galileo

2015-01-05 Thread Darren Hart
On Mon, Dec 29, 2014 at 05:23:01PM +, Bryan O'Donoghue wrote: > This patchset adds an IMR driver to the kernel plus platform code for > Intel Galileo Gen1/Gen2 boards. > > IMRs: > Quark SoC X1000 ships with a set of registers called Isolated Memory Regions > IMRs provide fine grained memory

Re: [RFC][PATCH 0/3] sched: skip_clock_update madness

2015-01-05 Thread Mike Galbraith
On Mon, 2015-01-05 at 14:59 +0100, Peter Zijlstra wrote: > OK, fair enough. Does the thing otherwise look sane to you? Yup, should do the trick. -Mike -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo

[PATCH RESEND 3/3] Documentation: Add documentation for rt5033 multifunction device

2015-01-05 Thread Beomho Seo
This patch device tree binding documentation for rt5033 multifunction device. Cc: Sebastian Reichel Cc: Lee Jones Cc: Mark Brown Cc: Rob Herring Cc: Pawel Moll Cc: Mark Rutland Cc: Ian campbell Cc: Kumar Gala Signed-off-by: Beomho Seo Acked-by: Chanwoo Choi ---

[PATCH RESEND 0/3] power: rt5033: Add Richtek RT533 drivers

2015-01-05 Thread Beomho Seo
This patchset adds driver for Richtek rt5033 chip The chip contains switching charge mode Li-Ion/Li-Polymer battery charger, fuelgauge. Additionally, This includes document for device tree of RT5033 device. RT5033 core driver is applied by Lee Jones. RT5033 regulator driver have been merged by

[PATCH RESEND 2/3] power: rt5033_charger: Add RT5033 charger device driver

2015-01-05 Thread Beomho Seo
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 charge mode, fast cahrge mode and constant voltage mode. They are have vary charge rate, charge parameters. The charge parameters can

[PATCH RESEND 1/3] power: rt5033_battery: Add RT5033 Fuel gauge device driver

2015-01-05 Thread Beomho Seo
This patch adds device driver of Richtek PMIC. The driver support battery fuel gange. Fuel gauge calculates and determines the battery state of charge(SOC) according to battery open circuit voltage(OCV). Also, this driver provides battery average voltage, voltage and bettery present property. Cc:

Re: [PATCHv2 2/3] iio: dht11: Add locking

2015-01-05 Thread sanjeev sharma
On Mon, Jan 5, 2015 at 7:21 PM, Harald Geyer wrote: > Make sure that the read function is not interrupted... > > Signed-off-by: Richard Weinberger > Acked-by: Harald Geyer Reviewed-by: Sanjeev Sharma > --- > Resending for Richard Weinberger. > No changes since v1 except reordering. > >

Re: [PATCHv2 1/3] iio: dht11: Fix out-of-bounds read

2015-01-05 Thread sanjeev sharma
On Mon, Jan 5, 2015 at 7:25 PM, Richard Weinberger wrote: > Am 05.01.2015 um 14:49 schrieb Harald Geyer: >> As we access i-1 we must not start with i=0. >> >> Signed-off-by: Richard Weinberger >> Acked-by: Hartmut Knaack >> Acked-by: Harald Geyer Reviewed-by: Sanjeev Sharma >> --- >>

[PATCH v4 net-next 1/2] net: allow large number of rx queues

2015-01-05 Thread Pankaj Gupta
netif_alloc_rx_queues() uses kcalloc() to allocate memory for "struct netdev_queue *_rx" array. If we are doing large rx queue allocation kcalloc() might fail, so this patch does a fallback to vzalloc(). Similar implementation is done for tx queue allocation in netif_alloc_netdev_queues(). We

[PATCH v4 net-net 0/2] Increase the limit of tuntap queues

2015-01-05 Thread Pankaj Gupta
Networking under KVM works best if we allocate a per-vCPU rx and tx queue in a virtual NIC. This requires a per-vCPU queue on the host side. Modern physical NICs have multiqueue support for large number of queues. To scale vNIC to run multiple queues parallel to maximum number of vCPU's we need to

[PATCH v4 net-next 2/2 tuntap: Increase the number of queues in tun.

2015-01-05 Thread Pankaj Gupta
Networking under kvm works best if we allocate a per-vCPU RX and TX queue in a virtual NIC. This requires a per-vCPU queue on the host side. It is now safe to increase the maximum number of queues. Preceding patch: 'net: allow large number of rx queues' made sure this won't cause failures due to

Re: [RFC v4] debug: prevent entering debug mode on panic/exception.

2015-01-05 Thread Kiran Raparthy
Hi Andrew, On 6 January 2015 at 05:44, Andrew Morton wrote: > On Tue, 23 Dec 2014 18:08:29 +0530 Kiran Raparthy > wrote: > >> From: Colin Cross >> >> debug: prevent entering debug mode on panic/exception. >> >> On non-developer devices, kgdb prevents the device from rebooting >> after a

Re: [PATCH] extcon: max77693: Constify struct regmap_config

2015-01-05 Thread Chanwoo Choi
On 01/05/2015 05:57 PM, Krzysztof Kozlowski wrote: > The regmap_config struct may be const because it is not modified by the > driver and regmap_init() accepts pointer to const. > > Signed-off-by: Krzysztof Kozlowski > --- > drivers/extcon/extcon-max77693.c | 2 +- > 1 file changed, 1

Re: Linux 3.19-rc3

2015-01-05 Thread Sedat Dilek
[ Please CC me I am not subscribed to LKML ] [ QUOTE ] On Mon, Jan 05, 2015 at 05:46:15PM -0800, Linus Torvalds wrote: > It's a day delayed - not because of any particular development issues, > but simply because I was tiling a bathroom yesterday. But rc3 is out > there now, and things have

Re: [PATCH V2] net: eth: xgene: change APM X-Gene SoC platform ethernet to support ACPI

2015-01-05 Thread David Miller
From: Feng Kan Date: Mon, 5 Jan 2015 20:05:28 -0800 > I see, I initially tried on the net-next tree which did not build for > me, failed somewhere else but builds xgene enet ok. > Then I tested on net/master which builds fine for me. > Would you please point me to the branch you are using?

Re: [PATCH V2] net: eth: xgene: change APM X-Gene SoC platform ethernet to support ACPI

2015-01-05 Thread Feng Kan
On Mon, Jan 5, 2015 at 7:42 PM, David Miller wrote: > From: David Miller > Date: Mon, 05 Jan 2015 22:41:37 -0500 (EST) > >> From: Feng Kan >> Date: Mon, 5 Jan 2015 17:42:56 -0800 >> >>> This adds support for APM X-Gene ethernet driver to use ACPI table to derive >>> ethernet driver parameter.

Re: [PATCH 3.19 3/3] x86, mpx: Change the MPX enable/disable API to arch_prctl

2015-01-05 Thread Andi Kleen
> We should avoid arch_prctl because glibc won't add a syscall stub that > libgcc or whatever would want? My mind boggles. Please turn brain on before posting. Of course they would add it. But only in the next version. Which means everyone using older glibc would be out of luck. So all the

Re: [PATCH v2 2/3] CMA: aggressively allocate the pages on cma reserved memory when not used

2015-01-05 Thread Gregory Fong
+linux-mm and linux-kernel (not sure how those got removed from cc, sorry about that) On Mon, Jan 5, 2015 at 7:58 PM, Gregory Fong wrote: > Hi Joonsoo, > > On Wed, May 28, 2014 at 12:04 AM, Joonsoo Kim wrote: >> diff --git a/mm/page_alloc.c b/mm/page_alloc.c >> index 674ade7..ca678b6 100644 >>

linux-next: Tree for Jan 6

2015-01-05 Thread Stephen Rothwell
Hi all, Changes since 20150105: Removed trees: wireless, wireless-next at maintainers request Non-merge commits (relative to Linus' tree): 1137 1253 files changed, 33175 insertions(+), 19114 deletions(-) I have

Re: [PATCH] virtio-scsi: Fix the race condition in virtscsi_handle_event

2015-01-05 Thread Fam Zheng
On Tue, 01/06 00:10, Michael S. Tsirkin wrote: > On Mon, Jan 05, 2015 at 11:48:47AM -0800, Venkatesh Srinivas wrote: > > On Sun, Jan 4, 2015 at 10:04 PM, Fam Zheng wrote: > > > > There is a race condition in virtscsi_handle_event, when many device > > hotplug/unplug events flush in

Re: [PATCH V2] net: eth: xgene: change APM X-Gene SoC platform ethernet to support ACPI

2015-01-05 Thread David Miller
From: Feng Kan Date: Mon, 5 Jan 2015 17:42:56 -0800 > This adds support for APM X-Gene ethernet driver to use ACPI table to derive > ethernet driver parameter. > > Signed-off-by: Feng Kan Applied. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a

[ANNOUNCE] trace-cmd v2.5 released

2015-01-05 Thread Steven Rostedt
Changes from version 2.4: Added three new commands: o trace-cmd stream This starts ftrace tracing and reads the binary files and processes it to produce text output without the need to save to disk (or network). o trace-cmd profile This uses the stream infrastructure from above,

Re: [PATCH V2] net: eth: xgene: change APM X-Gene SoC platform ethernet to support ACPI

2015-01-05 Thread David Miller
From: David Miller Date: Mon, 05 Jan 2015 22:41:37 -0500 (EST) > From: Feng Kan > Date: Mon, 5 Jan 2015 17:42:56 -0800 > >> This adds support for APM X-Gene ethernet driver to use ACPI table to derive >> ethernet driver parameter. >> >> Signed-off-by: Feng Kan > > Applied. Actually,

[PATCH linux-next] livepatch: kconfig: use bool instead of boolean

2015-01-05 Thread Christoph Jaeger
Keyword 'boolean' for type definition attributes is considered deprecated and should not be used anymore. No functional changes. Reference: http://lkml.kernel.org/r/cover.1418003065.git...@linux.com Reference: http://lkml.kernel.org/r/1419108071-11607-1-git-send-email...@linux.com Signed-off-by:

Re: What are these weird line-noise signatures?

2015-01-05 Thread Peter Hurley
On 01/05/2015 10:12 PM, Jeff Epler wrote: > I have seen similar "signatures" that have the appearance of good old > fashioned line noise, such as in this recent message from Paul > Zimmerman (but not in all of his messages either!): > > On Tue, Jan 06, 2015 at 01:23:30AM +, Paul Zimmerman

RE: [PATCH v3 1/1] mfd: intel_quark_i2c_gpio: Add Intel Quark X1000 I2C-GPIO MFD Driver

2015-01-05 Thread Tan, Raymond
Hi Lee Jones, Happy New Year. Regarding Andriy's suggestion to split and reorganize the MFD drivers for IA platform in the previous email, any thoughts from you? Should I proceed to work in splitting it or keep the structure as-is for now? Thanks. Warm Regards,  Raymond Tan >

What are these weird line-noise signatures?

2015-01-05 Thread Jeff Epler
I have seen similar "signatures" that have the appearance of good old fashioned line noise, such as in this recent message from Paul Zimmerman (but not in all of his messages either!): On Tue, Jan 06, 2015 at 01:23:30AM +, Paul Zimmerman wrote: [real content snipped] > -- > Paul > >

[PATCH] serial: 8250: Make ISA ports optional

2015-01-05 Thread Peter Hurley
Some arches have no need to create unprobed 8250 ports; these phantom ports are primarily required for ISA ports which have no probe mechanism or to provide non-operational ports for userspace to configure (via TIOCSSERIAL and TIOCSERCONFIG ioctls). Provide CONFIG_SERIAL_8250_PHANTOM_UARTS knob

Re: [PATCH 1/2] mm/slub: optimize alloc/free fastpath by removing preemption on/off

2015-01-05 Thread Davidlohr Bueso
On Mon, 2015-01-05 at 10:36 +0900, Joonsoo Kim wrote: > - preempt_disable(); > - c = this_cpu_ptr(s->cpu_slab); > + do { > + tid = this_cpu_read(s->cpu_slab->tid); > + c = this_cpu_ptr(s->cpu_slab); > + } while (IS_ENABLED(CONFIG_PREEMPT) && unlikely(tid !=

RE: [PATCH v3] usb: dwc2: add bus suspend/resume for dwc2

2015-01-05 Thread Paul Zimmerman
> From: Kever Yang [mailto:kever.y...@rock-chips.com] > Sent: Monday, January 05, 2015 5:42 PM > > Hi Paul, > > I think you need this patch to fix the problem: > > usb: dwc2: resume root hub when device detect with suspend state > https://patchwork.kernel.org/patch/5325111/ > > Thanks, > > -

[PATCH] tools: testing: selftests: mq_perf_tests: Fix infinite loop on ARM

2015-01-05 Thread dann frazier
We can't use a char type to check for a negative return value since char isn't guaranteed to be signed. Indeed, the char type tends to be unsigned on ARM. Signed-off-by: dann frazier --- tools/testing/selftests/mqueue/mq_perf_tests.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff

Re: [PATCH V3 2/2] mm, vmscan: wake up all pfmemalloc-throttled processes at once

2015-01-05 Thread Rik van Riel
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/05/2015 03:56 AM, Vlastimil Babka wrote: > Kswapd in balance_pgdate() currently uses wake_up() on processes > waiting in throttle_direct_reclaim(), which only wakes up a single > process. This might leave processes waiting for longer than >

[PATCH net-next v2 7/8] net: tun: extend link mode support to 48 bits

2015-01-05 Thread David Decotigny
From: David Decotigny Signed-off-by: David Decotigny --- drivers/net/tun.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/tun.c b/drivers/net/tun.c index c0df872..88f9078 100644 --- a/drivers/net/tun.c +++ b/drivers/net/tun.c @@ -2257,8 +2257,8 @@ static

[PATCH net-next v2 5/8] net: mdio: extend link mode support to 48 bits

2015-01-05 Thread David Decotigny
From: David Decotigny Signed-off-by: David Decotigny --- drivers/net/mdio.c | 59 +--- include/linux/mdio.h | 15 +++-- 2 files changed, 42 insertions(+), 32 deletions(-) diff --git a/drivers/net/mdio.c b/drivers/net/mdio.c index

[PATCH net-next v2 2/8] net: ethtool: extend link mode support to 48 bits

2015-01-05 Thread David Decotigny
From: David Decotigny This patch also ensures that requests from userspace asking to advertise >= 32b link mode masks will be rejected, unless the driver explicitly supports this. Signed-off-by: David Decotigny --- include/linux/ethtool.h | 12 +++- include/uapi/linux/ethtool.h | 131

[PATCH net-next v2 6/8] net: veth: extend link mode support to 48 bits

2015-01-05 Thread David Decotigny
From: David Decotigny Signed-off-by: David Decotigny --- drivers/net/veth.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/veth.c b/drivers/net/veth.c index 8ad5965..902e127 100644 --- a/drivers/net/veth.c +++ b/drivers/net/veth.c @@ -49,8 +49,8 @@ static

[PATCH V2] Thermal: imx: add clk disable/enable for suspend/resume

2015-01-05 Thread Anson Huang
Thermal sensor's clk is from pll3_usb_otg, per hardware design requirement, need to make sure pll3_usb_otg is disabled before STOP mode is entered, otherwise, all PFDs under it may enter incorrect state, this patch disables pll3_usb_otg before suspend and enables it after resume. Signed-off-by:

[PATCH net-next v2 8/8] net: mlx4_en: extend link mode support to 48 bits

2015-01-05 Thread David Decotigny
From: David Decotigny Signed-off-by: David Decotigny --- drivers/net/ethernet/mellanox/mlx4/en_ethtool.c | 73 - 1 file changed, 46 insertions(+), 27 deletions(-) diff --git a/drivers/net/ethernet/mellanox/mlx4/en_ethtool.c

[PATCH net-next v2 3/8] net: phy: extend link mode support to 48 bits

2015-01-05 Thread David Decotigny
From: David Decotigny Signed-off-by: David Decotigny --- drivers/net/phy/phy.c| 30 -- drivers/net/phy/phy_device.c | 4 ++-- include/linux/phy.h | 10 +- 3 files changed, 23 insertions(+), 21 deletions(-) diff --git

[PATCH net-next v2 4/8] net: mii: extend link mode support to 48 bits

2015-01-05 Thread David Decotigny
From: David Decotigny Signed-off-by: David Decotigny --- drivers/net/mii.c | 52 +--- include/linux/mii.h | 31 --- 2 files changed, 45 insertions(+), 38 deletions(-) diff --git a/drivers/net/mii.c

[PATCH net-next v2 1/8] net: ethtool: internal compatibility flags to reject non-zero reserved fields

2015-01-05 Thread David Decotigny
From: David Decotigny The public ethtool API progressively shrinks "reserved" fields to expand some other fields (eg. link mode masks). This patch allows drivers to declare that they fully support expanded fields. When they don't do so, the generic ethtool layer may reject (-EINVAL) userspace

[PATCH net-next v2 0/8] net: extend ethtool link mode bitmaps to 48 bits

2015-01-05 Thread David Decotigny
From: David Decotigny History: v2: - added ethtool_ops::get_compat_flags() to be able to check user parameters in generic ethtool layer when a driver does not support a new feature. - in generic ethtool code, EINVAL when userspace sets a link mode with bits 32..47

Re: Linux 3.19-rc3

2015-01-05 Thread Dave Jones
On Mon, Jan 05, 2015 at 05:46:15PM -0800, Linus Torvalds wrote: > It's a day delayed - not because of any particular development issues, > but simply because I was tiling a bathroom yesterday. But rc3 is out > there now, and things have stayed reasonably calm. I really hope that > implies that

Re: [PATCH V3 1/2] mm, vmscan: prevent kswapd livelock due to pfmemalloc-throttled process being killed

2015-01-05 Thread Rik van Riel
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/05/2015 03:56 AM, Vlastimil Babka wrote: > Charles Shirron and Paul Cassella from Cray Inc have reported > kswapd stuck in a busy loop with nothing left to balance, but > kswapd_try_to_sleep() failing to sleep. Their analysis found the > cause

Re: [PATCH 2/2] powerpc: add running_clock for powerpc to prevent spurious softlockup warnings

2015-01-05 Thread Cyril Bur
cc'd Martin Schwidefsky and Heiko Carstens. On Mon, 2015-01-05 at 14:10 -0800, Andrew Morton wrote: > On Mon, 22 Dec 2014 16:06:04 +1100 Cyril Bur wrote: > > > On POWER8 virtualised kernels the VTB register can be read to have a view of > > time that only increases while the guest is running.

Re: [PATCH 0/2] Quieten softlockup detector on virtualised kernels

2015-01-05 Thread Cyril Bur
On Mon, 2015-01-05 at 14:09 -0800, Andrew Morton wrote: > On Mon, 22 Dec 2014 16:06:02 +1100 Cyril Bur wrote: > > > When the hypervisor pauses a virtualised kernel the kernel will observe a > > jump > > in timebase, this can cause spurious messages from the softlockup detector. > > > > Whilst

[PATCH v9 0/2] Altera soft IP GPIO driver

2015-01-05 Thread thloh
From: Tien Hock Loh Adds a new device tree binding and driver for Altera soft GPIO IP. The driver is able to do read/write and allows GPIO to be a interrupt controller. Tested on Altera GHRD on interrupt handling and IO. v9: Removed duplicated initialization on set_type using temporals to

Re: [PATCH v5] sched/deadline: support dl task migration during cpu hotplug

2015-01-05 Thread Wanpeng Li
Hi Peter, On Mon, Jan 05, 2015 at 03:52:10PM +0100, Peter Zijlstra wrote: >On Wed, Nov 12, 2014 at 04:39:06PM +0100, Peter Zijlstra wrote: >> On Wed, Nov 12, 2014 at 03:08:44PM +, Juri Lelli wrote: >> > > @@ -1185,8 +1223,9 @@ static int find_later_rq(struct task_struct *task) >> > >

Re: DRAM unreliable under specific access patern

2015-01-05 Thread Andy Lutomirski
On Mon, Jan 5, 2015 at 6:18 PM, Kirill A. Shutemov wrote: > On Mon, Jan 05, 2015 at 05:57:24PM -0800, Andy Lutomirski wrote: >> On Mon, Jan 5, 2015 at 5:47 PM, Kirill A. Shutemov >> wrote: >> > On Mon, Jan 05, 2015 at 11:50:04AM -0800, Andy Lutomirski wrote: >> >> On Mon, Jan 5, 2015 at 11:23

Re: [PATCH 1/2] mm/slub: optimize alloc/free fastpath by removing preemption on/off

2015-01-05 Thread Steven Rostedt
On Tue, 6 Jan 2015 10:32:47 +0900 Joonsoo Kim wrote: > > > +++ b/mm/slub.c > > > @@ -2398,13 +2398,15 @@ redo: > > >* reading from one cpu area. That does not matter as long > > >* as we end up on the original cpu again when doing the cmpxchg. > > >* > > > - * Preemption is

[PATCH v9 1/2] drivers/gpio: Altera soft IP GPIO driver device tree binding

2015-01-05 Thread thloh
From: Tien Hock Loh Adds a new driver device tree binding for Altera soft GPIO IP Signed-off-by: Tien Hock Loh --- .../devicetree/bindings/gpio/gpio-altera.txt | 43 ++ 1 file changed, 43 insertions(+) create mode 100644

[PATCH v9 2/2] drivers/gpio: Altera soft IP GPIO driver

2015-01-05 Thread thloh
From: Tien Hock Loh Adds a new driver for Altera soft GPIO IP. The driver is able to do read/write and allows GPIO to be a interrupt controller. Tested on Altera GHRD on interrupt handling and IO. Signed-off-by: Tien Hock Loh --- MAINTAINERS| 6 + drivers/gpio/Kconfig

Re: [PATCH 1/2] mm/zpool: add name argument to create zpool

2015-01-05 Thread Dan Streetman
On Sun, Dec 28, 2014 at 6:56 PM, Minchan Kim wrote: > On Fri, Dec 26, 2014 at 09:04:55PM +0800, Ganesh Mahendran wrote: >> Currently the underlay of zpool: zsmalloc/zbud, do not know >> who creates them. There is not a method to let zsmalloc/zbud >> find which caller they belogs to. >> >> Now we

Re: DRAM unreliable under specific access patern

2015-01-05 Thread Kirill A. Shutemov
On Mon, Jan 05, 2015 at 05:57:24PM -0800, Andy Lutomirski wrote: > On Mon, Jan 5, 2015 at 5:47 PM, Kirill A. Shutemov > wrote: > > On Mon, Jan 05, 2015 at 11:50:04AM -0800, Andy Lutomirski wrote: > >> On Mon, Jan 5, 2015 at 11:23 AM, One Thousand Gnomes > >> wrote: > >> >> In the meantime, I

Re: [PATCH 1/11] ARM: tegra: add function to control the GPU rail clamp

2015-01-05 Thread Vince Hsu
On 01/05/2015 11:09 PM, Thierry Reding wrote: * PGP Signed by an unknown key On Thu, Dec 25, 2014 at 10:28:08AM +0800, Vince Hsu wrote: On 12/24/2014 09:16 PM, Lucas Stach wrote: Am Dienstag, den 23.12.2014, 18:39 +0800 schrieb Vince Hsu: The Tegra124 and later Tegra SoCs have a sepatate

Re: [PATCH 2/3] soc: ti: Add wkup_m3_ipc driver

2015-01-05 Thread Felipe Balbi
Hi, On Mon, Jan 05, 2015 at 04:49:08PM -0600, Dave Gerlach wrote: > >> + /* > >> + * Write a dummy message to the mailbox in order to trigger the RX > >> + * interrupt to alert the M3 that data is available in the IPC > >> + * registers. We must enable the IRQ here and disable it after in

Re: [PATCH] eventfd: fix trivial typos in function eventfd_signal() comment

2015-01-05 Thread Chen, Fan
Cc: Alexander Viro On Tue, 2015-01-06 at 09:17 +0800, Chen Fan wrote: > Cc: Davide Libenzi > Signed-off-by: Chen Fan > --- > > fs/eventfd.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/fs/eventfd.c b/fs/eventfd.c > index 4b0a226..f550f8e 100644 > ---

Re: [PATCH 0/10] iommu/vt-d: Fix intel vt-d faults in kdump kernel

2015-01-05 Thread Li, ZhenHua
Thank you very much for your help. I have found there are several places need flush, and I will send a new version of this patchset with the flush functions. Regards Zhenhua On 01/06/2015 08:18 AM, Takao Indoh wrote: > On 2014/12/29 12:15, Li, ZhenHua wrote: >> Hi Takao Indoh, >> >> Happy New

Re: frequent lockups in 3.18rc4

2015-01-05 Thread John Stultz
On Mon, Jan 5, 2015 at 5:25 PM, Linus Torvalds wrote: > On Mon, Jan 5, 2015 at 5:17 PM, John Stultz wrote: >> >> Anyway, It may be worth keeping the 50% margin (and dropping the 12% >> reduction to simplify things) > > Again, the 50% margin is only on the multiplication overflow. Not on the

Re: [PATCH] ARM: OMAP2+: hwmod: Fix _wait_target_ready() for hwmods without sysc

2015-01-05 Thread Paul Walmsley
Roger, Lokesh, could you try this one instead? It passes all the basic tests here except it does not boot on the 4460 VAR-SOM-OM - unclear why at this point - but it would be good to see if it works on your AM4372 boards, since I don't have that one. Test logs are here:

Re: Old O_DIRECT story

2015-01-05 Thread Kirill A. Shutemov
On Mon, Jan 05, 2015 at 03:52:10PM +, One Thousand Gnomes wrote: > > I tried in all ways to implement this with mmap(), but it does not success, > > because I did not find a way to mmap() file as O_WRONLY. Mapping as O_RDWR > > makes kernel to pre-fill mapped memory with partition data. So,

Re: [PATCHv6 0/9] devfreq: Add devfreq-event class to provide raw data for devfreq device

2015-01-05 Thread Chanwoo Choi
Genlty Ping. Best Regards, Chanwoo Choi On 12/29/2014 09:04 AM, Chanwoo Choi wrote: > This patchset add new devfreq_event class to provide raw data to determine > current utilization of device which is used for devfreq governor. > > [Description of devfreq-event class] > This patchset add new

Re: DRAM unreliable under specific access patern

2015-01-05 Thread Andy Lutomirski
On Mon, Jan 5, 2015 at 5:47 PM, Kirill A. Shutemov wrote: > On Mon, Jan 05, 2015 at 11:50:04AM -0800, Andy Lutomirski wrote: >> On Mon, Jan 5, 2015 at 11:23 AM, One Thousand Gnomes >> wrote: >> >> In the meantime, I created test that actually uses physical memory, >> >> 8MB apart, as described

Re: [PATCHv3] clocksource: exynos_mct: Add the support for Exynos 64bit SoC

2015-01-05 Thread Chanwoo Choi
Gently Ping. Best Regards, Chanwoo Choi On 12/17/2014 08:46 AM, Chanwoo Choi wrote: > This patch adds the support for Exynos 64bit SoC. The delay_timer is only used > for Exynos 32bit SoC. > > Cc: Daniel Lezcano > Cc: Thomas Gleixner > Cc: Kukjin Kim > Cc: Mark Rutland > Signed-off-by:

[LKP] [rcu] eae957c0fe7: Fix the boot hang in parent commit (451bc36a7118aab5)

2015-01-05 Thread Huang Ying
FYI, we noticed the below changes on git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master commit eae957c0fe7fd6c37b3609d58593b74b846c876e ("rcu: Run grace-period kthreads at real-time priority") This commit fix the boot hang in parent commit. The dmesg and the kconfig for

Re: [PATCH 2/2] HID: wacom: add support of the Pen of the Bamboo Pad

2015-01-05 Thread Jason Gerecke
On Mon, Jan 5, 2015 at 1:32 PM, Benjamin Tissoires wrote: > Bamboo Pads are using the generic processing but their report descriptors > differ from the ISDv* line. The pen fields are marked with the .physical > as Digitizer_Pen, which makes also sense. > > Add this field to the checks and enable

Re: DRAM unreliable under specific access patern

2015-01-05 Thread Kirill A. Shutemov
On Mon, Jan 05, 2015 at 11:50:04AM -0800, Andy Lutomirski wrote: > On Mon, Jan 5, 2015 at 11:23 AM, One Thousand Gnomes > wrote: > >> In the meantime, I created test that actually uses physical memory, > >> 8MB apart, as described in some footnote. It is attached. It should > >> work, but it

Linux 3.19-rc3

2015-01-05 Thread Linus Torvalds
It's a day delayed - not because of any particular development issues, but simply because I was tiling a bathroom yesterday. But rc3 is out there now, and things have stayed reasonably calm. I really hope that implies that 3.19 is looking good, but it's equally likely that it's just that people

RE: [V7 PATCH 1/1] driver:mtd:spi-nor: Add quad I/O support for Micron spi nor

2015-01-05 Thread beanhuo
>This patch adds code which enables Quad I/O mode on Micron SPI NOR flashes. >For Micron SPI NOR flash, enabling or disabling quad I/O protocol can be done >By two methods, >which are to use EVCR(Enhanced Volatile Configuration Register) and the ENTER >QUAD I/O MODE command. >There is no

Re: [PATCH v3] usb: dwc2: add bus suspend/resume for dwc2

2015-01-05 Thread Kever Yang
Hi Paul, I think you need this patch to fix the problem: usb: dwc2: resume root hub when device detect with suspend state https://patchwork.kernel.org/patch/5325111/ Thanks, - Kever On 01/06/2015 09:23 AM, Paul Zimmerman wrote: From: Kever Yang [mailto:kever.y...@rock-chips.com] Sent:

[PATCH V2] net: eth: xgene: change APM X-Gene SoC platform ethernet to support ACPI

2015-01-05 Thread Feng Kan
This adds support for APM X-Gene ethernet driver to use ACPI table to derive ethernet driver parameter. Signed-off-by: Feng Kan --- V2: - remove NO_MAC define drivers/net/ethernet/apm/xgene/xgene_enet_hw.c | 94 +-- drivers/net/ethernet/apm/xgene/xgene_enet_main.c | 95

Re: [PATCH 1/2] mm/slub: optimize alloc/free fastpath by removing preemption on/off

2015-01-05 Thread Joonsoo Kim
On Mon, Jan 05, 2015 at 04:37:35PM +0800, Hillf Danton wrote: > > > > We had to insert a preempt enable/disable in the fastpath a while ago > > in order to guarantee that tid and kmem_cache_cpu are retrieved on the > > same cpu. It is the problem only for CONFIG_PREEMPT in which scheduler > > can

Re: [PATCH 6/6] mm/slab: allocation fastpath without disabling irq

2015-01-05 Thread Joonsoo Kim
Hello, On Mon, Jan 05, 2015 at 06:21:39PM +0100, Andreas Mohr wrote: > Hi, > > Joonsoo Kim wrote: > > + * Calculate the next globally unique transaction for disambiguiation > > "disambiguation" Okay. > > > + ac->tid = next_tid(ac->tid); > (and all others) > > object oriented: >

Re: frequent lockups in 3.18rc4

2015-01-05 Thread Linus Torvalds
On Mon, Jan 5, 2015 at 5:17 PM, John Stultz wrote: > > Anyway, It may be worth keeping the 50% margin (and dropping the 12% > reduction to simplify things) Again, the 50% margin is only on the multiplication overflow. Not on the mask. So it won't do anything at all for the case we actually care

RE: [PATCH v3] usb: dwc2: add bus suspend/resume for dwc2

2015-01-05 Thread Paul Zimmerman
> From: Kever Yang [mailto:kever.y...@rock-chips.com] > Sent: Wednesday, November 12, 2014 4:42 PM > > On 11/13/2014 07:22 AM, Doug Anderson wrote: > > Kever, > > > > On Mon, Nov 10, 2014 at 5:09 AM, Kever Yang > > wrote: > >> Hcd controller needs bus_suspend/resume, dwc2 controller make > >>

  1   2   3   4   5   6   7   8   9   10   >