Re: [Patch v4 0/9] *** Fix kdump failure in system with amd iommu***

2016-05-25 Thread Baoquan He
Hi Joerg, Attachments are console log of normal kernel and kdump kernel on a test machine at my hand, and the related information of lspci -vt and lspci -vvv. Before I tried to defer the calling of set_dte_entry() until the device driver try to call __map_single() to really allocate coherent memor

Re: [PATCH 1/2] clk: exynos5420: Set ID for aclk333 gate clock

2016-05-25 Thread Krzysztof Kozlowski
On 05/24/2016 07:41 PM, Javier Martinez Canillas wrote: > The aclk333 clock needs to be ungated during the MFC power domain switch, > so set the clock ID to allow the Exynos power domain logic to lookup this > clock if is defined in the MFC PD device tree node. > > Signed-off-by: Javier Martinez C

Re: [PATCH] lightnvm: clear reserved bit on generic addr

2016-05-25 Thread Matias Bjørling
On 05/11/2016 02:08 PM, Javier González wrote: When an address is converted from device to generic mode, the reserved bit needs to be cleared in order to signal that the address points to a flash block, not to a cacheline on the write buffer. Signed-off-by: Javier González --- include/linux/l

Re: [PATCH 2/5] asus-wmi: Create quirk for airplane_mode LED

2016-05-25 Thread Corentin Chary
On Mon, Feb 8, 2016 at 6:05 PM, João Paulo Rechi Vita wrote: > Some Asus laptops that have an "airplane mode" indicator LED, also have > the WMI WLAN user bit set, and the following bits in their DSDT: > > Scope (_SB) > { > (...) > Device (ATKD) > { > (...) > Method (WMNB, 3, Seriali

Re: [PATCH] mm: check the return value of lookup_page_ext for all call sites

2016-05-25 Thread shakil
On 5/23/2016 10:16 AM, Yang Shi wrote: Per the discussion with Joonsoo Kim [1], we need check the return value of lookup_page_ext() for all call sites since it might return NULL in some cases, although it is unlikely, i.e. memory hotplug. Tested with ltp with "page_owner=0". [1] http://lkml.k

[tip:sched/urgent] sched/core: Fix remote wakeups

2016-05-25 Thread tip-bot for Peter Zijlstra
Commit-ID: b7e7ade34e6188bee2e3b0d42b51d25137d9e2a5 Gitweb: http://git.kernel.org/tip/b7e7ade34e6188bee2e3b0d42b51d25137d9e2a5 Author: Peter Zijlstra AuthorDate: Mon, 23 May 2016 11:19:07 +0200 Committer: Ingo Molnar CommitDate: Wed, 25 May 2016 08:35:18 +0200 sched/core: Fix remote wa

Re: [Patch v4 0/9] *** Fix kdump failure in system with amd iommu***

2016-05-25 Thread Baoquan He
Sorry, log of 'lspci -vvv' is not attatched correclty. Re-attach it here. 00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 30h-3fh) Processor Root Complex Subsystem: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 30h-3fh) Processor Root Complex Co

[PATCH 00/10] String hash improvements

2016-05-25 Thread George Spelvin
On Tue, 17 May 2016 at 09:32, Linus Torvalds wrote: > On Tue, May 17, 2016 at 6:41 AM, George Spelvin wrote: >> I had assumed that since they weren't fully baked when the window opened, >> they weren't eligible, but I'll try. > Hey, if they aren't ready, they aren't. Well, they're close, and I

[PATCH 01/10] Pull out string hash to

2016-05-25 Thread George Spelvin
... so they can be used without the rest of The hashlen_* macros will make sense next patch. Signed-off-by: George Spelvin --- include/linux/dcache.h | 27 + include/linux/stringhash.h | 72 ++ 2 files changed, 73 insertions(+), 2

Re: [PATCH 4.2.y-ckt 53/53] uapi glibc compat: fix compile errors when glibc net/if.h included before linux/if.h

2016-05-25 Thread Mikko Rapeli
On Tue, May 24, 2016 at 10:55:23AM -0700, Kamal Mostafa wrote: > 4.2.8-ckt11 -stable review patch. If anyone has any objections, please let > me know. > > ---8< > > From: Mikko Rapeli > > [ Upstream commit 4a91cb61bb995e5571098188092

Re: [PATCH v3 00/12] J-core J2 cpu and SoC peripherals support

2016-05-25 Thread Geert Uytterhoeven
Hi Rich, On Wed, May 25, 2016 at 7:43 AM, Rich Felker wrote: > As arch/sh co-maintainer my intent is to include as much as possible > in my pull request for the linux-sh tree. If there are parts outside > of arch/sh that can be included in this, please let me know. I'm not > clear yet on what the

[PATCH 02/10] fs/namei.c: Add hash_string() function

2016-05-25 Thread George Spelvin
It's not actually used in that file, but goes with hash_name() and full_name_hash(), so it's simplest to keep it there. Also simplify the prototype of full_name_hash to be take a "char *" rather than "unsigned char *". That's consistent with hash_name(). Signed-off-by: George Spelvin --- fs/na

[PATCH 03/10] : Define hash_str() in terms of hash_string()

2016-05-25 Thread George Spelvin
Finally, the first use of previous two patches: Eliminate the separate ad-hoc string hash functions in the sunrpc code. This also eliminates the only caller of hash_long which asks for more than 32 bits of output. sunrpc guys: Is it okay if I send this to Linus directly? Signed-off-by: George Sp

[PATCH 04/10] Change hash_64() return value to 32 bits

2016-05-25 Thread George Spelvin
That's all that's ever asked for, and it makes the return type of hash_long() consistent. It also allows (upcoming patch) an optimized implementation of hash_64 on 32-bit machines. There's a WARN_ON in there in case I missed anything. Most callers pass a compile-time constant bits and will have

[PATCH 05/10] Eliminate bad hash multipliers from hash_32() and hash_64()

2016-05-25 Thread George Spelvin
To avoid inefficiency, hash_64() on 32-bit systems is changed to use a different algorithm. It makes two calls to hash_32() instead. Signed-off-by: George Spelvin --- include/linux/hash.h | 100 ++- 1 file changed, 43 insertions(+), 57 deletions(-

[PATCH 06/10] fs/namei.c: Improve dcache hash function

2016-05-25 Thread George Spelvin
Patch 0fed3ac866 improved the hash mixing, but the function is slower than necessary; there's a 7-instruction dependency chain (10 on x86) each loop iteration. Word-at-a-time access is a very tight loop (which is good, because link_path_walk() is one of the hottest code paths in the entire kernel)

[PATCH 07/10] : Add support for architecture-specific functions

2016-05-25 Thread George Spelvin
This is just the infrastructure; there are no users yet. This is modelled on CONFIG_ARCH_RANDOM; a CONFIG_ symbol declares the existence of . That file may define its own versions of various functions, and define HAVE_* symbols (no CONFIG_ prefix!) to suppress the generic ones. Signed-off-by: Ge

[PATCH 08/10] m68k: Add

2016-05-25 Thread George Spelvin

[PATCH 08/10] m68k: Add

2016-05-25 Thread George Spelvin
This provides a multiply by constant GOLDEN_RATIO_32 = 0x61C88647 for the original mc68000, which lacks a 32x32-bit multiply instruction. Yes, the amount of optimization effort put in is excessive. :-) Addition chains found by Yevgen Voronenko's Hcub algorithm at http://spiral.ece.cmu.edu/mcm/gen

[PATCH 09/10] microblaze: Add

2016-05-25 Thread George Spelvin
Microblaze is an FPGA soft core that can be configured various ways. If it is configured without a multiplier, the standard __hash_32() will require a call to __mulsi3, which is a slow software loop. Instead, use a shift-and-add sequence for the constant multiply. GCC knows how to do this, but it

[PATCH 10/10] h8300: Add

2016-05-25 Thread George Spelvin
This will improve the performance of hash_32() and hash_64(), but due to complete lack of multi-bit shift instructions on H8, performance will still be bad in surrounding code. Designing H8-specific hash algorithms to work around that is a separate project. (But if the maintainers would like to g

[RESEND PATCH] ARM64: dts: rockchip: add thermal zone node for rk3399 SoCs

2016-05-25 Thread Caesar Wang
This adds thermal zone node to rk3399 dtsi, rk3399 thermal data is including the cpu and gpu sensor zone node. The thermal zone node is the node containing all the required info for describing a thermal zone, including its cooling device bindings. The thermal zone node must contain, apart from its

[PATCH v4] input: tablet: add Pegasus Notetaker tablet driver

2016-05-25 Thread Martin Kepplinger
This adds a driver for the Pegasus Notetaker Pen. When connected, this uses the Pen as an input tablet. This device was sold in various different brandings, for example "Pegasus Mobile Notetaker M210", "Genie e-note The Notetaker", "Staedtler Digital ballpoint pen 990 01",

Re: [PATCH 2/2] ARM: dts: Add async-bridge clock to MFC power domain for Exynos5420

2016-05-25 Thread Krzysztof Kozlowski
On 05/24/2016 07:41 PM, Javier Martinez Canillas wrote: > The MFC IP is also inter-connected by an Async-Bridge so the CLK_ACLK333 > has to be ungated during a power domain switch. Trying to do it when the > clock is gated will fail and lead to an imprecise external abort error > when the driver tr

Re: [PATCH 07/16] sched: Make SD_BALANCE_WAKE a topology flag

2016-05-25 Thread Yuyang Du
On Mon, May 23, 2016 at 11:58:49AM +0100, Morten Rasmussen wrote: > For systems with the SD_ASYM_CPUCAPACITY flag set on higher level in the > sched_domain hierarchy we need a way to enable wake-up balancing for the > lower levels as well as we may want to balance tasks that don't fit the > capacit

Re: [PATCH v2 5/5] usb: dwc3: rockchip: add devicetree bindings documentation

2016-05-25 Thread William Wu
Hi Felipe, On 05/24/2016 05:32 PM, Felipe Balbi wrote: Hi, William Wu writes: This patch documents the device tree documentation required for Rockchip USB3.0 core wrapper consist of USB3.0 IP from Synopsys. It could operate in device mode (SS, HS, FS) and host mode (SS, HS, FS, LS). Signed-

[PATCH v6 2/2] ARM: EXYNOS: refactoring of mach-exynos to enable chipid driver

2016-05-25 Thread Pankaj Dubey
This patch enables chipid driver for ARCH_EXYNOS and refactors machine code for using chipid driver for identification of SoC ID and SoC rev. Signed-off-by: Pankaj Dubey --- arch/arm/mach-exynos/Kconfig | 1 + arch/arm/mach-exynos/common.h| 53 ---

Re: [PATCH v1 00/10] *** imx-sdma: misc fix ***

2016-05-25 Thread Jiada Wang
Hello On 05/17/2016 07:04 PM, Vinod Koul wrote: On Tue, May 17, 2016 at 12:47:46PM +0900, Jiada Wang wrote: this patch set contains the following changes 1. fix issues in cyclic dma 2. add support to SYNC DMA termination 3. avoid system hang, when SDMA channel 0 timeouts 4. add lock to prevent

[PATCH v6 0/2] Introducing Exynos ChipId driver

2016-05-25 Thread Pankaj Dubey
Once again I am respinning this quite old patch series to introduce Exynos Chipid driver. This patch series introduces Exynos Chipid platform driver. Each Exynos SoC has ChipID block which can give information about SoC's product Id and revision number. At the same time it reduces dependency of m

[PATCH v6 1/2] soc: samsung: add exynos chipid driver support

2016-05-25 Thread Pankaj Dubey
Exynos SoCs have Chipid, for identification of product IDs and SoC revisions. This patch intends to provide initialization code for all these functionalities, at the same time it provides some sysfs entries for accessing these information to user-space. This driver uses existing binding for exynos

Re: [PATCH v2 4/5] iommu/mediatek: add support for mtk iommu generation one HW

2016-05-25 Thread Honghui Zhang
On Tue, 2016-05-24 at 16:36 +0100, Robin Murphy wrote: > On 24/05/16 10:57, Honghui Zhang wrote: > [...] > >>> @@ -48,6 +48,9 @@ struct mtk_iommu_domain { > >>> struct io_pgtable_ops *iop; > >>> > >>> struct iommu_domain domain; > >>> + void

Re: [PATCH 00/10] String hash improvements

2016-05-25 Thread Geert Uytterhoeven
Hi George, On Wed, May 25, 2016 at 9:20 AM, George Spelvin wrote: > I'm not particularly fond of the names of the header files I created, > but if anyone has a better idea please talk fast! Usually this is handled through include/asm-generic/. Put the generic default implementation in include/as

Re: [PATCHv3 0/2] target: make location of /var/targets configurable

2016-05-25 Thread Zhu Lingshan
Hi experts, I think these patches are great, and I am ready to help in user space. Thanks, BR Zhu Lingshan On 05/09/2016 09:17 AM, Lee Duncan wrote: On 04/14/2016 06:18 PM, Lee Duncan wrote: These patches make the location of "/var/target" configurable, though it still defauls to "/var/target

Re: [PATCH 2/2] ARM: dts: Add async-bridge clock to MFC power domain for Exynos5420

2016-05-25 Thread Krzysztof Kozlowski
On 05/25/2016 09:48 AM, Krzysztof Kozlowski wrote: > On 05/24/2016 07:41 PM, Javier Martinez Canillas wrote: >> The MFC IP is also inter-connected by an Async-Bridge so the CLK_ACLK333 >> has to be ungated during a power domain switch. Trying to do it when the >> clock is gated will fail and lead t

Re: [PATCH v2 5/5] usb: dwc3: rockchip: add devicetree bindings documentation

2016-05-25 Thread Felipe Balbi
Hi, William Wu writes: > Hi Felipe, > > On 05/24/2016 05:32 PM, Felipe Balbi wrote: >> Hi, >> >> William Wu writes: >>> This patch documents the device tree documentation required for >>> Rockchip USB3.0 core wrapper consist of USB3.0 IP from Synopsys. >>> >>> It could operate in device mode (S

Re: [PATCH 08/10] m68k: Add

2016-05-25 Thread Geert Uytterhoeven
Hi George, On Wed, May 25, 2016 at 9:34 AM, George Spelvin wrote: > This provides a multiply by constant GOLDEN_RATIO_32 = 0x61C88647 > for the original mc68000, which lacks a 32x32-bit multiply instruction. > > Yes, the amount of optimization effort put in is excessive. :-) > > Addition chains f

Re: [PATCH] mm: oom_kill_process: do not abort if the victim is exiting

2016-05-25 Thread Michal Hocko
On Tue 24-05-16 20:07:46, Vladimir Davydov wrote: > On Tue, May 24, 2016 at 03:50:42PM +0200, Michal Hocko wrote: [...] > > It is not really pointless. The original intention was to not spam the > > log and alarm the administrator when in fact the memory hog is exiting > > already and will free the

Re: [PATCH 00/10] String hash improvements

2016-05-25 Thread George Spelvin
Geert Uytterhoeven wrote: > Usually this is handled through include/asm-generic/. > Put the generic default implementation in include/asm-generic/hash.h. > > Architectures that need to override provide their own version, e.g. > arch/m68k/include/asm/hash.h. They may #include > if they still want t

[PATCH V3 2/2] i2c: qup: Fix error handling

2016-05-25 Thread Sricharan R
Among the bus errors reported from the QUP_MASTER_STATUS register only NACK is considered and transfer gets suspended, while other errors are ignored. Correct this and suspend the transfer for other errors as well. This avoids unnecessary 'timeouts' which happens when waiting for events that would

[PATCH 2/2] ARM: at91: Add DT support for Olimex SAM9-L9260 board.

2016-05-25 Thread Raashid Muhammed
From: Raashid Muhammed sam9-l9260 is a low cost board designed by Olimex. More information is available at: https://www.olimex.com/Products/ARM/Atmel/SAM9-L9260/ Signed-off-by: Raashid Muhammed Reviewed-by: Vijay Kumar B. --- Documentation/devicetree/bindings/arm/olimex.txt | 8 +- arch/ar

[PATCH V3 1/2] i2c: qup: Fix broken dma when CONFIG_DEBUG_SG is enabled

2016-05-25 Thread Sricharan R
With CONFIG_DEBUG_SG is enabled and when dma mode is used, below dump is seen, [ cut here ] kernel BUG at include/linux/scatterlist.h:140! Internal error: Oops - BUG: 0 [#1] PREEMPT SMP Modules linked in: CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.4.0-00459-g9f087b9-dirty

[PATCH 1/2] ARM: at91/dt: at91sam9260: Remove leading zeros in OHCI node.

2016-05-25 Thread Raashid Muhammed
From: Raashid Muhammed Remove leading zeros in OHCI node for at91sam9260 based boards. Signed-off-by: Raashid Muhammed Reviewed-by: Vijay Kumar B. --- arch/arm/boot/dts/aks-cdu.dts | 2 +- arch/arm/boot/dts/animeo_ip.dts | 2 +- arch/arm/boot/dts/at91-foxg20.dts

RE: [PATCH v3 1/2] i2c: qup: add ACPI support

2016-05-25 Thread Sricharan
Hi, >From: Naveen Kaje > >Add support to get the device parameters from ACPI. Assume >that the clocks are managed by firmware. > >Signed-off-by: Naveen Kaje >Signed-off-by: Austin Christ >--- > drivers/i2c/busses/i2c-qup.c | 60 > 1 file changed, 44 i

[PATCH V3 0/2] i2c: qup: Some misc fixes

2016-05-25 Thread Sricharan R
One for fixing the bug with CONFIG_DEBUG_SG enabled and another to suspend the transfer for all errors instead of just for NACK. [V3] Added more commit description. Return more appropriate error codes for NACK and other bus errors. Corrected other bus errors handling procedure for dma mo

RE: [PATCH v3 2/2] i2c: qup: support SMBus block read

2016-05-25 Thread Sricharan
Hi, >From: Naveen Kaje > >I2C QUP driver relies on SMBus emulation support from the framework. >To handle SMBus block reads, the driver should check I2C_M_RECV_LEN >flag and should read the first byte received as the message length. > >The driver configures the QUP hardware to read one byte. Once

Re: [PATCH 1/3] clk: samsung: exynos5433: prepare for adding CPU clocks

2016-05-25 Thread Krzysztof Kozlowski
On 05/24/2016 03:19 PM, Bartlomiej Zolnierkiewicz wrote: > Open-code samsung_cmu_register_one() calls for CMU_APOLLO and > CMU_ATLAS setup code as a preparation for adding CPU clocks > support for Exynos5433. > > There should be no functional change resulting from this patch. > > Cc: Kukjin Kim

Re: [PATCH 08/10] m68k: Add

2016-05-25 Thread George Spelvin
> With my comment above, you wouldn't need this, but I'm gonna comment anyway. > > We don't use special GCCs to target specific CPU variants. Hence inside the > kernel, you should check the config symbols, to see if support for 68000 or > 68010 (which isn't supported by the kernel yet) is enabled.

[PATCH v3 2/6] powerpc: pseries/Kconfig: Add qspinlock build config

2016-05-25 Thread Pan Xinhui
pseries will use qspinlock by default. Signed-off-by: Pan Xinhui --- arch/powerpc/platforms/pseries/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/powerpc/platforms/pseries/Kconfig b/arch/powerpc/platforms/pseries/Kconfig index bec90fb..f669323 100644 --- a/arch/powerpc/platfo

[PATCH v3 5/6] pv-qspinlock: use cmpxchg_release in __pv_queued_spin_unlock

2016-05-25 Thread Pan Xinhui
cmpxchg_release is light-wight than cmpxchg, we can gain a better performace then. On some arch like ppc, barrier impact the performace too much. Suggested-by: Boqun Feng Signed-off-by: Pan Xinhui --- kernel/locking/qspinlock_paravirt.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) di

[PATCH v3 0/6] powerpc use pv-qpsinlock as the default spinlock implemention

2016-05-25 Thread Pan Xinhui
change from v2: __spin_yeild_cpu() will yield slices to lpar if target cpu is running. remove unnecessary rmb() in __spin_yield/wake_cpu. __pv_wait() will check the *ptr == val. some commit message change change fome v1: separate into 6 pathes from one patch

[PATCH v3 6/6] powerpc: pseries: Add pv-qspinlock build config/make

2016-05-25 Thread Pan Xinhui
pseries has PowerVM support, the default option is Y. Signed-off-by: Pan Xinhui --- arch/powerpc/kernel/Makefile | 1 + arch/powerpc/platforms/pseries/Kconfig | 8 2 files changed, 9 insertions(+) diff --git a/arch/powerpc/kernel/Makefile b/arch/powerpc/kernel/Makefile index

[PATCH v3 3/6] powerpc: lib/locks.c: Add cpu yield/wake helper function

2016-05-25 Thread Pan Xinhui
pv-qspinlock core has pv_wait/pv_kick which will give a better performace by yielding and kicking cpu at some cases. lets support them by adding two corresponding helper functions. Signed-off-by: Pan Xinhui --- arch/powerpc/include/asm/spinlock.h | 4 arch/powerpc/lib/locks.c|

[PATCH v3 4/6] pv-qspinlock: powerpc support pv-qspinlock

2016-05-25 Thread Pan Xinhui
As we need let pv-qspinlock-kernel run on all environment which might have no powervm, we should runtime choose which qspinlock version to use. The default pv-qspinlock use native version. pv_lock initialization should be done in bootstage with irq disabled. And if there is PHYP, restore pv_lock_o

[PATCH v3 1/6] qspinlock: powerpc support qspinlock

2016-05-25 Thread Pan Xinhui
Base code to enable qspinlock on powerpc. this patch add some #ifdef here and there. Although there is no paravirt related code, we can successfully build a qspinlock kernel after apply this patch. Signed-off-by: Pan Xinhui --- arch/powerpc/include/asm/qspinlock.h | 22 +

Re: [PATCH 08v2/10] m68k: Add

2016-05-25 Thread George Spelvin
This provides a multiply by constant GOLDEN_RATIO_32 = 0x61C88647 for the original mc68000, which lacks a 32x32-bit multiply instruction. Yes, the amount of optimization effort put in is excessive. :-) Addition chains found by Yevgen Voronenko's Hcub algorithm at http://spiral.ece.cmu.edu/mcm/gen

Re: [git pull] drm for v4.7

2016-05-25 Thread Jani Nikula
On Wed, 25 May 2016, Stephen Rothwell wrote: > My bad. That warning turned up in linux-next last Wednesday but I > didn't notice (I have other stuff to do and don't carefully watch all > the builds all day - and there are quite a few warnings to filter new > ones out out of). Maybe I need some a

Re: ARM: dts: exynos: Add MFC memory banks for Peach boards

2016-05-25 Thread pankaj.dubey
Hi Javier, On Friday 29 April 2016 12:51 AM, Javier Martinez Canillas wrote: > The MFC nodes with the memory regions reserved for memory allocations > are missing in the Exynos5420 Peach Pit and Exynos5800 Peach Pi DTS. > > This causes the s5p-mfc driver probe to fail with the following error: >

Re: [PATCH 2/3] clk: samsung: cpu: prepare for adding Exynos5433 CPU clocks

2016-05-25 Thread Krzysztof Kozlowski
On 05/24/2016 03:19 PM, Bartlomiej Zolnierkiewicz wrote: > Exynos5433 uses different register layout for CPU clock registers > than earlier SoCs so add new code for handling this layout. Also > add new CLK_CPU_HAS_E5433_REGS_LAYOUT flag to request using it. > > There should be no functional chang

Re: fsl-dcu not works on latest "drm-next"

2016-05-25 Thread Alexander Stein
On Tuesday 24 May 2016 23:20:02, Stefan Agner wrote: > On 2016-05-24 19:14, Meng Yi wrote: > > I found that its regmap endianness issue, so I want to replace the > > "regmap". > Hm, replace with what? Note that we need some kind of endianness > convertion since the IP is big endian on LS1021a and l

Re: [PATCH RFC kernel] balloon: speed up inflating/deflating process

2016-05-25 Thread Michael S. Tsirkin
On Wed, May 25, 2016 at 01:00:27AM +, Li, Liang Z wrote: > It should be changed if we are going to use a small page bitmap. Exactly.

Re: can't boot with reiserfs on linux-4.6.0+

2016-05-25 Thread Jeff Chua
On Wed, May 25, 2016 at 12:10 AM, Linus Torvalds wrote: > On Tue, May 24, 2016 at 8:59 AM, Al Viro wrote: >> >> Umm... Any chance of getting the function names to go with the addresses? >> I'll try to reproduce it here, but the things would be easier with that >> information... > > Yeah, we shou

Re: [RFC PATCH 1/2] Input: rotary-encoder- Add support for absolute encoder

2016-05-25 Thread Vignesh R
Hi Dmitry, On 05/23/2016 02:48 PM, R, Vignesh wrote: > > > On 5/20/2016 10:04 PM, Dmitry Torokhov wrote: >> On Thu, May 19, 2016 at 02:34:00PM +0530, Vignesh R wrote: >>> There are rotary-encoders where GPIO lines reflect the actual position >>> of the rotary encoder dial. For example, if dial p

Re: [RFC PATCH 1/2] Input: rotary-encoder- Add support for absolute encoder

2016-05-25 Thread Vignesh R
On 05/24/2016 01:50 PM, Uwe Kleine-König wrote: > Hello, > > On Tue, May 24, 2016 at 10:39:26AM +0530, Vignesh R wrote: >> On 05/23/2016 06:48 PM, Uwe Kleine-König wrote: >>> On Mon, May 23, 2016 at 04:48:40PM +0530, R, Vignesh wrote: On 5/22/2016 3:56 PM, Uwe Kleine-König wrote: > On T

RE: [PATCH RFC kernel] balloon: speed up inflating/deflating process

2016-05-25 Thread Li, Liang Z
> > > Suggestion to address all above comments: > > > 1. allocate a bunch of pages and link them up, > > > calculating the min and the max pfn. > > > if max-min exceeds the allocated bitmap size, > > > tell host. > > > > I am not sure if it works well in some cases, e.g. The alloca

Re: [PATCH 08v2/10] m68k: Add

2016-05-25 Thread Geert Uytterhoeven
On Wed, May 25, 2016 at 10:24 AM, George Spelvin wrote: > --- a/arch/m68k/Kconfig.cpu > +++ b/arch/m68k/Kconfig.cpu > @@ -40,6 +40,7 @@ config M68000 > select CPU_HAS_NO_MULDIV64 > select CPU_HAS_NO_UNALIGNED > select GENERIC_CSUM > + select HAVE_ARCH_HASH > h

Re: [PATCH v4] input: tablet: add Pegasus Notetaker tablet driver

2016-05-25 Thread Oliver Neukum
On Wed, 2016-05-25 at 09:44 +0200, Martin Kepplinger wrote: > This adds a driver for the Pegasus Notetaker Pen. When connected, > this uses the Pen as an input tablet. > > This device was sold in various different brandings, for example > "Pegasus Mobile Notetaker M210", > "Genie e-not

Re: [PATCH v6 1/2] soc: samsung: add exynos chipid driver support

2016-05-25 Thread Arnd Bergmann
On Wednesday, May 25, 2016 1:28:23 PM CEST Pankaj Dubey wrote: > Exynos SoCs have Chipid, for identification of product IDs > and SoC revisions. This patch intends to provide initialization > code for all these functionalities, at the same time it provides some > sysfs entries for accessing these i

Re: [PATCH 00/10] String hash improvements

2016-05-25 Thread Geert Uytterhoeven
On Wed, May 25, 2016 at 10:11 AM, George Spelvin wrote: > Geert Uytterhoeven wrote: >> Usually this is handled through include/asm-generic/. >> Put the generic default implementation in include/asm-generic/hash.h. >> >> Architectures that need to override provide their own version, e.g. >> arch/m6

Re: [RFC 1/3] block: Introduce blk_bio_map_sg() to map one bio

2016-05-25 Thread Ming Lei
On Wed, May 25, 2016 at 2:12 PM, Baolin Wang wrote: > In dm-crypt, it need to map one bio to scatterlist for improving the > hardware engine encryption efficiency. Thus this patch introduces the > blk_bio_map_sg() function to map one bio with scatterlists. > > Signed-off-by: Baolin Wang > --- >

[PATCH] clk: rockchip: add a dummy clock for the watchdog pclk on rk3399

2016-05-25 Thread Xing Zheng
Like rk3288, the pclk supplying the watchdog is controlled via the SGRF register area. Additionally the SGRF isn't even writable in every boot mode. But still the clock control is available and in the future someone might want to use it. Therefore define a simple clock for the time being so that t

Re: [PATCH v2 10/32] perf/x86/intel/cqm: introduce (I)state and limbo prmids

2016-05-25 Thread Thomas Gleixner
On Tue, 24 May 2016, David Carrillo-Cisneros wrote: > >> +static inline bool __pmonr__in_instate(struct pmonr *pmonr) > >> +{ > >> + lockdep_assert_held(&__pkg_data(pmonr, pkg_data_lock)); > >> + return __pmonr__in_istate(pmonr) && !__pmonr__in_ilstate(pmonr); > >> } > > > > This state tra

Re: [PATCH RFC kernel] balloon: speed up inflating/deflating process

2016-05-25 Thread Michael S. Tsirkin
On Wed, May 25, 2016 at 08:48:17AM +, Li, Liang Z wrote: > > > > Suggestion to address all above comments: > > > > 1. allocate a bunch of pages and link them up, > > > >calculating the min and the max pfn. > > > >if max-min exceeds the allocated bitmap size, > >

RE: fsl-dcu not works on latest "drm-next"

2016-05-25 Thread Meng Yi
Hi Alexander, > From: Alexander Stein [mailto:alexander.st...@systec-electronic.com] > Sent: Wednesday, May 25, 2016 4:32 PM > To: Stefan Agner > Cc: Meng Yi ; dri-de...@lists.freedesktop.org; David Airlie > ; airl...@redhat.com; linux-kernel@vger.kernel.org; Mark > Brown > Subject: Re: fsl-dcu

Re: livepatch: Avoid possible race when releasing the patch

2016-05-25 Thread Miroslav Benes
On Mon, 23 May 2016, Jessica Yu wrote: > +++ Petr Mladek [23/05/16 17:54 +0200]: > > There was a long discussion about a possible race with sysfs, kobjects > > when removing an unused livepatch, see > > https://lkml.kernel.org/g/%3c1462190242-24731-1-git-send-email-mbe...@suse.cz%3E > > > > This

Re: [PATCH v2 5/5] usb: dwc3: rockchip: add devicetree bindings documentation

2016-05-25 Thread William Wu
Hi Felipe & Rob, On 05/25/2016 04:04 PM, Felipe Balbi wrote: Hi, William Wu writes: Hi Felipe, On 05/24/2016 05:32 PM, Felipe Balbi wrote: Hi, William Wu writes: This patch documents the device tree documentation required for Rockchip USB3.0 core wrapper consist of USB3.0 IP from Synopsys

Re: [RFC 1/3] block: Introduce blk_bio_map_sg() to map one bio

2016-05-25 Thread Baolin Wang
On 25 May 2016 at 16:52, Ming Lei wrote: >> /* >> + * map a bio to scatterlist, return number of sg entries setup. >> + */ >> +int blk_bio_map_sg(struct request_queue *q, struct bio *bio, >> + struct scatterlist *sglist, >> + struct scatterlist **sg) >> +{ >> +

Re: [PATCH 08/10] m68k: Add

2016-05-25 Thread Philippe De Muyter
On Wed, May 25, 2016 at 03:34:55AM -0400, George Spelvin wrote: > +static inline u32 __attribute_const__ __hash_32(u32 x) > +{ > + u32 a, b; > + > + asm( "move.l %2,%0" /* 0x0001 */ > + "\n lsl.l #2,%0"/* 0x0004 */ > + "\n move.l %0,%1" > + "\n lsl.l #7,%0"

Your Good Letter Attached

2016-05-25 Thread HSBC Bank London
HSBC Bank London Transaction Report Open Attached File Approved Payment.pdf Description: Adobe PDF document

Re: [PATCH 00/10] String hash improvements

2016-05-25 Thread George Spelvin
>> +#if defined(CONFIG_M68000) || defined(CONFIG_M68010) > As I said before, I don't think you need this check, given HAVE_ARCH_HASH is > selected by M68000, and M68010 doesn't exist. I was going belt & suspenders on general principles, but yes, I'm happy to leave it out. I noticed that CONFIG_M

Re: [PATCH 06/16] sched: Disable WAKE_AFFINE for asymmetric configurations

2016-05-25 Thread Morten Rasmussen
On Tue, May 24, 2016 at 05:53:27PM +0200, Vincent Guittot wrote: > On 24 May 2016 at 17:02, Morten Rasmussen wrote: > > On Tue, May 24, 2016 at 03:52:00PM +0200, Vincent Guittot wrote: > >> On 24 May 2016 at 15:36, Morten Rasmussen wrote: > >> > On Tue, May 24, 2016 at 03:27:05PM +0200, Vincent G

Re: [PATCH 08/10] m68k: Add

2016-05-25 Thread George Spelvin
> On Wed, May 25, 2016 at 03:34:55AM -0400, George Spelvin wrote: >> +static inline u32 __attribute_const__ __hash_32(u32 x) >> +{ >> +u32 a, b; >> + >> +asm( "move.l %2,%0" /* 0x0001 */ >> +"\n lsl.l #2,%0"/* 0x0004 */ >> +"\n move.l %0,%1" >> +"\n lsl.l #7,

Re: fsl-dcu not works on latest "drm-next"

2016-05-25 Thread Mark Brown
On Wed, May 25, 2016 at 02:14:09AM +, Meng Yi wrote: Please don't top post, reply in line with needed context. This allows readers to readily follow the flow of conversation and understand what you are talking about and also helps ensure that everything in the discussion is being addressed.

[PATCH] Drivers: hv: avoid vfree() on crash

2016-05-25 Thread Vitaly Kuznetsov
When we crash from NMI context (e.g. after NMI injection from host when 'sysctl -w kernel.unknown_nmi_panic=1' is set) we hit kernel BUG at mm/vmalloc.c:1530! as vfree() is denied. While the issue could be solved with in_nmi() check instead I opted for skipping vfree on all sorts of crashes t

Re: [PATCH] devicetree - document using aliases to set spi bus number.

2016-05-25 Thread Mark Rutland
On Tue, May 24, 2016 at 01:41:26PM -0700, Frank Rowand wrote: > On 5/24/2016 10:41 AM, Mark Rutland wrote: > > On Tue, May 24, 2016 at 06:39:20PM +0200, Christer Weinigel wrote: > >> Document how to use devicetree aliases to assign a stable > >> bus number to a spi bus. > >> > >> Signed-off-by: Chr

Re: [PATCH 07/16] sched: Make SD_BALANCE_WAKE a topology flag

2016-05-25 Thread Morten Rasmussen
On Wed, May 25, 2016 at 07:52:49AM +0800, Yuyang Du wrote: > On Mon, May 23, 2016 at 11:58:49AM +0100, Morten Rasmussen wrote: > > For systems with the SD_ASYM_CPUCAPACITY flag set on higher level in the > > sched_domain hierarchy we need a way to enable wake-up balancing for the > > lower levels a

RE: [PATCH RFC kernel] balloon: speed up inflating/deflating process

2016-05-25 Thread Li, Liang Z
> On Wed, May 25, 2016 at 08:48:17AM +, Li, Liang Z wrote: > > > > > Suggestion to address all above comments: > > > > > 1. allocate a bunch of pages and link them up, > > > > > calculating the min and the max pfn. > > > > > if max-min exceeds the allocated bitmap size,

Re: Builtin microcode does nothing..

2016-05-25 Thread Borislav Petkov
On Sat, May 21, 2016 at 09:51:18AM +0200, Borislav Petkov wrote: > I'll ping you once I'm done testing here. Ok, I've just uploaded a branch, it passes testing here. http://git.kernel.org/cgit/linux/kernel/git/bp/bp.git, branch tip-microcode @Jim, I'd appreciate it if you ran it again, if you ge

Re: can't boot with reiserfs on linux-4.6.0+

2016-05-25 Thread Jeff Chua
On Wed, May 25, 2016 at 2:37 AM, Al Viro wrote: > On Tue, May 24, 2016 at 04:59:02PM +0100, Al Viro wrote: > >> Umm... Any chance of getting the function names to go with the addresses? >> I'll try to reproduce it here, but the things would be easier with that >> information... > > See if this fi

Re: [PATCH v3 2/2] i2c: qup: support SMBus block read

2016-05-25 Thread rajeev kumar
On Fri, May 20, 2016 at 3:14 AM, Austin Christ wrote: > From: Naveen Kaje > > I2C QUP driver relies on SMBus emulation support from the framework. > To handle SMBus block reads, the driver should check I2C_M_RECV_LEN > flag and should read the first byte received as the message length. > > The dr

Re: [PATCH 08/10] m68k: Add

2016-05-25 Thread Andreas Schwab
"George Spelvin" writes: > Can you recmmend a better way to comment this? My nose is so deep > in the code it's hard for me to judge. It's probably best to express the effect of the insns in plain C. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B

Re: [PATCH 3/3] clk: samsung: exynos5433: add CPU clocks configuration data and instantiate CPU clocks

2016-05-25 Thread Krzysztof Kozlowski
On 05/24/2016 03:19 PM, Bartlomiej Zolnierkiewicz wrote: > Add the CPU clocks configuration data and instantiate the CPU clocks > type for Exynos5433. > > Cc: Kukjin Kim > CC: Krzysztof Kozlowski > Signed-off-by: Bartlomiej Zolnierkiewicz > --- > drivers/clk/samsung/clk-exynos5433.c | 72 > ++

Re: [PATCH 1/7] x86/xen: Simplify set_aliased_prot

2016-05-25 Thread Andrew Cooper
On 24/05/16 23:48, Andy Lutomirski wrote: > In aa1acff356bb ("x86/xen: Probe target addresses in > set_aliased_prot() before the hypercall"), I added an explicit probe > to work around a hypercall issue. The code can be simplified by > using probe_kernel_read. > > Cc: Andrew Cooper > Cc: Boris Os

Re: [PATCH RFC kernel] balloon: speed up inflating/deflating process

2016-05-25 Thread Michael S. Tsirkin
On Wed, May 25, 2016 at 09:28:58AM +, Li, Liang Z wrote: > > On Wed, May 25, 2016 at 08:48:17AM +, Li, Liang Z wrote: > > > > > > Suggestion to address all above comments: > > > > > > 1. allocate a bunch of pages and link them up, > > > > > >calculating the min and the max pfn.

Darlehen

2016-05-25 Thread CITY FINANCE LIMITED®
Grüße Herr / Frau: Ich bin Justins Morgam, aus privaten Darlehen Unternehmen CITY FINANCE, mit Sitz in Großbritannien . Wir bieten alle Arten von Darlehen an Privatpersonen und Unternehmen, Machen Sie es sich finanziell stabil durch ein Darlehen von CITY FINANCE bei 3% Zinssatz wie kurz zu

Re: [Intel-gfx] [v4.6-10530-g28165ec7a99b] i915: *ERROR* "CPU pipe/PCH transcoder" A FIFO underrun

2016-05-25 Thread Jani Nikula
On Wed, 25 May 2016, Sedat Dilek wrote: > Hi Daniel, > > with latest Linus Git I see this with my Intel SandyBridge GPU... > > [ 17.629014] [drm:intel_cpu_fifo_underrun_irq_handler [i915]] > *ERROR* CPU pipe A FIFO underrun > [ 17.630652] [drm:intel_set_pch_fifo_underrun_reporting [i915]] > *E

[PATCH] posix-cpu-timers: Fix WARNINGs for 'sizeof(X)' instead of 'sizeof X' in posix-cpu-timers.c

2016-05-25 Thread Wei Tang
This patch fixes the checkpatch.pl WARNINGs to posix-cpu-timers.c like: WARNING: sizeof timer should be sizeof(timer) Signed-off-by: Wei Tang --- kernel/time/posix-cpu-timers.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/kernel/time/posix-cpu-timers.c b/kernel/ti

[PATCH] ARM: dts: keystone-k2*: Increase SPI Flash partition size for U-Boot

2016-05-25 Thread Vignesh R
U-Boot SPI Boot image is now more than 512KB for Keystone2 devices and cannot fit into existing partition. So, increase the SPI Flash partition for U-Boot to 1MB for all Keystone2 devices. Signed-off-by: Vignesh R --- arch/arm/boot/dts/keystone-k2e-evm.dts | 4 ++-- arch/arm/boot/dts/keystone-k

Re: v4.6 kernel BUG at mm/rmap.c:1101!

2016-05-25 Thread Mika Westerberg
On Mon, May 23, 2016 at 05:18:55PM +0200, Andrea Arcangeli wrote: > > diff --git a/mm/rmap.c b/mm/rmap.c > > index 8a839935b18c..0ea5d9071b32 100644 > > --- a/mm/rmap.c > > +++ b/mm/rmap.c > > @@ -1098,6 +1098,8 @@ void page_move_anon_rmap(struct page *page, > > > > VM_BUG_ON_PAGE(!PageLocked

Re: [PATCH 09/16] sched/fair: Let asymmetric cpu configurations balance at wake-up

2016-05-25 Thread Morten Rasmussen
On Wed, May 25, 2016 at 02:57:00PM +0800, Wanpeng Li wrote: > 2016-05-23 18:58 GMT+08:00 Morten Rasmussen : > > Currently, SD_WAKE_AFFINE always takes priority over wakeup balancing if > > SD_BALANCE_WAKE is set on the sched_domains. For asymmetric > > configurations SD_WAKE_AFFINE is only desirabl

Re: [PATCH 5/7] x86/uaccess: Warn on uaccess faults other than #PF

2016-05-25 Thread Borislav Petkov
On Tue, May 24, 2016 at 03:48:42PM -0700, Andy Lutomirski wrote: > If a uaccess instruction fails due to an8 error other than #PF, > warn. If the fault is #GP, it most likely indicates access to a > non-canonical address, which means that an access_ok check is > missing, and that's bad. If the fa

  1   2   3   4   5   6   7   8   >