[Question] does there have another fix for ldisc crash instead of "tty: Fix ldisc crash on reopened tty" ?

2017-11-28 Thread Tan Xiaojun
Hi, all, I test in a Arm64 fpga board (Hisilicon D06 fpga) with kernel-stable-4.14.2, then I get a panic log attached in the end. I found this problem try to be fixed before by the patch "tty: Fix ldisc crash on reopened tty", and it was reverted shortly thereafter becau

Re: [PATCH] media: ov13858: select V4L2_FWNODE

2017-11-28 Thread Sakari Ailus
On Tue, Nov 28, 2017 at 11:38:00AM +0100, Arnd Bergmann wrote: > v4l2_async_register_subdev_sensor_common() is only provided when > CONFIG_V4L2_FWNODE is enabled, otherwise we get a link failure: > > drivers/media/i2c/ov13858.o: In function `ov13858_probe': > ov13858.c:(.text+0xf74): undefined ref

Re: [PATCH 0/3] x86: make rsdp address accessible via boot params

2017-11-28 Thread Juergen Gross
On 28/11/17 22:03, Rafael J. Wysocki wrote: > On Tue, Nov 28, 2017 at 10:43 AM, Juergen Gross wrote: >> In the non-EFI boot path the ACPI RSDP table is currently found via >> either EBDA or by searching through low memory for the RSDP magic. >> This requires the RSDP to be located in the first 1MB

Re: [PATCH v5 next 1/5] modules:capabilities: add request_module_cap()

2017-11-28 Thread Michal Kubecek
On Tue, Nov 28, 2017 at 11:48:49PM +0100, Luis R. Rodriguez wrote: > On Tue, Nov 28, 2017 at 02:18:18PM -0800, Kees Cook wrote: > > On Tue, Nov 28, 2017 at 2:12 PM, Luis R. Rodriguez > > wrote: > > > On Tue, Nov 28, 2017 at 01:39:58PM -0800, Kees Cook wrote: > > >> On Tue, Nov 28, 2017 at 1:16 PM

Re: [PATCH v4 2/4] vm: add a syscall to map a process memory into a pipe

2017-11-28 Thread Andrei Vagin
On Mon, Nov 27, 2017 at 03:42:49PM -0800, Andrew Morton wrote: > On Mon, 27 Nov 2017 09:19:39 +0200 Mike Rapoport > wrote: > > > From: Andrei Vagin > > > > It is a hybrid of process_vm_readv() and vmsplice(). > > > > vmsplice can map memory from a current address space into a pipe. > > proces

Re: [PATCH 3/3] autofs - fix AT_NO_AUTOMOUNT not being honored

2017-11-28 Thread NeilBrown
On Wed, Nov 29 2017, Ian Kent wrote: > On 29/11/17 11:45, NeilBrown wrote: >> On Wed, Nov 29 2017, Ian Kent wrote: >> >>> Adding Al Viro to the Cc list as I believe Stephen Whitehouse and >>> Al have discussed something similar, please feel free to chime in >>> with your thoughts Al. >>> >>> On 2

Re: [PATCH v4 00/12] [dt-bindings] [media] Add document file and driver for Sony CXD2880 DVB-T2/T tuner + demodulator

2017-11-28 Thread Mauro Carvalho Chehab
Em Wed, 22 Nov 2017 13:17:14 +0900 "Takiguchi, Yasunari" escreveu: Hi Takiguchi-san, > Hi, all > > I sent the patch series of Sony CXD2880 DVB-T2/T tuner + demodulator driver > version 4 on 13th/Oct. > I'd like to get better understanding of current review status for our codes. > > Are there

Re: [PATCH] pwm: meson: fix harware duty calculation

2017-11-28 Thread Jerome Brunet
On Wed, 2017-11-29 at 11:03 +0800, Yixun Lan wrote: > From: Jian Hu > > The actual HIGH/LOW signal output from the PWM is equal to > the value programed to HW register plus one, this is designed by HW. > > This fix should apply to all Meson SoC(include GX/GXL/GXBB, Meson6,8) > > Fixes: 211ed630

Re: [PATCH v3] scripts/package: snap-pkg target

2017-11-28 Thread Masahiro Yamada
2017-11-29 4:35 GMT+09:00 Jim Davis : > On Tue, Nov 28, 2017 at 10:14 AM, Paolo Pisati > wrote: >> On Mon, Nov 27, 2017 at 7:33 PM, Jim Davis wrote: >>> >>> With this patch applied to the 4.14 kernel source, and running make >>> snap-pkg on a Ubuntu 16.04 VM with the latest 16.04 kernel config >>

Re: [PATCH] ARM: davinci: Use PTR_ERR_OR_ZERO()

2017-11-28 Thread Sekhar Nori
On Tuesday 28 November 2017 04:33 AM, Vasyl Gomonovych wrote: > Fix ptr_ret.cocci warnings: > arch/arm/mach-davinci/devices-da8xx.c:255:8-14: WARNING: PTR_ERR_OR_ZERO can > be used > arch/arm/mach-davinci/devices-da8xx.c:300:8-14: WARNING: PTR_ERR_OR_ZERO can > be used > arch/arm/mach-davinci/dm6

Re: [PATCH v2] x86/entry/64/paravirt: Use paravirt-safe macro to access eflags

2017-11-28 Thread Juergen Gross
On 28/11/17 16:28, Boris Ostrovsky wrote: > Commit 1d3e53e8624a ("x86/entry/64: Refactor IRQ stacks and make > them NMI-safe") added DEBUG_ENTRY_ASSERT_IRQS_OFF macro that acceses > eflags using 'pushfq' instruction when testing for IF bit. On PV Xen > guests looking at IF flag directly will always

Re: [PATCHv4 0/6] printk/ia64/ppc64/parisc64: let's deprecate %pF/%pf printk specifiers

2017-11-28 Thread Sergey Senozhatsky
On (11/28/17 16:47), Petr Mladek wrote: > On Fri 2017-11-10 08:48:24, Sergey Senozhatsky wrote: > > Hello, > > > > A reworked version. There is a new dereference_symbol_descriptor() > > function now, where "the magic happens", so I don't touch kallsyms_lookup() > > and module_address_looku

Re: kernel CI: printk loglevels in kernel boot logs?

2017-11-28 Thread Sergey Senozhatsky
On (11/28/17 16:13), Kevin Hilman wrote: [..] > > okay... who's going to send the patch? kernelCI folks? > > > > I have some sort of a patch. added console_msg_format= with the only > > available option so far - "syslog". may be people would want to have > > boot time, etc. on their consoles. who k

Re: [PATCH v2 06/35] nds32: MMU fault handling and page table management

2017-11-28 Thread Greentime Hu
Hi, Mark: 2017-11-27 21:51 GMT+08:00 Mark Rutland : > Hi, > > On Mon, Nov 27, 2017 at 08:27:53PM +0800, Greentime Hu wrote: >> +void do_page_fault(unsigned long entry, unsigned long addr, >> +unsigned int error_code, struct pt_regs *regs) >> +{ > >> + /* >> + * As per x86,

Re: [PATCH net] net: phylink: fix link state on phy-connect

2017-11-28 Thread Antoine Tenart
Hi Russell, On Tue, Nov 28, 2017 at 03:56:11PM +, Russell King wrote: > Oh, and lastly, please send patches to li...@armlinux.org.uk or the > address I use in the sign-offs - sending them to r...@armlinux.org.uk > is for personal non-Linux mail only, and has resulted in _all_ of > these messag

Re: [RFC PATCH] arch, mm: introduce arch_tlb_gather_mmu_exit

2017-11-28 Thread Michal Hocko
On Tue 28-11-17 19:00:01, Will Deacon wrote: > On Thu, Nov 23, 2017 at 10:02:36AM +0100, Michal Hocko wrote: > > From: Michal Hocko > > > > 5a7862e83000 ("arm64: tlbflush: avoid flushing when fullmm == 1") has > > introduced an optimization to not flush tlb when we are tearing the > > whole addre

Re: [PATCH RFC 2/2] mm, hugetlb: do not rely on overcommit limit during migration

2017-11-28 Thread Michal Hocko
On Tue 28-11-17 17:39:50, Mike Kravetz wrote: > On 11/28/2017 06:12 AM, Michal Hocko wrote: > > From: Michal Hocko > > > > hugepage migration relies on __alloc_buddy_huge_page to get a new page. > > This has 2 main disadvantages. > > 1) it doesn't allow to migrate any huge page if the pool is use

Re: [PATCH v2] crypto: AF_ALG - race-free access of encryption flag

2017-11-28 Thread Stephan Mueller
Am Mittwoch, 29. November 2017, 08:10:49 CET schrieb Herbert Xu: Hi Herbert, > > But anyway this isn't suitable for stable where we should just fix > it by making it not crash. I will send a patch right away moving the wait out. Later on I will elaborate on your suggestion to move the context-

Re: [PATCH v5] lib: optimize cpumask_next_and()

2017-11-28 Thread Yury Norov
NACK. I'm sorry, but it seems you have to send v6. See comments inline. On Tue, Nov 28, 2017 at 02:13:34PM +0100, Clement Courbet wrote: > We've measured that we spend ~0.6% of sys cpu time in cpumask_next_and(). > It's essentially a joined iteration in search for a non-zero bit, which > is curr

[v2] arm: dts: ls1021a: fix the value of TMR_FIPER1

2017-11-28 Thread Yangbo Lu
The timer fixed interval period pulse generator register is used to generate periodic pulses. The down count register loads the value programmed in the fixed period interval (FIPER). At every tick of the timer accumulator overflow, the counter decrements by the value of TMR_CTRL[TCLK_PERIOD]. It ge

Re: [PATCH v2] crypto: AF_ALG - race-free access of encryption flag

2017-11-28 Thread Herbert Xu
On Wed, Nov 29, 2017 at 07:48:53AM +0100, Stephan Mueller wrote: > Am Mittwoch, 29. November 2017, 00:02:40 CET schrieb Herbert Xu: > > > This is wrong. You can't fetch ctx->enc before you wait. It has > > to be done after the wait as otherwise ctx->enc may not even have > > been initialised. >

[PATCH] x86/entry/64: Fix native_load_gs_index() SWAPGS handling with IRQ state tracing enabled

2017-11-28 Thread Ingo Molnar
* Jarkko Nikula wrote: > Hi > > Suspend-to-ram and resume stopped working on v4.15-rc1 and I bisected it to > commit ca37e57bbe0c ("x86/entry/64: Add missing irqflags tracing to > native_load_gs_index()"). > > I noticed it on Intel Kabylake (core) and Apollolake (atom) based prototype > machin

Re: [PATCH] powerpc/powernv : Add support to enable sensor groups

2017-11-28 Thread Shilpasri G Bhat
Hi, On 11/28/2017 05:07 PM, Michael Ellerman wrote: > Shilpasri G Bhat writes: > >> Adds support to enable/disable a sensor group. This can be used to >> select the sensor groups that needs to be copied to main memory by >> OCC. Sensor groups like power, temperature, current, voltage, >> frequen

[PATCH] Support TrackStick of Thinkpad L570

2017-11-28 Thread Masaki Ota
From: Masaki Ota - The issue is that Thinkpad L570 TrackStick does not work. Because the main interface of Thinkpad L570 device is SMBus, so ALPS overlooked PS2 interface Firmware setting of TrackStick. The detail is that TrackStick otp bit is disabled. - Add the code that checks 0xD7 address v

Re: [PATCH] cpufreq: longhaul: Set transition_delay_us to 20 ms

2017-11-28 Thread Meelis Roos
> > diff --git a/drivers/cpufreq/longhaul.c b/drivers/cpufreq/longhaul.c > > index c46a12df40dd..56eafcb07859 100644 > > --- a/drivers/cpufreq/longhaul.c > > +++ b/drivers/cpufreq/longhaul.c > > @@ -894,7 +894,7 @@ static int longhaul_cpu_init(struct cpufreq_policy > > *policy) > > if ((lo

Re: [PATCH] crypto: replace FSF address with web source in license notices

2017-11-28 Thread Philippe Ombredanne
On Wed, Nov 29, 2017 at 7:35 AM, Herbert Xu wrote: > On Tue, Nov 14, 2017 at 10:25:15AM +0100, Martin Kepplinger wrote: >> A few years ago the FSF moved and "59 Temple Place" is wrong. Having this >> still in our source files feels old and unmaintained. >> >> Let's take the license statement serio

Re: linux-next: build warning after merge of the arm tree

2017-11-28 Thread Nicolas Pitre
On Tue, 28 Nov 2017, Russell King wrote: > On Wed, Nov 29, 2017 at 10:38:05AM +1100, Stephen Rothwell wrote: > > Hi Russell, > > > > On Tue, 28 Nov 2017 23:19:59 + Russell King > > wrote: > > > > > > Stephen, which binutils version are you using? > > > > GNU ld (GNU Binutils) 2.25.2 > > >

Re: [PATCH RFC 1/2] mm, hugetlb: unify core page allocation accounting and initialization

2017-11-28 Thread Michal Hocko
On Tue 28-11-17 13:34:53, Mike Kravetz wrote: > On 11/28/2017 06:12 AM, Michal Hocko wrote: [...] > > +/* > > + * Allocates a fresh page to the hugetlb allocator pool in the node > > interleaved > > + * manner. > > + */ > > static int alloc_fresh_huge_page(struct hstate *h, nodemask_t > > *nodes

Re: [PATCH] arm: dts: ls1021a: fix the value of TMR_FIPER1

2017-11-28 Thread Shawn Guo
On Fri, Nov 24, 2017 at 02:31:13AM +, Y.b. Lu wrote: > Any comments? > > +Shawn Please resend with me on copy. > > Thanks. > > -Original Message- > From: Yangbo Lu [mailto:yangbo...@nxp.com] > Sent: 2017年11月10日 9:59 > To: devicet...@vger.kernel.org; linux-kernel@vger.kernel.org;

Re: [PATCH v3 2/2] ARM: dts: TS-7970: add basic device tree

2017-11-28 Thread Shawn Guo
On Thu, Nov 23, 2017 at 03:24:46PM -0500, Sebastien Bourdelin wrote: > These device trees add support for TS-7970 by Technologic Systems. > > More details here: >https://wiki.embeddedarm.com/wiki/TS-7970 > > Signed-off-by: Sebastien Bourdelin > --- > Changes v2 -> v3: > - fix typo in imx6q

Re: [PATCH v2] crypto: AF_ALG - race-free access of encryption flag

2017-11-28 Thread Stephan Mueller
Am Mittwoch, 29. November 2017, 00:02:40 CET schrieb Herbert Xu: Hi Herbert, > > --- a/crypto/algif_aead.c > > +++ b/crypto/algif_aead.c > > @@ -110,6 +110,7 @@ static int _aead_recvmsg(struct socket *sock, struct > > msghdr *msg,> > > size_t outlen = 0; /* [out] RX bufs produce

Re: [PATCH v3 1/2] of: documentation: add bindings documentation for TS-7970

2017-11-28 Thread Shawn Guo
On Thu, Nov 23, 2017 at 03:24:45PM -0500, Sebastien Bourdelin wrote: > This adds the documentation for the TS-7970 by Technologic Systems. > > Signed-off-by: Sebastien Bourdelin It needs to be acked by DT maintainer. I see devicetree list is not on copy, and that could be the reason why there i

Reply

2017-11-28 Thread Wong
I have something very confidential and private to discuss with you

[tip:perf/core] perf record: Ignore kptr_restrict when not sampling the kernel

2017-11-28 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: b0ebd811af889721d3fbef3657092cf028c16b7c Gitweb: https://git.kernel.org/tip/b0ebd811af889721d3fbef3657092cf028c16b7c Author: Arnaldo Carvalho de Melo AuthorDate: Tue, 14 Nov 2017 11:03:19 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 28 Nov 2017 14:26:33 -0300 p

[tip:perf/core] perf test: Fix test 21 for s390x

2017-11-28 Thread tip-bot for Thomas Richter
Commit-ID: 996548499df61babae5306544c7daf5fd39db31c Gitweb: https://git.kernel.org/tip/996548499df61babae5306544c7daf5fd39db31c Author: Thomas Richter AuthorDate: Thu, 23 Nov 2017 12:46:11 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 28 Nov 2017 14:28:26 -0300 perf test:

[tip:perf/core] perf top: Ignore kptr_restrict when not sampling the kernel

2017-11-28 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: df7ccfa21ef343c602ae4aa1eb7893da4408b219 Gitweb: https://git.kernel.org/tip/df7ccfa21ef343c602ae4aa1eb7893da4408b219 Author: Arnaldo Carvalho de Melo AuthorDate: Tue, 14 Nov 2017 13:30:19 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 28 Nov 2017 14:26:49 -0300 p

[tip:perf/core] tools headers: Synchronize KVM arch ABI headers

2017-11-28 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 374fbe56068c36126fc690378f1ae8a95f91 Gitweb: https://git.kernel.org/tip/374fbe56068c36126fc690378f1ae8a95f91 Author: Arnaldo Carvalho de Melo AuthorDate: Mon, 27 Nov 2017 12:04:21 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 28 Nov 2017 14:31:01 -0300 t

Re: [PATCH v2] ARM64: crypto: do not call crypto_unregister_skcipher twice on error

2017-11-28 Thread Herbert Xu
On Fri, Nov 24, 2017 at 08:22:07AM +, Corentin Labbe wrote: > When a cipher fails to register in aes_init(), the error path goes thought > aes_exit() then crypto_unregister_skciphers(). > Since aes_exit calls also crypto_unregister_skcipher, this triggers a > refcount_t: underflow; use-after-fr

[tip:perf/core] tools headers: Synchronize prctl.h ABI header

2017-11-28 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: d9744f940923ea341a289d1920a55e3a3de7fc9a Gitweb: https://git.kernel.org/tip/d9744f940923ea341a289d1920a55e3a3de7fc9a Author: Arnaldo Carvalho de Melo AuthorDate: Mon, 27 Nov 2017 12:11:02 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 28 Nov 2017 14:31:30 -0300 t

[tip:perf/core] tools headers: Syncronize mman.h ABI header

2017-11-28 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 1b3b5219abfd6a214e99018747e9fe98514b43ca Gitweb: https://git.kernel.org/tip/1b3b5219abfd6a214e99018747e9fe98514b43ca Author: Arnaldo Carvalho de Melo AuthorDate: Mon, 27 Nov 2017 12:18:23 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 28 Nov 2017 14:31:56 -0300 t

Re: [PATCH 0/5] crypto: chacha20 - Alignment fixes

2017-11-28 Thread Herbert Xu
On Wed, Nov 22, 2017 at 11:51:34AM -0800, Eric Biggers wrote: > From: Eric Biggers > > This series fixes potentially unaligned memory accesses when loading the > initial state, key, and IV for ChaCha20, and when outputting each > keystream block. > > It also removes the cra_alignmask from the ge

[tip:perf/core] tools headers uapi: Synchronize drm/drm.h

2017-11-28 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 8ce6d5eb01cba83db9077c88a533bfeff39c679c Gitweb: https://git.kernel.org/tip/8ce6d5eb01cba83db9077c88a533bfeff39c679c Author: Arnaldo Carvalho de Melo AuthorDate: Mon, 27 Nov 2017 11:43:00 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 28 Nov 2017 14:30:16 -0300 t

[tip:perf/core] tools headers: Synchronize drm/i915_drm.h

2017-11-28 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 485be0cb0c71da167cb7f27c20130dc04fec33ff Gitweb: https://git.kernel.org/tip/485be0cb0c71da167cb7f27c20130dc04fec33ff Author: Arnaldo Carvalho de Melo AuthorDate: Mon, 27 Nov 2017 11:50:07 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 28 Nov 2017 14:30:42 -0300 t

Re: [PATCH net-next] cryptd: Add cryptd_max_cpu_qlen module parameter

2017-11-28 Thread Herbert Xu
On Wed, Nov 22, 2017 at 04:08:17PM +1100, Jon Maxwell wrote: > Make the cryptd queue length configurable. We recently had customer where > this > needed to be tuned to accommodate the aesni_intel module and prevent packet > drop. > > Signed-off-by: Jon Maxwell Patch applied. Thanks. -- Emai

[tip:perf/core] tools headers: Synchronize kernel ABI headers wrt SPDX tags

2017-11-28 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 85369131895643c6510416fdcb215a855d39afb1 Gitweb: https://git.kernel.org/tip/85369131895643c6510416fdcb215a855d39afb1 Author: Arnaldo Carvalho de Melo AuthorDate: Tue, 7 Nov 2017 13:41:35 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 28 Nov 2017 14:29:20 -0300 to

[tip:perf/core] tools headers: Synchronize perf_event.h header

2017-11-28 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 0f1aabeb4932e48ce067cb8c88322277dd7af371 Gitweb: https://git.kernel.org/tip/0f1aabeb4932e48ce067cb8c88322277dd7af371 Author: Arnaldo Carvalho de Melo AuthorDate: Mon, 27 Nov 2017 11:35:52 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 28 Nov 2017 14:29:49 -0300 t

Re: [5/8] crypto: remove unused hardirq.h

2017-11-28 Thread Herbert Xu
On Sat, Nov 18, 2017 at 07:02:18AM +0800, Yang Shi wrote: > Preempt counter APIs have been split out, currently, hardirq.h just > includes irq_enter/exit APIs which are not used by crypto at all. > > So, remove the unused hardirq.h. > > Signed-off-by: Yang Shi > Cc: Herbert Xu > Cc: "David S. M

Re: [PATCH] crypto: hifn_795x - Fix a memory leak in the error handling path of 'hifn_probe()'

2017-11-28 Thread Herbert Xu
On Sat, Nov 18, 2017 at 02:45:45PM +0100, Christophe JAILLET wrote: > 'dev' is leaking in the error handling path of 'hifn_probe()'. > > Add a 'kfree(dev)' to match the code in 'hifn_remove()' > > Signed-off-by: Christophe JAILLET Patch applied. Thanks. -- Email: Herbert Xu Home Page: http:/

Re: [PATCHi v2] dt-bindings: add device tree binding for Arm TrustZone CryptoCell crypto engine

2017-11-28 Thread Herbert Xu
On Thu, Nov 16, 2017 at 06:15:28AM +, Gilad Ben-Yossef wrote: > The Arm TrustZone CryptoCell is a hardware security engine. This patch > adds DT bindings for its Rich Execution Environment crypto engine. > > A driver supporting this device is already present in the staging tree. > > Signed-of

Re: [PATCH][V2] crypto/nx: fix spelling mistake: "availavle" -> "available"

2017-11-28 Thread Herbert Xu
On Tue, Nov 14, 2017 at 02:32:17PM +, Colin King wrote: > From: Colin Ian King > > Trivial fix to spelling mistake in pr_err error message text. Also > fix spelling mistake in proceeding comment. > > Signed-off-by: Colin Ian King Patch applied. Thanks. -- Email: Herbert Xu Home Page: ht

[tip:perf/core] perf top: Use signal interface for SIGWINCH handler

2017-11-28 Thread tip-bot for Jiri Olsa
Commit-ID: bdaab8c4b3db820b0946ed4516bc5ec811e0cc82 Gitweb: https://git.kernel.org/tip/bdaab8c4b3db820b0946ed4516bc5ec811e0cc82 Author: Jiri Olsa AuthorDate: Wed, 15 Nov 2017 14:30:57 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 28 Nov 2017 14:27:43 -0300 perf top: Use si

[tip:perf/core] perf intel-pt: Bring instruction decoder files into line with the kernel

2017-11-28 Thread tip-bot for Adrian Hunter
Commit-ID: 51cacdc89852e91448518c616758c4421c83e057 Gitweb: https://git.kernel.org/tip/51cacdc89852e91448518c616758c4421c83e057 Author: Adrian Hunter AuthorDate: Tue, 21 Nov 2017 10:35:26 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 28 Nov 2017 14:28:49 -0300 perf intel-p

Re: [PATCH] crypto: cavium: fix memory leak on info

2017-11-28 Thread Herbert Xu
On Wed, Nov 15, 2017 at 12:37:19PM +, Colin King wrote: > From: Colin Ian King > > The object info is being leaked on an error return path, fix this > by setting ret to -ENOMEM and exiting via the request_cleanup path > that will free info. > > Detected by CoverityScan, CID#1408439 ("Resourc

Re: [PATCH] crypto: keywrap - Add missing ULL suffixes for 64-bit constants

2017-11-28 Thread Herbert Xu
On Wed, Nov 15, 2017 at 11:44:28AM +0100, Geert Uytterhoeven wrote: > On 32-bit (e.g. with m68k-linux-gnu-gcc-4.1): > > crypto/keywrap.c: In function ‘crypto_kw_decrypt’: > crypto/keywrap.c:191: warning: integer constant is too large for ‘long’ > type > crypto/keywrap.c: In function ‘

[tip:perf/core] perf top: Fix window dimensions change handling

2017-11-28 Thread tip-bot for Jiri Olsa
Commit-ID: 89d0aeab4252adc2a7ea693637dd21c588bfa2d1 Gitweb: https://git.kernel.org/tip/89d0aeab4252adc2a7ea693637dd21c588bfa2d1 Author: Jiri Olsa AuthorDate: Tue, 14 Nov 2017 10:23:39 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 28 Nov 2017 14:27:20 -0300 perf top: Fix wi

[tip:perf/core] perf bench numa: Fixup discontiguous/sparse numa nodes

2017-11-28 Thread tip-bot for Satheesh Rajendran
Commit-ID: 321a7c35c90cc834851ceda18a8ee18f1d032b92 Gitweb: https://git.kernel.org/tip/321a7c35c90cc834851ceda18a8ee18f1d032b92 Author: Satheesh Rajendran AuthorDate: Wed, 22 Nov 2017 22:13:53 +0530 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 28 Nov 2017 14:28:10 -0300 perf be

Re: [kernel-hardening] Re: [PATCH v5 next 5/5] net: modules: use request_module_cap() to load 'netdev-%s' modules

2017-11-28 Thread Theodore Ts'o
On Tue, Nov 28, 2017 at 04:18:59PM -0800, Kees Cook wrote: > There's also a difference between immutable CONFIG options that cannot > be disabled at runtime, those that can, global sysctls, per-namespace > controls, etc etc. The kernel is all about providing admins with knobs > to tweak their perfo

[tip:perf/core] perf: Fix header.size for namespace events

2017-11-28 Thread tip-bot for Jiri Olsa
Commit-ID: 34900ec5c9577cc1b0f22887ac7349f458ba8ac2 Gitweb: https://git.kernel.org/tip/34900ec5c9577cc1b0f22887ac7349f458ba8ac2 Author: Jiri Olsa AuthorDate: Wed, 9 Aug 2017 18:14:06 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 28 Nov 2017 14:27:05 -0300 perf: Fix header.

[tip:perf/core] perf report: Ignore kptr_restrict when not sampling the kernel

2017-11-28 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 3f0a4c873cb341d0cb61493d8dec7662bcaa7ca7 Gitweb: https://git.kernel.org/tip/3f0a4c873cb341d0cb61493d8dec7662bcaa7ca7 Author: Arnaldo Carvalho de Melo AuthorDate: Tue, 14 Nov 2017 11:12:11 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 28 Nov 2017 14:24:52 -0300 p

Re: [PATCH] mm, compaction: direct freepage allocation for async direct compaction

2017-11-28 Thread Joonsoo Kim
On Wed, Nov 22, 2017 at 03:52:55PM +0100, Vlastimil Babka wrote: > On 11/22/2017 03:33 PM, Johannes Weiner wrote: > > From: Vlastimil Babka > > > > The goal of direct compaction is to quickly make a high-order page available > > for the pending allocation. The free page scanner can add significan

[tip:perf/core] perf annotate: Do not truncate instruction names at 6 chars

2017-11-28 Thread tip-bot for Ravi Bangoria
Commit-ID: 05d0e62d9fa0f1002cf82009ef31b36174da5472 Gitweb: https://git.kernel.org/tip/05d0e62d9fa0f1002cf82009ef31b36174da5472 Author: Ravi Bangoria AuthorDate: Tue, 14 Nov 2017 08:55:40 +0530 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 28 Nov 2017 14:22:31 -0300 perf annotat

[tip:perf/core] perf evlist: Add helper to check if attr.exclude_kernel is set in all evsels

2017-11-28 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 5b0d1cb40698056f3df8ed579dde4b80c6b7508d Gitweb: https://git.kernel.org/tip/5b0d1cb40698056f3df8ed579dde4b80c6b7508d Author: Arnaldo Carvalho de Melo AuthorDate: Tue, 14 Nov 2017 11:01:06 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 28 Nov 2017 14:23:43 -0300 p

Re: [PATCH] crypto: replace FSF address with web source in license notices

2017-11-28 Thread Herbert Xu
On Tue, Nov 14, 2017 at 10:25:15AM +0100, Martin Kepplinger wrote: > A few years ago the FSF moved and "59 Temple Place" is wrong. Having this > still in our source files feels old and unmaintained. > > Let's take the license statement serious and not confuse users. > > As https://www.gnu.org/lic

[tip:perf/core] perf script: Fix --per-event-dump for auxtrace synth evsels

2017-11-28 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 501e5bbec3c19498fa520fd3ffd68bd907f31bf7 Gitweb: https://git.kernel.org/tip/501e5bbec3c19498fa520fd3ffd68bd907f31bf7 Author: Arnaldo Carvalho de Melo AuthorDate: Thu, 9 Nov 2017 16:04:26 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 28 Nov 2017 14:20:45 -0300 pe

Re: [PATCH 4.14 000/193] 4.14.3-stable review

2017-11-28 Thread Greg Kroah-Hartman
On Tue, Nov 28, 2017 at 01:52:22PM -0800, Guenter Roeck wrote: > On Tue, Nov 28, 2017 at 11:24:07AM +0100, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.14.3 release. > > There are 193 patches in this series, all will be posted as a response > > to this one.

Re: [PATCH 3.18 00/67] 3.18.85-stable review

2017-11-28 Thread Greg Kroah-Hartman
On Tue, Nov 28, 2017 at 12:37:40PM -0700, Shuah Khan wrote: > On 11/28/2017 03:18 AM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 3.18.85 release. > > There are 67 patches in this series, all will be posted as a response > > to this one. If anyone has any iss

[tip:perf/core] perf test shell: Fix test case probe libc's inet_pton on s390x

2017-11-28 Thread tip-bot for Thomas Richter
Commit-ID: d5c5e46aa7a2b256a526f9ce832ffbf622c3c19a Gitweb: https://git.kernel.org/tip/d5c5e46aa7a2b256a526f9ce832ffbf622c3c19a Author: Thomas Richter AuthorDate: Tue, 14 Nov 2017 08:18:47 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 28 Nov 2017 14:23:16 -0300 perf test s

[tip:perf/core] perf test shell: Fix check open filename arg using 'perf trace' on s390x

2017-11-28 Thread tip-bot for Thomas Richter
Commit-ID: ccafc38f1c778847ab6d53dd7933260426731cf3 Gitweb: https://git.kernel.org/tip/ccafc38f1c778847ab6d53dd7933260426731cf3 Author: Thomas Richter AuthorDate: Tue, 14 Nov 2017 08:18:46 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 28 Nov 2017 14:22:56 -0300 perf test s

Re: [v2,01/12] hwrng: bcm2835 - Obtain base register via resource

2017-11-28 Thread Herbert Xu
On Tue, Nov 07, 2017 at 04:44:38PM -0800, Florian Fainelli wrote: > In preparation for consolidating bcm63xx-rng into bcm2835-rng, make sure > that we obtain the base register via platform_get_resource() since we > need to support the non-DT enabled MIPS-based BCM63xx DSL SoCs. > > Signed-off-by:

[tip:perf/core] perf evsel: Fix up leftover perf_evsel_stat usage via evsel->priv

2017-11-28 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 8e2d8e204247aa9eeb87893f6b8bf0cf29428b31 Gitweb: https://git.kernel.org/tip/8e2d8e204247aa9eeb87893f6b8bf0cf29428b31 Author: Arnaldo Carvalho de Melo AuthorDate: Thu, 9 Nov 2017 12:03:40 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 28 Nov 2017 14:20:32 -0300 pe

[tip:perf/core] perf trace: Fix an exit code of trace__symbols_init

2017-11-28 Thread tip-bot for Andrei Vagin
Commit-ID: 35c33633abc14b906e84b7b0115ede6df6830120 Gitweb: https://git.kernel.org/tip/35c33633abc14b906e84b7b0115ede6df6830120 Author: Andrei Vagin AuthorDate: Tue, 7 Nov 2017 16:22:46 -0800 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 28 Nov 2017 14:20:15 -0300 perf trace: Fi

[tip:perf/core] perf help: Fix a bug during strstart() conversion

2017-11-28 Thread tip-bot for Namhyung Kim
Commit-ID: af98f2273fd0af31ce327cd1406b67c7be0b6734 Gitweb: https://git.kernel.org/tip/af98f2273fd0af31ce327cd1406b67c7be0b6734 Author: Namhyung Kim AuthorDate: Tue, 14 Nov 2017 09:15:42 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 28 Nov 2017 14:21:18 -0300 perf help: Fi

Re: [PATCH] crypto: chelsio: remove redundant assignments to reqctx and dst_size

2017-11-28 Thread Herbert Xu
On Thu, Nov 09, 2017 at 08:54:13AM +, Colin King wrote: > From: Colin Ian King > > Pointer reqctx is assigned the same value twice, once on initialization > and again a few statements later, remove the second redundant assignment. > Variable dst_size is assigned but it is never read, so the v

[tip:perf/core] perf evlist: Set the correct idx when adding dummy events

2017-11-28 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 555b4ec4d589eb0fcdf9d7b4b05a71984dbcaeee Gitweb: https://git.kernel.org/tip/555b4ec4d589eb0fcdf9d7b4b05a71984dbcaeee Author: Arnaldo Carvalho de Melo AuthorDate: Fri, 3 Nov 2017 15:13:29 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 28 Nov 2017 14:19:00 -0300 pe

Re: [PATCH v5 0/2] STM32 CRYP crypto driver

2017-11-28 Thread Herbert Xu
On Thu, Oct 19, 2017 at 05:10:28PM +0200, Fabien Dessenne wrote: > This set of patches adds a new crypto driver for STMicroelectronics stm32 HW. > This drivers uses the crypto API and provides with HW-enabled block cipher > algorithms. > > This driver was successfully tested with tcrypt / testmgr.

[tip:perf/core] perf record: Fix -c/-F options for cpu event aliases

2017-11-28 Thread tip-bot for Andi Kleen
Commit-ID: 59622fd496a3175c7bf549046e091d81c303ecff Gitweb: https://git.kernel.org/tip/59622fd496a3175c7bf549046e091d81c303ecff Author: Andi Kleen AuthorDate: Fri, 20 Oct 2017 13:27:55 -0700 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 28 Nov 2017 14:19:39 -0300 perf record: Fi

Re: [PATCH] mm, compaction: direct freepage allocation for async direct compaction

2017-11-28 Thread Joonsoo Kim
On Thu, Nov 23, 2017 at 02:08:43PM +, Mel Gorman wrote: > 3. Another reason a linear scanner was used was because we wanted to >clear entire pageblocks we were migrating from and pack the target >pageblocks as much as possible. This was to reduce the amount of >migration required o

Re: WARNING: suspicious RCU usage (3)

2017-11-28 Thread Dmitry Vyukov
On Tue, Nov 28, 2017 at 11:30 PM, Paul E. McKenney wrote: > On Tue, Nov 28, 2017 at 01:30:26PM -0800, Andrew Morton wrote: >> On Tue, 28 Nov 2017 12:45:01 -0800 syzbot >> >> wrote: >> >> > Hello, >> > >> > syzkaller hit the following crash on >> > b0a84f19a5161418d4360cd57603e94ed489915e >> > g

[tip:perf/urgent] perf/core: Fix memory leak triggered by perf --namespace

2017-11-28 Thread tip-bot for Vasily Averin
Commit-ID: 0e18dd12064e07519f7cbff4149ca7fff620cbed Gitweb: https://git.kernel.org/tip/0e18dd12064e07519f7cbff4149ca7fff620cbed Author: Vasily Averin AuthorDate: Wed, 15 Nov 2017 08:47:02 +0300 Committer: Ingo Molnar CommitDate: Wed, 15 Nov 2017 09:47:27 +0100 perf/core: Fix memory lea

Re: [PATCH v3 02/21] fpga: mgr: add region_id to fpga_image_info

2017-11-28 Thread Moritz Fischer
Hi Hao, On Mon, Nov 27, 2017 at 02:42:09PM +0800, Wu Hao wrote: > This patch adds region_id to fpga_image_info data structure, it > allows driver to pass region id information to fpga-mgr via > fpga_image_info for fpga reconfiguration function. > > Signed-off-by: Wu Hao Acked-by: Moritz Fischer

Re: [PATCH net,stable] vhost: fix skb leak in handle_rx()

2017-11-28 Thread Wei Xu
On Tue, Nov 28, 2017 at 07:53:33PM +0200, Michael S. Tsirkin wrote: > On Tue, Nov 28, 2017 at 12:17:16PM -0500, w...@redhat.com wrote: > > From: Wei Xu > > > > Matthew found a roughly 40% tcp throughput regression with commit > > c67df11f(vhost_net: try batch dequing from skb array) as discussed

[PATCH] KVM: VMX: Cache IA32_DEBUGCTL in memory

2017-11-28 Thread Wanpeng Li
From: Wanpeng Li MSR_IA32_DEBUGCTLMSR is zeroed on VMEXIT, so it is saved/restored each time during world switch. Jim from Google pointed out that when running schbench in L2, vmx_vcpu_run will occupy 4% cpu time, and the 25% of vmx_vcpu_run cpu time is occupied by get_debugctlmsr(). This pat

Re: [PATCH v3 04/21] fpga: add device feature list support

2017-11-28 Thread Moritz Fischer
Hi Hao, first pass, I didn't get all the way through, yet. On Mon, Nov 27, 2017 at 02:42:11PM +0800, Wu Hao wrote: > Device Feature List (DFL) defines a feature list structure that creates > a link list of feature headers within the MMIO space to provide an > extensible way of adding features. Th

Re: [PATCH 3/3] autofs - fix AT_NO_AUTOMOUNT not being honored

2017-11-28 Thread Ian Kent
On 29/11/17 11:45, NeilBrown wrote: > On Wed, Nov 29 2017, Ian Kent wrote: > >> Adding Al Viro to the Cc list as I believe Stephen Whitehouse and >> Al have discussed something similar, please feel free to chime in >> with your thoughts Al. >> >> On 29/11/17 09:17, NeilBrown wrote: >>> On Tue, Nov

Re: [PATCH 09/12] perf, tools: Downgrade register mapping message to warning

2017-11-28 Thread Masami Hiramatsu
On Mon, 27 Nov 2017 16:23:18 -0800 Andi Kleen wrote: > From: Andi Kleen > > When tracing floating point code it's quite possible that perf > doesn't recognize the register number. Downgrade the warning > for unknown registers to a debug message. Hmm, but without this message, user will just se

Re: [PATCH net,stable] vhost: fix skb leak in handle_rx()

2017-11-28 Thread Wei Xu
On Tue, Nov 28, 2017 at 07:50:58PM +0200, Michael S. Tsirkin wrote: > On Tue, Nov 28, 2017 at 12:17:16PM -0500, w...@redhat.com wrote: > > From: Wei Xu > > > > Matthew found a roughly 40% tcp throughput regression with commit > > c67df11f(vhost_net: try batch dequing from skb array) as discussed

Re: [PATCH v2 31/35] earlycon: add reg-offset to physical address before mapping

2017-11-28 Thread Greentime Hu
2017-11-28 22:25 GMT+08:00 Greg KH : > On Mon, Nov 27, 2017 at 08:28:18PM +0800, Greentime Hu wrote: >> From: Greentime Hu >> >> It will get the wrong virtual address because port->mapbase is not added >> the correct reg-offset yet. We have to update it before earlycon_map() >> is called >> --- >>

Re: [PATCH v2] mm/cma: fix alloc_contig_range ret code/potential leak

2017-11-28 Thread Joonsoo Kim
On Wed, Nov 22, 2017 at 10:52:14AM -0800, Mike Kravetz wrote: > If the call __alloc_contig_migrate_range() in alloc_contig_range > returns -EBUSY, processing continues so that test_pages_isolated() > is called where there is a tracepoint to identify the busy pages. > However, it is possible for bus

Re: [PATCH 02/18] vchecker: introduce the valid access checker

2017-11-28 Thread Joonsoo Kim
On Tue, Nov 28, 2017 at 11:41:08AM -0800, Andi Kleen wrote: > js1...@gmail.com writes: > > > From: Joonsoo Kim > > Looks useful. Essentially unlimited hardware break points, combined > with slab. Thanks!!! > > Didn't do a full review, but noticed some things below. > > + > > + buf = kmalloc

[lkp-robot] [x86/entry/64] 48a3b0cedb: WARNING:at_kernel/locking/lockdep.c:#check_flags

2017-11-28 Thread kernel test robot
FYI, we noticed the following commit (built with gcc-6): commit: 48a3b0cedbb099efea7bb977b6cd3728d0b58b38 ("x86/entry/64: Create a percpu SYSCALL entry trampoline") https://git.kernel.org/cgit/linux/kernel/git/luto/linux.git x86/entry_stack in testcase: boot on test machine: qemu-system-x86_64

Re: [PATCH] crypto: salsa20 - fix blkcipher_walk API usage

2017-11-28 Thread Herbert Xu
On Tue, Nov 28, 2017 at 08:56:59PM -0800, Eric Biggers wrote: > From: Eric Biggers > > When asked to encrypt or decrypt 0 bytes, both the generic and x86 > implementations of Salsa20 crash in blkcipher_walk_done(), either when > doing 'kfree(walk->buffer)' or 'free_page((unsigned long)walk->page)

Re: [PATCH v2] crypto: hmac - require that the underlying hash algorithm is unkeyed

2017-11-28 Thread Herbert Xu
On Tue, Nov 28, 2017 at 06:01:38PM -0800, Eric Biggers wrote: > From: Eric Biggers > > Because the HMAC template didn't check that its underlying hash > algorithm is unkeyed, trying to use "hmac(hmac(sha3-512-generic))" > through AF_ALG or through KEYCTL_DH_COMPUTE resulted in the inner HMAC > be

Re: general protection fault in af_alg_free_areq_sgls

2017-11-28 Thread Herbert Xu
On Tue, Nov 28, 2017 at 01:02:52AM -0800, Eric Biggers wrote: > > >From 1a7a7f86f09c50652f1fff75b8d3a32712826b32 Mon Sep 17 00:00:00 2001 > From: Eric Biggers > Date: Tue, 28 Nov 2017 00:46:24 -0800 > Subject: [PATCH] crypto: af_alg - fix NULL pointer dereference in > af_alg_free_areq_sgls() >

Re: KASAN: use-after-free Read in aead_recvmsg

2017-11-28 Thread Herbert Xu
On Mon, Nov 27, 2017 at 11:29:44PM -0800, Eric Biggers wrote: > > >From 453b54793e843c0d5b8fd2d5e33fcc5427ec038e Mon Sep 17 00:00:00 2001 > From: Eric Biggers > Date: Mon, 27 Nov 2017 23:23:05 -0800 > Subject: [PATCH] crypto: algif_aead - fix reference counting of null skcipher > > In the AEAD in

Re: [PATCH net,stable] vhost: fix skb leak in handle_rx()

2017-11-28 Thread Wei Xu
On Wed, Nov 29, 2017 at 01:06:28PM +0800, Jason Wang wrote: > > > On 2017年11月29日 09:53, Jason Wang wrote: > > > > > > On 2017å¹´11月29æ—¥ 01:17, w...@redhat.com wrote: > > > From: Wei Xu > > > > > > Matthew found a roughly 40% tcp throughput regression with commit > > > c67df11f(vhost_net: t

d17a1d97dc ("x86/mm/kasan: don't use vmemmap_populate() to initialize shadow"): BUG: KASAN: use-after-scope in __drm_mm_interval_first

2017-11-28 Thread Fengguang Wu
a1d97dc x86/mm/kasan: don't use vmemmap_populate() to initialize shadow 43570f0383 Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 5bef2980ad Add linux-ne

Re: [PATCH] mm: disable `vm.max_map_count' sysctl limit

2017-11-28 Thread John Hubbard
On 11/28/2017 12:12 AM, Michal Hocko wrote: > On Mon 27-11-17 15:26:27, John Hubbard wrote: > [...] >> Let me add a belated report, then: we ran into this limit while implementing >> an early version of Unified Memory[1], back in 2013. The implementation >> at the time depended on tracking that as

Re: [PATCH 4.14 000/193] 4.14.3-stable review

2017-11-28 Thread Greg Kroah-Hartman
On Tue, Nov 28, 2017 at 04:17:08PM -0600, Tom Gall wrote: > > > > On Nov 28, 2017, at 4:24 AM, Greg Kroah-Hartman > > wrote: > > > > This is the start of the stable review cycle for the 4.14.3 release. > > There are 193 patches in this series, all will be posted as a response > > to this one.

Re: [PATCH] scsi: wd719x: make card_types static const, shrinks object size

2017-11-28 Thread Martin K. Petersen
Colin, > Don't populate the read-only array card_types on the stack but instead > make it static and constify it. Makes the object code smaller by over > 110 bytes: Applied to 4.16/scsi-queue. Thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] bfa: fix access to bfad_im_port_s

2017-11-28 Thread Martin K. Petersen
Johannes, > Commit 'cd21c605b2cf ("scsi: fc: provide fc_bsg_to_shost() helper")' > changed access to bfa's 'struct bfad_im_port_s' by using shost_priv() > instead of shost->hostdata[0]. Applied to 4.15/scsi-fixes. Thanks! -- Martin K. Petersen Oracle Linux Engineering

  1   2   3   4   5   6   7   8   9   10   >