[PATCH 0/2] spi: Fix make htmldocs issues

2016-03-10 Thread Javier Martinez Canillas
Hello, The make htmldocs target is broken in today's next (next-20160310) and this is caused by an error in the SPI kernel-doc. This small series fix that SPI kernel-doc error and also a warning that I noticed when the docs were finally built. Best regards, Javier Javier Martinez Canill

[PATCH 1/2] spi: Fix htmldocs build error due struct spi_replaced_transfers

2016-03-10 Thread Javier Martinez Canillas
The kernel-doc has to be just before the structure definition but the one for struct spi_replaced_transfers was before a structure declaration and that confuses kernel-doc which complains with the following build error: .//include/linux/spi/spi.h:933: error: Cannot parse struct or union! Signed-o

Re: [PATCH 4.2.y-ckt 225/273] tipc: fix connection abort during subscription cancel

2016-03-10 Thread Kamal Mostafa
On Mon, 2016-03-07 at 14:50 -0800, Kamal Mostafa wrote: > 4.2.8-ckt5 -stable review patch.  If anyone has any objections, > please let me know. This patch will be deferred to the next 4.2-stable release (4.2.8-ckt6) so that it lands along with 4de13d7e tipc: fix nullptr crash during subscription

[PATCH 2/2] spi: Add gfp parameter to kernel-doc to fix build warning

2016-03-10 Thread Javier Martinez Canillas
The spi_split_transfers_maxsize() gfp parameter is missing in the function kernel-doc so building gives the following warning: .//drivers/spi/spi.c:2359: warning: No description found for parameter 'gfp' Signed-off-by: Javier Martinez Canillas --- drivers/spi/spi.c | 1 + 1 file changed, 1 in

Re: [musl] Re: [RFC PATCH] x86/vdso/32: Add AT_SYSINFO cancellation helpers

2016-03-10 Thread Ingo Molnar
* Rich Felker wrote: > > So instead of a sticky cancellation flag, we could introduce a sticky > > cancellation signal. > > > > A 'sticky signal' is not cleared from signal_pending() when the signal > > handler > > executes, but it's automatically blocked so no signal handler recursion > >

Re: [PATCH] Revert "[media] au0828: use v4l2_mc_create_media_graph()"

2016-03-10 Thread Shuah Khan
On 03/10/2016 10:53 AM, Mauro Carvalho Chehab wrote: > Em Thu, 10 Mar 2016 09:16:30 -0700 > Shuah Khan escreveu: > >> On 03/08/2016 08:26 PM, Shuah Khan wrote: >>> This reverts commit 9822f4173f84cb7c592edb5e1478b7903f69d018. >>> This commit breaks au0828_enable_handler() logic to find the tuner.

Re: [PATCH] KVM: Remove redundant smp_mb() in the kvm_mmu_commit_zap_page()

2016-03-10 Thread Xiao Guangrong
On 03/11/2016 12:04 AM, Paolo Bonzini wrote: On 10/03/2016 16:45, Xiao Guangrong wrote: Compared to smp_load_acquire(), smp_mb() adds an ordering between stores and loads. Here, the ordering is load-store, hence... Yes, this is why i put smp_mb() in the code. :) Here is a table of ba

[PATCH v2 2/4] media: v4l2-mc add v4l_change_media_source() to invoke change_source

2016-03-10 Thread Shuah Khan
Add a common routine to invoke media device change_source handler. Signed-off-by: Shuah Khan --- Changes since v1: - Fixed !CONFIG_MEDIA_CONTROLLER compile error for v4l_change_media_source() drivers/media/v4l2-core/v4l2-mc.c | 14 ++ include/media/v4l2-mc.h | 25

Re: [PATCH] KVM: Remove redundant smp_mb() in the kvm_mmu_commit_zap_page()

2016-03-10 Thread Xiao Guangrong
On 03/11/2016 01:07 AM, Paolo Bonzini wrote: On 09/03/2016 08:18, Lan Tianyu wrote: How about the following comments. Log for kvm_mmu_commit_zap_page() /* * We need to make sure everyone sees our modifications to * the page tables and see changes to vcpu->mode here.

Re: [PATCH v10 02/59] sparc/PCI: Use correct bus address to resource offset

2016-03-10 Thread Bjorn Helgaas
Hi Yinghai, On Wed, Feb 24, 2016 at 06:11:53PM -0800, Yinghai Lu wrote: > After we add 64bit mmio parsing, we got some "no compatible bridge window" > warning on anther new model that support 64bit resource. > > It turns out that we can not use mem_space.start as 64bit mem space > offset, aka the

[4.2.y-ckt stable] Linux 4.2.8-ckt5

2016-03-10 Thread Kamal Mostafa
I am announcing the release of the Linux 4.2.8-ckt5 kernel. The updated 4.2.y-ckt tree can be found at: git://kernel.ubuntu.com/ubuntu/linux.git linux-4.2.y and can be browsed at: http://kernel.ubuntu.com/git/ubuntu/linux.git/log/?h=linux-4.2.y The diff from v4.2.8-ckt4 is posted as a fo

Re: [PATCH 1/2] net: thunderx: Set recevie buffer page usage count in bulk

2016-03-10 Thread Sunil Kovvuri
> > So calculate the modulus on the page split count and optimize the > increment ahead of time when possible, and for the sub page split > pieces do it one at a time. > Patch does almost the same with a negligible overhead of a counter for page->_count increment at a later time but still before HW

Re: [PATCH v10 00/59] PCI: Resource allocation cleanup for v4.6

2016-03-10 Thread Bjorn Helgaas
On Wed, Feb 24, 2016 at 06:11:51PM -0800, Yinghai Lu wrote: > Hi, > > After 5b28541552ef (PCI: Restrict 64-bit prefetchable bridge windows > to 64-bit resources), we have several reports on resource allocation > failure, and we try to fix the problem with resource clip, and find > more problems. >

[PATCH] kcm: mark helper functions inline

2016-03-10 Thread Arnd Bergmann
The stub helper functions for the newly added kcm_proc_init/exit interfaces are defined as 'static' in a header file, which leads to build warnings for each file that includes them without calling them: include/net/kcm.h:183:12: error: 'kcm_proc_init' defined but not used [-Werror=unused-function

[tip:x86/asm] x86/entry/traps: Show unhandled signal for i386 in do_trap()

2016-03-10 Thread tip-bot for Jianyu Zhan
Commit-ID: 10ee73865e9e4705ba8b3f4d6149e8e68d902bb7 Gitweb: http://git.kernel.org/tip/10ee73865e9e4705ba8b3f4d6149e8e68d902bb7 Author: Jianyu Zhan AuthorDate: Thu, 10 Mar 2016 20:19:58 +0800 Committer: Ingo Molnar CommitDate: Thu, 10 Mar 2016 18:37:25 +0100 x86/entry/traps: Show unhand

Re: [PATCH 2/2] block: create ioctl to discard-or-zeroout a range of blocks

2016-03-10 Thread Linus Torvalds
On Thu, Mar 10, 2016 at 6:58 AM, Ric Wheeler wrote: > > What was objectionable at the time this patch was raised years back (not > just to me, but to pretty much every fs developer at LSF/MM that year) > centered on the concern that this would be viewed as a "performance" mode > and we get pressur

Re: WARNING in do_jobctl_trap

2016-03-10 Thread Dmitry Vyukov
On Wed, Jan 27, 2016 at 5:04 PM, Oleg Nesterov wrote: > On 01/26, Oleg Nesterov wrote: >> >> On 01/26, Dmitry Vyukov wrote: >> > >> > Hello, >> > >> > The following program triggers WARN_ON_ONCE(!signr) in do_jobctl_trap: >> >> Can't reproduce, but most probably I understand the problem... I'll tr

Re: net: use-after-free in recvmmsg

2016-03-10 Thread Dmitry Vyukov
On Tue, Jan 26, 2016 at 8:30 PM, Arnaldo Carvalho de Melo wrote: > Em Tue, Jan 26, 2016 at 08:27:48PM +0100, Dmitry Vyukov escreveu: >> On Fri, Jan 22, 2016 at 10:16 PM, Arnaldo Carvalho de Melo >> wrote: >> > Em Fri, Jan 22, 2016 at 09:39:53PM +0100, Dmitry Vyukov escreveu: >> >> I am on commit

Re: [PATCH 2/3] dm9601: manage eeprom to assure the chip for correct operation

2016-03-10 Thread Peter Korsgaard
> "Joseph" == Joseph CHANG writes: > Add to maintain variant eeprom adapters which may have not right > dm962x's format. > Signed-off-by: Joseph CHANG > +static void dm_render_begin(struct usbnet *dev) > +{ > +/* Render eeprom if need, WORD3 render, set D[15:14] 01b */ > +dm_

Re: [PATCH] arm64: Fix the ptep_set_wrprotect() to set PTE_DIRTY if (PTE_DBM && !PTE_RDONLY)

2016-03-10 Thread Catalin Marinas
On Thu, Mar 10, 2016 at 08:34:46AM +0530, Ganapatrao Kulkarni wrote: > > On Wed, Mar 9, 2016 at 9:33 PM, Catalin Marinas > > wrote: > >> diff --git a/arch/arm64/include/asm/pgtable.h > >> b/arch/arm64/include/asm/pgtable.h > >> index 7c73b365fcfa..b409a983f870 100644 > >> --- a/arch/arm64/includ

Re: [PATCH] driver: input :touchscreen : add Raydium I2C touch driver

2016-03-10 Thread Dmitry Torokhov
Hi Jeffrey, On Thu, Mar 03, 2016 at 02:42:11PM +0800, jeffrey.lin wrote: > Raydium I2C touch driver. > > Signed-off-by: jeffrey.lin > --- > drivers/input/touchscreen/Kconfig | 13 + > drivers/input/touchscreen/Makefile | 1 + > drivers/input/touchscreen/raydium_i2c_ts.c | 95

Re: [PATCH v7] scsi: ufs: add ioctl interface for query request

2016-03-10 Thread ygardi
> On Thu, Mar 10, 2016 at 04:29:55PM -, yga...@codeaurora.org wrote: >> > On Thu, Mar 10, 2016 at 03:52:54PM -, yga...@codeaurora.org wrote: >> >> > On Wed, Mar 09, 2016 at 08:52:59PM -, yga...@codeaurora.org >> wrote: >> >> >> > On Wed, Mar 09, 2016 at 07:09:49PM -, yga...@codeauro

Re: [PATCH v2] MAINTAINERS: add a maintainer for the NAND subsystem

2016-03-10 Thread Brian Norris
On Wed, Mar 09, 2016 at 09:57:24PM +0100, Boris Brezillon wrote: > Add myself as the maintainer of the NAND subsystem. > > Signed-off-by: Boris Brezillon > --- > Changes since v1: > - rename the MAINTAINERS entry to NAND FLASH SUBSYSTEM > - add Richard as a reviewer > - add a git tree Pushed to

Re: [PATCH] epoll: add exclusive wakeups flag

2016-03-10 Thread Jason Baron
Hi Michael, On 01/29/2016 03:14 AM, Michael Kerrisk (man-pages) wrote: > Hello Jason, > On 01/28/2016 06:57 PM, Jason Baron wrote: >> Hi, >> >> On 01/28/2016 02:16 AM, Michael Kerrisk (man-pages) wrote: >>> Hi Jason, >>> >>> On 12/08/2015 04:23 AM, Jason Baron wrote: Hi, Re-post of

Re: [PATCH] Input: Do not add SYN_REPORT in between a single packet data

2016-03-10 Thread Aniroop Mathur
Hi Henrik, On Thu, Mar 10, 2016 at 7:15 PM, Henrik Rydberg wrote: > Hi Dmitry, > >>> diff --git a/drivers/input/input.c b/drivers/input/input.c >>> index 8806059..262ef77 100644 >>> --- a/drivers/input/input.c >>> +++ b/drivers/input/input.c >>> @@ -401,8 +401,7 @@ static void input_handle_event(

Re: [RFC -next 2/2] virtio_net: Read and use the advised MTU

2016-03-10 Thread Sergei Shtylyov
Hello. On 03/10/2016 05:28 PM, Aaron Conole wrote: This patch checks the feature bit for the VIRTIO_NET_F_MTU feature. If it exists, read the advised MTU and use it. No proper error handling is provided for the case where a user changes the negotiated MTU. A future commit will add proper error

Re: [PATCH] arc: use little endian accesses

2016-03-10 Thread Lada Trimasova
Hi Vineet, Alexey, Arnd, On Thu, 2016-03-10 at 09:55 +, Vineet Gupta wrote: Can you or Lada provide more details as to exactly what is not working - what driver to be precise 8250 or dw-8250. And where exactly the failure shows up. I want to understand this more Noam told me off list that he h

Re: [PATCH v7] scsi: ufs: add ioctl interface for query request

2016-03-10 Thread Greg KH
On Thu, Mar 10, 2016 at 06:48:54PM -, yga...@codeaurora.org wrote: > > On Thu, Mar 10, 2016 at 04:29:55PM -, yga...@codeaurora.org wrote: > >> > On Thu, Mar 10, 2016 at 03:52:54PM -, yga...@codeaurora.org wrote: > >> >> > On Wed, Mar 09, 2016 at 08:52:59PM -, yga...@codeaurora.org >

checkpatch.pl false positive: FSF mailing address

2016-03-10 Thread Brian Norris
Hi Joe, I found this false positive amusing: $ curl http://patchwork.ozlabs.org/patch/577786/mbox/ | scripts/checkpatch.pl - [...] ERROR: Do not include the paragraph about writing to the Free Software Foundation's mailing address from the sample GPL notice. The FSF has changed addresses in the p

Re: runtime regression with "x86/mm/pat: Emulate PAT when it is disabled"

2016-03-10 Thread Paul Gortmaker
[Re: runtime regression with "x86/mm/pat: Emulate PAT when it is disabled"] On 10/03/2016 (Thu 18:20) Borislav Petkov wrote: > On Thu, Mar 10, 2016 at 09:49:51AM -0700, Toshi Kani wrote: > > This confirms the issue - QEMU's virtual Intel CPU does not support MTRR.  > > > > When MTRR is disabled,

Re: [PATCH v4 00/52] mtd: rework ECC layout definition

2016-03-10 Thread Brian Norris
On Mon, Mar 07, 2016 at 10:46:50AM +0100, Boris Brezillon wrote: > Hello, > > This patchset aims at getting rid of the nand_ecclayout limitations. > struct nand_ecclayout is defining fixed eccpos and oobfree arrays which > can only be increased by modifying the MTD_MAX_ECCPOS_ENTRIES_LARGE and > M

Re: Got FPU related warning on Intel Quark during boot

2016-03-10 Thread Borislav Petkov
On Thu, Mar 10, 2016 at 05:15:15PM +, Bryan O'Donoghue wrote: > root@galileo:~# ./fpu > f is 10.00 g is 10.10 Hmm, ok, I can *actually* reproduce it in kvm+qemu with 486 CPU type (which should be close to quark AFAIK). Debugging continues... -- Regards/Gruss, Boris. ECO tip #1

Re: checkpatch.pl false positive: FSF mailing address

2016-03-10 Thread Joe Perches
On Thu, 2016-03-10 at 11:00 -0800, Brian Norris wrote: > Hi Joe, Hi Brian. > I found this false positive amusing: > > $ curl http://patchwork.ozlabs.org/patch/577786/mbox/ | scripts/checkpatch.pl > - > [...] > ERROR: Do not include the paragraph about writing to the Free Software > Foundation's

Re: [PATCH v5 1/3] gpio: designware: convert device node to fwnode

2016-03-10 Thread Alan Tull
On Fri, Mar 4, 2016 at 1:44 AM, qiujiang wrote: > This patch converts device node to fwnode in > dwapb_port_property for designware gpio driver, > so as to provide a unified data structure for DT > and ACPI bindings. > > Acked-by: Andy Shevchenko > Signed-off-by: qiujiang > --- > drivers/gpio/g

Re: runtime regression with "x86/mm/pat: Emulate PAT when it is disabled"

2016-03-10 Thread Toshi Kani
On Thu, 2016-03-10 at 18:20 +0100, Borislav Petkov wrote: > On Thu, Mar 10, 2016 at 09:49:51AM -0700, Toshi Kani wrote: > > This confirms the issue - QEMU's virtual Intel CPU does not support > > MTRR.  > > > > When MTRR is disabled, the kernel does not call pat_init(). > >  pat_enabled() is still

Re: [PATCH 1/1] hwmon: add support for Sensirion SHT3x sensors

2016-03-10 Thread Guenter Roeck
On Thu, Mar 10, 2016 at 02:56:43PM +, Pascal Sachs wrote: > From: David Frey > > This driver implements support for the Sensirion SHT3x-DIS chip, > a humidity and temperature sensor. Temperature is measured > in degrees Celsius, relative humidity is expressed as a percentage. > In the sysfs i

Re: [RFT PATCH 2/2] Revert "usb: dwc2: Fix probe problem on bcm2835"

2016-03-10 Thread John Youn
On 3/9/2016 11:06 AM, Doug Anderson wrote: > Stefan, > > On Wed, Mar 9, 2016 at 11:01 AM, Stefan Wahren wrote: >> >>> Doug Anderson hat am 7. März 2016 um 22:30 >>> geschrieben: >>> >>> >>> Stefan, >>> >>> On Mon, Mar 7, 2016 at 10:40 AM, Stefan Wahren >>> wrote: Hi Doug, > Dougl

Re: checkpatch.pl false positive: FSF mailing address

2016-03-10 Thread Brian Norris
On Thu, Mar 10, 2016 at 11:08 AM, Joe Perches wrote: > On Thu, 2016-03-10 at 11:00 -0800, Brian Norris wrote: >> Hi Joe, > > Hi Brian. > >> I found this false positive amusing: >> >> $ curl http://patchwork.ozlabs.org/patch/577786/mbox/ | >> scripts/checkpatch.pl - >> [...] >> ERROR: Do not inclu

[git pull] a couple of fixes

2016-03-10 Thread Al Viro
Fix for my dumb braino in ncpfs and a long-standing breakage on recovery from failed rename() in jffs2. The following changes since commit a528aca7f359f4b0b1d72ae406097e491a5ba9ea: use ->d_seq to get coherency between ->d_inode and ->d_flags (2016-02-29 12:16:43 -0500) are available i

[PATCH] x86, pmem: use memcpy_mcsafe() for memcpy_from_pmem()

2016-03-10 Thread Dan Williams
Update the definition of memcpy_from_pmem() to return 0 or -EIO on error. Implement x86::arch_memcpy_from_pmem() with memcpy_mcsafe(). Cc: Borislav Petkov Cc: Ingo Molnar Cc: Tony Luck Cc: Thomas Gleixner Cc: Andy Lutomirski Cc: Peter Zijlstra Cc: Andrew Morton Cc: Ross Zwisler Cc: Linus

Re: runtime regression with "x86/mm/pat: Emulate PAT when it is disabled"

2016-03-10 Thread Toshi Kani
On Thu, 2016-03-10 at 14:04 -0500, Paul Gortmaker wrote: > [Re: runtime regression with "x86/mm/pat: Emulate PAT when it is > disabled"] On 10/03/2016 (Thu 18:20) Borislav Petkov wrote: > > > On Thu, Mar 10, 2016 at 09:49:51AM -0700, Toshi Kani wrote: > > > This confirms the issue - QEMU's virtual

Re: runtime regression with "x86/mm/pat: Emulate PAT when it is disabled"

2016-03-10 Thread Borislav Petkov
On Thu, Mar 10, 2016 at 02:04:29PM -0500, Paul Gortmaker wrote: > So, I guess that is a qemu bug? If there is no real silicon out there > that has no MTRR but does claim PAT, then qemu32 is a flawed CPU type? Well, AFAICT, "qemu32" is emulating something PPRO-like: #define PPRO_FEATURES (CPUID_F

Re: [PATCH v7] scsi: ufs: add ioctl interface for query request

2016-03-10 Thread Arnd Bergmann
On Thursday 10 March 2016, Arnd Bergmann wrote: > On Wednesday 09 March 2016, yga...@codeaurora.org wrote: > > Any userspace application can be a tool. > > We already implemented and used a user space application, that sent > > queries to the UFS devices in order to get information and descriptors.

Re: runtime regression with "x86/mm/pat: Emulate PAT when it is disabled"

2016-03-10 Thread Borislav Petkov
On Thu, Mar 10, 2016 at 01:04:21PM -0700, Toshi Kani wrote: > I will send a patch that sets PAT disabled when MTRR is disabled.  This > will solve the Paul's issue.  His qemu32 model does not support PAT, > either. It does, see my other mail. We need to figure out first why is pat_init() being cal

Re: [PATCH] arc: use little endian accesses

2016-03-10 Thread Arnd Bergmann
On Thursday 10 March 2016, Lada Trimasova wrote: > Driver is 8250, kernel is built for BE arc, nsim option in model > "nsim_isa_big_endian = 1". > > With current "readl" and "writel" implementation for ARC we read word from > memory without any endianess manipulation. So in case of little endian

Re: checkpatch.pl false positive: FSF mailing address

2016-03-10 Thread Joe Perches
On Thu, 2016-03-10 at 11:15 -0800, Brian Norris wrote: > On Thu, Mar 10, 2016 at 11:08 AM, Joe Perches wrote: Hey again Brian. > > Yeah, it's amusing.  It's also likely not something worth > > bothering with though as the likelihood of fixing it is low > > and eventually the FSF warning will be

Re: [PATCH v14] x86, mce: Add memcpy_mcsafe()

2016-03-10 Thread Mika Penttilä
On 18.02.2016 21:47, Tony Luck wrote: > Make use of the EXTABLE_FAULT exception table entries to write > a kernel copy routine that doesn't crash the system if it > encounters a machine check. Prime use case for this is to copy > from large arrays of non-volatile memory used as storage. > > We ha

Re: checkpatch.pl false positive: FSF mailing address

2016-03-10 Thread Brian Norris
On Thu, Mar 10, 2016 at 11:25:55AM -0800, Joe Perches wrote: > On Thu, 2016-03-10 at 11:15 -0800, Brian Norris wrote: > > On Thu, Mar 10, 2016 at 11:08 AM, Joe Perches wrote: > > Hey again Brian. > > > > Yeah, it's amusing.  It's also likely not something worth > > > bothering with though as the

Re: [PATCH] tools lib traceevent: Add '~' operation within arg_num_eval()

2016-03-10 Thread Arnaldo Carvalho de Melo
Em Thu, Mar 10, 2016 at 09:16:41AM -0700, David Ahern escreveu: > >>(( gfp_t)0x1000u) | (( gfp_t)0x200u)) & ~(( gfp_t)0x200u)) > >> ^ > >> | > >> here > >>Signed-off-by: Steven

Re: net: use-after-free in recvmmsg

2016-03-10 Thread Arnaldo Carvalho de Melo
Em Thu, Mar 10, 2016 at 07:35:57PM +0100, Dmitry Vyukov escreveu: > On Tue, Jan 26, 2016 at 8:30 PM, Arnaldo Carvalho de Melo > wrote: > > Em Tue, Jan 26, 2016 at 08:27:48PM +0100, Dmitry Vyukov escreveu: > >> On Fri, Jan 22, 2016 at 10:16 PM, Arnaldo Carvalho de Melo > >> wrote: > >> > Em Fri,

Re: runtime regression with "x86/mm/pat: Emulate PAT when it is disabled"

2016-03-10 Thread Toshi Kani
On Thu, 2016-03-10 at 20:20 +0100, Borislav Petkov wrote: > On Thu, Mar 10, 2016 at 01:04:21PM -0700, Toshi Kani wrote: > > I will send a patch that sets PAT disabled when MTRR is disabled.  This > > will solve the Paul's issue.  His qemu32 model does not support PAT, > > either. > > It does, see

Re: [PART1 RFC v2 07/10] svm: Add VMEXIT handlers for AVIC

2016-03-10 Thread Radim Krčmář
2016-03-09 21:55+0100, Radim Krčmář: > 2016-03-04 14:46-0600, Suravee Suthikulpanit: >> +static int avic_noaccel_interception(struct vcpu_svm *svm) >> +{ >> +int ret = 0; >> +u32 offset = svm->vmcb->control.exit_info_1 & 0xFF0; >> +u32 rw = (svm->vmcb->control.exit_info_1 >> 32) & 0x1;

Re: checkpatch.pl false positive: FSF mailing address

2016-03-10 Thread Joe Perches
On Thu, 2016-03-10 at 11:28 -0800, Brian Norris wrote: > On Thu, Mar 10, 2016 at 11:25:55AM -0800, Joe Perches wrote: > > On Thu, 2016-03-10 at 11:15 -0800, Brian Norris wrote: > > > On Thu, Mar 10, 2016 at 11:08 AM, Joe Perches wrote: > > > > checkpatch is stupid, false positives will always exis

Update Your Zimbra Email Account

2016-03-10 Thread Administrator
Hello, Please Verify Your Email Address. Please follow this Link http://formcrafts.com/a/18333 to complete the verification process Your Email will not be subscribed to the mailing list until you have verified. Kind regards, Webmaster Team 2016

RE: [PATCH v14] x86, mce: Add memcpy_mcsafe()

2016-03-10 Thread Luck, Tony
> But you return 0 == false for success and 1 == true for failure. Aaargh! -ETOOMUCHSHELLSCRIPTPROGRAMMING -Tony

Re: [PATCH] epoll: add exclusive wakeups flag

2016-03-10 Thread Michael Kerrisk (man-pages)
Hi Jason, > Ok, here's some updated text: > > EPOLLEXCLUSIVE > > Sets an exclusive wakeup mode for the epfd file descriptor that is being > attached to the target file descriptor, fd. When a wakeup event occurs > and multiple epfd file descriptors are attached to the same target file > using EPO

Re: [PATCH 1/2] net: thunderx: Set recevie buffer page usage count in bulk

2016-03-10 Thread David Miller
From: Sunil Kovvuri Date: Thu, 10 Mar 2016 23:57:48 +0530 > Difference between NIU driver and this patch is there it's > calculate split count, increment page count and then divide page into > buffers. Here it's divide page into buffers, have a counter which increments > at every split and then a

Re: [PATCH v10 02/59] sparc/PCI: Use correct bus address to resource offset

2016-03-10 Thread David Miller
From: Bjorn Helgaas Date: Thu, 10 Mar 2016 12:24:40 -0600 > Hi Yinghai, > > On Wed, Feb 24, 2016 at 06:11:53PM -0800, Yinghai Lu wrote: >> After we add 64bit mmio parsing, we got some "no compatible bridge window" >> warning on anther new model that support 64bit resource. >> >> It turns out th

Re: [PATCH] kcm: mark helper functions inline

2016-03-10 Thread David Miller
From: Arnd Bergmann Date: Thu, 10 Mar 2016 19:31:12 +0100 > The stub helper functions for the newly added kcm_proc_init/exit interfaces > are defined as 'static' in a header file, which leads to build warnings for > each file that includes them without calling them: > > include/net/kcm.h:183:12:

Re: [PART1 RFC v2 07/10] svm: Add VMEXIT handlers for AVIC

2016-03-10 Thread Paolo Bonzini
On 10/03/2016 20:34, Radim Krčmář wrote: > (Btw. edge EOI hacks for PIT and RTC won't work because AVIC doesn't > exit when TMR=0, but I'd take it slow and tackle those after v3.) I'd just only enable AVIC for split irqchip... Paolo

Re: [PATCH] epoll: add exclusive wakeups flag

2016-03-10 Thread Michael Kerrisk (man-pages)
On 03/10/2016 07:53 PM, Jason Baron wrote: > Hi Michael, > > On 01/29/2016 03:14 AM, Michael Kerrisk (man-pages) wrote: >> Hello Jason, >> On 01/28/2016 06:57 PM, Jason Baron wrote: >>> Hi, >>> >>> On 01/28/2016 02:16 AM, Michael Kerrisk (man-pages) wrote: Hi Jason, On 12/08/2015 04

[PATCH] x86: Enable full randomization on i386 and X86_32.

2016-03-10 Thread Hector Marco-Gisbert
Currently on i386 and on X86_64 when emulating X86_32 in legacy mode, only the stack and the executable are randomized but not other mmapped files (libraries, vDSO, etc.). This patch enables randomization for the libraries, vDSO and mmap requests on i386 and in X86_32 in legacy mode. By default o

Re: [PATCH v5 0/3] "gpio: designware: add gpio-signaled acpi event support for power button"

2016-03-10 Thread Alan Tull
On Tue, Mar 8, 2016 at 8:26 PM, Linus Walleij wrote: > On Fri, Mar 4, 2016 at 2:44 PM, qiujiang wrote: > >> This patchset adds gpio-signaled acpi events support for power button on >> hisilicon >> D02 board. >> >> The three patches respectively: >> - convert device node to fwnode >>

Re:magnet materials for your auto industry

2016-03-10 Thread Thomas
Dear, This is Thomas from Chinese magnets company. My friend introduce me,most of your items may use the bonded magnets or injection magnets. Maybe we can help you for the magnet item,if you need,please feel free to let us know. Thanks Thomas --- Sales Engineer Mobile: 0086-15889706837 Add

Re: [PATCH v5 7/7] mm: kasan: Initial memory quarantine implementation

2016-03-10 Thread Andrew Morton
On Thu, 10 Mar 2016 14:50:56 +0100 Alexander Potapenko wrote: > On Wed, Mar 9, 2016 at 9:21 PM, Andrew Morton > wrote: > > On Wed, 9 Mar 2016 12:05:48 +0100 Alexander Potapenko > > wrote: > > > >> Quarantine isolates freed objects in a separate queue. The objects are > >> returned to the al

[PATCH] splice: handle zero nr_pages in splice_to_pipe()

2016-03-10 Thread Rabin Vincent
Running the following command: busybox cat /sys/kernel/debug/tracing/trace_pipe > /dev/null with any tracing enabled pretty very quickly leads to various NULL pointer dereferences and VM BUG_ON()s, such as these: BUG: unable to handle kernel NULL pointer dereference at 0020 IP: []

Re: [PATCH] x86: Enable full randomization on i386 and X86_32.

2016-03-10 Thread Kees Cook
On Thu, Mar 10, 2016 at 11:51 AM, Hector Marco-Gisbert wrote: > Currently on i386 and on X86_64 when emulating X86_32 in legacy mode, only > the stack and the executable are randomized but not other mmapped files > (libraries, vDSO, etc.). This patch enables randomization for the > libraries, vDSO

[PATCH] cpu-= command line parmeter, SYS_cpuid sys call, kernel-adjusted CPUID

2016-03-10 Thread Piotr Henryk Dabrowski
Currently there is no way of disabling CPU features reported by the CPUID instruction. Which sometimes turn out to be broken [1] or undesired [2]. We can assume we will run into similar situations again sooner or later. The only way to fix this is to do a microcode update (if it is available), as t

Re: [PATCH v5 1/3] gpio: designware: convert device node to fwnode

2016-03-10 Thread Andy Shevchenko
On Thu, Mar 10, 2016 at 9:09 PM, Alan Tull wrote: > On Fri, Mar 4, 2016 at 1:44 AM, qiujiang wrote: >> This patch converts device node to fwnode in >> dwapb_port_property for designware gpio driver, >> so as to provide a unified data structure for DT >> and ACPI bindings. >> >> Acked-by: Andy She

Re: [PATCH v5 2/3] gpio: designware: add acpi binding

2016-03-10 Thread Andy Shevchenko
On Fri, Mar 4, 2016 at 9:44 AM, qiujiang wrote: > This patch adds acpi binding for designware gpio driver, > because it is used to support power button on hisilicon > d02 board. > > These two bindings, DT and acpi, are compatible in this > driver. > > Reviewed-by: Andy Shevchenko > Acked-by: Mika

Re: [PATCH v5 3/3] gpio: designware: add gpio-signaled acpi event support

2016-03-10 Thread Andy Shevchenko
On Fri, Mar 4, 2016 at 9:44 AM, qiujiang wrote: > This patch adds the support for the gpio-signaled acpi event. > This is used for power button on hisilicon D02 board, which > is an arm64 platform. > > To support this function, _AEI and _Exx objects must be > defined in the corresponding GPIO devi

Re: linux-next: manual merge of the akpm tree with the tip tree

2016-03-10 Thread Andrew Morton
On Thu, 10 Mar 2016 09:00:25 +0100 Ingo Molnar wrote: > > * Stephen Rothwell wrote: > > > Hi Andrew, > > > > Today's linux-next merge of the akpm tree got a conflict in: > > > > drivers/gpu/drm/omapdrm/omap_gem.c > > > > between commit: > > > > f6e45661f9be ("dma, mm/pat: Rename dma_*_

Re: [PATCH] cpu-= command line parmeter, SYS_cpuid sys call, kernel-adjusted CPUID

2016-03-10 Thread kbuild test robot
Hi Piotr, [auto build test ERROR on next-20160310] [cannot apply to tip/x86/core v4.5-rc7 v4.5-rc6 v4.5-rc5 v4.5-rc7] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url: https://github.com/0day-ci/linux/commits/Piotr-Henryk-Dabrowski/cpu

Re: [PATCH] epoll: add exclusive wakeups flag

2016-03-10 Thread Jason Baron
On 03/10/2016 02:58 PM, Michael Kerrisk (man-pages) wrote: > On 03/10/2016 07:53 PM, Jason Baron wrote: >> Hi Michael, >> >> On 01/29/2016 03:14 AM, Michael Kerrisk (man-pages) wrote: >>> Hello Jason, >>> On 01/28/2016 06:57 PM, Jason Baron wrote: Hi, On 01/28/2016 02:16 AM, Michae

Re: [PART1 RFC v2 07/10] svm: Add VMEXIT handlers for AVIC

2016-03-10 Thread Radim Krčmář
2016-03-10 20:54+0100, Paolo Bonzini: > On 10/03/2016 20:34, Radim Krčmář wrote: >> (Btw. edge EOI hacks for PIT and RTC won't work because AVIC doesn't >> exit when TMR=0, but I'd take it slow and tackle those after v3.) > > I'd just only enable AVIC for split irqchip... Great idea.

Re: linux-next: removal of the rpmsg tree

2016-03-10 Thread Stephen Rothwell
Hi Bjorn, On Wed, 9 Mar 2016 21:31:05 -0800 Bjorn Andersson wrote: > > Stephen, I'm co-maintain the hwspinlock, rpmsg and remoteproc > subsystems; and will as such maintain the next branches. > > Could you please pull the remoteproc next patches from the "for-next" branch > of: > git://github.

Re: [PATCH] ld-version: Fix awk regex compile failure

2016-03-10 Thread James Hogan
On Thu, Mar 10, 2016 at 11:19:57PM +0530, Sudip Mukherjee wrote: > On Tuesday 08 March 2016 10:17 PM, James Hogan wrote: > > The ld-version.sh script fails on some versions of awk with the > > following error, resulting in build failures for MIPS: > > > > awk: scripts/ld-version.sh: line 4: regular

Re: [PATCH v3] pci: Wait for up to 1000ms after FLR reset

2016-03-10 Thread Bjorn Helgaas
On Mon, Feb 22, 2016 at 01:05:48PM -0700, Alex Williamson wrote: > Some devices take longer than the spec indicates to return from FLR > reset, a notable case of this is Intel integrated graphics (IGD), > which can often take an additional 300ms powering down an attached > LCD panel as part of the

[PATCH] mm: memcontrol: reclaim and OOM kill when shrinking memory.max below usage

2016-03-10 Thread Johannes Weiner
Setting the original memory.limit_in_bytes hardlimit is subject to a race condition when the desired value is below the current usage. The code tries a few times to first reclaim and then see if the usage has dropped to where we would like it to be, but there is no locking, and the workload is free

[PATCH] mm: memcontrol: reclaim when shrinking memory.high below usage

2016-03-10 Thread Johannes Weiner
When setting memory.high below usage, nothing happens until the next charge comes along, and then it will only reclaim its own charge and not the now potentially huge excess of the new memory.high. This can cause groups to stay in excess of their memory.high indefinitely. To fix that, when shrinki

[PATCH] mm: memcontrol: clarify the uncharge_list() loop

2016-03-10 Thread Johannes Weiner
uncharge_list() does an unusual list walk because the function can take regular lists with dedicated list_heads as well as singleton lists where a single page is passed via the page->lru list node. This can sometimes lead to confusion as well as suggestions to replace the loop with a list_for_each

Re: [PATCH] x86: Enable full randomization on i386 and X86_32.

2016-03-10 Thread Arjan van de Ven
Arjan, or other folks, can you remember why x86_32 disabled mmap randomization here? There doesn't seem to be a good reason for it that I see. for unlimited stack it got really messy with threaded apps. anyway, I don't mind seeing if this will indeed work, with time running out where 32 bit is

Re: [PATCH 1/2] vga_switcheroo: add power support for windows 10 machines.

2016-03-10 Thread Rafael J. Wysocki
On Thursday, March 10, 2016 07:56:41 AM Dave Airlie wrote: > On 9 March 2016 at 23:19, Rafael J. Wysocki wrote: > > On Wed, Mar 9, 2016 at 7:14 AM, Dave Airlie wrote: > >> From: Dave Airlie > >> > >> Windows 10 seems to have standardised power control for the > >> optimus/powerxpress laptops usi

Re: [patch] sbp-target: checking for NULL instead of IS_ERR

2016-03-10 Thread Chris Boot
On 05/03/16 09:33, Nicholas A. Bellinger wrote: > On Sat, 2016-03-05 at 08:45 +, Chris Boot wrote: >> Are these in linux-next or another branch somewhere I can easily clone >> them from? > > The patch series is in target-pending/for-next. Hi Nic, I've just managed to resurrect a test rig for

Re: [PATCH] PCI: Include pci/hotplug Kconfig directly from pci/Kconfig

2016-03-10 Thread Bjorn Helgaas
On Tue, Mar 08, 2016 at 03:27:15PM -0600, Bjorn Helgaas wrote: > Include pci/hotplug/Kconfig directly from pci/Kconfig, so arches don't > have to source both pci/Kconfig and pci/hotplug/Kconfig. > > Note that this effectively adds pci/hotplug/Kconfig to the following > arches, because they already

Re: [PATCH 6/6] cpufreq: schedutil: New governor based on scheduler utilization data

2016-03-10 Thread Rafael J. Wysocki
On Thursday, March 10, 2016 11:30:34 AM Juri Lelli wrote: > On 10/03/16 00:41, Rafael J. Wysocki wrote: > > On Wed, Mar 9, 2016 at 11:15 AM, Juri Lelli wrote: > > > Hi, > > > > > > sorry if I didn't reply yet. Trying to cope with jetlag and > > > talks/meetings these days :-). Let me see if I'm ge

[PATCH 02/19] perf tools: Fix perf script python database export crash

2016-03-10 Thread Arnaldo Carvalho de Melo
From: Chris Phlipot Remove the union in evsel so that the database id and priv pointer can be used simultainously without conflicting and crashing. Detailed Description for the fixed bug follows: perf script crashes with a segmentation fault on user space tool version 4.5.rc7.ge2857b when using

[PATCH 14/19] perf tools: Add sort__has_comm variable

2016-03-10 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim The sort__has_comm variable is to check whether the comm sort key is given. This is necessary to support thread filtering in the TUI hists browser later. Signed-off-by: Namhyung Kim Cc: David Ahern Cc: Jiri Olsa Cc: Peter Zijlstra Link: http://lkml.kernel.org/r/145753325

[PATCH 13/19] perf tools: Recalc total periods using top-level entries in hierarchy

2016-03-10 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim When hierarchy mode is enabled, each entry in a hierarchy level shares the period. IOW an upper level entry's period is the sum of lower level entries. Thus perf uses only one of them to calculate the total period of hists. It was lowest-level (leaf) entries but it has a pro

[PATCH 05/19] tools lib traceevent: Add '~' operation within arg_num_eval()

2016-03-10 Thread Arnaldo Carvalho de Melo
From: Steven Rostedt When evaluating values for print flags, if the value included a '~' operator, the parsing would fail. This broke kmalloc's parsing of: __print_flags(REC->gfp_flags, "|", {(unsigned long)((( gfp_t)(0x40u|0x200u)) | (( gfp_t)0x40u) | (( gfp_t)0x80u) | (( gfp_t)0x20

[PATCH 08/19] perf tools: Add more sort entry check functions

2016-03-10 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim Those functions are for checkinf if a given perf_hpp_fmt is a filter-related sort entry. With hierarchy mode, it needs to check filters on the hist entries with its own hpp format list. Signed-off-by: Namhyung Kim Tested-by: Jiri Olsa Cc: Andi Kleen Cc: David Ahern Cc: Pe

Re: [PATCH] x86: Enable full randomization on i386 and X86_32.

2016-03-10 Thread Kees Cook
On Thu, Mar 10, 2016 at 12:53 PM, Arjan van de Ven wrote: >> Arjan, or other folks, can you remember why x86_32 disabled mmap >> randomization here? There doesn't seem to be a good reason for it that >> I see. > > > for unlimited stack it got really messy with threaded apps. Seems like it'd only

[PATCH 18/19] perf stat: Implement --metric-only mode

2016-03-10 Thread Arnaldo Carvalho de Melo
From: Andi Kleen Add a new mode to only print metrics. Sometimes we don't care about the raw values, just want the computed metrics. This allows more compact printing, so with -I each sample is only a single line. This also allows easier plotting and processing with other tools. The main target

[PATCH 15/19] perf hists browser: Allow thread filtering for comm sort key

2016-03-10 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim The commit 2eafd410e669 ("perf hists browser: Only 'Zoom into thread' only when sort order has 'pid'") disabled thread filtering in hist browser for the default sort key. However the he->thread is still valid even if 'pid' sort key is not given. Only thing it should not use i

[PATCH 07/19] perf tools: Fix hist_entry__filter() for hierarchy

2016-03-10 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim When hierarchy mode is enabled each output format is in a separate hpp list. So when applying a filter it should check all formats in the list. Currently it only checks a single ->fmt field which was not set properly. Signed-off-by: Namhyung Kim Tested-by: Jiri Olsa Cc: An

[PATCH 09/19] perf tools: Fix command line filters in hierarchy mode

2016-03-10 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim When a command-line filter is applied in hierarchy mode, output is broken especially when filtering on lower level. The higher level entries doesn't show up so it's hard to see the results. Also it needs to handle multi sort keys in a single hierarchy level. Before: $ per

[PATCH 12/19] perf tools: Remove nr_sort_keys field

2016-03-10 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim The nr_sort_keys field is to carry the number of sort entries in a hpp_list or hists to determine the depth of indentation of a hist entry. As it's only used in hierarchy mode and now we have used nr_hpp_node for this reason, there's no need to keep it anymore. Let's get rid o

[PATCH 06/19] perf jitdump: Build only on supported archs

2016-03-10 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Build jitdump only on architectures defined in util/genelf.h file, to avoid breaking the build on such arches. Signed-off-by: Jiri Olsa Cc: Adrian Hunter Cc: Alexander Shishkin Cc: Andi Kleen Cc: Borislav Petkov Cc: Colin Ian King Cc: David Ahern Cc: Davidlohr Bueso Cc: H

[PATCH 11/19] perf hists browser: Cleanup hist_browser__fprintf_hierarchy_entry()

2016-03-10 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim The hist_browser__fprintf_hierarchy_entry() if to dump current output into a file so it needs to be sync-ed with the corresponding function hist_browser__show_hierarchy_entry(). So use hists->nr_hpp_node to indent width and use first fmt_node to print overhead columns instead

[PATCH 04/19] perf tools: Omit unnecessary cast in perf_pmu__parse_scale

2016-03-10 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa There's no need to use a const char pointer, we can used char pointer from the beginning and omit the unnecessary cast. Reported-by: Ingo Molnar Signed-off-by: Jiri Olsa Cc: David Ahern Cc: H. Peter Anvin Cc: Namhyung Kim Cc: Peter Zijlstra Cc: Thomas Gleixner Link: http:/

<    1   2   3   4   5   6   7   8   >