Re: [RFC PATCH 1/2] mm, vmscan: account the number of isolated pages per zone

2017-02-21 Thread Michal Hocko
for inclusion so your further > > > > testing would be more than appreciated. Also stalls > 10s without any > > > > previous occurrences would be interesting. > > > > > > I confirmed that linux-next-20170221 with kmallocwd applied can reproduce > >

Re: [RFC 1/3] procfs: fdinfo -- Extend information about epoll target files

2017-02-21 Thread Cyrill Gorcunov
On Wed, Feb 22, 2017 at 10:44:07AM +0300, Pavel Emelyanov wrote: > On 02/21/2017 10:16 PM, Cyrill Gorcunov wrote: > > On Tue, Feb 21, 2017 at 10:41:12AM -0800, Andy Lutomirski wrote: > >>> Thus lets add file position, inode and device number where > >>> this target lays. This three fields can be us

[PATCH] sched/fair: Update rq clock before changing a task's CPU affinity

2017-02-21 Thread Wanpeng Li
From: Wanpeng Li [ cut here ] WARNING: CPU: 6 PID: 81 at kernel/sched/sched.h:812 set_next_entity+0x11d/0x380 rq->clock_update_flags < RQCF_ACT_SKIP CPU: 6 PID: 81 Comm: torture_shuffle Not tainted 4.10.0+ #1 Hardware name: LENOVO ThinkCentre M8500t-N000/SHARKBAY, BIO

Re: [PATCH 1/2] Correct function definition for C++

2017-02-21 Thread Joakim Tjernlund
On Wed, 2017-02-22 at 08:10 +0100, Greg KH wrote: > On Tue, Feb 21, 2017 at 04:24:04PM +0100, Joakim Tjernlund wrote: > > C++ does does not like the extra extern before asmlinkage, remove it. > > > > Signed-off-by: Joakim Tjernlund > > --- > > include/linux/printk.h | 4 ++-- > > 1 file changed,

[PATCH] net: realtek: 8139cp: use new api ethtool_{get|set}_link_ksettings

2017-02-21 Thread Philippe Reynes
The ethtool api {get|set}_settings is deprecated. We move this driver to new api {get|set}_link_ksettings. As I don't have the hardware, I'd be very pleased if someone may test this patch. Signed-off-by: Philippe Reynes --- drivers/net/ethernet/realtek/8139cp.c | 14 -- 1 files ch

[PATCH] drm: bridge: dw-hdmi: support i2c extended read mode

2017-02-21 Thread Nickey Yang
"I2C Master Interface Extended Read Mode" implements a segment pointer-based read operation using the Special Register configuration. This patch fix https://patchwork.kernel.org/patch/7098101/ mentioned "The current implementation does not support "I2C Master Interface Extended Read Mode" to read

Re: [PATCH v5 10/10] landlock: Add user and kernel documentation for Landlock

2017-02-21 Thread Mickaël Salaün
On 22/02/2017 06:21, Andy Lutomirski wrote: > On Tue, Feb 21, 2017 at 5:26 PM, Mickaël Salaün wrote: >> This documentation can be built with the Sphinx framework. >> >> Signed-off-by: Mickaël Salaün >> Cc: Alexei Starovoitov >> Cc: Andy Lutomirski >> Cc: Daniel Borkmann >> Cc: David S. Miller

Re: [RFC 1/3] procfs: fdinfo -- Extend information about epoll target files

2017-02-21 Thread Pavel Emelyanov
On 02/21/2017 10:16 PM, Cyrill Gorcunov wrote: > On Tue, Feb 21, 2017 at 10:41:12AM -0800, Andy Lutomirski wrote: >>> Thus lets add file position, inode and device number where >>> this target lays. This three fields can be used as a primary >>> key for sorting, and together with kcmp help CRIU can

Re: [PATCH] Add pidfs filesystem

2017-02-21 Thread Pavel Emelyanov
On 02/21/2017 05:57 PM, Oleg Nesterov wrote: > On 02/18, Alexey Gladkov wrote: >> >> This patch allows to mount only the part of /proc related to pids >> without rest objects. Since this is an addon to /proc, flags applied to >> /proc have an effect on this pidfs filesystem. > > I leave this to yo

Re: crypto/cavium MSI-X fixups

2017-02-21 Thread Christoph Hellwig
On Tue, Feb 21, 2017 at 09:36:04AM -0800, David Daney wrote: > With respect to pci_enable_msix(), what do you recommend as a replacement? pci_alloc_irq_vectors. In fact I have a tree ready for after -rc1 that removes pci_enable_msix() entirely. > For the crypto/cavium driver, you recommend pci

Re: [Outreachy kernel] [PATCH 2/7] staging: most: Using macro DIV_ROUND_UP

2017-02-21 Thread Julia Lawall
On Tue, 21 Feb 2017, SIMRAN SINGHAL wrote: > > > On Wednesday, February 22, 2017 at 1:28:52 AM UTC+5:30, Julia Lawall wrote: > > > On Wed, 22 Feb 2017, simran singhal wrote: > > > The macro DIV_ROUND_UP performs the computation (((n) + (d) - > 1) /(d)). > > It clarifies t

Re: [f2fs-dev] [PATCH 09/10] f2fs: avoid needless checkpoint in f2fs_trim_fs

2017-02-21 Thread Chao Yu
On 2016/12/31 2:51, Jaegeuk Kim wrote: > The f2fs_trim_fs() doesn't need to do checkpoint if there are newly allocated > data blocks only which didn't change the critical checkpoint data such as nat > and sit entries. > > Signed-off-by: Jaegeuk Kim Reviewed-by: Chao Yu

Re: [f2fs-dev] [PATCH 10/10] f2fs: return fs_trim if there is no candidate

2017-02-21 Thread Chao Yu
On 2016/12/31 2:51, Jaegeuk Kim wrote: > If there is no candidate to submit discard command during f2sf_trim_fs, let's > return without checkpoint. > > Signed-off-by: Jaegeuk Kim Reviewed-by: Chao Yu Please see comments below. > --- > fs/f2fs/checkpoint.c | 5 + > fs/f2fs/f2fs.h |

Re: [f2fs-dev] [PATCH 08/10] f2fs: relax async discard commands more

2017-02-21 Thread Chao Yu
On 2017/1/6 10:42, Jaegeuk Kim wrote: > Hi Chao, > > On 01/06, Chao Yu wrote: >> On 2017/1/6 3:46, Jaegeuk Kim wrote: >>> On 01/05, Chao Yu wrote: On 2017/1/4 17:29, Chao Yu wrote: > On 2016/12/31 2:51, Jaegeuk Kim wrote: >> This patch relaxes async discard commands to avoid waiting i

Re: [Outreachy kernel] [PATCH v3] staging: xgifb: function definition argument should also have an identifier name

2017-02-21 Thread Julia Lawall
On Wed, 22 Feb 2017, Arushi Singhal wrote: > function definition argument like 'struct vb_device_info *','unsigned > long' etc. should also have an identifier name. Actually, this is not really clear. The definition of a function is the thing that has the actual code, like int foo(int x) { re

[PATCH-SPEAKUP 1/2] return same error value from spk_set_key_info

2017-02-21 Thread Pranay Kr. Srivastava
This patch makes spk_set_key_info return -EINVAL in case of failure instead of returning 4 different values for the type of error that occurred. Print the offending values instead as debug message. Signed-off-by: Pranay Kr. Srivastava --- drivers/staging/speakup/main.c | 27 +++-

[PATCH-SPEAKUP 2/2] remove unecessary initial allocation of vc

2017-02-21 Thread Pranay Kr. Srivastava
This patch removes the unnecessary allocation of current foreground vc during initialization. This initialization is already handled in the loop that follows it for all available virtual consoles. Also change the prototype of speakup_allocate to take extra argument of gfp_* flags. Thus not requir

[no subject]

2017-02-21 Thread Pranay Kr. Srivastava
Sending both patches as series instead. Made the required changes as suggessted in earlier versions and fixed the warnings reported from kbuild test robot.

Re: [HMM v17 00/14] HMM (Heterogeneous Memory Management) v17

2017-02-21 Thread Balbir Singh
On Fri, Jan 27, 2017 at 05:52:07PM -0500, Jérôme Glisse wrote: > Cliff note: HMM offers 2 things (each standing on its own). First > it allows to use device memory transparently inside any process > without any modifications to process program code. Second it allows > to mirror process address spac

Re: [Outreachy kernel] [PATCH] staging: wilc1000: renames struct tstrRSSI and its members u8Index, u8Full

2017-02-21 Thread Julia Lawall
On Tue, 21 Feb 2017, Tahia Khan wrote: > Fixes multiple camel case checks on struct tstrRSSI from checkpatch.pl: > > Avoid CamelCase: > Avoid CamelCase: > Avoid CamelCase: > > Signed-off-by: Tahia Khan > --- > drivers/staging/wilc1000/coreconfigurator.h | 8 > drivers/stagin

Re: [PATCH v2 1/3] fpga: Add flag to indicate bitstream needs decrypting

2017-02-21 Thread Greg Kroah-Hartman
On Tue, Feb 21, 2017 at 12:26:17PM -0600, Alan Tull wrote: > On Tue, Feb 21, 2017 at 10:35 AM, Alan Tull > > Hi Greg, > > Would it be helpful for us to resend patches for you to take with you > on cc? Or is it enough that they are on lkml? Yes, please send patches with your signed-off-by: for

Re: [PATCH 1/2] Correct function definition for C++

2017-02-21 Thread Greg KH
On Tue, Feb 21, 2017 at 04:24:04PM +0100, Joakim Tjernlund wrote: > C++ does does not like the extra extern before asmlinkage, remove it. > > Signed-off-by: Joakim Tjernlund > --- > include/linux/printk.h | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/include/linux

Re: [PATCH v3 2/2] drm/fb-helper: implement ioctl FBIO_WAITFORVSYNC

2017-02-21 Thread Michel Dänzer
On 21/02/17 07:00 PM, Stefan Lengfeld wrote: > > 2/ Wait for a single vsync event on all active crtcs as Ville Syrjälä >described here [2] in the optimal implementation. FWIW, this seems like a bad idea, since with multiple active CRTCs it would make it essentially random at which intervals

Re: [PATCH 1/3] mm, vmscan: fix zone balance check in prepare_kswapd_sleep

2017-02-21 Thread Minchan Kim
Hi, On Wed, Feb 15, 2017 at 09:22:45AM +, Mel Gorman wrote: > From: Shantanu Goel > > The check in prepare_kswapd_sleep needs to match the one in balance_pgdat > since the latter will return as soon as any one of the zones in the > classzone is above the watermark. This is specially importa

Re: [PATCH] ALSA: emu10k1: Remove cast from memory allocation

2017-02-21 Thread Takashi Iwai
On Wed, 22 Feb 2017 07:47:16 +0100, Tobin C. Harding wrote: > > Coccinelle emits multiple WARNING: casting value returned by memory allocation > function to (u_int32_t __user *) is useless. > > Remove unnecessary cast. > > Signed-off-by: Tobin C. Harding __user annotation requires the explicit

Re: [PATCH] net/dccp: fix use after free in tw_timer_handler()

2017-02-21 Thread Dmitry Vyukov
On Tue, Feb 21, 2017 at 2:56 PM, Dmitry Vyukov wrote: > On Tue, Feb 21, 2017 at 2:27 PM, Andrey Ryabinin > wrote: >> DCCP doesn't purge timewait sockets on network namespace shutdown. >> So, after net namespace destroyed we could still have an active timer >> which will trigger use after free in

[PATCH] ALSA: emu10k1: Remove cast from memory allocation

2017-02-21 Thread Tobin C. Harding
Coccinelle emits multiple WARNING: casting value returned by memory allocation function to (u_int32_t __user *) is useless. Remove unnecessary cast. Signed-off-by: Tobin C. Harding --- sound/pci/emu10k1/emufx.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sound/pc

[PATCH] proc: Remove cast from memory allocation

2017-02-21 Thread Tobin C. Harding
Coccinelle emits WARNING: casting value returned by memory allocation function to (struct proc_inode *) is useless. Remove unnecessary cast. Signed-off-by: Tobin C. Harding --- fs/proc/inode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/proc/inode.c b/fs/proc/inode.c

[GIT PULL] s390 patches for 4.11 merge window #1

2017-02-21 Thread Martin Schwidefsky
Hi Linus, please pull from the 'for-linus' branch of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git for-linus to receive the following updates: -- The first part of the s390 update for 4.11. Changes included: * New entropy generation for the pseudo random number generator.

Re: linux-next: manual merge of the kspp tree with the net-next tree

2017-02-21 Thread Daniel Borkmann
On 02/22/2017 12:51 AM, Stephen Rothwell wrote: Hi Kees, Today's linux-next merge of the kspp tree got a conflict in: arch/arm/Kconfig between commit: d2852a224050 ("arch: add ARCH_HAS_SET_MEMORY config") from the net-next tree and commit: ad21fc4faa2a ("arch: Move CONFIG_DEBUG_ROD

[PATCH] fs/9p: Remove cast from memory allocation

2017-02-21 Thread Tobin C. Harding
Coccinelle emits WARNING: casting value returned by memory allocation function to (struct v9fs_inode *) is useless. Remove unnecessary cast. Signed-off-by: Tobin C. Harding --- fs/9p/vfs_inode.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/fs/9p/vfs_inode.c b/fs/9p/vfs_

Re: linux-next: manual merge of the net-next tree with the s390 tree

2017-02-21 Thread Daniel Borkmann
On 02/22/2017 12:15 AM, Stephen Rothwell wrote: Hi all, Today's linux-next merge of the net-next tree got a conflict in: arch/s390/net/bpf_jit_comp.c between commit: 9437964885f8 ("s390/bpf: remove redundant check for non-null image") from the s390 tree and commit: 9d876e79df6a ("b

Re: linux-next: manual merge of the kspp tree with the net-next tree

2017-02-21 Thread Daniel Borkmann
On 02/22/2017 01:06 AM, Stephen Rothwell wrote: Hi all, Today's linux-next merge of the kspp tree got a conflict in: include/linux/filter.h between commit: 9d876e79df6a ("bpf: fix unlocking of jited image when module ronx not set") from the net-next tree and commit: 0f5bf6d0afe4 ("

[PATCH] ncpfs: Remove cast from memory allocation

2017-02-21 Thread Tobin C. Harding
Coccinelle emits WARNING: casting value returned by memory allocation function to (struct ncp_inode_info *) is useless. Remove unnecessary cast. Signed-off-by: Tobin C. Harding --- fs/ncpfs/inode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/ncpfs/inode.c b/fs/ncpfs/i

Re: [PATCH v3 13/18] power: supply: add battery driver for AXP20X and AXP22X PMICs

2017-02-21 Thread Chen-Yu Tsai
Hi, On Wed, Feb 22, 2017 at 2:19 AM, Quentin Schulz wrote: > Hi Chen-Yu, > > On 21/02/2017 05:44, Chen-Yu Tsai wrote: >> On Tue, Feb 14, 2017 at 5:41 PM, Quentin Schulz >> wrote: >>> The X-Powers AXP20X and AXP22X PMICs can have a battery as power supply. >>> >>> This patch adds the battery powe

Re: [RFC PATCH v4] IV Generation algorithms for dm-crypt

2017-02-21 Thread Binoy Jayan
Hi Herbert, On 8 February 2017 at 13:02, Gilad Ben-Yossef wrote: > On Tue, Feb 7, 2017 at 12:35 PM, Binoy Jayan wrote: >> === >> dm-crypt optimization for larger block sizes >> ===

Re: [RFC 7/8] fpga-region: add sysfs interface

2017-02-21 Thread Moritz Fischer
On Tue, Feb 21, 2017 at 9:46 PM, Nadathur, Sundar wrote: > On February 21, 2017 9:39 PM, Moritz Fischer wrote: > >> TLV Seems easy enough. To give an update, I played with fdt a bit to see how >> far I get in half an hour. I got bool / int / strings to work quite fast >> (~30mins). >> Please disr

Re: [PATCH 2/4] ARM: dts: da850: add vpif video display pins

2017-02-21 Thread Sekhar Nori
On Tuesday 21 February 2017 02:53 PM, Bartosz Golaszewski wrote: > 2017-02-21 5:49 GMT+01:00 Sekhar Nori : >> On Monday 20 February 2017 09:12 PM, Bartosz Golaszewski wrote: >>> 2017-02-20 11:29 GMT+01:00 Sekhar Nori : On Thursday 16 February 2017 11:45 PM, Bartosz Golaszewski wrote: > Add

Re: [PATCH 0/6] Enable parallel page migration

2017-02-21 Thread Anshuman Khandual
On 02/22/2017 10:34 AM, Balbir Singh wrote: > On Fri, Feb 17, 2017 at 04:54:47PM +0530, Anshuman Khandual wrote: >> This patch series is base on the work posted by Zi Yan back in >> November 2016 (https://lkml.org/lkml/2016/11/22/457) but includes some >> amount clean up and re-organization. T

Re: [PATCH v2 1/2] usbip: Fix-format-overflow

2017-02-21 Thread Krzysztof Opasiak
Hi, W dniu 2017-02-21 o 18:57, Jonathan Dieter pisze: The usbip userspace tools call sprintf()/snprintf() and don't check for the return value which can lead the paths to overflow, truncating the final file in the path. More urgently, GCC 7 now warns that these aren't checked with -Wformat-over

Re: [PATCH] x86/mce: Keep quiet in case of broadcasted mce after system panic

2017-02-21 Thread Xunlei Pang
On 02/22/2017 at 02:20 AM, Luck, Tony wrote: >> It's from my understanding, I didn't get the explicit description from the >> intel SDM on this point. >> If a broadcast SRAO comes on real hardware, will MSR_IA32_MCG_STATUS of each >> cpu have MCG_STATUS_RIPV bit set? > MCG_STATUS is a per-thread

RE: [RFC 7/8] fpga-region: add sysfs interface

2017-02-21 Thread Nadathur, Sundar
On February 21, 2017 9:39 PM, Moritz Fischer wrote: > TLV Seems easy enough. To give an update, I played with fdt a bit to see how > far I get in half an hour. I got bool / int / strings to work quite fast > (~30mins). > Please disregard the horrible hackyness of this ... > [...] > So I'm fairly

[PATCH] mm: do not access page->mapping directly on page_endio

2017-02-21 Thread Minchan Kim
With rw_page, page_endio is used for completing IO on a page and it propagates write error to the address space if the IO fails. The problem is it accesses page->mapping directly which might be okay for file-backed pages but it shouldn't for anonymous page. Otherwise, it can corrupt one of field fr

Re: [RFC 7/8] fpga-region: add sysfs interface

2017-02-21 Thread Moritz Fischer
Hi all, On Tue, Feb 21, 2017 at 9:12 PM, Jason Gunthorpe wrote: > On Tue, Feb 21, 2017 at 07:49:19PM -0800, Moritz Fischer wrote: > >> fdt does this out of the box, too. So far I've seen nothing fdt >> couldn't do (or doesn't do let's rather say). > > tlv/fdt/http headers are all essentially exac

Re: next-20170217 boot on POWER8 LPAR : WARNING @kernel/jump_label.c:287

2017-02-21 Thread Michael Ellerman
Jason Baron writes: > On 02/20/2017 10:05 PM, Sachin Sant wrote: >> >>> On 20-Feb-2017, at 8:27 PM, Jason Baron >> > wrote: >>> >>> Hi, >>> >>> On 02/19/2017 09:07 AM, Sachin Sant wrote: While booting next-20170217 on a POWER8 LPAR following warning is displaye

Re: [PATCH] usb: misc: remove unnecessary code

2017-02-21 Thread Gustavo A. R. Silva
Hi Peter, Quoting Peter Senna Tschudin : On Mon, Feb 20, 2017 at 05:28:46PM -0600, Gustavo A. R. Silva wrote: 'val' is an unsigned variable, and less-than-zero comparison of an unsigned variable is never true. I would add that val is set by kstrtoul() that converts a string to an unsigned lo

Re: [x86/vsyscall] 3dc33bd30f Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b

2017-02-21 Thread Kees Cook
On Tue, Feb 21, 2017 at 9:23 PM, Andy Lutomirski wrote: > On Tue, Feb 21, 2017 at 4:46 PM, Kees Cook wrote: >> On Tue, Feb 21, 2017 at 4:39 PM, Chunyu Hu wrote: >>> I hit the similar panic on Fedora 25. Is it the same issue? >>> >>> >>> [2.527391] Freeing unused kernel memory: 1688K (fff

Re: [PATCH] usercopy: ARM NOMMU has no 64-bit get_user

2017-02-21 Thread Kees Cook
On Tue, Feb 21, 2017 at 2:01 PM, Arnd Bergmann wrote: > On a NOMMU ARM kernel, we get this link error: > > ERROR: "__get_user_bad" [lib/test_user_copy.ko] undefined! > > The problem is that the extended get_user/put_user definitions > were only added for the noral (MMU based) case. > > We could ad

Re: [PATCH] usb: misc: add a missing continue and refactor code

2017-02-21 Thread Gustavo A. R. Silva
Quoting "Gustavo A. R. Silva" : Hi Alan, Quoting Alan Stern : On Tue, 21 Feb 2017, Gustavo A. R. Silva wrote: Code refactoring to make the flow easier to follow and add missing 'continue' for case USB_ENDPOINT_XFER_INT. Addresses-Coverity-ID: 1248733 Cc: Alan Stern Signed-off-by: Gustavo

Re: [PATCH_v4.1_0_3] Make core_pattern support namespace

2017-02-21 Thread Cao Shufeng/曹树烽
ping 在 2017-02-08三的 11:00 +0800,Cao Shufeng写道: > This patchset includes following function points: > 1: Let usermodehelper function possible to set pid namespace >done by: [PATCH v4 1/3] Make call_usermodehelper_exec possible >to set pid namespace. > 2: Let pipe_type core_pattern write dump

[PATCH 1/2] reset: Add API to count number of reset available with device

2017-02-21 Thread Vivek Gautam
Count number of reset phandles available with the device node to know the resets a given device has. Cc: Philipp Zabel Signed-off-by: Vivek Gautam --- Based on torvald's master branch. include/linux/reset.h | 16 1 file changed, 16 insertions(+) diff --git a/include/linux/re

[PATCH 2/2] usb; dwc3: of-simple: Add support to get resets for the device

2017-02-21 Thread Vivek Gautam
Add support to get a list of resets available for the device. These resets must be kept de-asserted until the device is in use. Cc: Felipe Balbi Signed-off-by: Vivek Gautam --- Based on torvald's master branch. drivers/usb/dwc3/dwc3-of-simple.c | 49 +++ 1

Re: [x86/vsyscall] 3dc33bd30f Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b

2017-02-21 Thread Andy Lutomirski
On Tue, Feb 21, 2017 at 4:46 PM, Kees Cook wrote: > On Tue, Feb 21, 2017 at 4:39 PM, Chunyu Hu wrote: >> I hit the similar panic on Fedora 25. Is it the same issue? >> >> >> [2.527391] Freeing unused kernel memory: 1688K (bdf66000 - >> be10c000) >> [2.535222] Write protect

Re: [PATCH v5 10/10] landlock: Add user and kernel documentation for Landlock

2017-02-21 Thread Andy Lutomirski
On Tue, Feb 21, 2017 at 5:26 PM, Mickaël Salaün wrote: > This documentation can be built with the Sphinx framework. > > Signed-off-by: Mickaël Salaün > Cc: Alexei Starovoitov > Cc: Andy Lutomirski > Cc: Daniel Borkmann > Cc: David S. Miller > Cc: James Morris > Cc: Jonathan Corbet > Cc: Kee

[GIT PULL] gcc-plugins updates for v4.11-rc1 (take 2)

2017-02-21 Thread Kees Cook
Hi, Please pull these gcc-plugins changes for v4.11-rc1. (This is take 2, with the initify series removed.) This includes infrastructure updates and the structleak plugin, which performs forced initialization of certain structures to avoid possible information exposures to userspace. Thanks! -Ke

Re: [RFC 7/8] fpga-region: add sysfs interface

2017-02-21 Thread Jason Gunthorpe
On Tue, Feb 21, 2017 at 07:49:19PM -0800, Moritz Fischer wrote: > fdt does this out of the box, too. So far I've seen nothing fdt > couldn't do (or doesn't do let's rather say). tlv/fdt/http headers are all essentially exactly the same thing. Key/value pairs with various encoding schemes. I don'

Re: [PATCH v6] drivers/misc: Add Aspeed LPC control driver

2017-02-21 Thread Suraj Jitindar Singh
On Fri, 2017-02-17 at 14:28 +1100, Cyril Bur wrote: I may be too late, but see below... > In order to manage server systems, there is typically another > processor > known as a BMC (Baseboard Management Controller) which is responsible > for powering the server and other various elements, sometime

[no subject]

2017-02-21 Thread DR ANDASON PHILLIP
YOUR ATM CARD.pdf Description: Adobe PDF document

Re: [GIT PULL] gcc-plugins updates for v4.11-rc1

2017-02-21 Thread Kees Cook
On Tue, Feb 21, 2017 at 6:34 PM, Linus Torvalds wrote: > On Tue, Feb 21, 2017 at 12:16 PM, Kees Cook wrote: >> >> Please pull these gcc-plugins changes for v4.11-rc1. This includes two new >> plugins for the upstream kernel: structleak and initify. The structleak >> plugin performs forced initial

Re: [PATCH 0/6] Enable parallel page migration

2017-02-21 Thread Balbir Singh
On Fri, Feb 17, 2017 at 04:54:47PM +0530, Anshuman Khandual wrote: > This patch series is base on the work posted by Zi Yan back in > November 2016 (https://lkml.org/lkml/2016/11/22/457) but includes some > amount clean up and re-organization. This series depends on THP migration > optimizati

Re: [PATCH v3 8/9] sched: Don't reinvent the wheel but use existing llist API

2017-02-21 Thread Byungchul Park
On Tue, Feb 14, 2017 at 04:26:29PM +0900, Byungchul Park wrote: > Although llist provides proper APIs, they are not used. Make them used. Hello, What do you think? > > Signed-off-by: Byungchul Park > --- > kernel/sched/core.c | 15 +++ > 1 file changed, 3 insertions(+), 12 deletio

Re: [PATCH v3 1/2] sched/deadline: Remove unnecessary condition in push_dl_task()

2017-02-21 Thread Byungchul Park
On Thu, Feb 16, 2017 at 11:34:16AM +0900, Byungchul Park wrote: > pick_next_pushable_dl_task(rq) has BUG_ON(rq->cpu != task_cpu(task)) > when it returns a task other than NULL, which means that task_cpu(task) > must be rq->cpu. So if task == next_task, then task_cpu(next_task) must > be rq->cpu as

[PATCH] staging: wilc1000: renames struct tstrRSSI and its members u8Index, u8Full

2017-02-21 Thread Tahia Khan
Fixes multiple camel case checks on struct tstrRSSI from checkpatch.pl: Avoid CamelCase: Avoid CamelCase: Avoid CamelCase: Signed-off-by: Tahia Khan --- drivers/staging/wilc1000/coreconfigurator.h | 8 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 10 +- 2 files

linux-next: Tree for Feb 22

2017-02-21 Thread Stephen Rothwell
Hi all, Please do not add any material intended for v4.12 to your linux-next included branches until after v4.11-rc1 has been released. Changes since 20170221: The net-next tree gained a conflict against the s390 tree. The kspp tree gained conflicts against the net-next tree. The scsi-mkp

Re: [Outreachy kernel] [PATCH] staging: xgifb: correct the multiple line dereference to fix coding stye errors

2017-02-21 Thread Joe Perches
On Wed, 2017-02-22 at 09:46 +0530, Arushi Singhal wrote: > On Wed, Feb 22, 2017 at 12:12 AM, Joe Perches wrote: > > > On Tue, 2017-02-21 at 18:40 +0100, Julia Lawall wrote: > > > > > > On Tue, 21 Feb 2017, Arushi Singhal wrote: > > > > > > > Error was reported by checkpatch.pl as > > > > WARNIN

Re: [PATCH] gpio: aspeed: Add debounce support

2017-02-21 Thread Joel Stanley
On Tue, Feb 21, 2017 at 1:10 AM, Andrew Jeffery wrote: > Each GPIO in the Aspeed GPIO controller can choose one of four input > debounce states: to not debounce an input or to select from one of three > programmable debounce timer values. Each GPIO in a four-bank-set is > assigned one bit in each

Re: [PATCH] mm: memcontrol: provide shmem statistics

2017-02-21 Thread Balbir Singh
On Tue, Feb 21, 2017 at 11:43:43AM -0500, Johannes Weiner wrote: > Cgroups currently don't report how much shmem they use, which can be > useful data to have, in particular since shmem is included in the > cache/file item while being reclaimed like anonymous memory. > > Add a counter to track shme

Re: [PATCH V2 6/7] proc: show MADV_FREE pages info in smaps

2017-02-21 Thread Shaohua Li
On Wed, Feb 22, 2017 at 11:47:21AM +0900, Minchan Kim wrote: > On Fri, Feb 03, 2017 at 03:33:22PM -0800, Shaohua Li wrote: > > Cc: Michal Hocko > > Cc: Minchan Kim > > Cc: Hugh Dickins > > Cc: Johannes Weiner > > Cc: Rik van Riel > > Cc: Mel Gorman > > Cc: Andrew Morton > > Signed-off-by: Sh

[PATCH v3] x86/mce: Don't participate in rendezvous process once nmi_shootdown_cpus() was made

2017-02-21 Thread Xunlei Pang
We met an issue for kdump: after kdump kernel boots up, and there comes a broadcasted mce in first kernel, the other cpus remaining in first kernel will enter the old mce handler of first kernel, then timeout and panic due to MCE synchronization, finally reset the kdump cpus. This patch lets cpus

Re: [PATCH v4 2/4] phy: qcom-qusb2: New driver for QUSB2 PHY on Qcom chips

2017-02-21 Thread Vivek Gautam
Hi Kishon, On Fri, Jan 27, 2017 at 11:54 AM, Vivek Gautam wrote: > > > On 01/26/2017 11:45 PM, Bjorn Andersson wrote: >> >> On Tue 24 Jan 01:19 PST 2017, Kishon Vijay Abraham I wrote: >>> >>> On Monday 23 January 2017 03:43 PM, Vivek Gautam wrote: On Wed, Jan 18, 2017 at 11:33 PM, Bjor

Re: [PATCH V2 1/3] arm64: dts: Add basic DT to support Spreadtrum's SP9860G

2017-02-21 Thread Chunyan Zhang
Hello Mathieu, On 二, 2月 21, 2017 at 09:27:44上午 -0700, Mathieu Poirier wrote: > On Tue, Feb 21, 2017 at 02:55:02PM +0800, Chunyan Zhang wrote: > > From: Orson Zhai > > Hello Chunyan, > > > > > SC9860G is a 8 cores of A53 SoC with 4G LTE support SoC from Spreadtrum. > > > > According to regula

Re: [RFC 7/8] fpga-region: add sysfs interface

2017-02-21 Thread Moritz Fischer
Hi Sundar, On Tue, Feb 21, 2017 at 7:13 PM, Nadathur, Sundar wrote: >> >>> Is there a standard you are looking at? Have you seen any use of >> >>> TLV's in the Linux kernel you could point to? > > Here are some examples of TLVs in the Linux kernel: > http://lxr.free-electrons.com/source/net/ipv

Re: [PATCH net-next] virtio-net: switch to use build_skb() for small buffer

2017-02-21 Thread Michael S. Tsirkin
On Wed, Feb 22, 2017 at 11:17:50AM +0800, Jason Wang wrote: > > > On 2017年02月22日 11:06, Michael S. Tsirkin wrote: > > On Wed, Feb 22, 2017 at 10:58:08AM +0800, Jason Wang wrote: > > > > > > On 2017年02月21日 22:37, Michael S. Tsirkin wrote: > > > > On Tue, Feb 21, 2017 at 04:46:28PM +0800, Jason Wa

Re: [PATCH] pinctrl: aspeed: Add initial pinconf support

2017-02-21 Thread Joel Stanley
On Tue, Feb 21, 2017 at 1:08 AM, Andrew Jeffery wrote: > Several pinconf parameters have a fairly straight-forward mapping onto > the Aspeed pin controller. These include management of pull-down bias, > drive-strength, and some debounce configuration. > > Pin biasing largely is managed on a per-GP

Re: [PATCH net-next] virtio-net: switch to use build_skb() for small buffer

2017-02-21 Thread Jason Wang
On 2017年02月22日 11:17, Jason Wang wrote: On 2017年02月22日 11:06, Michael S. Tsirkin wrote: On Wed, Feb 22, 2017 at 10:58:08AM +0800, Jason Wang wrote: On 2017年02月21日 22:37, Michael S. Tsirkin wrote: On Tue, Feb 21, 2017 at 04:46:28PM +0800, Jason Wang wrote: This patch switch to use build_s

RE: [PATCH] net: intel: e1000e: use new api ethtool_{get|set}_link_ksettings

2017-02-21 Thread Brown, Aaron F
> From: netdev-ow...@vger.kernel.org [mailto:netdev- > ow...@vger.kernel.org] On Behalf Of Philippe Reynes > Sent: Thursday, January 26, 2017 1:20 PM > To: Kirsher, Jeffrey T ; da...@davemloft.net > Cc: intel-wired-...@lists.osuosl.org; net...@vger.kernel.org; linux- > ker...@vger.kernel.org; Phili

Re: [PATCH V2 4/6] PM / domain: Register for PM QOS performance notifier

2017-02-21 Thread Viresh Kumar
On 21-02-17, 16:28, Ulf Hansson wrote: > A genpd PM domain can have several parents (or to use the genpd > terminology, masters). > > This is different from allowing a device to be attached to more than > one PM domains, which is what I think you are referring to. That isn't > supported. Thanks f

Re: [GIT PULL] modules updates for 4.11

2017-02-21 Thread Jessica Yu
+++ Jessica Yu [21/02/17 17:27 -0800]: Linus, Please pull below to receive modules updates for the 4.11 merge window. All small code cleanups this time around. Summary in the tag. Thanks, Jessica I've forgotten to CC lkml (now added to cc), my mistake! --- The following changes since commi

Re: [PATCH net-next] virtio-net: switch to use build_skb() for small buffer

2017-02-21 Thread Jason Wang
On 2017年02月22日 11:06, Michael S. Tsirkin wrote: On Wed, Feb 22, 2017 at 10:58:08AM +0800, Jason Wang wrote: On 2017年02月21日 22:37, Michael S. Tsirkin wrote: On Tue, Feb 21, 2017 at 04:46:28PM +0800, Jason Wang wrote: This patch switch to use build_skb() for small buffer which can have better

RE: [RFC 7/8] fpga-region: add sysfs interface

2017-02-21 Thread Nadathur, Sundar
> -Original Message- > From: Alan Tull [mailto:delicious.qui...@gmail.com] > Sent: Tuesday, February 21, 2017 10:33 AM > To: Moritz Fischer > Cc: Nadathur, Sundar ; Yves Vandervennet > ; Jason Gunthorpe > ; matthew.gerl...@linux.intel.com; > linux-kernel ; linux-f...@vger.kernel.org; > M

Re: [PATCH v20 2/4] mailbox: mediatek: Add Mediatek CMDQ driver

2017-02-21 Thread Horng-Shyang Liao
On Thu, 2017-02-16 at 21:02 +0530, Jassi Brar wrote: > On Mon, Feb 6, 2017 at 11:07 AM, Horng-Shyang Liao > wrote: > > Hi Jassi, > > > > On Wed, 2017-02-01 at 10:52 +0530, Jassi Brar wrote: > >> On Thu, Jan 26, 2017 at 2:07 PM, Horng-Shyang Liao > >> wrote: > >> > Hi Jassi, > >> > > >> > On Thu

Re: next_tick hang was Re: v4.10-rc8 (-rc6) boot regression on Intel desktop, does not boot after cold boots, boots after reboot

2017-02-21 Thread Frederic Weisbecker
On Sat, Feb 18, 2017 at 11:23:39AM +0100, Pavel Machek wrote: > On Sat 2017-02-18 10:39:17, Pavel Machek wrote: > > Hi! > > > > [I droped some CCs here, you may want to check the CC list]. > > > > > > These are different bugs. > > > > > > > > On x60, I see failures doing hotplug/unplug in a loop

Re: [PATCH net-next] virtio-net: switch to use build_skb() for small buffer

2017-02-21 Thread Michael S. Tsirkin
On Wed, Feb 22, 2017 at 10:58:08AM +0800, Jason Wang wrote: > > > On 2017年02月21日 22:37, Michael S. Tsirkin wrote: > > On Tue, Feb 21, 2017 at 04:46:28PM +0800, Jason Wang wrote: > > > This patch switch to use build_skb() for small buffer which can have > > > better performance for both TCP and XD

Re: Problem on SCTP

2017-02-21 Thread Xin Long
On Wed, Feb 22, 2017 at 10:29 AM, Sun Paul wrote: > Hi Xin > > do you mean we need to patch the kernel? Yups, pls comment on that bz if it's really needed for your env. A z-stream kernel may be available for that issue soon. Thanks. > > > > On Wed, Feb 22, 2017 at 10:00 AM, Xin Long wrote: >> O

Re: Free after use in fw_pm_notify()->kill_requests_without_uevent() due pending_fw_head

2017-02-21 Thread Sodagudi Prasad
On 2017-01-03 07:19, Greg KH wrote: On Tue, Jan 03, 2017 at 06:44:03AM -0800, Sodagudi Prasad wrote: Hi All, Device has crashed due to memory access after free while pending_fw_head list accessed. Kernel 4.4 stable version is used to reproduce this use after free. --

[PATCH v1] clk: rockchip: add pll_wait_lock for pll_enable

2017-02-21 Thread Elaine Zhang
If pll is power down,when power up pll need wait pll lock. The reference documents section: PLL frequency change and lock check Signed-off-by: Elaine Zhang --- drivers/clk/rockchip/clk-pll.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/clk/rockchip/clk-pll.c b/drivers/c

Re: [PATCH net-next] virtio-net: switch to use build_skb() for small buffer

2017-02-21 Thread Jason Wang
On 2017年02月21日 22:37, Michael S. Tsirkin wrote: On Tue, Feb 21, 2017 at 04:46:28PM +0800, Jason Wang wrote: This patch switch to use build_skb() for small buffer which can have better performance for both TCP and XDP (since we can work at page before skb creation). It also remove lots of XDP c

[PATCH v3] staging: xgifb: function definition argument should also have an identifier name

2017-02-21 Thread Arushi Singhal
function definition argument like 'struct vb_device_info *','unsigned long' etc. should also have an identifier name. Signed-off-by: Arushi Singhal --- Changes in v2: - By mistake one irrelevant line was added which is removed in this patch. - write the changes done in previous version in

Re: [PATCH] usb: misc: add a missing continue and refactor code

2017-02-21 Thread Gustavo A. R. Silva
Hi Alan, Quoting Alan Stern : On Tue, 21 Feb 2017, Gustavo A. R. Silva wrote: Code refactoring to make the flow easier to follow and add missing 'continue' for case USB_ENDPOINT_XFER_INT. Addresses-Coverity-ID: 1248733 Cc: Alan Stern Signed-off-by: Gustavo A. R. Silva --- drivers/usb/misc

Re: [PATCH V2 6/7] proc: show MADV_FREE pages info in smaps

2017-02-21 Thread Minchan Kim
On Fri, Feb 03, 2017 at 03:33:22PM -0800, Shaohua Li wrote: > Cc: Michal Hocko > Cc: Minchan Kim > Cc: Hugh Dickins > Cc: Johannes Weiner > Cc: Rik van Riel > Cc: Mel Gorman > Cc: Andrew Morton > Signed-off-by: Shaohua Li > --- > fs/proc/task_mmu.c | 8 +++- > 1 file changed, 7 inserti

Re: [PATCH] dmaengine: stm32-dma: fix up error dev_err message

2017-02-21 Thread Vinod Koul
On Tue, Feb 21, 2017 at 06:30:45PM +, Colin King wrote: > From: Colin Ian King > > Trivial fix to spelling mistake and make channel plural. Applied, thanks -- ~Vinod

linux-next: build failure after merge of the scsi-mkp tree

2017-02-21 Thread Stephen Rothwell
quot;) # CONFIG_NVME_FC is not set Presumably a missing dependency. I have used the scsi-mkp from next-20170221 for today. -- Cheers, Stephen Rothwell

Re: [RESEND PATCH] dmaengine: bcm2835: Fix cyclic DMA period splitting

2017-02-21 Thread Vinod Koul
On Mon, Feb 20, 2017 at 08:01:16PM +0100, Matthias Reichl wrote: > The code responsible for splitting periods into chunks that > can be handled by the DMA controller missed to update total_len, > the number of bytes processed in the current period, when there > are more chunks to follow. > > There

Re: [PATCH V3 2/2] PCI: handle CRS returned by device after FLR

2017-02-21 Thread Sinan Kaya
On 2/21/2017 3:51 PM, Alex Williamson wrote: > On Tue, 21 Feb 2017 12:04:24 -0500 > Sinan Kaya wrote: > >> Hi Alex, >> >> I'm coming back to work on this. >> >> On 10/3/2016 1:37 AM, Sinan Kaya wrote: >>> An endpoint is allowed to issue CRS following an FLR request to indicate >>> that it is not

Re: [GIT PULL] gcc-plugins updates for v4.11-rc1

2017-02-21 Thread Linus Torvalds
On Tue, Feb 21, 2017 at 12:16 PM, Kees Cook wrote: > > Please pull these gcc-plugins changes for v4.11-rc1. This includes two new > plugins for the upstream kernel: structleak and initify. The structleak > plugin performs forced initialization of certain structures to avoid > possible information

[PATCH v2 0/8] ARM64: Initial Marvell IAP140 enablement

2017-02-21 Thread Andreas Färber
Hello, This series adds initial support for the Marvell IAP140 SoC (aka PXA1908) and the Andromeda Box Edge development board. v2 reuses ARCH_MMP. Both earlycon and serial are working, but an explicit console=ttyS0,115200n8 is needed; with just "earlycon" and stdout-path the earlycon stops early

[PATCH v2 6/8] Documentation: devicetree: arm: marvell: Document IAP140

2017-02-21 Thread Andreas Färber
Signed-off-by: Andreas Färber --- v1 -> v2: * Adopted "marvell" vendor prefix (Thomas) * Documented Andromeda Box Edge as example Documentation/devicetree/bindings/arm/marvell/iap140.txt | 11 +++ 1 file changed, 11 insertions(+) create mode 100644 Documentation/devicetree/bindings/

Re: Problem on SCTP

2017-02-21 Thread Sun Paul
Hi Xin do you mean we need to patch the kernel? On Wed, Feb 22, 2017 at 10:00 AM, Xin Long wrote: > On Wed, Feb 22, 2017 at 9:12 AM, Sun Paul wrote: >> Hi >> >> the router is actually is a linux running on RHEL6.8 >> (2.6.32-642.4.2.el6.x86_64). it uses iptables to do SNAT aand DNAT >> forwar

[PATCH v2 4/8] sound: soc: pxa: Suppress SND_MMP_SOC for arm64

2017-02-21 Thread Andreas Färber
SND_MMP_SOC selects SND_ARM, which is limited to ARM, as well as MMP_SRAM, which is a non-DT driver in arch/arm/mach-arm/. Avoid Kconfig warnings by not making this driver available on ARM64. While at it, tidy the title (Soc -> SoC). Signed-off-by: Andreas Färber --- v2: new sound/soc/pxa/K

[PATCH v2 2/8] tty: serial: Suppress deprecated SERIAL_PXA on arm64

2017-02-21 Thread Andreas Färber
With Marvell IAP140 being enabled as first arm64 MMP platform, don't make the deprecated SERIAL_PXA option available outside ARM. Signed-off-by: Andreas Färber --- v1 -> v2: split off * Updated for ARCH_MMP drivers/tty/serial/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) dif

  1   2   3   4   5   6   7   8   9   10   >