Re: [PATCH] added device tree support to gpio-generic driver

2015-06-07 Thread Alexandre Courbot
On Fri, Jun 5, 2015 at 3:51 PM, Romain Baeriswyl romain.baeris...@alitech.com wrote: --- Your patch is missing a detailed commit message. .../devicetree/bindings/gpio/gpio-generic.txt | 19 + drivers/gpio/gpio-generic.c| 81 ++- 2 files

[PATCH 4/6] ACPI / EC: Add event clearing variation support.

2015-06-07 Thread Lv Zheng
We've been suffering from the uncertainty of the SCI_EVT clearing timing. This patch implements 4 possible modes to handle SCI_EVT clearing variations. The old behavior is kept in this patch. Status: QR_EC is re-checked as early as possible after checking previous SCI_EVT. This always

[PATCH 2/2] f2fs: skip committing valid superblock

2015-06-07 Thread Chao Yu
In recovery procedure for superblock, we try to write data of valid superblock into invalid one for recovery, work should be finished here, but then still we will write the valid one with its original data. This operation is not needed. Let's skip doing this unnecessary work. Signed-off-by: Chao

[PATCH 1/6] ACPI / EC: Cleanup transaction state transition.

2015-06-07 Thread Lv Zheng
This patch collects transaction state transition code into one function. We then could have a single function to maintain transaction related behaviors. No functional changes. Signed-off-by: Lv Zheng lv.zh...@intel.com Tested-by: Gabriele Mazzotta gabriele@gmail.com Tested-by: Tigran

Generous Donation

2015-06-07 Thread Bill William And Andrea Groner
I saw your email address during the course of my research today. My name is Bill William Groner my wife and I won a Jackpot Lottery in December 2013, we are donating the part of our winnings to 6 lucky individual all over the world as part of our charity project and if you received this email

Re: [PATCH] usb: gadget: nokia: Add mass storage driver to g_nokia

2015-06-07 Thread Felipe Balbi
On Sat, Jun 06, 2015 at 10:04:55AM +0200, Pali Rohár wrote: On Friday 05 June 2015 22:17:09 Felipe Balbi wrote: Hi, On Fri, Jun 05, 2015 at 10:09:03PM +0200, Pali Rohár wrote: On Friday 29 May 2015 18:57:06 Felipe Balbi wrote: All right, I tried merging it and it added build breaks

Re: [Xen-devel] [Patch V3 14/15] xen: allow more than 512 GB of RAM for 64 bit pv-domains

2015-06-07 Thread Juergen Gross
On 05/27/2015 07:05 PM, David Vrabel wrote: On 27/05/15 17:25, David Vrabel wrote: On 20/04/15 06:23, Juergen Gross wrote: 64 bit pv-domains under Xen are limited to 512 GB of RAM today. The main reason has been the 3 level p2m tree, which was replaced by the virtual mapped linear p2m list.

Re: [PATCH 5/6] phy: twl4030-usb: add support for reading resistor on ID pin.

2015-06-07 Thread Felipe Balbi
On Sat, Jun 06, 2015 at 03:10:09PM +0200, Pavel Machek wrote: On Tue 2015-06-02 07:37:31, NeilBrown wrote: On Mon, 1 Jun 2015 19:06:52 +0530 Kishon Vijay Abraham I kis...@ti.com wrote: Hi, On Thursday 16 April 2015 01:33 PM, NeilBrown wrote: From: NeilBrown ne...@suse.de

平时最多也就联系了三千家,全球还有十几万客户在哪里?

2015-06-07 Thread iSayor
您好: 您还在用ali平台开发外贸客户? 还在使用展会宣传企业和产品? 你out了!!! 当前外贸客户开发难,您是否也在寻找展会,B2B之外好的渠道? 行业全球十几万客户,平时最多也就联系了三千家,您是否想把剩下的也开发到? 加QQ2821117472给您演示下主动开发客户的方法,先用先受益,已经有近万家企业领先您使用!!。 广东省商业联合会推荐,主动开发客户第一品牌,近万家企业正在获益。您可以没有使用,但是不能没有了解。 -- To unsubscribe from this list: send the line unsubscribe

Re: [Patch v4 0/8] Consolidate ACPI PCI root common code into ACPI core

2015-06-07 Thread Hanjun Guo
On 2015年06月05日 00:29, Jiang Liu wrote: On 2015/6/4 23:51, Mark Salter wrote: On Thu, 2015-06-04 at 14:41 +0800, Jiang Liu wrote: On 2015/6/4 14:31, Hanjun Guo wrote: Hi Jiang, On 2015年06月04日 09:54, Jiang Liu wrote: On 2015/6/4 4:27, Al Stone wrote: On 06/02/2015 12:12 AM, Jiang Liu wrote:

Re: [PATCH v3 2/3] ARM: rockchip: ensure CPU to enter WFI/WFE state

2015-06-07 Thread Caesar Wang
在 2015年06月06日 04:24, Doug Anderson 写道: Russell, On Fri, Jun 5, 2015 at 11:29 AM, Russell King - ARM Linux li...@arm.linux.org.uk wrote: 1) v7_coherency_exit() is specific to v7 CPUs and can't be used by generic code. Oh, I see. So (I think) you're saying that perhaps the reason that

[PATCH 5/6] ACPI / EC: Fix EC_FLAGS_QUERY_HANDSHAKE platforms using new event clearing timing.

2015-06-07 Thread Lv Zheng
It is reported that on several platforms, EC firmware will not respond non-expected QR_EC (see EC_FLAGS_QUERY_HANDSHAKE, only write QR_EC when SCI_EVT is set). Unfortunately, ACPI specification doesn't define when the SCI_EVT should be cleared by the firmware, thus the original implementation

[PATCH 3/6] ACPI / EC: Convert event handling work queue into loop style.

2015-06-07 Thread Lv Zheng
During the period that a work queue is scheduled (queued up for run) but hasn't been run, second schedule_work() could fail. This may not lead to the loss of queries because QR_EC is always ensured to be submitted after the work queue has been in the running state. Thus except the logging message

[PATCH 6/6] ACPI / EC: Fix a code coverity issue when QR_EC transactions are failed.

2015-06-07 Thread Lv Zheng
When the QR_EC transaction fails, the EC_FLAGS_QUERY_PENDING flag prevents the event handling work queue from being scheduled again. Though there shouldn't be failed QR_EC transactions, and this gap was efficiently used for catching and learning the SCI_EVT clearing timing compliance issues, we

[PATCH 2/6] ACPI / EC: Cleanup _Qxx evaluation work item.

2015-06-07 Thread Lv Zheng
The _Qxx evaluation work item can be eliminated and _Qxx can be evaluated right in the same work item as the QR_EC transaction. This patch cleans up the code to achieve this. Originally, QR_EC transaction and _Qxx evaluation were all done in the same work queue flushed by

[PATCH 0/6] ACPI / EC: Fix issues related to the event handling.

2015-06-07 Thread Lv Zheng
ACPI specification doesn't define the SCI_EVT clearing timing for the EC firmware. There could be 4 possible positions the firmware may use to clear the SCI_EVT indication: STATUS: After indicating SCI_EVT to the host via the status register (EC_SC), the target can clear SCI_EVT at any

[PATCH v1 1/2] iio: adc: Determine sampling frequencies by using minimum sample time

2015-06-07 Thread Sanchayan Maity
The driver currently does not take into account the minimum sample time as per the Figure 6-8 Chapter 9.1.1 12-bit ADC electrical characteristics. We set a static amount of cycles instead of considering the sample time as a given value, which depends on hardware characteristics. Determine

[PATCH v1 0/2] Implement sample time consideration

2015-06-07 Thread Sanchayan Maity
Hello, This patchset adds a dt binding for specifying sample time for the vybrid adc driver and takes this into account for sampling frequency calculation and related configuration in the driver. The patchset is based on top of Stefan's patches here

[PATCH v1 2/2] ARM: dts: vfxxx: Add property for minimum sample time

2015-06-07 Thread Sanchayan Maity
Add a device tree property which allows to specify the minimum sample time which can be used to calculate the actual ADC cycles required depending on the hardware. Signed-off-by: Sanchayan Maity maitysancha...@gmail.com --- arch/arm/boot/dts/vfxxx.dtsi | 2 ++ 1 file changed, 2 insertions(+)

[PATCH] checkpatch: Warn on BUG and BUG_ON uses

2015-06-07 Thread Joe Perches
Spake Linus: Hell no. Stop with the random BUG_ON() additions. I have said this before, and apparently I need to sat this again, and probably I will have to say it in the future. We don't add BUG_ON's for random reasons. The *ONLY* acceptable reason for a BUG_ON() is if the machine

Re: [PATCH V2 0/3] Add RS-485 support and fix RTS/CTS implementation

2015-06-07 Thread Bhuvanchandra DV
Hello, Ping! On 06/01/2015 10:51 AM, Bhuvanchandra DV wrote: Changes since V1: Use common get/set mctrl control methods for both lpuart, lpuart32 and fix indention. Bhuvanchandra DV (3): ARM: dts: colibri-vf: Add pinmux for UART_0 aka UART_A RTS/CTS pins tty: serial: fsl_lpuart: remove

Re: [PATCH 0/6] x86: reduce paravirtualized spinlock overhead

2015-06-07 Thread Juergen Gross
Ping? Anything missing from my side? On 04/30/2015 12:53 PM, Juergen Gross wrote: Paravirtualized spinlocks produce some overhead even if the kernel is running on bare metal. The main reason are the more complex locking and unlocking functions. Especially unlocking is no longer just one

non-rotational USB stick?

2015-06-07 Thread Harald Dunkel
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi folks, Is there some way to make the kernel automatically recognize a USB stick as a non-rotational device? (My hope is that the CFQ IOPS mode patch might improve performance of a USB stick as well :-) Regards Harri -BEGIN PGP

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

2015-06-07 Thread Darren Hart
On Fri, Jun 05, 2015 at 08:13:01PM +1000, Michael Ellerman wrote: Hi Darren, After merging the drivers-x86 tree, today's linux-next build (x86_64 allmodconfig) failed like this: ERROR: acpi_bus_get_status_handle [drivers/platform/x86/pvpanic.ko] undefined! Caused by commit

[PATCH 1/2] f2fs: setting discard option in parse_options()

2015-06-07 Thread Chao Yu
For the first mount of f2fs image with realtime discard option, we will disable discard option if device is not supported, but for remount operation, our discard option can still be set, this should be avoided. This patch moves configuring of discard option to parse_options() to fix this issue.

Re: [RESEND 1/2] usb: ehci-exynos: Make provision for vdd regulators

2015-06-07 Thread Anand Moon
Hi Krzysztof , On 8 June 2015 at 07:40, Krzysztof Kozlowski k.kozlow...@samsung.com wrote: On 07.06.2015 22:20, Anand Moon wrote: Facilitate getting required 3.3V and 1.0V VDD supply for EHCI controller on Exynos. With the patches for regulators' nodes merged in 3.15: c8c253f ARM: dts: Add

[PATCH v2] kernel/params.c: make use of unused but set variable

2015-06-07 Thread Louis Langholtz
While Rusty Russell wants the return value of sysfs_create_file ignored, it's annotated '__must_check'. Tejun Heo made the annotaion and suggests just using WARN_ON_ONCE(). Meanwhile the compiler warns that the 'err' variable is set but unused. This patch uses Tejun's suggestion. This eliminates

Re: [PATCH] kernel/params.c: make use of unused but set variable

2015-06-07 Thread Louis Langholtz
On Jun 7, 2015, at 6:17 PM, Linus Torvalds torva...@linux-foundation.org wrote: On Sun, Jun 7, 2015 at 5:00 PM, Tejun Heo hte...@gmail.com wrote: On Sun, Jun 07, 2015 at 05:54:30PM -0600, Louis Langholtz wrote: @@ -853,6 +853,7 @@ static void __init version_sysfs_builtin(void)

[BUG, bisect] Re: drm/i915: WARN_ON(dev_priv-mm.busy)

2015-06-07 Thread Jeremiah Mahler
all, On Sat, Jun 06, 2015 at 08:09:34PM -0700, Jeremiah Mahler wrote: all, On all my machines with Intel graphics I get the following warning in the logs when the machine is suspended. Apparently some part of the graphics system is busy when it should be idle. This is present on the

Re: [PATCH v5] Fix the resolution issue in ChromeOS

2015-06-07 Thread Dmitry Torokhov
Hi Hn, On Fri, May 29, 2015 at 12:27:29PM +0800, HungNien Chen wrote: Signed-off-by: HungNien Chen hn.c...@weidahitech.com Thank you for making changes, I have some more comments. By the way, have you tried running scripts/checkpatch.pl over your patch? It often picks up some common issues.

[PATCH block/for-4.2-writeback] v9fs: fix error handling in v9fs_session_init()

2015-06-07 Thread Tejun Heo
On failure, v9fs_session_init() returns with the v9fs_session_info struct partially initialized and expects the caller to invoke v9fs_session_close() to clean it up; however, it doesn't track whether the bdi is initialized or not and curiously invokes bdi_destroy() in both vfs_session_init()

Re: [RFC] percpu section full of holes

2015-06-07 Thread Tejun Heo
Hello, Eric. On Sun, Jun 07, 2015 at 09:55:07AM -0700, Eric Dumazet wrote: In commit bdf977b37418cdf8a2252504779a7e12a09b7575 (x86, percpu: Collect hot percpu variables into one cacheline) You wrote that forcing cacheline_aligned on current_task would put all hot variables together.

Linux 4.1-rc7

2015-06-07 Thread Linus Torvalds
Another Sunday, another rc release. Normally rc7 tends to be the last rc release, and there's not a lot going on to really merit anything else this time around. However, we do still have some pending regressions, and as mentioned last week I also have my yearly family vacation coming up, so we'll

Help-desk Service Center requires your immediate re-activation of your Email account

2015-06-07 Thread Bleser, S.H.R.
Help-desk Service Center requires your immediate re-activation of your Email account. This is to upgrade email account to the new anti spam virus detector sever 2014. Inability to complete this procedure will render your account inactivate. Activate by completing the survey procedure. CLICK LINK:

Re: [PATCH v5 0/3] Dell Airplane Mode Switch driver

2015-06-07 Thread Darren Hart
On Sat, Jun 06, 2015 at 10:23:27AM +0200, Pali Rohár wrote: This patch series add new acpi Dell Airplane Mode Switch driver (DELLABCE and DELRBTN acpi devices). It provides radio HW switch events (together with current state of radio devices) and export them via rfkill interface. These events

Re: [PATCH v5 2/2] soc: Add driver for Freescale Vybrid Platform

2015-06-07 Thread maitysanchayan
Hello Paul, On 15-06-06 12:26:07, Paul Bolle wrote: On Fri, 2015-06-05 at 14:52 +0530, Sanchayan Maity wrote: --- /dev/null +++ b/drivers/soc/fsl/Kconfig +config SOC_BUS_VF610 + tristate SoC bus device for the Freescale Vybrid platform + depends on SOC_VF610 + select

Re: [PATCH v5 1/2] ARM: dts: vfxxx: Add OCOTP and OCROM nodes

2015-06-07 Thread maitysanchayan
Hello Maxime, On 15-06-06 13:58:33, Maxime Ripard wrote: Hi, On Fri, Jun 05, 2015 at 02:52:37PM +0530, Sanchayan Maity wrote: Add a device tree node for the On-Chip One Time Programmable Controller (OCOTP) and the On-Chip ROM. Signed-off-by: Sanchayan Maity maitysancha...@gmail.com

Re: [PATCH] x86/asm/entry/32: Rename labels in INT 0x80 code path

2015-06-07 Thread Ingo Molnar
* Linus Torvalds torva...@linux-foundation.org wrote: On Jun 7, 2015 11:42 AM, Denys Vlasenko dvlas...@redhat.com wrote: Rename it to ia32_int80_target. Btw, could we arrive to get rid of the idiotic ia32 naming too? It's wrong, and it harkens back to the days when intel thought

Re: [PATCH] kernel/params.c: make use of unused but set variable

2015-06-07 Thread Tejun Heo
On Sun, Jun 07, 2015 at 05:54:30PM -0600, Louis Langholtz wrote: While Rusty Russell wants the return value of sysfs_create_file ignored, it's annotated '__must_check'. Tejun Heo made the annotaion and suggests just using BUG_ON(). Meanwhile the compiler warns that the 'err' variable is set

Re: metag test failure in -next due to commit 'module: relocate module_init from init.h to module.h'

2015-06-07 Thread Paul Gortmaker
[Re: metag test failure in -next due to commit 'module: relocate module_init from init.h to module.h'] On 05/06/2015 (Fri 17:39) Guenter Roeck wrote: On 06/05/2015 02:39 PM, James Hogan wrote: [ ... ] From e12856c559d7dff2ad4f6497996610e12e7c7e2d Mon Sep 17 00:00:00 2001 From: James Hogan

Re: [PATCH] net: ll_temac: Remove sparse warnings

2015-06-07 Thread David Miller
From: Michal Simek michal.si...@xilinx.com Date: Fri, 5 Jun 2015 10:49:17 +0200 Remove sparse warnings: drivers/net/ethernet/xilinx/ll_temac_main.c:65:16: warning: cast removes address space of expression drivers/net/ethernet/xilinx/ll_temac_main.c:70:9: warning: cast removes address space

Re: [PATCH 08/14] hrtimer: Allow hrtimer::function() to free the timer

2015-06-07 Thread Oleg Nesterov
Not sure I read this patch correctly, it doesn't apply to Linus's tree. And I simply can not understand the complication in hrtimer_active(), please help! On 06/05, Peter Zijlstra wrote: +bool hrtimer_active(const struct hrtimer *timer) +{ + struct hrtimer_cpu_base *cpu_base; +

[PATCH] usbtouchscreen: adds support for inverting X or Y axis (or both)

2015-06-07 Thread Philippe Coval
Invert Y is needed (together with swap XY) for some touchscreens : - LeadingTouch screens (at least for some of them) - cartft 8in4 (USB ID=0eef:0001) Signed-off-by: Ondrej Zary li...@rainbow-software.org Bug-Link: https://bugs.tizen.org/jira/browse/TC-2522 Cc: linux-in...@vger.kernel.org Cc:

[tip:x86/asm] x86/asm/entry/32: Do not use R9 in SYSCALL32 entry point

2015-06-07 Thread tip-bot for Denys Vlasenko
Commit-ID: 53e9accf0f7682d717c7b578b6e01fd297ba6630 Gitweb: http://git.kernel.org/tip/53e9accf0f7682d717c7b578b6e01fd297ba6630 Author: Denys Vlasenko dvlas...@redhat.com AuthorDate: Wed, 3 Jun 2015 14:56:09 +0200 Committer: Ingo Molnar mi...@kernel.org CommitDate: Fri, 5 Jun 2015

[tip:x86/asm] x86/asm/entry/32: Simplify the zeroing of pt_regs- r8..r11 in the int80 code path

2015-06-07 Thread tip-bot for Denys Vlasenko
Commit-ID: 61b1e3e782d6784b714c0d80de529e0737d0e79c Gitweb: http://git.kernel.org/tip/61b1e3e782d6784b714c0d80de529e0737d0e79c Author: Denys Vlasenko dvlas...@redhat.com AuthorDate: Tue, 2 Jun 2015 19:35:10 +0200 Committer: Ingo Molnar mi...@kernel.org CommitDate: Fri, 5 Jun 2015

[tip:x86/asm] x86/asm/entry/32: Open-code LOAD_ARGS32

2015-06-07 Thread tip-bot for Denys Vlasenko
Commit-ID: 73cbf687914fd5f4ef88a42a55784fd28b7450cf Gitweb: http://git.kernel.org/tip/73cbf687914fd5f4ef88a42a55784fd28b7450cf Author: Denys Vlasenko dvlas...@redhat.com AuthorDate: Tue, 2 Jun 2015 21:04:02 +0200 Committer: Ingo Molnar mi...@kernel.org CommitDate: Fri, 5 Jun 2015

Re: [PATCH] wan: dscc4: use msecs_to_jiffies for conversions

2015-06-07 Thread Francois Romieu
David Miller da...@davemloft.net : [...] Whoever wrote these things probably wanted whatever this amounts to when HZ=100, so that is the only valid transformation you can make to fix this up here. It's linux kernel illiterate style from 13 years ago but I commented dscc4_pci_reset.

Re: [PATCH] wan: dscc4: use msecs_to_jiffies for conversions

2015-06-07 Thread Nicholas Mc Guire
On Sun, 07 Jun 2015, David Miller wrote: From: Nicholas Mc Guire hof...@osadl.org Date: Sat, 6 Jun 2015 10:41:06 +0200 API compliance scanning with coccinelle flagged: ./drivers/net/wan/dscc4.c:1036:1-33: WARNING: timeout (10) seems HZ dependent

[tip:x86/asm] x86/asm/entry/64: Remove pointless jump to irq_return

2015-06-07 Thread tip-bot for Andy Lutomirski
Commit-ID: 5ca6f70f387b4f82903037cc3c5488e2c97dcdbc Gitweb: http://git.kernel.org/tip/5ca6f70f387b4f82903037cc3c5488e2c97dcdbc Author: Andy Lutomirski l...@kernel.org AuthorDate: Thu, 4 Jun 2015 13:24:29 -0700 Committer: Ingo Molnar mi...@kernel.org CommitDate: Fri, 5 Jun 2015 12:42:41

[tip:x86/asm] x86/asm/entry/32: Open-code CLEAR_RREGS

2015-06-07 Thread tip-bot for Denys Vlasenko
Commit-ID: ef0cd5dc25404594f832dad9133abae52e3b2fa3 Gitweb: http://git.kernel.org/tip/ef0cd5dc25404594f832dad9133abae52e3b2fa3 Author: Denys Vlasenko dvlas...@redhat.com AuthorDate: Tue, 2 Jun 2015 21:04:01 +0200 Committer: Ingo Molnar mi...@kernel.org CommitDate: Fri, 5 Jun 2015

[tip:x86/asm] x86/asm/entry/32: Explain the stub32_clone logic

2015-06-07 Thread tip-bot for Denys Vlasenko
Commit-ID: 5cdc683b7d8b3341a3d18e0c5498bc1e4f3fb990 Gitweb: http://git.kernel.org/tip/5cdc683b7d8b3341a3d18e0c5498bc1e4f3fb990 Author: Denys Vlasenko dvlas...@redhat.com AuthorDate: Wed, 3 Jun 2015 15:58:49 +0200 Committer: Ingo Molnar mi...@kernel.org CommitDate: Fri, 5 Jun 2015

[tip:x86/asm] x86/asm/entry/32: Remove unnecessary optimization in stub32_clone

2015-06-07 Thread tip-bot for Denys Vlasenko
Commit-ID: 7a5a9824c18f93415944c997dc6bb8eecfddd2e7 Gitweb: http://git.kernel.org/tip/7a5a9824c18f93415944c997dc6bb8eecfddd2e7 Author: Denys Vlasenko dvlas...@redhat.com AuthorDate: Wed, 3 Jun 2015 15:58:50 +0200 Committer: Ingo Molnar mi...@kernel.org CommitDate: Fri, 5 Jun 2015

[tip:x86/boot] x86/boot/setup: Clean up the e820_reserve_setup_data() code

2015-06-07 Thread tip-bot for Wei Yang
Commit-ID: f2af7d25b4aa5b01203cc76e7530ea7fd18864a0 Gitweb: http://git.kernel.org/tip/f2af7d25b4aa5b01203cc76e7530ea7fd18864a0 Author: Wei Yang weiy...@linux.vnet.ibm.com AuthorDate: Thu, 4 Jun 2015 14:18:49 +0800 Committer: Ingo Molnar mi...@kernel.org CommitDate: Fri, 5 Jun 2015

[PATCH 18/19] ARC: Make way for pt_regs != user_regs_struct

2015-06-07 Thread Vineet Gupta
These have been register compatible so far. However ARCv2 mandates different pt_regs layout (due to h/w auto save). To keep pt_regs same for both, we start by removing the assumption - used mainly for block copies between the 2 structs in signal handling and ptrace Signed-off-by: Vineet Gupta

[PATCH 19/19] ARC: intc: split into ARCompact ISA specific, common bits

2015-06-07 Thread Vineet Gupta
Signed-off-by: Vineet Gupta vgu...@synopsys.com --- arch/arc/include/asm/entry-compact.h| 1 + arch/arc/include/asm/irqflags-compact.h | 181 + arch/arc/include/asm/irqflags.h | 168 +-- arch/arc/kernel/Makefile| 2 +-

[PATCH 03/19] ARC: cacheflush: No need to retain DC_CTRL from __before_dc_op()

2015-06-07 Thread Vineet Gupta
That is because __after_dc_op() already reads it for status check, so it is better anyways to use that newer value. Also reduces the clutter in callers for passing from/to these routines. Signed-off-by: Vineet Gupta vgu...@synopsys.com --- arch/arc/mm/cache.c | 36

[PATCH 00/19] ARCv2 port to Linux - (A) prepratory patches

2015-06-07 Thread Vineet Gupta
Hi, ARCv2 is the next generation ISA from Synopsys and basis for the HS3{4,6,8} families of processors which retain the traditional ARC mantra of low power and configurability and are now more performant and feature rich. Linux has been ported to HS38x series, a 10 stage pipeline core which

[PATCH 08/19] ARC: entry.S: confine EXCEPTION_* macros to one file

2015-06-07 Thread Vineet Gupta
Signed-off-by: Vineet Gupta vgu...@synopsys.com --- arch/arc/kernel/entry.S | 16 arch/arc/mm/tlbex.S | 16 +--- 2 files changed, 17 insertions(+), 15 deletions(-) diff --git a/arch/arc/kernel/entry.S b/arch/arc/kernel/entry.S index d8ec722a936b..6cced37e7a76

[PATCH 16/19] ARC: entry.S: use single EXCEPTION_PROLOGUE

2015-06-07 Thread Vineet Gupta
Returning from pure kernel mode and exception mode use the same code anyways. Remove one the duplicate blocks Signed-off-by: Vineet Gupta vgu...@synopsys.com --- arch/arc/kernel/entry-compact.S | 14 ++ 1 file changed, 6 insertions(+), 8 deletions(-) diff --git

[PATCH 06/19] ARC: entry.S: Introduce INTERRUPT_{PROLOGUE,EPILOGUE}

2015-06-07 Thread Vineet Gupta
-common'ize macros for level 1 and level 2 interrupts Signed-off-by: Vineet Gupta vgu...@synopsys.com --- arch/arc/include/asm/arcregs.h | 3 -- arch/arc/include/asm/entry.h | 77 +++--- arch/arc/kernel/entry.S| 22 +++- 3 files changed, 23

[PATCH 01/19] ARC: mm/cache_arc700.c - mm/cache.c

2015-06-07 Thread Vineet Gupta
Signed-off-by: Vineet Gupta vgu...@synopsys.com --- arch/arc/mm/Makefile| 2 +- arch/arc/mm/{cache_arc700.c = cache.c} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename arch/arc/mm/{cache_arc700.c = cache.c} (100%) diff --git a/arch/arc/mm/Makefile

[PATCH 11/19] ARC: entry.S: comments cleanup

2015-06-07 Thread Vineet Gupta
Signed-off-by: Vineet Gupta vgu...@synopsys.com --- arch/arc/kernel/entry.S | 46 -- 1 file changed, 20 insertions(+), 26 deletions(-) diff --git a/arch/arc/kernel/entry.S b/arch/arc/kernel/entry.S index b120f3e1e13e..a07cec4688ce 100644 ---

[PATCH 13/19] ARC: entry.S: split into ARCompact ISA specific, common bits

2015-06-07 Thread Vineet Gupta
Signed-off-by: Vineet Gupta vgu...@synopsys.com --- arch/arc/include/asm/entry-compact.h | 306 +++ arch/arc/include/asm/entry.h | 300 +- arch/arc/kernel/Makefile | 4 +- arch/arc/kernel/entry-compact.S | 393

[PATCH 17/19] ARC: entry.S: [arcompact] simplify SWITCH_TO_KERNEL_STK

2015-06-07 Thread Vineet Gupta
Previously this macro was overloaded with stack switching, saving SP at right slot in pt_regs, saving/setup of r25 and setting SP baseline to where pt_regs-sp is saved (vs. bottom of pt_regs) Now it only does SP switch, and leaves SP pointing to bottom of pt_regs. r25 saving is no longer done

[PATCH 14/19] ARC: entry.S: move some code around for cache locality in return path

2015-06-07 Thread Vineet Gupta
Signed-off-by: Vineet Gupta vgu...@synopsys.com --- arch/arc/kernel/entry-compact.S | 2 + arch/arc/kernel/entry.S | 98 + 2 files changed, 52 insertions(+), 48 deletions(-) diff --git a/arch/arc/kernel/entry-compact.S

[PATCH 15/19] ARC: entry.S: micro-optimize Trap handler

2015-06-07 Thread Vineet Gupta
Elide the need to re-read ECR in Trap handler by ensuring that EXCEPTION_PROLOGUE does that at the very end just before returning to Trap handler ARCv2 EXCEPTION_PROLOGUE already did that, so same for ARcompact and the common trap handler adjusted to use cached ECR Signed-off-by: Vineet Gupta

[PATCH 04/19] ARC: untangle cache flush loop

2015-06-07 Thread Vineet Gupta
- Remove the ifdef'ery and write distinct versions for each mmu ver even if there is some code duplication Signed-off-by: Vineet Gupta vgu...@synopsys.com --- arch/arc/mm/cache.c | 80 - 1 file changed, 55 insertions(+), 25 deletions(-) diff

[PATCH 05/19] ARC: entry.S: common'ize scrtach reg freeup in intr + exceptions

2015-06-07 Thread Vineet Gupta
Signed-off-by: Vineet Gupta vgu...@synopsys.com --- arch/arc/include/asm/entry.h | 35 --- arch/arc/kernel/entry.S | 10 ++ 2 files changed, 18 insertions(+), 27 deletions(-) diff --git a/arch/arc/include/asm/entry.h b/arch/arc/include/asm/entry.h

[PATCH 12/19] ARC: entry.S: Ensure that restore_regs is local to compilation unit

2015-06-07 Thread Vineet Gupta
This fixes the possible link/relo errors, since restore_regs will be provided by ISA code, but called from ARC common code. The .L prefix reassures binutils that it will be in same compilation unit. Signed-off-by: Vineet Gupta vgu...@synopsys.com --- arch/arc/kernel/entry.S | 8 1 file

[PATCH 10/19] ARC: entry.S: Trap handler to use r10 for syscall vs. brkpt decision

2015-06-07 Thread Vineet Gupta
Signed-off-by: Vineet Gupta vgu...@synopsys.com --- arch/arc/kernel/entry.S | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arc/kernel/entry.S b/arch/arc/kernel/entry.S index 0a75f81e2853..b120f3e1e13e 100644 --- a/arch/arc/kernel/entry.S +++ b/arch/arc/kernel/entry.S

[PATCH 07/19] ARC: entry.S: canonical'ize EXCEPTION_{PROLOGUE,EPILOGUE}

2015-06-07 Thread Vineet Gupta
-EXCEPTION_EPILOGUE introduced -EXCEPTION_PROLOGUE now also includes reg file saving Signed-off-by: Vineet Gupta vgu...@synopsys.com --- arch/arc/include/asm/entry.h | 17 + arch/arc/kernel/entry.S | 4 ++-- 2 files changed, 3 insertions(+), 18 deletions(-) diff --git

[PATCH 09/19] ARC: entry.S: FAKE_RET_FROM_EXCPN can always use r9

2015-06-07 Thread Vineet Gupta
Signed-off-by: Vineet Gupta vgu...@synopsys.com --- arch/arc/include/asm/entry.h | 16 arch/arc/kernel/entry.S | 24 +++- 2 files changed, 19 insertions(+), 21 deletions(-) diff --git a/arch/arc/include/asm/entry.h b/arch/arc/include/asm/entry.h index

[PATCH 02/19] ARC: cacheflush: move some code around, delete old comments

2015-06-07 Thread Vineet Gupta
Signed-off-by: Vineet Gupta vgu...@synopsys.com --- arch/arc/mm/cache.c | 267 1 file changed, 102 insertions(+), 165 deletions(-) diff --git a/arch/arc/mm/cache.c b/arch/arc/mm/cache.c index 322e11b3b1e3..1d34a6978a83 100644 ---

Re: [PATCH 00/19] ARCv2 port to Linux - (A) prepratory patches

2015-06-07 Thread Vineet Gupta
On Sunday 07 June 2015 02:08 PM, Vineet Gupta wrote: Hi, ARCv2 is the next generation ISA from Synopsys and basis for the HS3{4,6,8} families of processors which retain the traditional ARC mantra of low power and configurability and are now more performant and feature rich. Linux has been

Re: [PATCH v3 1/2] net/xen-netfront: Correct printf format in xennet_get_responses

2015-06-07 Thread David Miller
From: Julien Grall julien.gr...@citrix.com Date: Thu, 4 Jun 2015 16:35:13 +0100 rx-status is an int16_t, print it using %d rather than %u in order to have a meaningful value when the field is negative. Also use %d rather than %x for rx-offset. Signed-off-by: Julien Grall

[PATCH] clockevents/drivers/timer-stm32: Fix build error spotted by kbuild test robot

2015-06-07 Thread Maxime Coquelin
This patch fixes below error spotted by kbuild test robot when building with ARCH=ia64: All error/warnings (new ones prefixed by ): drivers/clocksource/timer-stm32.c:38:28: error: field 'evtdev' has incomplete type struct clock_event_device evtdev; ^

Re: [PATCH v5 0/4] idle memory tracking

2015-06-07 Thread Vladimir Davydov
On Sun, Jun 07, 2015 at 11:41:15AM +0530, Raghavendra KT wrote: Thanks for the patches, I was able test how the series is helpful to determine docker container workingset / idlemem with these patches. (tested on ppc64le after porting to a distro kernel). Hi, Thank you for using and testing

Re: [PATCH kmod 3/3] tools: display features together with version information

2015-06-07 Thread Andreas Mohr
Hi, On Sun, Jun 07, 2015 at 03:27:29AM -0300, lucas.de.mar...@gmail.com wrote: From: Lucas De Marchi lucas.demar...@intel.com diff --git a/tools/kmod.c b/tools/kmod.c index c9d2cc8..28217df 100644 --- a/tools/kmod.c +++ b/tools/kmod.c @@ -114,6 +114,7 @@ static int handle_kmod_commands(int

Re: [PATCH kmod 0/3] Add feature list together with version

2015-06-07 Thread Andreas Mohr
Hi, On Sun, Jun 07, 2015 at 03:27:26AM -0300, lucas.de.mar...@gmail.com wrote: From: Lucas De Marchi lucas.demar...@intel.com Sample output: $ ./tools/kmod --version kmod version 20 +XZ +ZLIB -EXPERIMENTAL Thank you for this important feature! (which follows systemd format as proposed

Re: [PATCH v4 1/3] ARM: rockchip: fix the CPU soft reset

2015-06-07 Thread Heiko Stübner
Hi Caesar, Doug, Am Sonntag, 7. Juni 2015, 13:51:24 schrieb Caesar Wang: 在 2015年06月07日 11:43, Doug Anderson 写道: Caesar, On Sat, Jun 6, 2015 at 7:51 PM, Caesar Wang w...@rock-chips.com wrote: @@ -150,13 +159,15 @@ static int __cpuinit rockchip_boot_secondary(unsigned int cpu,

[PATCH linux-next] MIPS: pci-ar71xx: Fix left over reference to ath79_ddr_base

2015-06-07 Thread Alban Bedel
The patch 'MIPS: ath79: Improve the DDR controller interface' broke the PCI support as it failed to properly removed the use of the variable 'ath79_ddr_base'. Remove that last reference to fix the build. Signed-off-by: Alban Bedel al...@free.fr --- arch/mips/pci/pci-ar71xx.c | 2 -- 1 file

Re: [PATCH] kernel/params.c: make use of unused but set variable

2015-06-07 Thread Linus Torvalds
On Sun, Jun 7, 2015 at 5:00 PM, Tejun Heo hte...@gmail.com wrote: On Sun, Jun 07, 2015 at 05:54:30PM -0600, Louis Langholtz wrote: @@ -853,6 +853,7 @@ static void __init version_sysfs_builtin(void) mk = locate_module_kobject(vattr-module_name); if (mk) {

Re: [PATCH v2] drivers: of/base: move of_init to driver_init

2015-06-07 Thread Rob Herring
On Sun, Jun 7, 2015 at 2:05 AM, Grant Likely grant.lik...@linaro.org wrote: On Tue, 19 May 2015 10:17:32 -0700 , Greg Kroah-Hartman gre...@linuxfoundation.org wrote: On Tue, May 19, 2015 at 01:29:16PM +0100, Sudeep Holla wrote: Hi Rob/Greg, On 14/05/15 15:28, Sudeep Holla wrote:

Re: [PATCH 08/14] hrtimer: Allow hrtimer::function() to free the timer

2015-06-07 Thread Oleg Nesterov
On 06/08, Oleg Nesterov wrote: And I simply can not understand the complication in hrtimer_active(), please help! Sorry for another off-topic email, but I don't even understand the usage of hrtimer_active(). Say, do_nanosleep() hrtimer_start_expires(t-timer, mode);

[PATCH] kernel/params.c: make use of unused but set variable

2015-06-07 Thread Louis Langholtz
While Rusty Russell wants the return value of sysfs_create_file ignored, it's annotated '__must_check'. Tejun Heo made the annotaion and suggests just using BUG_ON(). Meanwhile the compiler warns that the 'err' variable is set but unused. This patch uses Tejun's suggestion. This eliminates the

Re: [PATCH v2 1/2] staging: rtl8723au: core: avoid bitwise arithmetic with forced endianness

2015-06-07 Thread David Decotigny
This was introduced by kernel bulk commit 5e93f3520 staging: r8723au: Add source files for new driver - part 1, initially from github according to commit description. On github, this traces back to another bulk commit: 2896bda04353 Add new files in core directory, which is the 1st version of the

[PATCH v2 1/2] staging: rtl8723au: core: avoid bitwise arithmetic with forced endianness

2015-06-07 Thread David Decotigny
This fixes bitwise arithmetic performed on the host on a variable previously converted to little-endian, and subsequently converted again to little-endian: - issue_action_BA23a() called with status crafted in host byte order - status converted to LE - bitwise arithmetic on the (LE) status,

[PATCH v2 0/2] staging: rtl8723au: core: endianness issues

2015-06-07 Thread David Decotigny
The code shows a couple inconsistencies (described in commit descriptions) which would not be an issue on little-endian cpus, but could cause breakage on non-LE cpus. Note: I could not test on real hardware, these patches created based on sparse reports. Hostory: - resending the same patches to

[PATCH v2 2/2] staging: rtl8723au: core: remove redundant endianness conversion

2015-06-07 Thread David Decotigny
Source and destination have the same little-endian annotation: this patch removes incorrect byte-swap on non-LE cpus. This addresses the following sparse warning: drivers/staging/rtl8723au/core/rtw_mlme_ext.c:3911:56: warning: incorrect type in argument 1 (different base types)

Re: [PATCH] kernel/params.c: make use of unused but set variable

2015-06-07 Thread Tejun Heo
On Sun, Jun 07, 2015 at 05:17:20PM -0700, Linus Torvalds wrote: At most, it could be a WARN_ON_ONCE(). Maybe even just silently ignore the error. But BUG_ON()? Hell no. Yeah, WARN_ON_ONCE() is the right one. The short history here is that sysfs_create_file() has __must_check on it which

Re: [PATCH] EDAC, altera: wrap edac pm with a CONFIG_PM

2015-06-07 Thread atull
On Sat, 6 Jun 2015, Borislav Petkov wrote: On Fri, Jun 05, 2015 at 04:40:29PM -0500, Thor Thayer wrote: Yes, in our case, it is a hardware issue but I'm still gathering information. The IRQ vectors for OCRAM reside on DDR and in Suspend-to-RAM mode we're executing out of OCRAM. If an

[PATCH 1/2] power_supply: max17042: Add OF support for setting thresholds

2015-06-07 Thread Krzysztof Kozlowski
The commit edd4ab055931 (power: max17042_battery: add HEALTH and TEMP_* properties support) added support for setting voltage and temperature thresholds with platform data. For DeviceTree default of 0 was always used. This caused reporting battery health always as over voltage or over heated.

[PATCH] power_supply: sysfs: Bring back write to writeable properties

2015-06-07 Thread Krzysztof Kozlowski
The fix for NULL pointer exception related to calling uevent for not finished probe caused to set all writeable properties as non-writeable. This was caused by checking if property is writeable before the initial increase of power supply usage counter and in the same time using wrapper over

[PATCH 2/2] ARM: dts: Set max17047 over heat and over voltage thresholds

2015-06-07 Thread Krzysztof Kozlowski
Add some safe values for over head and over voltage. The Trats2 uses 3.8 V battery and during testing it operated properly under 4.48 V. Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com --- arch/arm/boot/dts/exynos4412-trats2.dts | 3 +++ 1 file changed, 3 insertions(+) diff --git

RE: [v9 0/9] Add VT-d Posted-Interrupts support - IOMMU part

2015-06-07 Thread Wu, Feng
-Original Message- From: Joerg Roedel [mailto:j...@8bytes.org] Sent: Friday, June 05, 2015 9:34 PM To: Thomas Gleixner Cc: Wu, Feng; dw...@infradead.org; jiang@linux.intel.com; io...@lists.linux-foundation.org; linux-kernel@vger.kernel.org Subject: Re: [v9 0/9] Add VT-d

Re: [PATCH v2] power: max17042_battery: add HEALTH and TEMP_* properties support

2015-06-07 Thread Krzysztof Kozlowski
2015-05-24 12:41 GMT+09:00 Ramakrishna Pallala ramakrishna.pall...@intel.com: This patch adds the support for following battery properties to max17042 fuel gauge driver. POWER_SUPPLY_PROP_TEMP_ALERT_MIN POWER_SUPPLY_PROP_TEMP_ALERT_MAX POWER_SUPPLY_PROP_TEMP_MIN POWER_SUPPLY_PROP_TEMP_MAX

Re: Re: [PATCH] extcon: max77843: Clear IRQ bits state before request IRQ

2015-06-07 Thread MyungJoo Ham
On 06/05/2015 01:54 PM, MyungJoo Ham wrote: IRQ signal before driver probe is needless because driver sends current state after platform booting done. So, this patch clears MUIC IRQ bits before request IRQ. Signed-off-by: Jaewon Kim jaewon02@samsung.com ---

[PATCH] thermal: exynos: Disable the regulator on probe failure

2015-06-07 Thread Krzysztof Kozlowski
During probe the regulator (if present) was enabled but not disabled in case of failure. So an unsuccessful probe lead to enabling the regulator which was actually not needed because the device was not enabled. Additionally each deferred probe lead to increase of regulator enable count so it

[PATCH kmod 3/3] tools: display features together with version information

2015-06-07 Thread lucas . de . marchi
From: Lucas De Marchi lucas.demar...@intel.com --- tools/depmod.c | 1 + tools/insmod.c | 1 + tools/kmod.c | 1 + tools/modinfo.c | 1 + tools/modprobe.c | 1 + tools/rmmod.c| 1 + 6 files changed, 6 insertions(+) diff --git a/tools/depmod.c b/tools/depmod.c index 231b9ab..2a08b6e

[PATCH kmod 0/3] Add feature list together with version

2015-06-07 Thread lucas . de . marchi
From: Lucas De Marchi lucas.demar...@intel.com Sample output: $ ./tools/kmod --version kmod version 20 +XZ +ZLIB -EXPERIMENTAL Lucas De Marchi (3): build: add function to build string of features build: add relevant features to KMOD_FEATURES in config.h tools: display features together

<    1   2   3   4   5   6   >