[PATCH] Staging: sm750fb: Fix block comments

2016-09-29 Thread Ramiro Oliveira
Correct the styling of some block comments as reported by checkpatch. Signed-off-by: Ramiro Oliveira --- drivers/staging/sm750fb/ddk750_swi2c.c | 36 +- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git

[PATCH 3.12 042/119] s390/sclp_ctl: fix potential information leak with /dev/sclp

2016-09-29 Thread Jiri Slaby
From: Martin Schwidefsky 3.12-stable review patch. If anyone has any objections, please let me know. === commit 532c34b5fbf1687df63b3fcd5b2846312ac943c6 upstream. The sclp_ctl_ioctl_sccb function uses two copy_from_user calls to retrieve the sclp request

[PATCH 3.12 041/119] ext4: validate that metadata blocks do not overlap superblock

2016-09-29 Thread Jiri Slaby
From: Theodore Ts'o 3.12-stable review patch. If anyone has any objections, please let me know. === commit 829fa70dddadf9dd041d62b82cd7cea63943899d upstream. A number of fuzzing failures seem to be caused by allocation bitmaps or other metadata blocks being pointed

[PATCH 3.12 046/119] ext4: use __GFP_NOFAIL in ext4_free_blocks()

2016-09-29 Thread Jiri Slaby
From: Konstantin Khlebnikov 3.12-stable review patch. If anyone has any objections, please let me know. === commit adb7ef600cc9d9d15ecc934cc26af5c1379777df upstream. This might be unexpected but pages allocated for sbi->s_buddy_cache are charged to

[PATCH 3.12 044/119] ext4: avoid modifying checksum fields directly during checksum verification

2016-09-29 Thread Jiri Slaby
From: Daeho Jeong 3.12-stable review patch. If anyone has any objections, please let me know. === commit b47820edd1634dc1208f9212b7ecfb4230610a23 upstream. We temporally change checksum fields in buffers of some types of metadata into '0' for verifying

[PATCH 3.12 039/119] ALSA: oxygen: Fix logical-not-parentheses warning

2016-09-29 Thread Jiri Slaby
From: Tomer Barletz 3.12-stable review patch. If anyone has any objections, please let me know. === commit 8ec7cfce3762299ae289c384e281b2f4010ae231 upstream. This fixes the following warning, that is seen with gcc 5.1: warning: logical not is only applied to

[PATCH 3.12 048/119] net/irda: handle iriap_register_lsap() allocation failure

2016-09-29 Thread Jiri Slaby
From: Vegard Nossum 3.12-stable review patch. If anyone has any objections, please let me know. === [ Upstream commit 5ba092efc7ddff040777ae7162f1d195f513571b ] If iriap_register_lsap() fails to allocate memory, self->lsap is set to NULL. However, none

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

2016-09-29 Thread Chao Yu
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 2016/9/27 2:33, Jaegeuk Kim wrote: > Hi Chao, > > On Tue,

[PATCH 3.12 038/119] HID: hid-input: Add parentheses to quell gcc warning

2016-09-29 Thread Jiri Slaby
From: James C Boyd 3.12-stable review patch. If anyone has any objections, please let me know. === commit 09a5c34e8d6b05663ec4c3d22b1fbd9fec89aaf9 upstream. GCC reports a -Wlogical-not-parentheses warning here; therefore add parentheses to shut it up and to

[PATCH 3.12 033/119] USB: serial: mos7840: fix non-atomic allocation in write path

2016-09-29 Thread Jiri Slaby
From: Alexey Khoroshilov 3.12-stable review patch. If anyone has any objections, please let me know. === commit 3b7c7e52efda0d4640060de747768360ba70a7c0 upstream. There is an allocation with GFP_KERNEL flag in mos7840_write(), while it may be called from

[PATCH 3.12 047/119] Revert "wext: Fix 32 bit iwpriv compatibility issue with 64 bit Kernel"

2016-09-29 Thread Jiri Slaby
From: Johannes Berg 3.12-stable review patch. If anyone has any objections, please let me know. === commit 4d0bd46a4d55383f7b925e6cf7865a77e0f0e020 upstream. This reverts commit 3d5fdff46c4b2b9534fa2f9fc78e90a48e0ff724. Ben Hutchings pointed out that the

Re: [PATCH v2 3/3] video: of: display_timing: Add support for syncclk-active property

2016-09-29 Thread Tomi Valkeinen
On 22/09/16 13:35, Peter Ujfalusi wrote: > Configure the DISPLAY_FLAGS_SYNC_POSEDGE/NEGEDGE flags according to the > binding document. > If the syncclk-active is present in DT, configure the flags accordingly, if > it is omitted it means that the SYNC edge is following the pixdata > configuration.

[PATCH v2] MAINTAINERS: add myself as Marvell berlin SoC maintainer

2016-09-29 Thread Jisheng Zhang
I would like to take maintainership for Marvell berlin SoCs. Signed-off-by: Jisheng Zhang Acked-by: Sebastian Hesselbarth --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index b003d0c..3dfb8c3

[PATCH 3.12 004/119] parisc: Fix order of EREFUSED define in errno.h

2016-09-29 Thread Jiri Slaby
From: Helge Deller 3.12-stable review patch. If anyone has any objections, please let me know. === commit 3eb53b20d7bd1374598cfb1feaa081fcac0e76cd upstream. When building gccgo in userspace, errno.h gets parsed and the go include file sysinfo.go is generated.

Re: [PATCH] mm/vmalloc: reduce the number of lazy_max_pages to reduce latency

2016-09-29 Thread Chris Wilson
On Thu, Sep 29, 2016 at 04:28:08PM +0800, Jisheng Zhang wrote: > On Thu, 29 Sep 2016 09:18:18 +0100 Chris Wilson wrote: > > > On Thu, Sep 29, 2016 at 03:34:11PM +0800, Jisheng Zhang wrote: > > > On Marvell berlin arm64 platforms, I see the preemptoff tracer report > > > a max 26543 us latency at

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

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

2016-09-29 Thread David Howells
/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 rxrpc: Make Tx loss-injection

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 > >>

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

[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 ---

[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 +++--

[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

[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

[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

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

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

[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

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

[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 +

[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(),

[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

[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

[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

[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

[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

[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

[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

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

[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 ---

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 >

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

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

[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

[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

[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

[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

[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

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 > > > >

[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

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:

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. >> > >>

[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,

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

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

[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

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, > >

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

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

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

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

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; >

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:

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

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. > > > > > >

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

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

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

[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

[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

[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

[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

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

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

[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 +

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

2016-09-29 Thread Laura Abbott
On 09/29/2016 05:48 PM, Mark Rutland wrote: 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) +{ +

Re: [RFC][PATCH 6/7] printk: use alternative printk buffers

2016-09-29 Thread Sergey Senozhatsky
On (09/29/16 15:00), Petr Mladek wrote: [..] > > @@ -1791,7 +1791,7 @@ asmlinkage int vprintk_emit(int facility, int level, > > zap_locks(); > > } > > > > - lockdep_off(); > > + alt_printk_enter(); > > IMHO, we could not longer enter vprintk_emit() recursively. The same >

Hi linux

2016-09-29 Thread Chris Rankin
Good morning linux http://www.scanman.com.au/particularly.php?stick=2ubmk03m5uy9q Chris Rankin

[PATCH v2] MIPS: loongson32: Remove several RTC-related macros

2016-09-29 Thread Yang Ling
Add regs-rtc.h to replace the macros of redundancy. Signed-off-by: Yang Ling --- V2: Add the header file regs-rtc.h in loongson1.h. --- arch/mips/include/asm/mach-loongson32/loongson1.h | 1 + arch/mips/include/asm/mach-loongson32/regs-rtc.h | 23 +++

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

2016-09-29 Thread Mark Rutland
On Thu, Sep 29, 2016 at 06:11:44PM -0700, Laura Abbott wrote: > On 09/29/2016 05:48 PM, Mark Rutland wrote: > >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

Re: [kernel-hardening] [PATCH 0/3] WX Checking for arm64

2016-09-29 Thread Kees Cook
On Thu, Sep 29, 2016 at 2:32 PM, Laura Abbott wrote: > > 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: > > -

[PATCH] drivers: video: console: bitblit.c

2016-09-29 Thread Nahom
Fixed an indentation coding style issue. Signed-off-by: Nahom --- drivers/video/console/bitblit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/console/bitblit.c b/drivers/video/console/bitblit.c index dbfe4ee..4e7d0e3 100644 ---

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

2016-09-29 Thread Kees Cook
On Thu, Sep 29, 2016 at 5:55 PM, Sean Hudson wrote: > 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

Re: [PATCH v2] UFS: Date Segment only need for WRITE DESCRIPTOR

2016-09-29 Thread Martin K. Petersen
> "Kiwoong" == Kiwoong Kim writes: Kiwoong> I think that the patch is correct. UFS spec says "The Data Kiwoong> Segment area is empty" for Read Descriptor. I have been using Kiwoong> similar code with it and it works. That have been already Kiwoong> applied in

[PATCH 2/2] mmc: sdhci-of-arasan: mark sdhci_arasan_reset() static

2016-09-29 Thread Baoyou Xie
We get 1 warning when building kernel with W=1: drivers/mmc/host/sdhci-of-arasan.c:253:6: warning: no previous prototype for 'sdhci_arasan_reset' [-Wmissing-prototypes] In fact, this function is only used in the file in which it is declared and don't need a declaration, but can be made static.

[PATCH 1/2] mmc: block: add missing header dependencies

2016-09-29 Thread Baoyou Xie
We get 1 warning when building kernel with W=1: drivers/mmc/card/block.c:2147:5: warning: no previous prototype for 'mmc_blk_issue_rq' [-Wmissing-prototypes] In fact, this function is declared in drivers/mmc/card/block.h, so this patch adds missing header dependencies. Signed-off-by: Baoyou Xie

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

2016-09-29 Thread Petr Mladek
On Tue 2016-09-27 23:22:33, Sergey Senozhatsky wrote: > This patch extends the idea of NMI per-cpu buffers to regions > that may cause recursive printk() calls and possible deadlocks. > Namely, printk() can't handle printk calls from schedule code > or printk() calls from lock debugging code

Re: [PATCH 4/5] ACPI / property: Allow holes in reference properties

2016-09-29 Thread Rafael J. Wysocki
On Thursday, September 29, 2016 02:56:57 PM Mika Westerberg wrote: > On Thu, Sep 29, 2016 at 01:53:50PM +0200, Rafael J. Wysocki wrote: > > On Thursday, September 29, 2016 09:48:29 AM Mika Westerberg wrote: > > > On Wed, Sep 28, 2016 at 11:36:10PM +0200, Rafael J. Wysocki wrote: > > > > On Fri,

Re: [PATCH] pci: remove error message when device not present

2016-09-29 Thread Rafael J. Wysocki
On Thursday, September 29, 2016 12:28:43 PM Grant Likely wrote: > It's not an error if the IBM ACPI pseudo-device isn't present, it merely > means the kernel isn't running on that IBM hardware. Get rid of the > error report so as not to pollute the kernel log with an message > irrelevant to the

Observed a ecryptFS crash

2016-09-29 Thread liushuoran
Hi Tyhicks, We observed a ecryptFS crash occasionally in Linux kernel 4.1.18. The call trace is attached below. Is it a known issue? Look forward to hearing from you. Thanks in advance! [19314.529479s][pid:2694,cpu3,GAC_Executor[0]]Call trace: [19314.529510s][pid:2694,cpu3,GAC_Executor[0]][]

Re: [PATCH v4 2/3] mm/hugetlb: check for reserved hugepages during memory offline

2016-09-29 Thread Michal Hocko
On Mon 26-09-16 19:28:10, Gerald Schaefer wrote: > In dissolve_free_huge_pages(), free hugepages will be dissolved without > making sure that there are enough of them left to satisfy hugepage > reservations. otherwise a poor process with a reservation might get unexpected SIGBUS, right? > Fix

Re: [PATCH v4 3/3] mm/hugetlb: improve locking in dissolve_free_huge_pages()

2016-09-29 Thread Michal Hocko
On Mon 26-09-16 19:28:11, Gerald Schaefer wrote: > For every pfn aligned to minimum_order, dissolve_free_huge_pages() will > call dissolve_free_huge_page() which takes the hugetlb spinlock, even if > the page is not huge at all or a hugepage that is in-use. > > Improve this by doing the

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

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’

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. > >

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 >> >

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 >

[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

<    2   3   4   5   6   7   8   9   10   11   >