[PATCH] cpufreq: intel_pstate: Clarify comment in get_target_pstate_use_performance()

2016-09-29 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Make the comment explaining the meaning of the perf_scaled variable in get_target_pstate_use_performance() more straightforward. Signed-off-by: Rafael J. Wysocki --- drivers/cpufreq/intel_pstate.c |9 + 1 file changed, 5 insertions(+), 4 deletions(-) Index:

Re: [RFC][PATCH 3/7] printk: introduce per-cpu alt_print seq buffer

2016-09-29 Thread Sergey Senozhatsky
On (09/29/16 14:26), Petr Mladek wrote: [..] > > printk() > > local_irq_save() > > alt_printk_enter() > > We need to make sure that exit() is called on the same CPU. > Therefore we need to disable preemption as well. local_irq_save() does this for us, we can't get sched tick or re-sched IPI,

Re: [PATCH 1/2] f2fs: use crc and cp version to determine roll-forward recovery

2016-09-29 Thread Chao Yu
On 2016/9/30 8:53, Jaegeuk Kim wrote: > On Thu, Sep 29, 2016 at 08:01:32PM +0800, Chao Yu wrote: >> On 2016/9/20 10:55, Jaegeuk Kim wrote: >>> Previously, we used cp_version only to detect recoverable dnodes. >>> In order to avoid same garbage cp_version, we needed to truncate the next >>> dnode du

[PATCH v2] x86/entry/64: Fix context tracking state warning when load_gs_index fails

2016-09-29 Thread Wanpeng Li
From: Wanpeng Li WARNING: CPU: 0 PID: 3331 at arch/x86/entry/common.c:45 enter_from_user_mode+0x32/0x50 CPU: 0 PID: 3331 Comm: ldt_gdt_64 Not tainted 4.8.0-rc7+ #13 Call Trace: dump_stack+0x99/0xd0 __warn+0xd1/0xf0 warn_slowpath_null+0x1d/0x20 enter_from_user_mode+0x32/0x50 error_en

[RFC PATCH v1 1/2] printk: collect offsets into replaceable structure

2016-09-29 Thread Sean Hudson
Currently, printk relies on several indices that are declared as static global variables in printk.c. This patch collects those into a single structure referenced by a pointer. This allows easier replacement of these indices and pinning to a specific locatino. Signed-off-by: Sean Hudson --- ke

[RFC PATCH v1 2/2] printk: external log buffer (CONFIG_LOGBUFFER)

2016-09-29 Thread Sean Hudson
This debug feature provides a convenient way to collect log entries across multiple, warmboot cycles and to share those entries with a boot loader. It allows the kernel to use an external buffer for kernel log messages and is controlled by an optional command line parameter. The buffer can contain

[RFC PATCH v1 0/2] printk: Shared kernel logging

2016-09-29 Thread Sean Hudson
This patch set is based on Linus' v4.8-rc8 tag. This debug feature allows the kernel to use an external buffer and control block for kernel log messages. The feature is controlled by an optional command line parameter. The existing buffer and control block can contain existing log messages from pr

[PATCH v4 RESEND] f2fs: introduce get_checkpoint_version for cleanup

2016-09-29 Thread Tiezhu Yang
There exists almost same codes when get the value of pre_version and cur_version in function validate_checkpoint, this patch adds get_checkpoint_version to clean up redundant codes. Signed-off-by: Tiezhu Yang --- fs/f2fs/checkpoint.c | 66 ++-- 1 f

Re:[PATCH v4] f2fs: introduce get_checkpoint_version for cleanup

2016-09-29 Thread Tiezhu Yang
At 2016-09-30 07:47:58, "Tiezhu Yang" wrote: >There exists almost same codes when get the value of pre_version >and cur_version in function validate_checkpoint, this patch adds >get_checkpoint_version to clean up redundant codes. > >Signed-off-by: Tiezhu Yang >--- > fs/f2fs/checkpoint.c | 66

Re: [PATCH 1/2] f2fs: use crc and cp version to determine roll-forward recovery

2016-09-29 Thread Jaegeuk Kim
On Thu, Sep 29, 2016 at 08:01:32PM +0800, Chao Yu wrote: > On 2016/9/20 10:55, Jaegeuk Kim wrote: > > Previously, we used cp_version only to detect recoverable dnodes. > > In order to avoid same garbage cp_version, we needed to truncate the next > > dnode during checkpoint, resulting in additional

Re: [PATCH PoC 0/7] mmc: switch to blk-mq

2016-09-29 Thread Linus Walleij
On Thu, Sep 22, 2016 at 6:57 AM, Bartlomiej Zolnierkiewicz wrote: > Since Linus Walleij is also working on that and I won't > probably have time to touch this code till the end of > upcoming month, here it is (basically a code dump of my > proof-of-concept work). I hope that it would be useful >

Re: [PATCH 1/3] arm64: dump: Make ptdump debugfs a separate option

2016-09-29 Thread Mark Rutland
On Thu, Sep 29, 2016 at 05:31:09PM -0700, Laura Abbott wrote: > On 09/29/2016 05:13 PM, Mark Rutland wrote: > >On Thu, Sep 29, 2016 at 02:32:55PM -0700, Laura Abbott wrote: > >>+int ptdump_register(struct ptdump_info *info, const char *name) > >>+{ > >>+ ptdump_initialize(info); > >>+ return pt

Re: [RFC 0/5] printk: Implement WARN_*DEFERRED()

2016-09-29 Thread Sergey Senozhatsky
On (09/29/16 13:28), Petr Mladek wrote: > On Wed 2016-09-28 10:18:45, Sergey Senozhatsky wrote: > > On (09/27/16 18:02), Petr Mladek wrote: > > > The main trick is that we replace the per-CPU function pointer > > > by a preempt_count-like variable that could track the printk context. > > > > > > I

Re: [PATCH] x86/entry/64: Fix context tracking state warning when load_gs_index fails

2016-09-29 Thread Wanpeng Li
2016-09-30 5:01 GMT+08:00 Andy Lutomirski : > On Mon, Sep 26, 2016 at 4:49 AM, Wanpeng Li wrote: >> From: Wanpeng Li >> >> WARNING: CPU: 0 PID: 3331 at arch/x86/entry/common.c:45 >> enter_from_user_mode+0x32/0x50 >> CPU: 0 PID: 3331 Comm: ldt_gdt_64 Not tainted 4.8.0-rc7+ #13 >> Call Trace: >

Re: [PATCH v14 0/9] acpi, clocksource: add GTDT driver and GTDT support in arm_arch_timer

2016-09-29 Thread Xiongfeng Wang
for sbsa watchdog part, Tested-by: wangxiongfe...@huawei.com on D05 board. On 2016/9/29 2:17, fu@linaro.org wrote: > From: Fu Wei > > This patchset: > (1)Preparation for adding GTDT support in arm_arch_timer: > 1. Move some enums and marcos to header file; > 2. Add a ne

Re: [PATCH 2/3] arm64: dump: Make the page table dumping seq_file optional

2016-09-29 Thread Mark Rutland
On Thu, Sep 29, 2016 at 02:32:56PM -0700, Laura Abbott wrote: > The page table dumping code always assumes it will be dumping to a > seq_file to userspace. The dumping code is useful in other situations. > Let the seq_file be optional. > > Signed-off-by: Laura Abbott It might be worth elaborating

Re: [PATCH 1/3] arm64: dump: Make ptdump debugfs a separate option

2016-09-29 Thread Laura Abbott
On 09/29/2016 05:13 PM, Mark Rutland wrote: Hi, On Thu, Sep 29, 2016 at 02:32:55PM -0700, Laura Abbott wrote: ptdump_register currently initializes a set of page table information and registers debugfs. There are uses for the ptdump option without wanting the debugfs options. Split this out to

Re: [PATCH][v3] mfd: intel-lpss: Avoid resuming runtime-suspended lpss unnecessarily

2016-09-29 Thread Rafael J. Wysocki
On Fri, Sep 30, 2016 at 2:29 AM, Lee Jones wrote: > On Fri, 30 Sep 2016, Rafael J. Wysocki wrote: > >> Hi Lee, >> >> On Thu, Sep 29, 2016 at 7:01 AM, Chen Yu wrote: >> > We have report that the intel_lpss_prepare() takes too much time during >> > suspend, and this is because we first resume the d

Re: [PATCH v7 4/6] mfd: move enum lpc_chipsets into lpc_ich.h

2016-09-29 Thread Lee Jones
On Wed, 28 Sep 2016, Tan Jui Nee wrote: > Move the enum's definition into a standalone header file which can be used > wherever its definition is needed. > > Signed-off-by: Tan Jui Nee > --- > drivers/mfd/lpc_ich-core.c | 71 > - > include/linux/mfd

Re: [PATCH v7 2/6] mfd: lpc_ich: Rename lpc-ich driver

2016-09-29 Thread Lee Jones
On Wed, 28 Sep 2016, Tan Jui Nee wrote: > This patch follows the example of mfd/wm831x to rename the driver > from "lpc_ich" to "lpc_ich-core". > > Signed-off-by: Tan Jui Nee > --- > Changes in V7: > - No change > > Changes in V6: > - none, just a subject line and commit message cha

Re: [PATCH][v3] mfd: intel-lpss: Avoid resuming runtime-suspended lpss unnecessarily

2016-09-29 Thread Lee Jones
On Fri, 30 Sep 2016, Rafael J. Wysocki wrote: > Hi Lee, > > On Thu, Sep 29, 2016 at 7:01 AM, Chen Yu wrote: > > We have report that the intel_lpss_prepare() takes too much time during > > suspend, and this is because we first resume the devices from runtime > > suspend by resume_lpss_device(), t

Re: [PATCH 1/3] arm64: dump: Make ptdump debugfs a separate option

2016-09-29 Thread Mark Rutland
Hi, On Thu, Sep 29, 2016 at 02:32:55PM -0700, Laura Abbott wrote: > ptdump_register currently initializes a set of page table information and > registers debugfs. There are uses for the ptdump option without wanting the > debugfs options. Split this out to make it a separate option. > > Signed-of

Re: [PATCH] include/linux/property.h: fix typo/compile error

2016-09-29 Thread Rafael J. Wysocki
On 9/29/2016 4:10 AM, John Youn wrote: This fixes commit d76eebfa175e ("include/linux/property.h: fix build issues with gcc-4.4.4"). With that commit we get the following compile error when using the PROPERTY_ENTRY_INTEGER_ARRAY macro. ../include/linux/property.h:201:39: error: ‘u32_data’ undec

[PATCH v4] f2fs: introduce get_checkpoint_version for cleanup

2016-09-29 Thread Tiezhu Yang
There exists almost same codes when get the value of pre_version and cur_version in function validate_checkpoint, this patch adds get_checkpoint_version to clean up redundant codes. Signed-off-by: Tiezhu Yang --- fs/f2fs/checkpoint.c | 66 ++-- 1 f

[PATCH v2] perf report: Add a tip about source line numbers with overhead

2016-09-29 Thread Kim SeonYoung
There is a existing tip as below. If you have debuginfo enabled, try: perf report -s sym,srcline However this tip only describe a condition to use --sort sym,scrline options. So there is lack of explanation in the tip. I think that it would be better to add a tip that exactly explain the feat

Re: [PATCH][v3] mfd: intel-lpss: Avoid resuming runtime-suspended lpss unnecessarily

2016-09-29 Thread Rafael J. Wysocki
Hi Lee, On Thu, Sep 29, 2016 at 7:01 AM, Chen Yu wrote: > We have report that the intel_lpss_prepare() takes too much time during > suspend, and this is because we first resume the devices from runtime > suspend by resume_lpss_device(), to make sure they are in proper state > before system suspen

Re: [PATCH 17/26] intel_telemetry_debugfs: constify local structures

2016-09-29 Thread Darren Hart
On Thu, Sep 29, 2016 at 07:19:21AM +0200, Julia Lawall wrote: > > > On Wed, 28 Sep 2016, Darren Hart wrote: > > > On Sun, Sep 11, 2016 at 03:05:59PM +0200, Julia Lawall wrote: > > > > Hi Julia, > > > > > For structure types defined in the same file or local header files, find > > > top-level sta

Re: [PATCH -next] ipmi/bt-bmc: remove redundant return value check of platform_get_resource()

2016-09-29 Thread Corey Minyard
Thanks, applied. -corey On 09/24/2016 07:02 AM, Wei Yongjun wrote: From: Wei Yongjun Remove unneeded error handling on the result of a call to platform_get_resource() when the value is passed to devm_ioremap_resource(). Signed-off-by: Wei Yongjun --- drivers/char/ipmi/bt-bmc.c | 5 -

Re: [tip:x86/platform] x86/platform/mellanox: Introduce support for Mellanox systems platform

2016-09-29 Thread Darren Hart
On Thu, Sep 29, 2016 at 09:29:09AM -0400, Thomas Gleixner wrote: > On Wed, 28 Sep 2016, Darren Hart wrote: > > This through me as I was trying to reconcile this series with another > > mellanox > > platform driver from Vadim to the drivers/platform/x86 tree as this one also > > came to the platfor

Re: [PATCH v1 12/12] mm: ppc64: Add THP migration support for ppc64.

2016-09-29 Thread Balbir Singh
On 27/09/16 01:22, zi@sent.com wrote: > From: Zi Yan > > Signed-off-by: Zi Yan > --- > arch/powerpc/Kconfig | 4 > arch/powerpc/include/asm/book3s/64/pgtable.h | 23 +++ > 2 files changed, 27 insertions(+) > > diff --git a/arch/powerpc/Kc

Re: [PATCH V2 3/5] PCI: save and restore bus on parent bus reset

2016-09-29 Thread Sinan Kaya
Hi Bjorn, On 9/29/2016 5:49 PM, Bjorn Helgaas wrote: >> +} > This pattern of "unlock, do something, relock" needs some > justification. In general it's unsafe because the lock is protecting > *something*, and you have to assume that something can change as soon > as you unlock. Maybe you kno

[PATCH RESEND] perf diff: Introduce the new rules of colored printing of delta.

2016-09-29 Thread SeongSoo Cho
As you know, there are the common colored printing of percents so overhead(%) can be colored with the rule. But Delta means difference percents from percents of overhead between two files e.g. perf.data and perf.data.old. Although the rule is for overhead(%), Delta value also follow the same rule

Re: [PATCH 1/2] f2fs: fix to commit bio cache after flushing node pages

2016-09-29 Thread Jaegeuk Kim
On Thu, Sep 29, 2016 at 06:45:03PM +0800, Chao Yu wrote: > On 2016/9/29 4:19, Jaegeuk Kim wrote: > > On Tue, Sep 27, 2016 at 10:09:03AM +0800, Chao Yu wrote: > >> On 2016/9/27 9:39, Jaegeuk Kim wrote: > >>> On Tue, Sep 27, 2016 at 08:57:41AM +0800, Chao Yu wrote: > Hi Jaegeuk, > > On

Re: [PATCH v4 00/12] re-enable DAX PMD support

2016-09-29 Thread Dave Chinner
On Thu, Sep 29, 2016 at 04:49:18PM -0600, Ross Zwisler wrote: > DAX PMDs have been disabled since Jan Kara introduced DAX radix tree based > locking. This series allows DAX PMDs to participate in the DAX radix tree > based locking scheme so that they can be re-enabled. > > Ted, can you please tak

[PATCH v2] perf config: Add tips about a list option

2016-09-29 Thread Nambong Ha
Add two tips that describe --list option of config sub-command and explain how to choose particular config file location. Signed-off-by: Nambong Ha Cc: Namhyung Kim Cc: Jiri Olsa Cc: Taeung Song --- tools/perf/Documentation/tips.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/

Re: [lkp] [x86] 784d5699ed: kmsg.ip_tables:no_symbol_version_for_copy_from_user

2016-09-29 Thread Stephen Rothwell
Hi all, On Tue, 20 Sep 2016 10:55:32 +0800 kernel test robot wrote: > > FYI, we noticed the following commit: > > https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master > commit 784d5699eddc55878627da20d3fe0c8542e2f1a2 ("x86: move exports to actual > definitions") > > in t

Re: linux-next: Tree for Jul 21

2016-09-29 Thread Andy Lutomirski
On Thu, Sep 29, 2016 at 4:14 PM, Stephen Rothwell wrote: > Hi Segher, > > [Adding more cc's] > > On Thu, 29 Sep 2016 14:34:42 -0500 Segher Boessenkool > wrote: >> >> On Thu, Jul 21, 2016 at 07:52:43PM -0400, Paul Gortmaker wrote: >> > A new i386-allmodconfig fail showed up relating to VDSO: >> >

Re: [PATCH] clk: bcm2835: Clamp the PLL's requested rate to the hardware limits.

2016-09-29 Thread Stephen Boyd
On 09/28, Eric Anholt wrote: > Fixes setting low-resolution video modes on HDMI. Now the PLLH_PIX > divider adjusts itself until the PLLH is within bounds. > > Signed-off-by: Eric Anholt > --- > drivers/clk/bcm/clk-bcm2835.c | 12 +--- > 1 file changed, 5 insertions(+), 7 deletions(-) >

Re: linux-next: Tree for Jul 21

2016-09-29 Thread Stephen Rothwell
Hi Segher, [Adding more cc's] On Thu, 29 Sep 2016 14:34:42 -0500 Segher Boessenkool wrote: > > On Thu, Jul 21, 2016 at 07:52:43PM -0400, Paul Gortmaker wrote: > > A new i386-allmodconfig fail showed up relating to VDSO: > > > > I tried to reproduce it locally with x86-64 build host and could >

Re: [PATCH v6 1/4] mfd: mxs-lradc: Add support for mxs-lradc MFD

2016-09-29 Thread Lee Jones
On Thu, 29 Sep 2016, Stefan Wahren wrote: > Hi Lee, > > [add Rob and Mark] > > > Lee Jones hat am 29. September 2016 um 19:15 > > geschrieben: > > > > > > On Thu, 29 Sep 2016, Stefan Wahren wrote: > > > > Lee Jones hat am 28. September 2016 um 03:05 > > > > geschrieben: > > > > > > > > > >

[mm] 3f40a9185a: kernel BUG at kernel/cred.c:768!

2016-09-29 Thread kernel test robot
FYI, we noticed the following commit: https://github.com/0day-ci/linux Jann-Horn/fs-exec-don-t-force-writing-memory-access/20160929-44 commit 3f40a9185af5f5335b8117178c706b74537b960b ("mm: add LSM hook for writes to readonly memory") in testcase: boot on test machine: qemu-s

[PATCH v4 06/12] dax: consistent variable naming for DAX entries

2016-09-29 Thread Ross Zwisler
No functional change. Consistently use the variable name 'entry' instead of 'ret' for DAX radix tree entries. This was already happening in most of the code, so update get_unlocked_mapping_entry(), grab_mapping_entry() and dax_unlock_mapping_entry(). Signed-off-by: Ross Zwisler --- fs/dax.c |

[PATCH v4 02/12] ext4: tell DAX the size of allocation holes

2016-09-29 Thread Ross Zwisler
When DAX calls _ext4_get_block() and the file offset points to a hole we currently don't set bh->b_size. This is current worked around via buffer_size_valid() in fs/dax.c. _ext4_get_block() has the hole size information from ext4_map_blocks(), so populate bh->b_size so we can remove buffer_size_v

[PATCH v4 01/12] ext4: allow DAX writeback for hole punch

2016-09-29 Thread Ross Zwisler
Currently when doing a DAX hole punch with ext4 we fail to do a writeback. This is because the logic around filemap_write_and_wait_range() in ext4_punch_hole() only looks for dirty page cache pages in the radix tree, not for dirty DAX exceptional entries. Signed-off-by: Ross Zwisler Reviewed-by:

[PATCH v4 03/12] dax: remove buffer_size_valid()

2016-09-29 Thread Ross Zwisler
Now that ext4 properly sets bh.b_size when we call get_block() for a hole, rely on that value and remove the buffer_size_valid() sanity check. Signed-off-by: Ross Zwisler Reviewed-by: Jan Kara --- fs/dax.c | 22 +- 1 file changed, 1 insertion(+), 21 deletions(-) diff --git

[PATCH v4 05/12] dax: make 'wait_table' global variable static

2016-09-29 Thread Ross Zwisler
The global 'wait_table' variable is only used within fs/dax.c, and generates the following sparse warning: fs/dax.c:39:19: warning: symbol 'wait_table' was not declared. Should it be static? Make it static so it has scope local to fs/dax.c, and to make sparse happy. Signed-off-by: Ross Zwisler

[PATCH v4 09/12] dax: correct dax iomap code namespace

2016-09-29 Thread Ross Zwisler
The recently added DAX functions that use the new struct iomap data structure were named iomap_dax_rw(), iomap_dax_fault() and iomap_dax_actor(). These are actually defined in fs/dax.c, though, so should be part of the "dax" namespace and not the "iomap" namespace. Rename them to dax_iomap_rw(), d

[PATCH v4 08/12] dax: remove dax_pmd_fault()

2016-09-29 Thread Ross Zwisler
dax_pmd_fault() is the old struct buffer_head + get_block_t based 2 MiB DAX fault handler. This fault handler has been disabled for several kernel releases, and support for PMDs will be reintroduced using the struct iomap interface instead. Signed-off-by: Ross Zwisler --- fs/dax.c|

[PATCH v4 10/12] dax: add struct iomap based DAX PMD support

2016-09-29 Thread Ross Zwisler
DAX PMDs have been disabled since Jan Kara introduced DAX radix tree based locking. This patch allows DAX PMDs to participate in the DAX radix tree based locking scheme so that they can be re-enabled using the new struct iomap based fault handlers. There are currently three types of DAX 4k entrie

[PATCH v4 04/12] ext2: remove support for DAX PMD faults

2016-09-29 Thread Ross Zwisler
DAX PMD support was added via the following commit: commit e7b1ea2ad658 ("ext2: huge page fault support") I believe this path to be untested as ext2 doesn't reliably provide block allocations that are aligned to 2MiB. In my testing I've been unable to get ext2 to actually fault in a PMD. It alw

[PATCH v4 11/12] xfs: use struct iomap based DAX PMD fault path

2016-09-29 Thread Ross Zwisler
Switch xfs_filemap_pmd_fault() from using dax_pmd_fault() to the new and improved dax_iomap_pmd_fault(). Also, now that it has no more users, remove xfs_get_blocks_dax_fault(). Signed-off-by: Ross Zwisler --- fs/xfs/xfs_aops.c | 25 + fs/xfs/xfs_aops.h | 3 --- fs/xfs/x

[PATCH v4 12/12] dax: remove "depends on BROKEN" from FS_DAX_PMD

2016-09-29 Thread Ross Zwisler
Now that DAX PMD faults are once again working and are now participating in DAX's radix tree locking scheme, allow their config option to be enabled. Signed-off-by: Ross Zwisler --- fs/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/fs/Kconfig b/fs/Kconfig index 2bc7ad7..b6f0fce 10064

[PATCH v4 07/12] dax: coordinate locking for offsets in PMD range

2016-09-29 Thread Ross Zwisler
DAX radix tree locking currently locks entries based on the unique combination of the 'mapping' pointer and the pgoff_t 'index' for the entry. This works for PTEs, but as we move to PMDs we will need to have all the offsets within the range covered by the PMD to map to the same bit lock. To accompl

[PATCH v4 00/12] re-enable DAX PMD support

2016-09-29 Thread Ross Zwisler
DAX PMDs have been disabled since Jan Kara introduced DAX radix tree based locking. This series allows DAX PMDs to participate in the DAX radix tree based locking scheme so that they can be re-enabled. Ted, can you please take the ext2 + ext4 patches through your tree? Dave, can you please take

Re: 4.7 regression: ACPI: No IRQ available for PCI Interrupt Link [LNKD]. Try pci=noacpi or acpi=off

2016-09-29 Thread Sinan Kaya
On 9/29/2016 2:00 PM, Ondrej Zary wrote: >> The previous two patches were in the right direction. >> > >> > Can we also get the same output from 4.6 kernel with the attached patch for >> > the same machine you sent these? > Here it is. > >> > Something about SCI still doesn't feel right. >> > >> >

Re: [PATCH v2 1/2] x86/boot: Fix another __read_cr4() case on 486

2016-09-29 Thread Borislav Petkov
On Thu, Sep 29, 2016 at 12:48:11PM -0700, Andy Lutomirski wrote: > The condition for reading CR4 was wrong: there are some CPUs with > CPUID but not CR4. Rather than trying to make the condition exact, > using __read_cr4_safe(). Please s/using/use/ while applying. > Reported-by: da...@saggiorato

[PATCH 2/2] drm/vc4: Add support for double-clocked modes.

2016-09-29 Thread Eric Anholt
Now that we have infoframes to report the pixel repeat flag, we can start using it. Fixes locking the 720x480i and 720x576i modes on my Dell 2408WFP. Like the 1920x1080i case, they don't fit properly on the screen, though. Signed-off-by: Eric Anholt --- drivers/gpu/drm/vc4/vc4_crtc.c | 17

[PATCH 1/2] drm/vc4: Set up the AVI and SPD infoframes.

2016-09-29 Thread Eric Anholt
Fixes a purple bar on the left side of the screen with my Dell 2408WFP. It will also be required for supporting the double-clocked video modes. Signed-off-by: Eric Anholt --- drivers/gpu/drm/vc4/vc4_hdmi.c | 136 +++-- drivers/gpu/drm/vc4/vc4_regs.h | 5 ++

Re: [PATCH] perf report: Add a tip about source line numbers with overhead

2016-09-29 Thread Arnaldo Carvalho de Melo
Em Thu, Sep 29, 2016 at 03:00:33PM -0700, Kim SeonYoung escreveu: > There is a existing tip as below. > > If you have debuginfo enabled, try: perf report -s sym,srcline > > However this tip only describe a condition to use --sort sym,scrline options. > So there is lack of explanation in the t

Re: [PATCH] perf config: Add tips about a list option

2016-09-29 Thread Arnaldo Carvalho de Melo
Em Fri, Sep 30, 2016 at 06:27:48AM +0900, Nambong Ha escreveu: > Add two tips that describe --list option of config sub-command > and explain how to choose particular config file location. > > Signed-off-by: Nambong Ha > Cc: Namhyung Kim > Cc: Jiri Olsa > Cc: Taeung Song > --- > tools/perf/Do

[PATCH 2/2 v2] drm/vc4: Fix support for interlaced modes on HDMI.

2016-09-29 Thread Eric Anholt
We really do need to be using the halved V fields. I had been confused by the code I was using as a reference because it stored halved vsync fields but not halved vdisplay, so it looked like I only needed to divide vdisplay by 2. This reverts part of Mario's timestamping fixes that prevented CRTC

Re: [PATHC v2 0/9] ima: carry the measurement list across kexec

2016-09-29 Thread Thiago Jung Bauermann
Am Donnerstag, 29 September 2016, 16:43:08 schrieb Eric W. Biederman: > Thiago Jung Bauermann writes: > > Hello Eric, > > > > Am Dienstag, 20 September 2016, 11:07:29 schrieb Eric W. Biederman: > >> A semi-generic concept called a hand-over buffer seems to be a > >> construction of infrustructure

Re: [PATCH v21 00/20] perf, tools: Add support for PMU events in JSON format

2016-09-29 Thread Arnaldo Carvalho de Melo
Em Tue, Sep 27, 2016 at 04:18:46PM +0200, Jiri Olsa escreveu: > On Mon, Sep 26, 2016 at 09:59:54AM -0700, Andi Kleen wrote: > > On Mon, Sep 26, 2016 at 12:03:43PM -0300, Arnaldo Carvalho de Melo wrote: > > > Em Mon, Sep 26, 2016 at 10:35:33AM +0200, Jiri Olsa escreveu: > > > > ping.. is that workin

[PATCH net-next 5/6] rxrpc: Request more ACKs in slow-start mode

2016-09-29 Thread David Howells
Set the request-ACK on more DATA packets whilst we're in slow start mode so that we get sufficient ACKs back to supply information to configure the window. Signed-off-by: David Howells --- net/rxrpc/output.c |1 + 1 file changed, 1 insertion(+) diff --git a/net/rxrpc/output.c b/net/rxrpc/o

[PATCH net-next 4/6] rxrpc: Reduce the rxrpc_local::services list to a pointer

2016-09-29 Thread David Howells
Reduce the rxrpc_local::services list to just a pointer as we don't permit multiple service endpoints to bind to a single transport endpoints (this is excluded by rxrpc_lookup_local()). The reason we don't allow this is that if you send a request to an AFS filesystem service, it will try to talk b

[PATCH net-next 6/6] rxrpc: Note serial number being ACK'd in the congestion management trace

2016-09-29 Thread David Howells
Note the serial number of the packet being ACK'd in the congestion management trace rather than the serial number of the ACK packet. Whilst the serial number of the ACK packet is useful for matching ACK packet in the output of wireshark, the serial number that the ACK is in response to is of more

[PATCH net-next 1/6] rxrpc: Fix exclusive client connections

2016-09-29 Thread David Howells
Exclusive connections are currently reusable (which they shouldn't be) because rxrpc_alloc_client_connection() checks the exclusive flag in the rxrpc_connection struct before it's initialised from the function parameters. This means that the DONT_REUSE flag doesn't get set. Fix this by checking t

[PATCH net-next 3/6] rxrpc: When activating client conn channels, do state check inside lock

2016-09-29 Thread David Howells
In rxrpc_activate_channels(), the connection cache state is checked outside of the lock, which means it can change whilst we're waking calls up, thereby changing whether or not we're allowed to wake calls up. Fix this by moving the check inside the locked region. The check to see if all the chann

Re: ima measurement carrying on -mm

2016-09-29 Thread Thiago Jung Bauermann
Am Donnerstag, 29 September 2016, 16:53:50 schrieb Eric W. Biederman: > Thiago Jung Bauermann writes: > > Am Donnerstag, 29 September 2016, 14:02:06 schrieb Andrew Morton: > >> On Thu, 29 Sep 2016 17:44:10 -0300 Thiago Jung Bauermann > > > > wrote: > >> > Hello Andrew, > >> > > >> > You have in

[PATCH net-next 2/6] rxrpc: Make Tx loss-injection go through normal return and adjust tracing

2016-09-29 Thread David Howells
In rxrpc_send_data_packet() make the loss-injection path return through the same code as the transmission path so that the RTT determination is initiated and any future timer shuffling will be done, despite the packet having been binned. Whilst we're at it: (1) Add to the tx_data tracepoint an i

[PATCH] perf record: Add a tip about system-wide collection from all CPUs

2016-09-29 Thread Donghyun Kim
Signed-off-by: Donghyun Kim Cc: Namhyung Kim Cc: Jiri Olsa Cc: Taeung Song --- tools/perf/Documentation/tips.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/perf/Documentation/tips.txt b/tools/perf/Documentation/tips.txt index 5950b5a..1435d70 100644 --- a/tools/perf/Documentati

[PATCH net-next 0/6] rxrpc: Fixes and adjustments

2016-09-29 Thread David Howells
http://git.kernel.org/cgit/linux/kernel/git/dhowells/linux-fs.git/log/?h=rxrpc-rewrite Tagged thusly: git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git rxrpc-rewrite-20160929 David --- David Howells (6): rxrpc: Fix exclusive client connections

Re: [PATCH v5 00/10] ima: carry the measurement list across kexec

2016-09-29 Thread Mimi Zohar
On Thu, 2016-09-29 at 16:37 -0500, Eric W. Biederman wrote: > Mimi Zohar writes: > > > The TPM PCRs are only reset on a hard reboot. In order to validate a > > TPM's quote after a soft reboot (eg. kexec -e), the IMA measurement list > > of the running kernel must be saved and then restored on th

[PATCH] perf report: Add a tip about source line numbers with overhead

2016-09-29 Thread Kim SeonYoung
There is a existing tip as below. If you have debuginfo enabled, try: perf report -s sym,srcline However this tip only describe a condition to use --sort sym,scrline options. So there is lack of explanation in the tip. I think that it would be better to add a tip that exactly explain the feat

Re: [PATCH] brcmfmac: implement more accurate skb tracking

2016-09-29 Thread Rafał Miłecki
On 27 September 2016 at 11:24, Arend Van Spriel wrote: > On 26-9-2016 14:38, Rafał Miłecki wrote: >> On 26 September 2016 at 14:13, Rafał Miłecki wrote: >>> On 26 September 2016 at 13:46, Arend Van Spriel >>> wrote: On 26-9-2016 12:23, Rafał Miłecki wrote: > From: Rafał Miłecki > >

Re: ima measurement carrying on -mm

2016-09-29 Thread Eric W. Biederman
Thiago Jung Bauermann writes: > Am Donnerstag, 29 September 2016, 14:02:06 schrieb Andrew Morton: >> On Thu, 29 Sep 2016 17:44:10 -0300 Thiago Jung Bauermann > wrote: >> > Hello Andrew, >> > >> > You have in the -mm tree a version of the "kexec handover buffer" and >> > "ima carry measurement

Re: [PATCH v19 04/12] add sysfs document for fpga bridge class

2016-09-29 Thread Moritz Fischer
On Wed, Sep 28, 2016 at 11:21 AM, Alan Tull wrote: > Add documentation for new FPGA bridge class's sysfs interface. > > Signed-off-by: Alan Tull Acked-by: Moritz Fischer

Re: [PATCH v19 12/12] fpga-manager: Add Socfpga Arria10 support

2016-09-29 Thread atull
On Thu, 29 Sep 2016, Moritz Fischer wrote: > Hi Alan, > > On Wed, Sep 28, 2016 at 11:22 AM, Alan Tull > wrote: > > > +static void socfpga_a10_fpga_generate_dclks(struct a10_fpga_priv *priv, > > + u32 count) > > +{ > > + u32 val; > > + unsig

Re: [PATCH V2 3/5] PCI: save and restore bus on parent bus reset

2016-09-29 Thread Bjorn Helgaas
Hi Sinan, On Fri, Sep 16, 2016 at 04:06:32PM -0400, Sinan Kaya wrote: > Device states on the bus are saved and restored for all bus resets except > the one initiated through pci_dev_reset. Filling the hole. > > Signed-off-by: Sinan Kaya > --- > drivers/pci/pci.c | 14 ++ > 1 file ch

Re: ima measurement carrying on -mm

2016-09-29 Thread Eric W. Biederman
Andrew Morton writes: > On Thu, 29 Sep 2016 17:44:10 -0300 Thiago Jung Bauermann > wrote: > >> Hello Andrew, >> >> You have in the -mm tree a version of the "kexec handover buffer" and "ima >> carry measurement list" patches that were NAKed by Eric Biederman. I would >> just like to double-c

Re: [PATCH 2/2] Input: add motion-tracking ABS_* bits and docs

2016-09-29 Thread Roderick Colenbrander
On Thu, Sep 29, 2016 at 1:55 AM, wrote: > On 28.09.2016 18:39, Dmitry Torokhov wrote: >> >> On Tue, Sep 27, 2016 at 4:38 PM, Roderick Colenbrander >> wrote: >>> >>> From: Roderick Colenbrander >>> >>> This patch introduces new axes for acceleration and angular velocity. >>> David Herrmann's wor

Re: [PATHC v2 0/9] ima: carry the measurement list across kexec

2016-09-29 Thread Eric W. Biederman
Thiago Jung Bauermann writes: > Hello Eric, > > Am Dienstag, 20 September 2016, 11:07:29 schrieb Eric W. Biederman: >> A semi-generic concept called a hand-over buffer seems to be a >> construction of infrustructure for no actual reason that will just >> result in confusion. There are lots of th

Re: [PATCH 01/10] dm snapshot: Use kmalloc_array() in init_origin_hash()

2016-09-29 Thread Paul Bolle
On Thu, 2016-09-29 at 14:21 -0700, Joe Perches wrote: > > > It doesn't matter match either way to me. > > Why does this stop you fixing an apparently wrong checkpatch rule, > > crude as parts of it are (ie, uppercase identifier must be a > > constant)? > > It doesn't.  It just doesn't matter much

Re: [RFC PATCH 0/3] kvm: x86: speedups for APICv

2016-09-29 Thread Paolo Bonzini
> Another possible optimization: when delivering an IPI, don't write the > vector to PIR, but directly to VIRR. If the guest is not in VMX > non-root mode, then vm entry will take care of the injection; in the > other case, we'll send POSTED_INTR_VECTOR. > It seems that we don't even have to set

Re: [PATCH v5 00/10] ima: carry the measurement list across kexec

2016-09-29 Thread Eric W. Biederman
Mimi Zohar writes: > The TPM PCRs are only reset on a hard reboot. In order to validate a > TPM's quote after a soft reboot (eg. kexec -e), the IMA measurement list > of the running kernel must be saved and then restored on the subsequent > boot, possibly of a different architecture. > > The exi

[PATCH 3/3] arm64: dump: Add checking for writable and exectuable pages

2016-09-29 Thread Laura Abbott
Page mappings with full RWX permissions are a security risk. x86 has an option to walk the page tables and dump any bad pages. (See e1a58320a38d ("x86/mm: Warn on W^X mappings")). Add a similar implementation for arm64. Signed-off-by: Laura Abbott --- arch/arm64/Kconfig.debug| 28 +++

[PATCH 2/3] arm64: dump: Make the page table dumping seq_file optional

2016-09-29 Thread Laura Abbott
The page table dumping code always assumes it will be dumping to a seq_file to userspace. The dumping code is useful in other situations. Let the seq_file be optional. Signed-off-by: Laura Abbott --- arch/arm64/mm/dump.c | 26 +++--- 1 file changed, 19 insertions(+), 7 deleti

[PATCH 1/3] arm64: dump: Make ptdump debugfs a separate option

2016-09-29 Thread Laura Abbott
ptdump_register currently initializes a set of page table information and registers debugfs. There are uses for the ptdump option without wanting the debugfs options. Split this out to make it a separate option. Signed-off-by: Laura Abbott --- arch/arm64/Kconfig.debug| 6 +- arch/ar

[PATCH 0/3] WX Checking for arm64

2016-09-29 Thread Laura Abbott
Hi, This is an implementation to check for writable and executable pages on arm64. This is heavily based on the x86 version which uses the existing page table dumping code to do the checking. Some notes: - The W^X checking is important so this option should become defaut eventually. To make th

Re: ima measurement carrying on -mm

2016-09-29 Thread Thiago Jung Bauermann
Am Donnerstag, 29 September 2016, 14:02:06 schrieb Andrew Morton: > On Thu, 29 Sep 2016 17:44:10 -0300 Thiago Jung Bauermann wrote: > > Hello Andrew, > > > > You have in the -mm tree a version of the "kexec handover buffer" and > > "ima carry measurement list" patches that were NAKed by Eric Bie

[PATCH] perf config: Add tips about a list option

2016-09-29 Thread Nambong Ha
Add two tips that describe --list option of config sub-command and explain how to choose particular config file location. Signed-off-by: Nambong Ha Cc: Namhyung Kim Cc: Jiri Olsa Cc: Taeung Song --- tools/perf/Documentation/tips.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/

Re: [PATCH 01/10] dm snapshot: Use kmalloc_array() in init_origin_hash()

2016-09-29 Thread Joe Perches
On Thu, 2016-09-29 at 23:14 +0200, Paul Bolle wrote: > On Thu, 2016-09-29 at 13:56 -0700, Joe Perches wrote: > > It doesn't matter match either way to me. > Why does this stop you fixing an apparently wrong checkpatch rule, > crude as parts of it are (ie, uppercase identifier must be a constant)?

[RFC 0/4] try to reduce fragmenting fallbacks

2016-09-29 Thread Vlastimil Babka
Hi Johannes, here's something quick to try or ponder about. However, untested since it's too late here. Based on mmotm-2016-09-27-16-08 plus this fix [1] [1] http://lkml.kernel.org/r/ Vlastimil Babka (4): mm, compaction: change migrate_async_suitable() to suitable_migration_source() mm,

[GIT PULL] libnvdimm fixes for 4.8

2016-09-29 Thread Williams, Dan J
Hi Linus, please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm libnvdimm-fixes ...to receive the following: - (4) fixes for "flush hint" support. Flush hints are addresses advertised by the ACPI 6+ NFIT (NVDIMM Firmware Interface Table) that when written and fenced gu

Re: [PATCH 01/10] dm snapshot: Use kmalloc_array() in init_origin_hash()

2016-09-29 Thread Paul Bolle
On Thu, 2016-09-29 at 13:56 -0700, Joe Perches wrote: > It doesn't matter match either way to me. > > The case for the unnecessary multiply with <= gcc 4.8 was > removed with: > > commit 91c6a05f72a996bee5133e76374ab3ad7d3b9b72 > Author: Alexey Dobriyan > Date:   Tue Jul 26 15:22:08 2016 -0700 >

[RFC 4/4] mm, page_alloc: disallow migratetype fallback in fastpath

2016-09-29 Thread Vlastimil Babka
The previous patch has adjusted async compaction so that it helps against longterm fragmentation when compacting for a non-MOVABLE high-order allocation. The goal of this patch is to force such allocations go through compaction once before being allowed to fallback to a pageblock of different migra

[RFC 2/4] mm, compaction: add migratetype to compact_control

2016-09-29 Thread Vlastimil Babka
Preparation patch. We are going to need migratetype at lower layers than compact_zone() and compact_finished(). Signed-off-by: Vlastimil Babka --- mm/compaction.c | 15 +++ mm/internal.h | 1 + 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/mm/compaction.c b/mm/com

Re: ima measurement carrying on -mm

2016-09-29 Thread Andrew Morton
On Thu, 29 Sep 2016 17:44:10 -0300 Thiago Jung Bauermann wrote: > Hello Andrew, > > You have in the -mm tree a version of the "kexec handover buffer" and "ima > carry measurement list" patches that were NAKed by Eric Biederman. I would > just like to double-check that there's no risk of that

Re: [PATCH] x86/entry/64: Fix context tracking state warning when load_gs_index fails

2016-09-29 Thread Andy Lutomirski
On Mon, Sep 26, 2016 at 4:49 AM, Wanpeng Li wrote: > From: Wanpeng Li > > WARNING: CPU: 0 PID: 3331 at arch/x86/entry/common.c:45 > enter_from_user_mode+0x32/0x50 > CPU: 0 PID: 3331 Comm: ldt_gdt_64 Not tainted 4.8.0-rc7+ #13 > Call Trace: > dump_stack+0x99/0xd0 > __warn+0xd1/0xf0 > war

[RFC 3/4] mm, compaction: restrict async compaction to matching migratetype

2016-09-29 Thread Vlastimil Babka
The migrate scanner in async compaction is currently limited to MIGRATE_MOVABLE pageblocks. This is a heuristic intended to reduce latency, based on the assumption that non-MOVABLE pageblocks are unlikely to contain movable pages. However, with the exception of THP's, most high-order allocations a

<    1   2   3   4   5   6   7   8   >