Re: [PATCH] wireless: change cfg80211 regulatory domain info as debug messages

2015-12-16 Thread Johannes Berg
On Thu, 2015-12-17 at 11:19 +0800, Dave Young wrote: >  > Cool, has the fix been in mainline or somewhere else? > https://git.kernel.org/cgit/linux/kernel/git/davem/net.git/commit/?id=a87da0cbc42949cefc8282c39ab4cb8c460bd6ea johannes -- To unsubscribe from this list: send the line "unsubscribe

Re: [PATCH] PM / sleep: define inline functions

2015-12-16 Thread Sudip Mukherjee
ing 3D frames.") > > > Cc: Eric Anholt > > > Signed-off-by: Sudip Mukherjee > > > > I'm happy with this solution, and would also be willing to just depend > > on the config option as well. Whatever people prefer. > > These functions are inte

Re: [PATCHSET 00/10] perf tools: Support dynamic sort keys for tracepoints (v2)

2015-12-16 Thread Namhyung Kim
Hi Arnaldo, On Wed, Dec 16, 2015 at 09:17:59PM -0300, Arnaldo Carvalho de Melo wrote: > Em Wed, Dec 16, 2015 at 12:35:33AM +0900, Namhyung Kim escreveu: > > Hello, > > > > This is an attempt to improve perf to deal with tracepoint events > > better. The perf tools can handle tracepoint events

Re: [PATCH v2 0/2] Introduce the bulk IV mode for improving the crypto engine efficiency

2015-12-16 Thread Baolin Wang
Hi Milan, On 16 December 2015 at 16:08, Milan Broz wrote: > On 12/16/2015 04:18 AM, Baolin Wang wrote: >> From the dm-crypt performance report, we found it shows low efficiency >> with crypto engine for some mode (like ecb or xts mode). Because in dm >> crypt, it will map the IO data buffer with

[PATCH v3 1/2] block: Introduce blk_bio_map_sg() to map one bio

2015-12-16 Thread Baolin Wang
In dm-crypt, it need to map one bio to scatterlist for improving the encryption efficiency. Thus this patch introduces the blk_bio_map_sg() function to map one bio with scatterlists. Signed-off-by: Baolin Wang --- block/blk-merge.c | 45 +

[PATCH v3 0/2] Introduce the bulk IV mode for improving the crypto engine efficiency

2015-12-16 Thread Baolin Wang
>From the dm-crypt performance report, we found it shows low efficiency with crypto engine for some mode (like ecb or xts mode). Because in dm crypt, it will map the IO data buffer with scatterlist, and send the scatterlist of one bio to the encryption engine, if send more scatterlists with bigger

[PATCH v3 2/2] md: dm-crypt: Introduce the bulk IV mode for bulk crypto

2015-12-16 Thread Baolin Wang
In now dm-crypt code, it is ineffective to map one segment (always one sector) of one bio with just only one scatterlist at one time for hardware crypto engine. Especially for some encryption mode (like ecb or xts mode) cooperating with the crypto engine, they just need one initial IV or null IV

Re: 4.4-rc5 Setting trap flag inside nmi handler results in HARD LOCKUP

2015-12-16 Thread Jeff Merkey
On 12/16/15, Jeff Merkey wrote: > Setting the (trap flag | resume flag) inside of an nmi handler results > in a hard lockup while setting the resume flag works fine. > > The watchdog detector fails to detect the lockup. I am currently > examining the trap gate and interrupt gate setup on Linux

Re: PELT initial task load and wake_up_new_task()

2015-12-16 Thread Yuyang Du
Hi Steve, On Wed, Dec 16, 2015 at 06:50:43PM -0800, Steve Muckle wrote: > On 12/15/2015 03:55 PM, Yuyang Du wrote: > > Hope the following patch should work. > > Thanks Yuyang. AFAICS it should work, though I believe the test on > last_update_time could instead go at the top of

Re: [RFC PATCH] lpfc: Add lockdep assertions

2015-12-16 Thread Bart Van Assche
On 11/20/2015 01:37 PM, Johannes Thumshirn wrote: Several functions in lpfc have comments stating that the function must be called with the hbalock (or hostlock, or ringlock) held. Add lockdep_assert_held() annotations to these functions, so one can actually verify the locks are held. [ ... ]

Review & Reply

2015-12-16 Thread J.Tynan
Greetings, My name is Mr.Michael J. Tynan, I am a banker with Bank Of America. It is true that we have not meet each other in person, but I strongly believe in trust and friendship in every business. I have a Lebanese deceased customer's abandoned fund, which I am his personal financial adviser

Re: [RFCv6 PATCH 03/10] sched: scheduler-driven cpu frequency selection

2015-12-16 Thread Leo Yan
Hi Steve, On Wed, Dec 16, 2015 at 05:24:56PM -0800, Steve Muckle wrote: > Hi Leo, > > On 12/15/2015 07:48 PM, Leo Yan wrote: > > I also think "set_current_state(TASK_INTERRUPTIBLE)" will introduce > > logic error when software flow run into "else" block. The reason is > > after you set state

Re: [PATCH] Staging: Skein: Moved macros from skein_block.c to header file.

2015-12-16 Thread Sudip Mukherjee
On Mon, Dec 14, 2015 at 07:08:08PM -0500, Sanidhya Solanki wrote: > The original code defined macros in the source code, making it > harder to read. Moved them to the header file, as per the TODO file. > > Updated the TODO file. I think the TODO file should not be updated now. There are still

Re: [PATCH 00/12] Rework tty_reopen()

2015-12-16 Thread Greg Kroah-Hartman
On Wed, Dec 16, 2015 at 07:43:11AM -0800, Peter Hurley wrote: > Hi Greg, > > This series has been reported to fix a regression with Redhat's kdump > systemd service redirecting to /dev/console, when /dev/console is a > serial port. > > The redirection consistently fails with EIO since > "tty:

Re: [PATCH 00/10] bpf samples: Uses libbpf in tools/lib to do BPF operations

2015-12-16 Thread Daniel Wagner
On 12/17/2015 07:51 AM, Wangnan (F) wrote: > On 2015/12/17 14:38, Daniel Wagner wrote: >> On 12/17/2015 06:23 AM, Wang Nan wrote: >>> Since we already have libbpf in tools/lib, we don't need to maintain >>> another bpf loader and operations library in samples/bpf. >>> >>> In patchset: >>> >>>

linux-next: Tree for Dec 17

2015-12-16 Thread Stephen Rothwell
Hi all, Changes since 20151216: News: The arm defconfig build is broken during the configrations stage. The arm-soc tree gained a build failure for the arm defconfig build. I left it broken for today. The i2c tree still had its build failure for which I applied a patch. The regulator tree

Re: [PATCH 00/10] bpf samples: Uses libbpf in tools/lib to do BPF operations

2015-12-16 Thread Wangnan (F)
On 2015/12/17 14:38, Daniel Wagner wrote: Hi, On 12/17/2015 06:23 AM, Wang Nan wrote: Since we already have libbpf in tools/lib, we don't need to maintain another bpf loader and operations library in samples/bpf. In patchset: Patch 1/10 - 7/10 improves libbpf, add missing features to

Re: [PATCH] ftrace: fix race between ftrace and insmod

2015-12-16 Thread Zhang, Yanmin
On 2015/12/16 22:28, Steven Rostedt wrote: > On Wed, 16 Dec 2015 18:28:35 +0800 > "Zhang, Yanmin" wrote: > >>> + /* >>> +* If the tracing is enabled, go ahead and enable the record. >>> +* >>> +* The reason not to enable the record immediatelly is the >>> +* inherent check of

linux-next: build failure after merge of the arm-soc tree

2015-12-16 Thread Stephen Rothwell
Hi all, After merging the arm-soc tree, today's linux-next build (arm defconfig) failed like this: *** Default configuration is based on 'versatile_defconfig' # # configuration written to .config # make[1]: Leaving directory '/home/sfr/next/arm_defconfig' .config:2033:warning: symbol value ''

Re: [PATCH 00/10] bpf samples: Uses libbpf in tools/lib to do BPF operations

2015-12-16 Thread Daniel Wagner
Hi, On 12/17/2015 06:23 AM, Wang Nan wrote: > Since we already have libbpf in tools/lib, we don't need to maintain > another bpf loader and operations library in samples/bpf. > > In patchset: > > Patch 1/10 - 7/10 improves libbpf, add missing features to support > samples, > > Patch 8/10

[PATCH v2 06/10] bpf tools: Support new map operations

2015-12-16 Thread Wang Nan
Add bpf_map_lookup_elem(), bpf_map_delete_elem() and bpf_map_get_next_key() to libbpf so it can issue all BPF map operations. Signed-off-by: Wang Nan Cc: Arnaldo Carvalho de Melo --- v1 -> v2: Remove tailing whitespaces. --- tools/lib/bpf/bpf.c | 32

Re: [PATCH 06/10] bpf tools: Support new map operations

2015-12-16 Thread Wangnan (F)
[SNIP] +int bpf_map_lookup_elem(int fd, void *key, void *value) +{ + union bpf_attr attr = { + .map_fd = fd, + .key = ptr_to_u64(key), + .value = ptr_to_u64(value), + }; Tailing whitespace here. Sorry... -- To unsubscribe from this list:

Re: [RESEND PATCH v4 2/3] tools: Move Makefile.arch from perf/config to tools/scripts

2015-12-16 Thread Wangnan (F)
On 2015/12/17 13:10, Naveen N. Rao wrote: On 2015/12/17 01:43AM, Wang Nan wrote: After this patch other directories can use this architecture detector without directly including it from perf's directory. Libbpf would utilize it to get proper $(ARCH) so it can receive correct uapi include

Re: [PATCH 00/12] Rework tty_reopen()

2015-12-16 Thread Pratyush Anand
On 16/12/2015:07:43:11 AM, Peter Hurley wrote: > #1. Respin this series w/o the tty-next dependencies > #2. Split this series into the minimum necessary to fix the regression As far as kdump issue is concerned, backporting only 12/12 to 4.4-RC is able to resolve it. ~Pratyush -- To unsubscribe

Re: [PATCH v2 6/8] [Media] vcodec: mediatek: Add Mediatek V4L2 Video Encoder Driver

2015-12-16 Thread tiffany lin
On Wed, 2015-12-16 at 14:47 +0100, Hans Verkuil wrote: > On 12/16/15 14:17, tiffany lin wrote: > > Hi Hans, > > > > > > On Tue, 2015-12-15 at 15:17 +0100, Hans Verkuil wrote: > >> > >> On 12/15/15 14:51, tiffany lin wrote: > >>> We are not familiar with v4l2-compliance utility, we will check how

Re: [PATCH 1/3] powercap, intel_rapl, implement get_max_time_window

2015-12-16 Thread Seiichi Ikarashi
On 2015-12-15 22:02, Prarit Bhargava wrote: > The MSR_PKG_POWER_INFO register (Intel ASDM, section 14.9.3 > "Package RAPL Domain") provides a maximum time window which the > system can support. This window is read-only and is currently > not examined when setting the time windows for the package.

4.4-rc4 crash net/80211 related

2015-12-16 Thread Mika Penttilä
Hi, Triggered this with rc4, but the relevant parts are same in rc5: offending line is : (gdb) list *(ieee80211_scan_rx+0x158) 0xf68 is in ieee80211_scan_rx (net/mac80211/scan.c:205). 200 if (!(sdata1 && 201 (ether_addr_equal(mgmt->da,

Re: + arc-convert-to-dma_map_ops.patch added to -mm tree

2015-12-16 Thread Andrew Morton
On Thu, 17 Dec 2015 10:58:55 +0530 Vineet Gupta wrote: > On Tuesday 24 November 2015 01:20 PM, h...@lst.de wrote: > > Hi Vineet, > > > > the original version went through the buildbot, which succeeded. It seems > > like the official buildbot does not support arc, and might benefit from > >

linux-next: manual merge of the akpm-current tree with the net-next tree

2015-12-16 Thread Stephen Rothwell
Hi Andrew, Today's linux-next merge of the akpm-current tree got a conflict in: include/net/sock.h net/ipv4/tcp_ipv4.c between commit: 64be0aed59ad ("net: diag: Add the ability to destroy a socket.") from the net-next tree and commit: 0e2cde9cf7b6 ("net: tcp_memcontrol: simplify

Re: [PATCH v6 0/9] samsung: pmu: split up SoC specific PMU data

2015-12-16 Thread Krzysztof Kozlowski
On 17.11.2015 15:05, Pankaj Dubey wrote: > In this series I am splitting up SoC specific PMU configuration data into > mach-exynos folder itself, before moving all of them under > drivers/soc/samsung/. Also instead of making all changes in single patch it > has been broken into SoC specific

[PATCH 09/10] bpf samples: Uses libbpf in tools/lib to deal with BPF operations

2015-12-16 Thread Wang Nan
Since we already have libbpf in tools/lib, there's no need to maintain a duplicate BPF loading and operations library in samples. This patch utilises previous introduced utils.[ch], which calls libbpf to do these work. The main changing in this relative large patch is very simple: 1. Makefile

Re: + arc-convert-to-dma_map_ops.patch added to -mm tree

2015-12-16 Thread Vineet Gupta
On Tuesday 24 November 2015 01:20 PM, h...@lst.de wrote: > Hi Vineet, > > the original version went through the buildbot, which succeeded. It seems > like the official buildbot does not support arc, and might benefit from > helping to set up an arc environment. However in the meantime Guenther

[PATCH 10/10] bpf samples: Remove old BPF helpers

2015-12-16 Thread Wang Nan
Since we have switched to libbpf in tools/lib, old bpf_load.c and libbpf.c can be removed safely. Signed-off-by: Wang Nan Cc: Alexei Starovoitov Cc: Alex Gartrell Cc: Arnaldo Carvalho de Melo Cc: Brenden Blanco Cc: Daniel Borkmann Cc: Daniel Wagner Cc: David S. Miller Cc: Ingo Molnar Cc:

Re: Issues with Lenovo Yoga 900 IIO devices (accelerometer, etc.)

2015-12-16 Thread Nish Aravamudan
On Wed, Dec 16, 2015 at 3:05 PM, Nish Aravamudan wrote: > On Wed, Dec 16, 2015 at 2:55 PM, Crt Mori wrote: >> >> On Dec 16, 2015 11:37 PM, "Nish Aravamudan" >> wrote: >>> >>> Hi, >>> >>> On Wed, Dec 16, 2015 at 2:22 PM, Crt Mori wrote: >>> > On 16 December 2015 at 22:41, Nish Aravamudan >>> >

[PATCH 08/10] bpf samples: Add utils.[ch] for using BPF

2015-12-16 Thread Wang Nan
We are going to uses libbpf to replace old libbpf.[ch] and bpf_load.[ch]. This is the first patch of this work. In this patch, several macros and helpers in libbpf.[ch] and bpf_load.[ch] are merged into utils.[ch]. utils.[ch] utilizes libbpf in tools/lib to deal with BPF related things. They would

RE: [PATCHv2] pci: Update VPD size with correct length

2015-12-16 Thread Seymour, Shane M
> The only 'error' cases I've encountered so far is a read of all zeroes (and a > halting the machine once you've read beyond a certain point) or a read of > 0xff throughout the entire area. So that approach would work for both of them. I should add that I'd tested the previous patch and this

Re: [PATCH v2 2/8] irq: bcm2836: Add SMP support for the 2836

2015-12-16 Thread Baruch Siach
Hi Eric, On Wed, Dec 16, 2015 at 03:55:09PM -0800, Eric Anholt wrote: > @@ -226,6 +228,26 @@ static const struct irq_domain_ops > bcm2836_arm_irqchip_intc_ops = { > .xlate = irq_domain_xlate_onecell > }; > > +#ifdef CONFIG_SMP Why not put this section under the existing '#ifdef

[PATCH 00/10] bpf samples: Uses libbpf in tools/lib to do BPF operations

2015-12-16 Thread Wang Nan
Since we already have libbpf in tools/lib, we don't need to maintain another bpf loader and operations library in samples/bpf. In patchset: Patch 1/10 - 7/10 improves libbpf, add missing features to support samples, Patch 8/10 adds utils.[ch], which creates similar API like old bpf_load.c

[PATCH 03/10] bpf tools: Add const decoretor to 'license' and 'insns' for bpf_load_program()

2015-12-16 Thread Wang Nan
Actually 'license' and 'insns' are const pointer. Before this patch using 'bpf_load_program(... "GPL", ...)' triggers a warning, which is unnecessary. This patch makes these two arguments const pointers. Signed-off-by: Wang Nan Cc: Arnaldo Carvalho de Melo --- tools/lib/bpf/bpf.c | 8

[PATCH 04/10] bpf tools: Switch to uapi style type names

2015-12-16 Thread Wang Nan
Types "u64, u32" don't exist in uapi header (linux/types.h). Because of that directly include bpf.h causes error. This patch fixes this by replacing all occurrences of "u32, u64" in API to "__u32, __u64". The later can be found in 'uapi/linux/types.h' so it would be safe for normal program (other

[PATCH 02/10] bpf tools: Define LD and RM in Makefile for 'make -R'

2015-12-16 Thread Wang Nan
Building libbpf with 'make -R' causes error: $ make -R Auto-detecting system features: ...libelf: [ on ] ... bpf: [ on ] CC fixdep.o LD fixdep-in.o /bin/sh: -r: command not found make[2]: *** [fixdep-in.o] Error 127

[PATCH 05/10] bpf tools: Support load different type of programs

2015-12-16 Thread Wang Nan
Before this patch libbpf can only load program with type BPF_PROG_TYPE_KPROBE program. To make libbpf useful in other scenarios, this patch introduced bpf_program__set_type() and bpf_object__set_type() which allows setting program type. This changes doesn't break old API. The default program type

[PATCH 06/10] bpf tools: Support new map operations

2015-12-16 Thread Wang Nan
Add bpf_map_lookup_elem(), bpf_map_delete_elem() and bpf_map_get_next_key() to libbpf so it can issue all BPF map operations. Signed-off-by: Wang Nan Cc: Arnaldo Carvalho de Melo --- tools/lib/bpf/bpf.c | 32 tools/lib/bpf/bpf.h | 4 2 files changed, 36

[PATCH 01/10] bpf samples: bpf: Fix tracex5_kern.c compiling error

2015-12-16 Thread Wang Nan
LLVM report compiling error: /kpathsamples/bpf/tracex5_kern.c:33:15: error: use of undeclared identifier '__NR_getuid'; did you mean '__NR_vgetcpu'? if (sd.nr >= __NR_getuid && sd.nr <= __NR_getsid) { ^~~ __NR_vgetcpu

[PATCH 07/10] bpf tools: Support BPF_OBJ_PIN and BPF_OBJ_GET

2015-12-16 Thread Wang Nan
Commit b2197755b2633e164a439682fb05a9b5ea48f706 ("bpf: add support for persistent maps/progs") introduces two new operations to both map and program. This patch makes libbpf support it. Signed-off-by: Wang Nan Cc: Alexei Starovoitov Cc: Arnaldo Carvalho de Melo Cc: Daniel Borkmann ---

[f2fs-dev] [PATCH] f2fs: optimize the flow of f2fs_map_blocks

2015-12-16 Thread Fan Li
check map->m_len right after it changes to avoid excess call to update dnode_of_data. Signed-off-by: Fan li --- fs/f2fs/data.c | 69 +--- 1 file changed, 36 insertions(+), 33 deletions(-) diff --git a/fs/f2fs/data.c b/fs/f2fs/data.c index

[PATCH] drivers: thunderbold: Fixed Coding Style - Missing a blank line after declarations

2015-12-16 Thread Benjamin Young
Fixed coding style issue for missing blank lines after variable declarations. Signed-off-by: Benjamin Young --- drivers/thunderbolt/cap.c| 2 ++ drivers/thunderbolt/ctl.c| 10 ++ drivers/thunderbolt/eeprom.c | 11 +++ drivers/thunderbolt/nhi.c| 13

Re: [PATCH v9 0/4] Exynos SROMc configuration and Ethernet support for SMDK5410

2015-12-16 Thread Krzysztof Kozlowski
On 16.11.2015 16:43, Pavel Fedin wrote: > This patch extends Exynos SROM controller driver with ability to configure > controller outputs and enables SMSC9115 Ethernet chip on SMDK5410 board, > which is connected via SROMc bank #3. > > With this patchset, support for the whole existing SMDK range

Re: [RESEND PATCH v5 0/8] Add support for Exynos SROM Controller driver

2015-12-16 Thread Krzysztof Kozlowski
On 12.12.2015 16:43, Pankaj Dubey wrote: > THIS IS A RESEND OF ONCE MERGED INTO kgene/for-next AND LOST PATCHES > > Series v5 got merged in kgene/for-next but due to last moment change before > pull > these patches were not accepted during 4.3 merge window.After that > kgene/for-next > got

Re: [RESEND PATCH v4 2/3] tools: Move Makefile.arch from perf/config to tools/scripts

2015-12-16 Thread Naveen N. Rao
On 2015/12/17 01:43AM, Wang Nan wrote: > After this patch other directories can use this architecture detector > without directly including it from perf's directory. Libbpf would > utilize it to get proper $(ARCH) so it can receive correct uapi include > directory. > > Signed-off-by: Wang Nan >

Re: [PATCH] backlight: gpio-backlight: use default-on on GPIO request

2015-12-16 Thread Stefan Agner
Hi, Any comment on this? I still think it is a valuable change... -- Stefan On 2015-10-23 16:44, Stefan Agner wrote: > There are situations where the backlight should be on at boot time > (e.g. if the boot loader already turned the display on). The DT > bindings specify the "default-on"

Re: [PATCH v4] perf: bpf: Fix build breakage due to libbpf

2015-12-16 Thread Naveen N. Rao
On 2015/12/17 09:29AM, Wang Nan wrote: > > > On 2015/12/17 3:42, Arnaldo Carvalho de Melo wrote: > >Em Tue, Dec 15, 2015 at 05:10:46PM +0530, Naveen N. Rao escreveu: > >>On 2015/12/15 08:51AM, Wang Nan wrote: > >>>From: "Naveen N. Rao" > >>> > >>>perf build is currently (v4.4-rc5) broken on

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

2015-12-16 Thread Stephen Rothwell
to `__aeabi_ldivmod' Caused by commit bfad4c280be0 ("rtc: fix overflow and incorrect calculation in rtc_time64_to_tm") I have used the rtc tree from next-20151216 for today. -- Cheers, Stephen Rothwells...@canb.auug.org.au -- To unsubscribe from this list: send the line &q

Re: [PATCH v3 2/2] mm: Introduce kernelcore=mirror option

2015-12-16 Thread Kamezawa Hiroyuki
On 2015/12/17 13:48, Xishi Qiu wrote: > On 2015/12/17 10:53, Kamezawa Hiroyuki wrote: > >> On 2015/12/17 11:47, Xishi Qiu wrote: >>> On 2015/12/17 9:38, Izumi, Taku wrote: >>> Dear Xishi, Sorry for late. > -Original Message- > From: Xishi Qiu

Re: [PATCH v3 2/2] mm: Introduce kernelcore=mirror option

2015-12-16 Thread Xishi Qiu
On 2015/12/17 10:53, Kamezawa Hiroyuki wrote: > On 2015/12/17 11:47, Xishi Qiu wrote: >> On 2015/12/17 9:38, Izumi, Taku wrote: >> >>> Dear Xishi, >>> >>> Sorry for late. >>> -Original Message- From: Xishi Qiu [mailto:qiuxi...@huawei.com] Sent: Friday, December 11, 2015

Re: [PATCH] MAINTAINERS: Update for dcdbas driver

2015-12-16 Thread Srinivas_G_Gowda
I guess it makes sense to add it. Thanks. Regards, G On Wednesday 16 December 2015 07:15 PM, Pali Rohár wrote: > On Wednesday 16 December 2015 14:53:04 srinivas_g_go...@dell.com wrote: >> >> Update Srinivas Gowda as dcdbas driver Maintainer >> >> Signed-off-by: Srinivas Gowda >> Acked-by: Doug

[PATCH v2] MAINTAINERS: Update for dcdbas driver

2015-12-16 Thread Srinivas_G_Gowda
Update Srinivas Gowda as dcdbas driver Maintainer. Also adding relevant mailing list to this version of the patch Signed-off-by: Srinivas Gowda Acked-by: Doug Warzecha --- MAINTAINERS | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index

Re: [PATCH 1/7] mm: memcontrol: charge swap to cgroup2

2015-12-16 Thread Kamezawa Hiroyuki
On 2015/12/17 12:32, Johannes Weiner wrote: On Thu, Dec 17, 2015 at 11:46:27AM +0900, Kamezawa Hiroyuki wrote: On 2015/12/16 20:09, Johannes Weiner wrote: On Wed, Dec 16, 2015 at 12:18:30PM +0900, Kamezawa Hiroyuki wrote: - swap-full notification via vmpressure or something mechanism.

Re: [PATCH] perf kvm record/report: 'unprocessable sample' error while recording/reporting guest data

2015-12-16 Thread Ravi Bangoria
Hi acme, I sent this patch few days ago. Unfortunately nobody has payed attention. Can you please pick this up. Regards, Ravi On Monday 07 December 2015 12:25 PM, Ravi Bangoria wrote: While recording guest samples in host using perf kvm record, it will populate unprocessable sample error,

Re: [PATCH 08/11] KVM: MMU: use page track for non-leaf shadow pages

2015-12-16 Thread Xiao Guangrong
On 12/17/2015 10:44 AM, Kai Huang wrote: On 12/16/2015 04:39 PM, Xiao Guangrong wrote: On 12/16/2015 03:51 PM, Kai Huang wrote: On 12/15/2015 05:10 PM, Xiao Guangrong wrote: On 12/15/2015 03:52 PM, Kai Huang wrote: static bool __mmu_gfn_lpage_is_disallowed(gfn_t gfn, int level,

Re: [PATCH v4 7/9] perf: Finalize subcmd independence

2015-12-16 Thread Josh Poimboeuf
On Wed, Dec 16, 2015 at 10:27:11PM -0300, Arnaldo Carvalho de Melo wrote: > Em Wed, Dec 16, 2015 at 07:09:53PM -0600, Josh Poimboeuf escreveu: > > On Wed, Dec 16, 2015 at 09:57:41PM -0300, Arnaldo Carvalho de Melo wrote: > > > Em Tue, Dec 15, 2015 at 09:39:38AM -0600, Josh Poimboeuf escreveu: > >

Re: [PATCH 2/2] Input: add touchscreen support for TS-4800

2015-12-16 Thread Dmitry Torokhov
Hi Damien, On Thu, Dec 10, 2015 at 11:11:12AM -0500, Damien Riegel wrote: > On this board, the touchscreen, an ads7843, is not handled directly by > Linux but by a companion FPGA. This FPGA is memory-mapped and the IP > design is very similar to the mk712. > > This commit adds the support for

Re: block layer bug with 4.4-rc3+

2015-12-16 Thread Ming Lei
On Wed, Dec 16, 2015 at 11:43 PM, Arnd Bergmann wrote: > On Wednesday 16 December 2015 14:55:43 Andre Przywara wrote: >> Using the plain multi_v7_defconfig (which doesn't have LPAE and makes me >> loose half of the RAM on that box) didn't show the bug so far. >> One of the effects of turning on

Re: block layer bug with 4.4-rc3+

2015-12-16 Thread Ming Lei
On Wed, Dec 16, 2015 at 10:55 PM, Andre Przywara wrote: > Hi, > > On 15/12/15 13:39, Ming Lei wrote: >> On Tue, Dec 15, 2015 at 8:23 PM, Andre Przywara >> wrote: >>> Hi Ming, >>> >>> thanks for the answer! >>> >>> On 15/12/15 11:54, Ming Lei wrote: On Tue, Dec 15, 2015 at 7:05 PM, Andre

[PATCH 6/6] dt-bindings: add document for rk3036-vop

2015-12-16 Thread Mark Yao
Cc: Rob Herring Cc: Pawel Moll Cc: Mark Rutland Cc: Ian Campbell Cc: Kumar Gala Cc: devicet...@vger.kernel.org Signed-off-by: Mark Yao --- .../bindings/display/rockchip/rockchip-vop.txt |1 + 1 file changed, 1 insertion(+) diff --git

[PATCH 5/6] drm/rockchip: vop: add rk3036 vop support

2015-12-16 Thread Mark Yao
RK3036 registers layout is quite difference with rk3288 layout, The IC design with different framework, rk3036 vop is VOP LITE, and rk3288 is VOP FULL. RK3036 support two overlay plane and one hwc plane, max output resolution is 1080p. it support IOMMU, and its IOMMU same as rk3288's.

[PATCH 0/6] add rk3036 vop support

2015-12-16 Thread Mark Yao
This series of patches add rk3036 vop support. RK3036 registers layout is quite difference with rk3288 layout, The IC design with different framework, rk3036 vop is VOP LITE, and rk3288 is VOP FULL. RK3036 support two overlay plane and one hwc plane, max output resolution is 1080p. it support

[PATCH 3/6] drm/rockchip: vop: spilt register related into rockchip_reg_vop.c

2015-12-16 Thread Mark Yao
No functional updates. Spilt register related into another file would be nice to multi vop driver, Signed-off-by: Mark Yao --- drivers/gpu/drm/rockchip/Makefile |3 +- drivers/gpu/drm/rockchip/rockchip_drm_vop.c | 325 +--

[PATCH 4/6] drm/rockchip: vop: spilt scale regsters

2015-12-16 Thread Mark Yao
There are two version scale control register found on vop, scale full version found on rk3288, support extension registers. and scale little version found on rk3036, only support common scale. Signed-off-by: Mark Yao --- drivers/gpu/drm/rockchip/rockchip_drm_vop.c | 46

[PATCH 2/6] drm/rockchip: vop: move interrupt registers into vop_data

2015-12-16 Thread Mark Yao
Move interrupt registers into vop_data, so it can use at multi-vop driver Signed-off-by: Mark Yao --- drivers/gpu/drm/rockchip/rockchip_drm_vop.c | 81 +++ 1 file changed, 69 insertions(+), 12 deletions(-) diff --git a/drivers/gpu/drm/rockchip/rockchip_drm_vop.c

[PATCH 1/6] drm/rockchip: vop: merge vop cfg_done into vop_data

2015-12-16 Thread Mark Yao
Move cfg_done register into vop_data, so it can use at multi-vop driver Signed-off-by: Mark Yao --- drivers/gpu/drm/rockchip/rockchip_drm_vop.c | 13 - 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/drm/rockchip/rockchip_drm_vop.c

Re: [PATCH v3 5/5] hisilicon/dts: Add hi655x pmic dts node

2015-12-16 Thread chenfeng
Mark, +- regulator-vset-regs: Voltage set register offset. +- regulator-vset-mask: voltage set control mask. +- regulator-n-vol: The num of support voltages. +- regulator-vset-table: The table of support voltages. > Why is this in the binding? This is a binding for a specific device, > there

[PATCH 2/3] NTB: Add AMD NTB support in Kconfig and Makefile

2015-12-16 Thread Xiangliang Yu
This patch is to enable AMD NTB support in Kconfig and Makefile. Signed-off-by: Xiangliang Yu --- drivers/ntb/hw/Kconfig | 1 + drivers/ntb/hw/Makefile | 1 + 2 files changed, 2 insertions(+) diff --git a/drivers/ntb/hw/Kconfig b/drivers/ntb/hw/Kconfig index 4d5535c..0c5c2a6 100644 ---

Re: [PATCH v2] hisi_sas: use platform_get_irq()

2015-12-16 Thread Martin K. Petersen
> "John" == John Garry writes: John> It is preferred that drivers use platform_get_irq() instead of John> irq_of_parse_and_map(), so replace. Applied to 4.5/scsi-queue. -- Martin K. Petersen Oracle Linux Engineering -- To unsubscribe from this list: send the line "unsubscribe

Re: [PATCH 1/7] mm: memcontrol: charge swap to cgroup2

2015-12-16 Thread Johannes Weiner
On Thu, Dec 17, 2015 at 11:46:27AM +0900, Kamezawa Hiroyuki wrote: > On 2015/12/16 20:09, Johannes Weiner wrote: > >On Wed, Dec 16, 2015 at 12:18:30PM +0900, Kamezawa Hiroyuki wrote: > >> - swap-full notification via vmpressure or something mechanism. > > > >Why? > > > > I think it's a sign of

[PATCH 3/3] NTB: Add flush_req and wakeup interface

2015-12-16 Thread Xiangliang Yu
AMD NTB support two features: flush pending requests and wakeup opposite side from low power state. This patch add two interface to support these features. Signed-off-by: Xiangliang Yu --- drivers/ntb/hw/amd/ntb_hw_amd.c | 16 drivers/ntb/hw/amd/ntb_hw_amd.h | 2 ++

Re: [PATCH v3 4/5] regulator: add regulator driver of hi655x PMIC

2015-12-16 Thread chenfeng
Mark, Thanks very much for your review. On 2015/12/17 3:16, Mark Brown wrote: > On Tue, Dec 15, 2015 at 08:54:15PM +0800, Chen Feng wrote: > >> +config REGULATOR_HI655X >> +tristate "Hisilicon HI655X PMIC regulators support" >> +depends on ARCH_HISI >> +depends on MFD_HI655X_PMIC &&

[PATCH 1/3] NTB: Add AMD PCI-Express NTB driver

2015-12-16 Thread Xiangliang Yu
AMD NTB support following main features: (1) Three memory windows; (2) Sixteen 32-bit scratch pad; (3) Two 16-bit doorbell interrupt; (4) Five event interrupts; (5) One system can wake up opposite system of NTB; (6) Flush previous request to the opposite system; (7) There are reset and PME_TO

Re: [PATCH] wireless: change cfg80211 regulatory domain info as debug messages

2015-12-16 Thread Dave Young
Hi, On 12/11/15 at 03:26pm, Johannes Berg wrote: > On Mon, 2015-11-23 at 09:37 +0800, Dave Young wrote: > > > Seems there're a lot of other wireless messages. Should we refactor > > them as well? I still did not get chance to see where is the code. > > (My wireless driver being used is iwlwifi)

Re: [PATCH] iommu/amd: Assign default IOMMU when there is only one IOMMU

2015-12-16 Thread Suravee Suthikulanit
On 12/14/2015 9:08 AM, Joerg Roedel wrote: On Fri, Dec 11, 2015 at 04:54:38PM -0600, Suravee Suthikulpanit wrote: Current driver makes assumption that device with devid zero is always included in the range of devices to be managed by IOMMU. However, certain FW does not include devid zero in

Re: [PATCH 8/8] drm/rockchip: dw_hdmi: use encoder enable function

2015-12-16 Thread Mark yao
Sorry, Ops, fat finger, discard this lost thread mail. On 2015年12月17日 11:08, Mark Yao wrote: encoder.enable is more compatible to atomic api than encoder.prepare/commit Signed-off-by: Mark Yao --- Changes in v3: None Changes in v2: None drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c | 14

Re: [PATCH] wireless: change cfg80211 regulatory domain info as debug messages

2015-12-16 Thread Dave Young
Hi, Johannes Sorry for late feedback, I was busying on other things. On 12/11/15 at 03:38pm, Johannes Berg wrote: > On Sun, 2015-11-15 at 15:31 +0800, Dave Young wrote: > > cfg80211 module prints a lot of messages like below. Actually > > printing once is acceptable but sometimes it will print

Re: [PATCH v3 7/8] drm: bridge/dw_hdmi: add atomic API support

2015-12-16 Thread Mark yao
Sorry, Ops, fat finger, discard this lost thread mail. On 2015年12月17日 11:08, Mark Yao wrote: Fill atomic needed funcs with default atomic helper library. Rockchip use dw_hdmi, and drm/rockchip will covert to atomic api, we need dw_hdmi support atomic funcs. Now another drm driver use dw_hdmi

[PATCH v3 8/8] drm/rockchip: dw_hdmi: use encoder enable function

2015-12-16 Thread Mark Yao
encoder.enable is more compatible to atomic api than encoder.prepare/commit Signed-off-by: Mark Yao --- Changes in v3: None Changes in v2: None drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c | 14 +- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git

Re: [PATCH v6 4/5] iommu/mediatek: Add mt8173 IOMMU driver

2015-12-16 Thread Yong Wu
On Wed, 2015-12-16 at 12:48 +, Robin Murphy wrote: > On 16/12/15 05:59, Yong Wu wrote: > > On Tue, 2015-12-15 at 12:37 +, Robin Murphy wrote: > >> On 15/12/15 03:28, Yong Wu wrote: > >>> On Mon, 2015-12-14 at 15:16 +0100, Joerg Roedel wrote: > On Tue, Dec 08, 2015 at 05:49:12PM +0800,

[PATCH v3 7/8] drm: bridge/dw_hdmi: add atomic API support

2015-12-16 Thread Mark Yao
Fill atomic needed funcs with default atomic helper library. Rockchip use dw_hdmi, and drm/rockchip will covert to atomic api, we need dw_hdmi support atomic funcs. Now another drm driver use dw_hdmi is imx, not yet atomic, so check DRIVER_ATOMIC at runtime to spilt atomic and not atomic. Cc:

[PATCH v3 7/8] drm: bridge/dw_hdmi: add atomic API support

2015-12-16 Thread Mark Yao
Fill atomic needed funcs with default atomic helper library. Rockchip use dw_hdmi, and drm/rockchip will covert to atomic api, we need dw_hdmi support atomic funcs. Now another drm driver use dw_hdmi is imx, not yet atomic, so check DRIVER_ATOMIC at runtime to spilt atomic and not atomic. Cc:

[PATCH 8/8] drm/rockchip: dw_hdmi: use encoder enable function

2015-12-16 Thread Mark Yao
encoder.enable is more compatible to atomic api than encoder.prepare/commit Signed-off-by: Mark Yao --- Changes in v3: None Changes in v2: None drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c | 14 +- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git

[PATCH v3 6/8] drm/rockchip: direct config connecter gate and out_mode

2015-12-16 Thread Mark Yao
Both connecter gate and out_mode are not conflict with mode set configure. Direct setting connecter gate and out_mode, that allow connector do rockchip_drm_crtc_mode_config after mode set. Signed-off-by: Mark Yao --- Changes in v3: None Changes in v2: None

[PATCH v3 5/8] drm/rockchip: support atomic asynchronous commit

2015-12-16 Thread Mark Yao
If drm core requests a async commit, rockchip_drm_atomic_commit will schedule a work task to update later. Signed-off-by: Mark Yao --- Changes in v3: None Changes in v2: - serialize outstanding asynchronous commits drivers/gpu/drm/rockchip/rockchip_drm_drv.c |3 ++

[PATCH v3 1/8] drm/rockchip: Use new vblank api drm_crtc_vblank_*

2015-12-16 Thread Mark Yao
No functional update, drm_vblank_* is the legacy version of drm_crtc_vblank_*. and use new api make driver more clean. Signed-off-by: Mark Yao --- Changes in v3: None Changes in v2: None drivers/gpu/drm/rockchip/rockchip_drm_drv.c | 13 +++--

[PATCH v3 0/8] drm/rockchip: covert to support atomic API

2015-12-16 Thread Mark Yao
The series of patches coverting drm rockchip to atomic API, do some cleanup and some fixes on atomic side. TODO: fence is not support on current version. Tested on rk3288 popmetal board. All guys can test it with following url: test case: https://github.com/markyzq/libdrm.git atomictest

[PATCH v3 4/8] drm/rockchip: Optimization vop mode set

2015-12-16 Thread Mark Yao
Rk3288 vop timing registers is immediately register, when configure timing on display active time, will cause tearing. use dclk reset is not a good idea to avoid this tearing. we can avoid tearing by using standby register. Vop standby register will take effect at end of current frame, and go

[PATCH v3 3/8] drm/rockchip: Convert to support atomic API

2015-12-16 Thread Mark Yao
Rockchip vop not support hw vblank counter, needed check the committed register if it's really take effect. Signed-off-by: Mark Yao Signed-off-by: Tomasz Figa --- Changes in v3: Reported by kbuild test robot - fix rockchip_crtc_wait_for_update undefined when build drm rockchip as modules.

[PATCH v3 2/8] drm/rockchip: vop: replace dpms with enable/disable

2015-12-16 Thread Mark Yao
For vop, power by enable/disable is more suitable then legacy dpms function, and enable/disable more closely to the new atomic API. Signed-off-by: Mark Yao --- Changes in v3: None Changes in v2: None drivers/gpu/drm/rockchip/rockchip_drm_vop.c | 37 +++ 1 file

Re: [PATCH v2] i2c: designware: Do not require clock when SSCN and FFCN are provided

2015-12-16 Thread Suravee Suthikulanit
On 12/16/2015 8:56 PM, Loc Ho wrote: Hi, The current driver uses input clock source frequency to calculate values for [SS|FS]_[HC|LC] registers. However, when booting ACPI, we do not currently have a good way to provide the frequency information. Instead, we can leverage the SSCN and FFCN ACPI

Re: [PATCH v3 2/2] mm: Introduce kernelcore=mirror option

2015-12-16 Thread Xishi Qiu
On 2015/12/17 9:38, Izumi, Taku wrote: > Dear Xishi, > > Sorry for late. > >> -Original Message- >> From: Xishi Qiu [mailto:qiuxi...@huawei.com] >> Sent: Friday, December 11, 2015 6:44 PM >> To: Izumi, Taku/泉 拓 >> Cc: Luck, Tony; linux-kernel@vger.kernel.org; linux...@kvack.org; >>

Re: [PATCH v2] i2c: designware: Do not require clock when SSCN and FFCN are provided

2015-12-16 Thread Loc Ho
Hi, > The current driver uses input clock source frequency to calculate > values for [SS|FS]_[HC|LC] registers. However, when booting ACPI, we do not > currently have a good way to provide the frequency information. > Instead, we can leverage the SSCN and FFCN ACPI methods, which can be used > to

Re: [PATCH 09/11] KVM: MMU: simplify mmu_need_write_protect

2015-12-16 Thread Kai Huang
On 12/16/2015 04:48 PM, Xiao Guangrong wrote: On 12/16/2015 04:05 PM, Kai Huang wrote: On 12/15/2015 05:25 PM, Xiao Guangrong wrote: On 12/15/2015 04:43 PM, Kai Huang wrote: On 12/01/2015 02:26 AM, Xiao Guangrong wrote: Now, all non-leaf shadow page are page tracked, if gfn is not

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

2015-12-16 Thread Stephen Rothwell
-function-declaration] ctrl_bclr(p->ovf, p->mapcommon + TISRC); ^ Caused by commit 1ddca16cc5b3 ("clocksource/drivers/h8300: Use ioread / iowrite") ctrl_bclr is only defined for the h8300 arch ... I have used the clocksource tree from next-20151216 for today. -- Cheers,

  1   2   3   4   5   6   7   8   9   10   >