Re: [PATCH 4/4] perf/x86/intel: Throttle PEBS events only from pmi

2017-01-03 Thread Peter Zijlstra
On Wed, Dec 28, 2016 at 02:31:06PM +0100, Jiri Olsa wrote: > This patch fixes following WARNING: > > WARNING: CPU: 15 PID: 15768 at arch/x86/events/core.c:1256 > x86_pmu_start+0x1b3/0x1c0 > ... > Call Trace: > >dump_stack+0x86/0xc3 >__warn+0xcb/0xf0 >warn_slowpath_null+0x1d/

[RFC PATCH] lib/bug: use stackdepot for WARN*ONCE to make it more useful

2017-01-03 Thread Michal Hocko
From: Michal Hocko One of the main problem of WARN_*ONCE style of warnings is that they might easily hide different callpaths which lead to the warning. This is especially true for library functions. Rebooting after each offender hitting the particular WARN_*ONCE is just not feasible. This patch

Re: [PATCH 3/5] arm64: dts: sun50i: add MMC nodes

2017-01-03 Thread Chen-Yu Tsai
On Tue, Jan 3, 2017 at 6:48 PM, André Przywara wrote: > On 03/01/17 02:52, Chen-Yu Tsai wrote: > > Hi, > >> On Tue, Jan 3, 2017 at 7:03 AM, Andre Przywara >> wrote: >> >> A commit message explaining the mmc controllers would be nice. > > OK. > >>> Signed-off-by: Andre Przywara >>> --- >>> arch

RE: [PATCH v2] watchdog: constify watchdog_info structures

2017-01-03 Thread Adam Thomson
On 26 December 2016 17:05, Bhumika Goyal wrote: > Declare watchdog_info structures as const as they are only stored in the > info field of watchdog_device structures. This field is of type const > struct watchdog_info *, so watchdog_info structures having this property > can be declared const too.

Re: [PATCH v2 2/3] dmaeninge: xilinx_dma: Fix bug in multiple frame stores scenario in vdma

2017-01-03 Thread Jose Abreu
Hi Kedar, On 02-01-2017 16:00, Appana Durga Kedareswara Rao wrote: > Hi Jose Miguel Abreu, > > Thanks for the review... > > [snip]... >> I just noticed there is a write to XILINX_DMA_REG_FRMSTORE which, by the >> description in the VDMA databook, allows to modify the total number of >> fram

Re: [PATCH] char: lack of bool string made CONFIG_DEVPORT always on

2017-01-03 Thread Greg KH
On Tue, Jan 03, 2017 at 04:53:13AM -0800, Max Bires wrote: > Without a bool string present, using "# CONFIG_DEVPORT is not set" in > defconfig files would not actually unset devport. This ensured that > /dev/port was always on, but there are reasons a user may wish to disable > it (smaller kernel,

Re: [tpmdd-devel] [PATCH RFC 0/4] RFC: in-kernel resource manager

2017-01-03 Thread Jarkko Sakkinen
On Mon, Jan 02, 2017 at 01:40:48PM -0800, James Bottomley wrote: > On Mon, 2017-01-02 at 21:33 +0200, Jarkko Sakkinen wrote: > > On Mon, Jan 02, 2017 at 08:36:20AM -0800, James Bottomley wrote: > > > On Mon, 2017-01-02 at 15:22 +0200, Jarkko Sakkinen wrote: > > > > This patch set adds support for T

Re: [PATCH 0/2] Begin auditing SECCOMP_RET_ERRNO return actions

2017-01-03 Thread Tyler Hicks
On 01/02/2017 11:57 PM, Andy Lutomirski wrote: > On Mon, Jan 2, 2017 at 8:53 AM, Tyler Hicks wrote: >> This patch set creates the basis for auditing information specific to a given >> seccomp return action and then starts auditing SECCOMP_RET_ERRNO return >> actions. The audit messages for SECCOMP

Re: [tpmdd-devel] [PATCH v2 0/2] tpm: enhance TPM 2.0 extend function to support multiple PCR banks

2017-01-03 Thread Jarkko Sakkinen
On Tue, Jan 03, 2017 at 07:27:49AM -0500, Mimi Zohar wrote: > On Tue, 2017-01-03 at 00:15 +0200, Jarkko Sakkinen wrote: > > On Fri, Dec 30, 2016 at 02:02:28PM -0500, Nayna Jain wrote: > > > IMA extends its hash measurements in the TPM PCRs, based on policy. > > > The existing in-kernel TPM extend f

Re: [tpmdd-devel] [PATCH v2 0/2] tpm: enhance TPM 2.0 extend function to support multiple PCR banks

2017-01-03 Thread Jarkko Sakkinen
On Tue, Jan 03, 2017 at 12:15:50AM +0200, Jarkko Sakkinen wrote: > On Fri, Dec 30, 2016 at 02:02:28PM -0500, Nayna Jain wrote: > > IMA extends its hash measurements in the TPM PCRs, based on policy. > > The existing in-kernel TPM extend function extends only the SHA1 > > PCR bank. TPM 2.0 defines m

Re: [PATCH v2 2/6] staging: fbtft: do not override DMA coherent mask

2017-01-03 Thread Andy Shevchenko
On Tue, 2017-01-03 at 12:51 +0200, Andy Shevchenko wrote: > On Mon, 2017-01-02 at 19:14 +0100, Noralf Trønnes wrote: > > Den 02.01.2017 12:35, skrev Andy Shevchenko: > > > Usually it's not consumer's business to override resources passed > > > from > > > provider, in particularly DMA coherent mask.

[PATCH v7 1/2] soc: qcom: Add SoC info driver

2017-01-03 Thread Imran Khan
The SoC info driver provides information such as Chip ID, Chip family, serial number and other such details about Qualcomm SoCs to user space, so that if needed some user space utility(like antutu) can query such information using sysfs interface. Signed-off-by: Imran Khan --- v6 --> v7: - Some

Re: [PATCH] staging: lustre: selftest: Make brw_inject_one_error() static

2017-01-03 Thread Greg KH
On Fri, Dec 23, 2016 at 09:12:44PM +0530, Karthik Nayak wrote: > Since the function brw_inject_one_error() is used only within > brw_test.c, make it static. This was reported as a warning by sparse. > > Signed-off-by: Karthik Nayak > --- > drivers/staging/lustre/lnet/selftest/brw_test.c | 2 +- >

[PATCH v7 2/2] Documentation/ABI: Add ABI information for QCOM socinfo driver

2017-01-03 Thread Imran Khan
The socinfo ABI document describes the information provided by socinfo driver and the corresponding attributes to access that information. Signed-off-by: Imran Khan --- Documentation/ABI/stable/sysfs-driver-qcom_socinfo | 147 + 1 file changed, 147 insertions(+) create mode

Re: [PATCH v6 01/14] ACPI: ARM64: IORT: minor cleanup for iort_match_node_callback()

2017-01-03 Thread Lorenzo Pieralisi
On Mon, Jan 02, 2017 at 09:31:32PM +0800, Hanjun Guo wrote: > Cleanup iort_match_node_callback() a little bit to reduce > some lines of code, aslo fix the indentation in iort_scan_node(). s/aslo/also "Also" in a commit log is a sign a patch should be split and that's what you should do even thoug

RE: [PATCH] backlight: da9052: Fix module autoload

2017-01-03 Thread Adam Thomson
On 02 January 2017 16:03, Javier Martinez Canillas wrote: > The driver has a platform device ID table with multiple device entries, > each setting a different register address in its driver_data to control > the WLED brightness. > > But the driver doesn't export these as aliases with MODULE_DEVIC

Re: [PATCH] staging: lustre: headers: potential UAPI headers

2017-01-03 Thread Greg Kroah-Hartman
On Mon, Dec 19, 2016 at 12:06:47PM -0500, James Simmons wrote: > Not for landing. This is the purposed UAPI headers > with the removal of unlikely and debugging macros. > This is just for feedback to see if this is acceptable > for the upstream client. > > Signed-off-by: James Simmons > --- > ..

Re: [PATCH] staging : lustre : Remove braces from single-line body.

2017-01-03 Thread Greg KH
On Wed, Dec 28, 2016 at 07:40:09PM +0530, Tabrez khan wrote: > Remove unnecessary braces from single-line if statement. > This warning is found using checkpatch.pl. > > Signed-off-by: Tabrez khan > --- > drivers/staging/lustre/lustre/ptlrpc/import.c | 4 ++-- > 1 file changed, 2 insertions(+), 2

[PATCH 1/3] asm-prototypes: Clear any CPP defines before declaring the functions

2017-01-03 Thread Michal Marek
The asm-prototypes.h file is used to provide dummy function declarations for genksyms, when processing asm files with EXPORT_SYMBOL. Make sure that any architecture defines get out of our way. x86 currently has an issue with memcpy on 64bit with CONFIG_KMEMCHECK=y and with memset/__memset on 32bit:

[PATCH v4 15/15] mtd: nand: hynix: add read-retry support for 1x nm MLC NANDs

2017-01-03 Thread Boris Brezillon
All Hynix MLC NANDs using the produced with the 1X nm process support read-retry. This read retry implementation should also be reusable for other Hynix NANDs, but the method to retrieve the read-retry parameters from the read-retry OTP area might change a bit (some NANDs are even using a fixed set

[PATCH 3/3] genksyms: Regenerate parser

2017-01-03 Thread Michal Marek
Regenerate the parser after 309d4cef4667 ("genksyms: Fix segfault with invalid declarations"). Reported-by: Reported-by: Borislav Petkov Signed-off-by: Michal Marek --- scripts/genksyms/parse.tab.c_shipped | 474 +-- 1 file changed, 234 insertions(+), 240 deletio

[PATCH 2/3] genksyms: Fix segfault with invalid declarations

2017-01-03 Thread Michal Marek
Do not try to recover too early and segfault when parsing invalid declarations such as echo 'int (int);' | scripts/genksyms/genksyms echo 'int a, (int);' | scripts/genksyms/genksyms echo 'extern void *__inline_memcpy((void *), (const void *), (__kernel_size_t));' | scripts/genksyms/genksyms The

Re: [PATCH 6/7] perf record: Add switch-output size option argument

2017-01-03 Thread Arnaldo Carvalho de Melo
Em Tue, Jan 03, 2017 at 09:19:59AM +0100, Jiri Olsa escreveu: > It's now possible to specify the threshold size for > perf.data like: > > $ perf record --switch-output=2G ... > > Once it's reached, the current data are dumped in to the > perf.data. file and session does on. s/does/goes/g Bu

Re: [PATCH 6/7] perf record: Add switch-output size option argument

2017-01-03 Thread Arnaldo Carvalho de Melo
Em Tue, Jan 03, 2017 at 11:20:27AM -0300, Arnaldo Carvalho de Melo escreveu: > Em Tue, Jan 03, 2017 at 09:19:59AM +0100, Jiri Olsa escreveu: > > It's now possible to specify the threshold size for > > perf.data like: > > > > $ perf record --switch-output=2G ... > > > > Once it's reached, the cu

Re: [RFC PATCH v2] crypto: Add IV generation algorithms

2017-01-03 Thread Gilad Ben-Yossef
Hi Binoy, On Tue, Dec 13, 2016 at 02:19:09PM +0530, Binoy Jayan wrote: > Currently, the iv generation algorithms are implemented in dm-crypt.c. > The goal is to move these algorithms from the dm layer to the kernel > crypto layer by implementing them as template ciphers so they can be > implemente

Re: [RFC PATCH net-next v4 1/2] macb: Add 1588 support in Cadence GEM.

2017-01-03 Thread Nicolas Ferre
Le 03/01/2017 à 11:47, Rafal Ozieblo a écrit : >> From: Harini Katakam [mailto:harinikatakamli...@gmail.com] >> Sent: 3 stycznia 2017 06:06 >> Subject: Re: [RFC PATCH net-next v4 1/2] macb: Add 1588 support in Cadence >> GEM. >> >> Hi Richard, >> >> On Mon, Jan 2, 2017 at 9:43 PM, Richard Cochran

[PATCH v7 0/2] soc: qcom: Add SoC info driver

2017-01-03 Thread Imran Khan
This is patchset v7 which takes care of review comments received for patchset v6. Major changes with respect to patch v6 are as below: - Rather than showing string for h/w types, just show the number obtained from SMEM. The reader of this number is supposed to parse this into a human reada

[PATCH v4 13/15] mtd: nand: samsung: retrieve ECC requirements from extended ID

2017-01-03 Thread Boris Brezillon
From: Hans de Goede On some nand controllers with hw-ecc the controller code wants to know the ecc strength and size and having these as 0, 0 is not accepted. Specifying these in devicetree is possible but undesirable as the nand may be different in different production runs of the same board, s

[PATCH] perf/x86: Reject non sampling events with precise_ip

2017-01-03 Thread Jiri Olsa
On Tue, Jan 03, 2017 at 10:40:59AM +0100, Peter Zijlstra wrote: > On Wed, Dec 28, 2016 at 02:31:04PM +0100, Jiri Olsa wrote: > > When in counting mode we setup the counter with the > > longest possible period and read the value with read > > syscall. > > > > We also still setup the PMI to be trigg

[PATCH] Without a bool string present, using "# CONFIG_DEVPORT is not set" in defconfig files would not actually unset devport. This esnured that /dev/port was always on, but there are reasons a user

2017-01-03 Thread Max Bires
Signed-off-by: Max Bires Acked-by: Arnd Bergmann --- drivers/char/Kconfig | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/char/Kconfig b/drivers/char/Kconfig index fde005e..4ee2a10 100644 --- a/drivers/char/Kconfig +++ b/drivers/char/Kconfig @@ -571,9 +571,12 @@ c

Re: [PATCH] staging: comedi: cb_pcidas64: Fixed coding issue about multiple line dereferencing

2017-01-03 Thread Greg KH
On Mon, Dec 19, 2016 at 08:44:28PM +0530, devendra sharma wrote: > Fixed coding issue about multiple line dereferencing > > Signed-off-by: Devendra Sharma > --- > drivers/staging/comedi/drivers/cb_pcidas64.c | 13 + > 1 file changed, 5 insertions(+), 8 deletions(-) Always test-build

Re: [PATCH v2] fscrypt: Factor out bio specific functions

2017-01-03 Thread Theodore Ts'o
On Tue, Jan 03, 2017 at 10:49:26AM +0100, Richard Weinberger wrote: > Ted, > > Am 01.01.2017 um 22:47 schrieb Theodore Ts'o: > > On Mon, Dec 19, 2016 at 12:25:32PM +0100, Richard Weinberger wrote: > >> That way we can get rid of the direct dependency on CONFIG_BLOCK. > >> > >> Reported-by: Arnd Be

Re: [PATCH v2] mmc: sdhci-cadence: add Socionext UniPhier specific compatible string

2017-01-03 Thread Adrian Hunter
On 14/12/16 04:10, Masahiro Yamada wrote: > Add a Socionext SoC specific compatible (suggested by Rob Herring). > > No SoC specific data are associated with the compatible strings for > now, but other SoC vendors may use this IP and want to differentiate > IP variants in the future. > > Signed-of

Re: [PATCH 6/7] perf record: Add switch-output size option argument

2017-01-03 Thread Jiri Olsa
On Tue, Jan 03, 2017 at 11:20:27AM -0300, Arnaldo Carvalho de Melo wrote: > Em Tue, Jan 03, 2017 at 09:19:59AM +0100, Jiri Olsa escreveu: > > It's now possible to specify the threshold size for > > perf.data like: > > > > $ perf record --switch-output=2G ... > > > > Once it's reached, the curre

[PATCH] ubifs: Fix 'unmet direct dependencies' config warning when !BLOCK

2017-01-03 Thread Augusto Mecking Caringi
When UBIFS_FS_ENCRYPTION is selected and BLOCK is not set, the following warning is given: warning: (UBIFS_FS_ENCRYPTION) selects FS_ENCRYPTION which has unmet direct dependencies (BLOCK) Fix it by making BLOCK a dependency of UBIFS_FS_ENCRYPTION. Signed-off-by: Augusto Mecking Caringi --- fs/

Re: [PATCH] Without a bool string present, using "# CONFIG_DEVPORT is not set" in defconfig files would not actually unset devport. This esnured that /dev/port was always on, but there are reasons a u

2017-01-03 Thread Greg KH
On Tue, Jan 03, 2017 at 06:26:33AM -0800, Max Bires wrote: > Signed-off-by: Max Bires > Acked-by: Arnd Bergmann > --- > drivers/char/Kconfig | 5 - > 1 file changed, 4 insertions(+), 1 deletion(-) Odd subject line :(

Re: [PATCH net 0/3] net: stmmac: dwmac-oxnas: fix leaks and simplify pm

2017-01-03 Thread David Miller
From: Johan Hovold Date: Mon, 2 Jan 2017 12:56:01 +0100 > These patches fixes of-node and fixed-phydev leaks in the recently added > dwmac-oxnas driver, and ultimately switches over to using the generic pm > implementation as the required callbacks are now in place. Series applied.

Re: [PATCH 1/1] regulator: fixed: add suspend pm routines for pinctrl

2017-01-03 Thread kbuild test robot
Hi Peter, [auto build test ERROR on regulator/for-next] [also build test ERROR on v4.10-rc2 next-20170103] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Peter-Chen/regulator-fixed-add-suspend

Re: [PATCH] mfd: arizona: Remove totally unused forward declaration

2017-01-03 Thread Lee Jones
On Mon, 28 Nov 2016, Charles Keepax wrote: > This declaration has never been used and is likely some left over from > early prototypes of the code, just remove it. > > Signed-off-by: Charles Keepax > --- > drivers/mfd/arizona.h | 2 -- > 1 file changed, 2 deletions(-) Applied, thanks. > diff

Re: [PATCH 0/3 -v3] GFP_NOFAIL cleanups

2017-01-03 Thread Tetsuo Handa
ter ipt_REJECT nf_reject_ipv4 ip6t_REJECT nf_reject_ipv6 xt_conntrack ip_set nfnetlink ebtable_nat ebtable_broute bridge stp llc ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 ip6table_mangle ip6table_raw iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntr

Re: [PATCH v3] net: macb: Updated resource allocation function calls to new version of API.

2017-01-03 Thread David Miller
From: Bartosz Folta Date: Mon, 2 Jan 2017 12:41:50 + > Changed function calls of resource allocation to new API. Changed way > of setting DMA mask. Removed unnecessary sanity check. > This patch is sent in regard to recently applied patch > Commit 83a77e9ec4150ee4acc635638f7dedd9da523a26 > ne

[PATCH 2/4] watchdog: iTCO_wdt: Use device managed resources

2017-01-03 Thread Guenter Roeck
Using device managed resources simplifies error handling and cleanup, and to reduce the likelyhood of errors. Signed-off-by: Guenter Roeck --- drivers/watchdog/iTCO_wdt.c | 80 ++--- 1 file changed, 17 insertions(+), 63 deletions(-) diff --git a/drivers/w

Re: [PATCH 3/3] ext4: Find desired extent in ext4_ext_shift_extents() using binsearch

2017-01-03 Thread Theodore Ts'o
On Mon, Jan 02, 2017 at 01:54:50PM +0100, Roman Pen wrote: > The aim of this patch is to optimize a search of an extent while > doing right shift using binsearch. > > Cc: Namjae Jeon > Cc: "Theodore Ts'o" > Cc: Andreas Dilger > Cc: linux-e...@vger.kernel.org > Cc: linux-kernel@vger.kernel.org

[PATCH 4/4] watchdog: iTCO_wdt: Simplify module init function

2017-01-03 Thread Guenter Roeck
The 'ret' variable in iTCO_wdt_init_module() does not add any value; drop it. Signed-off-by: Guenter Roeck --- drivers/watchdog/iTCO_wdt.c | 8 +--- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/drivers/watchdog/iTCO_wdt.c b/drivers/watchdog/iTCO_wdt.c index ad29ae03a30b..fc77

[PATCH 3/4] watchdog: iTCO_wdt: Use pdev for platform device and pci_dev for pci device

2017-01-03 Thread Guenter Roeck
Use pdev for struct platform_device, pcidev for struct pci_dev, and dev for struct device variables to improve consistency. Remove 'struct platform_device *dev;' from struct iTCO_wdt_private since it was unused. Signed-off-by: Guenter Roeck --- drivers/watchdog/iTCO_wdt.c | 53 +

[PATCH 1/4] watchdog: iTCO_wdt: Use allocated data structures

2017-01-03 Thread Guenter Roeck
Allocate private data and the watchdog device to to avoid having to clear it on remove and to enable subsequent simplifications. Signed-off-by: Guenter Roeck --- drivers/watchdog/iTCO_wdt.c | 402 ++-- 1 file changed, 205 insertions(+), 197 deletions(-) d

[PATCH v4 14/15] mtd: nand: hynix: rework NAND ID decoding to extract more information

2017-01-03 Thread Boris Brezillon
The current NAND ID detection in nand_hynix.c is not handling the different scheme used by Hynix, thus forcing developers to add new entries in the nand_ids table each time they want to support a new MLC NAND. Enhance the detection logic to handle all known formats. This does not necessarily mean

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

2017-01-03 Thread Sodagudi Prasad
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. -- [ 9031.178428] Unable to handle kernel

[PATCH] staging: most: change dma_buf variable to __le16

2017-01-03 Thread Ramiro Oliveira
dma_buf is being cast to __le16 *, but it was defined as u16 *. sparse reported this error as: drivers/staging/most/hdm-usb/hdm_usb.c:158:16: warning: cast to restricted __le16 This patch changes dma_buf from u16 to __le16. Signed-off-by: Ramiro Oliveira --- drivers/staging/most/hdm-usb/hdm_usb

[PATCH] uapi: use wildcards to list files

2017-01-03 Thread Nicolas Dichtel
Regularly, when a new header is created in include/uapi/, the developer forgets to add it in the corresponding Kbuild file. This error is usually detected after the release is out. In fact, all headers under include/uapi/ should be exported, so let's use wildcards. After this patch, the following

Re: [net-next][PATCH v3 00/17] net: RDS updates

2017-01-03 Thread David Miller
From: Santosh Shilimkar Date: Mon, 2 Jan 2017 14:45:35 -0800 > v2->v3: > - Re-based against latest net-next head. > - Dropped a user visible change after discussing with David Miller. > It needs some more work to fully support old/new tools matrix. > - Addressed Dave's comment about bool usage

[PATCH] platform/x86: intel_pmc_ipc: Remove unused iTCO_version variable

2017-01-03 Thread Guenter Roeck
iTCO_version was there since the driver was introduced but never used. Drop it. Signed-off-by: Guenter Roeck --- drivers/platform/x86/intel_pmc_ipc.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/platform/x86/intel_pmc_ipc.c b/drivers/platform/x86/intel_pmc_ipc.c index 0bf51d574f

Re: [PATCH 1/1] igb: Fix hw_dbg logging in igb_update_flash_i210

2017-01-03 Thread David Miller
From: Peter Senna Tschudin Date: Mon, 2 Jan 2017 18:26:06 +0100 > From: Hannu Lounento > > Fix an if statement with hw_dbg lines where the logic was inverted with > regards to the corresponding return value used in the if statement. > > Signed-off-by: Hannu Lounento > Signed-off-by: Peter Se

Re: [PATCH 3/4] arm64: dts: exynos: make tm2 and tm2e independent from each other

2017-01-03 Thread Andi Shyti
Hi, > FWIW, I also agree with Chanwoo that the difference is too small to > need a common .dtsi file. in principle I don't like "switching on and off" properties by overwriting them with "status = disable", unless it's really necessary (and this case is not). Even for small differences. It makes

Re: [PATCH] tools lib traceevent: Fix prev/next_prio for deadline tasks

2017-01-03 Thread Arnaldo Carvalho de Melo
Em Tue, Jan 03, 2017 at 12:42:42PM +0100, Daniel Bristot de Oliveira escreveu: > From: Daniel Bristot de Oliveiva > > Currently, the sched:sched_switch tracepoint reports deadline tasks > with priority -1. But when reading the trace via perf script I've > got the following output: > > # ./d &

Re: Geode LX AES/RNG driver triggers warning

2017-01-03 Thread One Thousand Gnomes
On Sat, 31 Dec 2016 00:58:54 +0100 David Gstir wrote: > Hi! > > I recently tested kernel v4.9 on my AMD Geode platform and noticed that its > AES hardware driver triggers this warning on initialization: ... > I narrowed it down to commit 6e9b5e76882c ("hwrng: geode - Migrate to managed > API

Re: [PATCH] net: freescale: dpaa: use new api ethtool_{get|set}_link_ksettings

2017-01-03 Thread David Miller
From: Philippe Reynes Date: Mon, 2 Jan 2017 23:49:15 +0100 > The ethtool api {get|set}_settings is deprecated. > We move this driver to new api {get|set}_link_ksettings. > > Signed-off-by: Philippe Reynes Applied.

Re: [PATCH 6/7] perf record: Add switch-output size option argument

2017-01-03 Thread Arnaldo Carvalho de Melo
Em Tue, Jan 03, 2017 at 03:32:32PM +0100, Jiri Olsa escreveu: > On Tue, Jan 03, 2017 at 11:20:27AM -0300, Arnaldo Carvalho de Melo wrote: > > Em Tue, Jan 03, 2017 at 09:19:59AM +0100, Jiri Olsa escreveu: > > > It's now possible to specify the threshold size for > > > perf.data like: > > > > > >

Re: [PATCH net 1/2] r8152: fix the sw rx checksum is unavailable

2017-01-03 Thread Mark Lord
On 17-01-02 07:40 PM, Ansis Atteka wrote: .. > I think that I am getting closer to the root cause of this bug. Also, > I have a workaround that at least makes r8152 functionally stable in > my Dell TB15 dock. Mark, would you mind giving a chance to the patch > that I have in the bottom of this emai

Re: [PATCH] drop_monitor: consider inserted data in genlmsg_end

2017-01-03 Thread David Miller
From: Reiter Wolfgang Date: Tue, 3 Jan 2017 01:39:10 +0100 > Final nlmsg_len field update must reflect inserted net_dm_drop_point > data. > > This patch depends on previous patch: > "drop_monitor: add missing call to genlmsg_end" > > Signed-off-by: Reiter Wolfgang I don't understand why the

Re: [PATCH 1/1] extcon: usb-gpio: add pinctrl operation during system PM

2017-01-03 Thread kbuild test robot
Hi Peter, [auto build test ERROR on chanwoo-extcon/extcon-next] [also build test ERROR on v4.10-rc2 next-20170103] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Peter-Chen/extcon-usb-gpio-add

Re: [PATCH 2/2] printk: always report lost messages on serial console

2017-01-03 Thread Petr Mladek
On Sat 2016-12-24 23:09:02, Sergey Senozhatsky wrote: > The "printk messages dropped" report is 'attached' to a kernel > message located at console_idx offset. This does not work well > if we skip that message due to loglevel filtering, because in > this case we also skip/lose dropped message repor

Re: [PATCH 1/5] mfd: twl-core: make driver DT only

2017-01-03 Thread Lee Jones
On Sat, 26 Nov 2016, Nicolae Rosia wrote: > All users are DT-only and it makes no sense to keep > unused code > > Signed-off-by: Nicolae Rosia > --- > drivers/mfd/Kconfig| 1 + > drivers/mfd/twl-core.c | 399 > + > 2 files changed, 8 insert

[PATCH] pwm: sunxi: wait for the READY bit

2017-01-03 Thread Alexandre Belloni
Most of the call sites in the kernel are not really prepared to handle -EBUSY when calling pwm_config(). This means that they will either fail silently or fail without letting the user retry at a later time. This can be seen for example when using pwm-backlight (the most common use case for this d

Re: [PATCH 3/4] arm64: dts: exynos: make tm2 and tm2e independent from each other

2017-01-03 Thread Javier Martinez Canillas
Hello Andi, On 01/03/2017 11:40 AM, Andi Shyti wrote: > Hi, > >> FWIW, I also agree with Chanwoo that the difference is too small to >> need a common .dtsi file. > > in principle I don't like "switching on and off" properties by > overwriting them with "status = disable", unless it's really Thi

Re: [PATCH v1 45/54] exofs: convert to bio_for_each_segment_all_sp()

2017-01-03 Thread Boaz Harrosh
On 12/27/2016 06:04 PM, Ming Lei wrote: > Signed-off-by: Ming Lei Cool ACK-by: Boaz Harrosh > --- > fs/exofs/ore.c | 3 ++- > fs/exofs/ore_raid.c | 3 ++- > 2 files changed, 4 insertions(+), 2 deletions(-) > > diff --git a/fs/exofs/ore.c b/fs/exofs/ore.c > index 8bb72807e70d..38a7d8bfdd4

Re: [PATCH 1/4] perf, tools: Add probing for xed

2017-01-03 Thread Jiri Olsa
On Tue, Jan 03, 2017 at 01:00:26AM -0800, Andi Kleen wrote: > From: Andi Kleen > > Add autoprobing for the xed disassembler library. > > Can be downloaded from https://github.com/intelxed/xed > > Signed-off-by: Andi Kleen > --- > tools/build/Makefile.feature | 6 -- > tools/build/featur

[PATCH v4 12/15] mtd: nand: move Macronix specific initialization in nand_macronix.c

2017-01-03 Thread Boris Brezillon
Move Macronix specific initialization into nand_macronix.c. This is part of the "separate vendor specific code from core" cleanup process. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/Makefile| 1 + drivers/mtd/nand/nand_base.c | 11 --- drivers/mtd/nand/nand_ids.c

Re: [PATCH] tools lib traceevent: Fix prev/next_prio for deadline tasks

2017-01-03 Thread Steven Rostedt
On Tue, 3 Jan 2017 12:42:42 +0100 Daniel Bristot de Oliveira wrote: > From: Daniel Bristot de Oliveiva > > Currently, the sched:sched_switch tracepoint reports deadline tasks > with priority -1. But when reading the trace via perf script I've > got the following output: > > # ./d & # (d is

Re: [PATCH] tools lib traceevent: Fix prev/next_prio for deadline tasks

2017-01-03 Thread Daniel Bristot de Oliveira
On 01/03/2017 03:46 PM, Arnaldo Carvalho de Melo wrote: > you missed the delimiter here: > > --- > > Without it, I get: > > [acme@jouet linux]$ am /wb/1.patch > Applying: tools lib traceevent: Fix prev/next_prio for deadline tasks > fatal: patch with only garbage at line 3 > Patch failed at 000

[PATCH 03/11] perf, tools: Add support for parsing uncore json files

2017-01-03 Thread Andi Kleen
From: Andi Kleen Handle the Unit field, which is needed to find the right PMU for an event. We call it "pmu" and convert it to the perf pmu name with an uncore prefix. Handle the ExtSel field, which just extends the event mask with an additional bit. Handle the Filter field which adds parameter

[PATCH 05/11] perf, tools: Support event aliases for non cpu// pmus

2017-01-03 Thread Andi Kleen
From: Andi Kleen The code for handling pmu aliases without specifying the PMU hardcoded only supported the cpu PMU. This patch extends it to work for all PMUs. We always duplicate the event for all PMUs that have an matching alias. This allows to automatically expand an alias for all instances o

[PATCH 04/11] perf, tools: Support per pmu json aliases

2017-01-03 Thread Andi Kleen
From: Andi Kleen Add support for registering json aliases per PMU. Any alias with an unit matching the prefix is registered to the PMU. Uncore has multiple instances of most units, so all these aliases get registered for each individual PMU (this is important later to run the event on every insta

[PATCH 11/11] perf, tools, stat: Output JSON MetricExpr metric

2017-01-03 Thread Andi Kleen
From: Andi Kleen Add generic infrastructure to perf stat to output ratios for "MetricExpr" entries in the event lists. Many events are more useful as ratios than in raw form, typically some count in relation to total ticks. Transfer the MetricExpr information from the alias to the evsel. We mar

[PATCH 10/11] perf, tools: Support MetricExpr header in JSON event list

2017-01-03 Thread Andi Kleen
From: Andi Kleen Add support for parsing the MetricExpr header in the JSON event lists and storing them in the alias structure. Used in the next patch. v2: Change DividedBy to MetricExpr Signed-off-by: Andi Kleen --- tools/perf/pmu-events/jevents.c| 18 ++ tools/perf/pmu-e

[PATCH 07/11] perf, tools: Collapse identically named events in perf stat

2017-01-03 Thread Andi Kleen
From: Andi Kleen The uncore PMU has a lot of duplicated PMUs for different subsystems. When expanding an uncore alias we usually end up with a large number of identically named aliases, which makes perf stat output difficult to read. Automatically sum them up in perf stat, unless --no-merge is s

[PATCH 08/11] perf, tools: Expand PMU events by prefix match

2017-01-03 Thread Andi Kleen
From: Andi Kleen When the user specifies a pmu directly, expand it automatically with a prefix match, similar as we do for the normal aliases now. This allows to specify attributes for duplicated boxes quickly. For example uncore_cbox_{0,6}/.../ can be now specified as cbox/.../ and it gets auto

[PATCH 09/11] perf, tools: Add a simple expression parser for JSON

2017-01-03 Thread Andi Kleen
From: Andi Kleen Add a simple expression parser good enough to parse JSON relation expressions. The parser is implemented using bison. Signed-off-by: Andi Kleen --- tools/perf/tests/Build | 1 + tools/perf/tests/builtin-test.c | 4 ++ tools/perf/tests/expr.c | 48

Support Intel uncore event lists v4

2017-01-03 Thread Andi Kleen
This adds uncore support on top of the recently merged JSON event list infrastructure for core events. Uncore is everything outside the core, including memory controllers, PCI, interconnect etc. Uncore is more complicated to handle than core events because it uses many duplicated PMUs, which leads

[PATCH 01/11] perf, tools: Factor out scale conversion code

2017-01-03 Thread Andi Kleen
From: Andi Kleen Move the scale factor parsing code to an own function to reuse it in an upcoming patch. v2: Return error in case strdup returns NULL. Signed-off-by: Andi Kleen squash! perf, tools: Factor out scale conversion code --- tools/perf/util/pmu.c | 64 ---

[PATCH] fbcon: Fix vc attr at deinit

2017-01-03 Thread Takashi Iwai
fbcon can deal with vc_hi_font_mask (the upper 256 chars) and adjust the vc attrs dynamically when vc_hi_font_mask is changed at fbcon_init(). When the vc_hi_font_mask is set, it remaps the attrs in the existing console buffer with one bit shift up (for 9 bits), while it remaps with one bit shift

Re: [PATCH 1/4] perf, tools: Add probing for xed

2017-01-03 Thread Andi Kleen
> please don't put it in FEATURE_DISPLAY.. AFAICS there's not any xed > package yet, just the sources, so the "xed: OFF" build message would > bother almost everyone probably for long time.. It should be eventually packaged. How would people know they are missing it without displaying it? I think

[PATCH] staging: comedi: ni_670x: using the BIT(x) macro

2017-01-03 Thread Saber Rezvani
Fix the checkpatch.pl issue: CHECK: Prefer using the BIT macro replacing bit shifting on 1 with the BIT(x) macro. Signed-off-by: Saber Rezvani Reviewed-by: Ian Abbott --- drivers/staging/comedi/drivers/ni_670x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging

Re: [PATCH v2] selftests/x86: Add a selftest for SYSRET to noncanonical addresses

2017-01-03 Thread Kirill A. Shutemov
On Mon, Dec 26, 2016 at 07:20:50PM -0800, Andy Lutomirski wrote: > SYSRET to a noncanonical address will blow up on Intel CPUs. Linux > needs to prevent this from happening in two major cases, and the > criteria will become more complicated when support for larger virtual > address spaces is added

[PATCH 3/3] staging: comedi: cb_pcidas64: use preferred kernel type u32

2017-01-03 Thread Saber Rezvani
Fix the checkpatch.pl issue: CHECK: Prefer kernel type 'u32' over 'uint32_t' Signed-off-by: Saber Rezvani Reviewed-by: Ian Abbott --- drivers/staging/comedi/drivers/cb_pcidas64.c | 38 ++-- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/drivers/staging/c

[PATCH 06/11] perf, tools: Add debug support for outputing alias string

2017-01-03 Thread Andi Kleen
From: Andi Kleen For debugging and testing it is useful to see the converted alias string. Add support to perf stat/record and perf list to print the alias conversion. The text string is saved in the alias structure. For perf stat/record it is folded into the normal -v. For perf list -v was taken

[PATCH 1/3] staging: comedi: cb_pcidas64: use preferred kernel type u8

2017-01-03 Thread Saber Rezvani
Fix the checkpatch.pl issue: CHECK: Prefer kernel type 'u8' over 'uint8_t' Signed-off-by: Saber Rezvani Reviewed-by: Ian Abbott --- drivers/staging/comedi/drivers/cb_pcidas64.c | 46 ++-- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/drivers/staging/com

[PATCH] staging: comedi: ni_at_ao: using the BIT(x) macro

2017-01-03 Thread Saber Rezvani
Fix the checkpatch.pl issue: CHECK: Prefer using the BIT macro replacing bit shifting on 1 with the BIT(x) macro. Signed-off-by: Saber Rezvani Reviewed-by: Ian Abbott --- drivers/staging/comedi/drivers/ni_at_ao.c | 62 +++ 1 file changed, 31 insertions(+), 31 deletio

Re: [PATCH 2/4] perf/x86: Fix period for non sampling events

2017-01-03 Thread Peter Zijlstra
On Wed, Dec 28, 2016 at 02:31:04PM +0100, Jiri Olsa wrote: > When in counting mode we setup the counter with the > longest possible period and read the value with read > syscall. > > We also still setup the PMI to be triggered when such > counter overflow to reconfigure it. > > We also get PEBS i

[PATCH 02/11] perf, tools: Parse eventcode as number in jevents

2017-01-03 Thread Andi Kleen
From: Andi Kleen The next patch needs to modify event code. Previously eventcode was just passed through as a string. Now parse it as a number. Signed-off-by: Andi Kleen --- tools/perf/pmu-events/jevents.c | 14 +- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/tools

Re: [PATCH 1/4] perf, tools: Add probing for xed

2017-01-03 Thread Arnaldo Carvalho de Melo
Em Tue, Jan 03, 2017 at 03:58:54PM +0100, Jiri Olsa escreveu: > On Tue, Jan 03, 2017 at 01:00:26AM -0800, Andi Kleen wrote: > > From: Andi Kleen > > > > Add autoprobing for the xed disassembler library. > > > > Can be downloaded from https://github.com/intelxed/xed > > +++ b/tools/build/Makefile

[PATCH 2/3] staging: comedi: cb_pcidas64: use preferred kernel type u16

2017-01-03 Thread Saber Rezvani
Fix the checkpatch.pl issue: CHECK: Prefer kernel type 'u16' over 'uint16_t' Signed-off-by: Saber Rezvani Reviewed-by: Ian Abbott --- drivers/staging/comedi/drivers/cb_pcidas64.c | 58 ++-- 1 file changed, 29 insertions(+), 29 deletions(-) diff --git a/drivers/staging/c

Re: [PATCH] tools lib traceevent: Fix prev/next_prio for deadline tasks

2017-01-03 Thread Arnaldo Carvalho de Melo
Em Tue, Jan 03, 2017 at 04:01:44PM +0100, Daniel Bristot de Oliveira escreveu: > On 01/03/2017 03:46 PM, Arnaldo Carvalho de Melo wrote: > > you missed the delimiter here: > > > > --- > > > > Without it, I get: > > > > [acme@jouet linux]$ am /wb/1.patch > > Applying: tools lib traceevent: Fix p

[PATCH v3 3/3] HID: rmi: Support the Lenovo Thinkpad X1 Tablet dock using hid-rmi

2017-01-03 Thread Benjamin Tissoires
From: Andrew Duggan Signed-off-by: Andrew Duggan Signed-off-by: Benjamin Tissoires --- no changes in v3 no changes in v2 --- drivers/hid/hid-core.c | 1 + drivers/hid/hid-ids.h | 1 + drivers/hid/hid-rmi.c | 1 + 3 files changed, 3 insertions(+) diff --git a/drivers/hid/hid-core.c b/driv

Re: [PATCH v2 6/6] KVM: x86: simplify conditions with split/kernel irqchip

2017-01-03 Thread David Hildenbrand
Am 16.12.2016 um 16:10 schrieb Radim Krčmář: Reviewed-by: Paolo Bonzini Signed-off-by: Radim Krčmář --- v2: r-b Paolo, irqchip_kvm -> irqchip_kernel due to earlier changes Reviewed-by: David Hildenbrand -- David

[PATCH v3 2/3] HID: rmi: Handle all Synaptics touchpads using hid-rmi

2017-01-03 Thread Benjamin Tissoires
From: Andrew Duggan With the addition of HID and F12 support in the synaptics-rmi4 driver touchpads which had been using the hid-multitouch driver can now be support by the synaptics-rmi4 via hid-rmi. The advantage is that additional data can be reported from the RMI registers which is not availa

[PATCH v3 1/3] HID: rmi: Make hid-rmi a transport driver for synaptics-rmi4

2017-01-03 Thread Benjamin Tissoires
From: Andrew Duggan The Synaptics RMI4 driver provides support for RMI4 devices. Instead of duplicating the RMI4 processing code, make hid-rmi a transport driver and register it with the Synaptics RMI4 core. Signed-off-by: Andrew Duggan Signed-off-by: Benjamin Tissoires --- changes in v3: -

[PATCH v3 0/3] switch hid-rmi to rmi_core

2017-01-03 Thread Benjamin Tissoires
Hi, this is mostly a resend of the v2, with only the HID bits now that the input bits are in Linus' tree. The only change is in the Kconfig where I force RMI4 F03 to be there too to support trackstick. Andrew, I think you already tested it last time, but I wouldn't mind an other round of tests :

[PATCH v4 10/15] mtd: nand: move Micron specific init logic in nand_micron.c

2017-01-03 Thread Boris Brezillon
Move Micron specific initialization logic into nand_micron.c. This is part of the "separate vendor specific code from core" cleanup process. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/Makefile | 1 + drivers/mtd/nand/nand_base.c | 32 +--- drivers/mtd/nand/nand_ids.c

Re: [PATCH v3] iommu/vt-d: Flush old iommu caches for kdump when the device gets context mapped

2017-01-03 Thread Myron Stowe
On Tue, Dec 6, 2016 at 9:03 AM, Joerg Roedel wrote: > On Mon, Dec 05, 2016 at 08:09:07PM +0800, Xunlei Pang wrote: >> drivers/iommu/intel-iommu.c | 19 +++ >> 1 file changed, 19 insertions(+) > > Applied, thanks. Joerg: This didn't seem to make the 4.10 merge window. Was that o

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