[PATCH v10 00/20] simplify crypto wait for async op

2017-10-18 Thread Gilad Ben-Yossef
Many users of kernel async. crypto services have a pattern of starting an async. crypto op and than using a completion to wait for it to end. This patch set simplifies this common use case in two ways: First, by separating the return codes of the case where a request is queued to a backlog due

Re: [PATCH 2/2] serdev: ttyport: add missing open() error handling

2017-10-18 Thread Johan Hovold
On Tue, Oct 17, 2017 at 11:08:53AM -0500, Rob Herring wrote: > On Mon, Oct 16, 2017 at 8:06 AM, Johan Hovold wrote: > > Add missing error handling for tty-driver open() which may fail (e.g. if > > resource allocation fails or if a port is being disconnected). > > > > Note that

Re: [PATCH v4 0/6] perf report/script: Support percent and multiple range in --time option

2017-10-18 Thread Jin, Yao
On 10/5/2017 4:50 PM, Jiri Olsa wrote: On Tue, Oct 03, 2017 at 10:22:32PM +0800, Jin Yao wrote: v4: --- 1. Use perf script time style for timestamp printing. Also add with the printing of sample duration. For example: perf report --header time of first sample : 5276531.323099

Re: [PATCH] perf util: Fix wrong processing when closing evsel fd

2017-10-18 Thread Jiri Olsa
On Wed, Oct 18, 2017 at 11:11:18PM +0800, Jin Yao wrote: SNIP > This change is introduced by "475fb533fb7d" > ("perf evsel: Fix buffer overflow while freeing events") > > This fix is to let xyarray__max_x() return max_x (ncpus) and > let xyarry__max_y() return max_y (nthreads) > >

[PATCH v6 3/7] soc: mediatek: pwrap: add pwrap_write32 for writing in 32-bit mode

2017-10-18 Thread sean.wang
From: Sean Wang Some regulators such as MediaTek MT6380 also has to be written in 32-bit mode. So the patch adds pwrap_write32, rename old pwrap_write into pwrap_write16 and one additional function pointer is introduced for increasing flexibility allowing the

[PATCH v6 6/7] soc: mediatek: pwrap: add common way for setup CS timing extenstion

2017-10-18 Thread sean.wang
From: Sean Wang Multiple platforms would always use their own way handling CS timing extension on the bus which leads to a little bit code duplication. Therefore, the patch groups the similar logic to handle CS timing extension into the common function which allows the

Re: Linux 4.4.93

2017-10-18 Thread Greg KH
diff --git a/Makefile b/Makefile index fab2d640a27e..77a17fb24b6d 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 4 PATCHLEVEL = 4 -SUBLEVEL = 92 +SUBLEVEL = 93 EXTRAVERSION = NAME = Blurry Fish Butt diff --git a/arch/mips/math-emu/cp1emu.c b/arch/mips/math-emu/cp1emu.c index

Re: [PATCH v7 1/6] lib/dlock-list: Distributed and lock-protected lists

2017-10-18 Thread Boqun Feng
On Thu, Oct 05, 2017 at 06:43:23PM +, Waiman Long wrote: [...] > +/* > + * Find the first entry of the next available list. > + */ > +extern struct dlock_list_node * > +__dlock_list_next_list(struct dlock_list_iter *iter); > + > +/** > + * __dlock_list_next_entry - Iterate to the next entry of

Re: [PATCH v4 pci 0/2] PCI/MSI: pci-xgene-msi: Enable MSI support in ACPI boot for X-Gene v1

2017-10-18 Thread Lorenzo Pieralisi
On Tue, Oct 17, 2017 at 10:45:35PM -0700, Khuong Dinh wrote: > Hi Lorenzo, > > On Tue, Oct 17, 2017 at 6:38 AM, Lorenzo Pieralisi > wrote: > > Hi Khuong, > > > > On Mon, Oct 16, 2017 at 02:19:50PM -0700, Khuong Dinh wrote: > >> Hi Lorenzo, > >> Do you have any

Re: [PATCH v8 8/8] perf: ARM DynamIQ Shared Unit PMU support

2017-10-18 Thread Mark Rutland
Hi Suzuki, This generally looks good. My comments below are mostly minor, modulo the probing/hotplug bit at the end. On Tue, Oct 10, 2017 at 11:33:03AM +0100, Suzuki K Poulose wrote: > diff --git a/arch/arm64/include/asm/arm_dsu_pmu.h > b/arch/arm64/include/asm/arm_dsu_pmu.h > new file mode

Re: [PATCH v8 7/8] dt-bindings: Document devicetree binding for ARM DSU PMU

2017-10-18 Thread Mark Rutland
On Tue, Oct 10, 2017 at 11:33:02AM +0100, Suzuki K Poulose wrote: > This patch documents the devicetree bindings for ARM DSU PMU. > > Cc: Mark Rutland > Cc: Will Deacon > Cc: devicet...@vger.kernel.org > Cc: frowand.l...@gmail.com > Acked-by: Rob

Re: [PATCH 2/2] extcon: max88743: Add support for SmartDock accessory

2017-10-18 Thread Chanwoo Choi
Hi Marek, Also, this patch need to fix the patch subject as following: - max88743 -> max77843 If you fix the subject, feel free to add my acked-tag. Acked-by: Chanwoo Choi After finishing the review from MFD maintainer, I'll merge them. Regards, Chanwoo Choi On 2017년

[PATCH v2 1/2] extcon: max77843: Add OTG power control to the MUIC driver

2017-10-18 Thread Marek Szyprowski
Enabling power on VBUS micro-usb pin is required only when passive OTG cable is connected. Initially OTG VBUS power control was planned to be done in charger driver. However such information is not really available from the extcon notifications, so VBUS power control has to be done directly in

Re: char-TPM: Adjustments for ten function implementations

2017-10-18 Thread SF Markus Elfring
>> I imagine that such small code adjustments are also useful for other systems. > > Your imagination and mine differ. This can generally be. > Where do you _think_ it matters? It seems that this discussion branch referred still to my cover letter for possible changes in the TPM software

Re: [PATCH v5 2/2] acpi: apei: Add SEI notification type support for ARMv8

2017-10-18 Thread Borislav Petkov
On Wed, Oct 18, 2017 at 10:44:48AM +0100, James Morse wrote: > What should we call this thing? My only pet peeve is having abbreviations everywhere and nothing explaining them. So whatever you guys decide upon and as long as there's an explanation what those things mean and you stick with that

3.16.49 Oops, does not boot on two socket server

2017-10-18 Thread Holger Kiehl
Hello, just tried to boot 3.16.49 on a 2 socket server and it fails with the following error: smpboot: Total of 24 processors activated (95818.36 BogoMIPS) [ cut here ] WARNING: CPU: 0 PID: 1 at kernel/sched/core.c:5811 init_overlap_sched_group+0x114/0x120()

[PATCH v10 11/20] crypto: move testmgr to generic async completion

2017-10-18 Thread Gilad Ben-Yossef
testmgr is starting async. crypto ops and waiting for them to complete. Move it over to generic code doing the same. This also provides a test of the generic crypto async. wait code. Signed-off-by: Gilad Ben-Yossef --- crypto/testmgr.c | 204

[PATCH v10 13/20] dm: move dm-verity to generic async completion

2017-10-18 Thread Gilad Ben-Yossef
dm-verity is starting async. crypto ops and waiting for them to complete. Move it over to generic code doing the same. This also avoids a future potential data coruption bug created by the use of wait_for_completion_interruptible() without dealing correctly with an interrupt aborting the wait

[PATCH v10 04/20] crypto: remove redundant backlog checks on EBUSY

2017-10-18 Thread Gilad Ben-Yossef
Now that -EBUSY return code only indicates backlog queueing we can safely remove the now redundant check for the CRYPTO_TFM_REQ_MAY_BACKLOG flag when -EBUSY is returned. Signed-off-by: Gilad Ben-Yossef --- crypto/ahash.c| 12 +++- crypto/cts.c | 6

[PATCH v10 08/20] crypto: move pub key to generic async completion

2017-10-18 Thread Gilad Ben-Yossef
public_key_verify_signature() is starting an async crypto op and waiting for it to complete. Move it over to generic code doing the same. Signed-off-by: Gilad Ben-Yossef --- crypto/asymmetric_keys/public_key.c | 28 1 file changed, 4

[PATCH v10 09/20] crypto: move drbg to generic async completion

2017-10-18 Thread Gilad Ben-Yossef
DRBG is starting an async. crypto op and waiting for it complete. Move it over to generic code doing the same. The code now also passes CRYPTO_TFM_REQ_MAY_SLEEP flag indicating crypto request memory allocation may use GFP_KERNEL which should be perfectly fine as the code is obviously sleeping for

[PATCH v10 07/20] crypto: move algif to generic async completion

2017-10-18 Thread Gilad Ben-Yossef
algif starts several async crypto ops and waits for their completion. Move it over to generic code doing the same. Signed-off-by: Gilad Ben-Yossef --- crypto/af_alg.c | 27 --- crypto/algif_aead.c | 8 crypto/algif_hash.c |

[PATCH v10 10/20] crypto: move gcm to generic async completion

2017-10-18 Thread Gilad Ben-Yossef
gcm is starting an async. crypto op and waiting for it complete. Move it over to generic code doing the same. Signed-off-by: Gilad Ben-Yossef --- crypto/gcm.c | 32 ++-- 1 file changed, 6 insertions(+), 26 deletions(-) diff --git a/crypto/gcm.c

[PATCH v10 01/20] crypto: change transient busy return code to -ENOSPC

2017-10-18 Thread Gilad Ben-Yossef
The crypto API was using the -EBUSY return value to indicate both a hard failure to submit a crypto operation into a transformation provider when the latter was busy and the backlog mechanism was not enabled as well as a notification that the operation was queued into the backlog when the backlog

Re: [Patch v6 3/7] slimbus: qcom: Add Qualcomm Slimbus controller driver

2017-10-18 Thread Bjorn Andersson
On Fri 06 Oct 08:51 PDT 2017, srinivas.kandaga...@linaro.org wrote: > From: Sagar Dharia > > This controller driver programs manager, interface, and framer > devices for Qualcomm's slimbus HW block. > Manager component currently implements logical address setting, > and

Re: [PATCH] firmware: meson-sm: use generic compatible

2017-10-18 Thread Jerome Brunet
On Tue, 2017-10-17 at 15:50 -0500, Rob Herring wrote: > On Thu, Oct 12, 2017 at 03:47:43PM +0200, Jerome Brunet wrote: > > The meson secure monitor seems to be compatible with more SoCs than > > initially thought. Let's use the most generic compatible he have in > > DT instead of the gxbb specific

Re: [PATCH] mm, page_alloc: simplify hot/cold page handling in rmqueue_bulk()

2017-10-18 Thread Mel Gorman
On Wed, Oct 18, 2017 at 09:35:28AM +0200, Vlastimil Babka wrote: > The rmqueue_bulk() function fills an empty pcplist with pages from the free > list. It tries to preserve increasing order by pfn to the caller, because it > leads to better performance with some I/O controllers, as explained in >

Re: [PATCH 08/10] PCI: dwc: artpec6: add support for endpoint mode

2017-10-18 Thread Niklas Cassel
On 10/18/2017 10:03 AM, Kishon Vijay Abraham I wrote: > Hi Bjorn, > > On Tuesday 17 October 2017 05:13 AM, Bjorn Helgaas wrote: >> On Fri, Oct 13, 2017 at 06:09:11PM +0200, Niklas Cassel wrote: >>> Signed-off-by: Niklas Cassel >>> --- >>>

Re: Draft manpage explaining kernel lockdown

2017-10-18 Thread Michael Kerrisk (man-pages)
Hi David, On 10/05/2017 01:00 PM, David Howells wrote: > Hi Ard, Michael, > > Attached is a draft for a manual page (kernel_lockdown.7) that I intend to > point at from messages emitted when the kernel prohibits something because the > kernel is in 'lockdown' mode, typically triggered by EFI

Re: [PATCH v5 2/4] clocksource: stm32: only use 32 bits timers

2017-10-18 Thread Julien Thierry
On 18/10/17 08:43, Benjamin Gaignard wrote: 16 bits hardware are not enough accure to be used. Do no allow them to be probed by tested max counter value. Signed-off-by: Benjamin Gaignard --- drivers/clocksource/timer-stm32.c | 23 +-- 1

Re: [PATCH] media: vb2: unify calling of set_page_dirty_lock

2017-10-18 Thread Stanimir Varbanov
On 10/17/2017 05:19 PM, Nicolas Dufresne wrote: > Le mardi 17 octobre 2017 à 13:14 +0300, Sakari Ailus a écrit : >> On Sun, Oct 15, 2017 at 07:09:24PM -0400, Nicolas Dufresne wrote: >>> Le dimanche 15 octobre 2017 à 23:40 +0300, Sakari Ailus a écrit : Hi Nicolas, On Tue, Oct 10,

[PATCH v2 4/8] ARM: dts: sun8i: a83t: bananapi-m3: Add AXP813 regulator nodes

2017-10-18 Thread Chen-Yu Tsai
This patch adds device nodes for all the regulators of the AXP813 PMIC. Sunxi common regulators are removed, and USB VBUS regulators are added. Signed-off-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun8i-a83t-bananapi-m3.dts | 141 +-- 1 file changed, 132

[PATCH v2 3/8] ARM: dts: sun8i: a83t: cubietruck-plus: Add AXP818 regulator nodes

2017-10-18 Thread Chen-Yu Tsai
This patch adds device nodes for all the regulators of the AXP818 PMIC. Sunxi common regulators are removed, and USB VBUS regulators are added. Signed-off-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun8i-a83t-cubietruck-plus.dts | 167 +-- 1 file changed, 155

[PATCH v2 2/8] ARM: dts: sunxi: Add dtsi for AXP81x PMIC

2017-10-18 Thread Chen-Yu Tsai
The AXP81x family of PMIC is used with the Allwinner A83T and H8 SoCs. This includes the AXP813 and AXP818. There is no discernible difference except the labeling. The AXP813 is paired with the A83T, while the AXP818 is paired with the H8. This patch adds a dtsi file for all the common bindings

PCIe legacy interrupts blocked on Intel Apollo Lake platforms

2017-10-18 Thread Daniel Drake
[retitling and re-summarizing in hope of attention from Intel] Andy / Rafael, Thomas Gleixner suggested that you might be able to help with a nasty issue related to Intel Apollo Lake platforms - or you can put us in contact with another relevant person at Intel. On Thu, Oct 5, 2017 at 6:13 PM,

Re: [PATCH v2 5/5] iio: adc: at91-sama5d2_adc: use max sample rate

2017-10-18 Thread Eugen Hristev
On 15.10.2017 13:28, Jonathan Cameron wrote: On Wed, 11 Oct 2017 09:35:32 +0300 Eugen Hristev wrote: Change driver settings to use maximum sample rate clock. This is useful to achieve best possible sampling rate if we use DMA. Signed-off-by: Eugen Hristev

Re: char-TPM: Adjustments for ten function implementations

2017-10-18 Thread SF Markus Elfring
> The printk removals do change the objects. > > The value of that type of change is only for resource limited systems. I imagine that such small code adjustments are also useful for other systems. > Markus' changelogs leave much to be desired. Would you like to help more to improve the

Re: [PATCH v5 2/2] acpi: apei: Add SEI notification type support for ARMv8

2017-10-18 Thread Borislav Petkov
On Wed, Oct 18, 2017 at 05:17:27PM +0800, gengdongjiu wrote: > Thanks Borislav, can I write it as asynchronous exception or > asynchronous abort? WTF?! The thing is abbreviated as "SEI" and apparently means "System Error Interrupt". Nothing else. -- Regards/Gruss, Boris. SUSE Linux GmbH,

Re: [PATCH] mm/mempolicy: add node_empty check in SYSC_migrate_pages

2017-10-18 Thread Yisheng Xie
Hi Vlastimil, Thanks for your comment! On 2017/10/18 15:54, Vlastimil Babka wrote: > +CC linux-api > > On 10/18/2017 03:37 AM, Yisheng Xie wrote: >> As Xiaojun reported the ltp of migrate_pages01 will failed on ARCH arm64 >> system whoes has 4 nodes[0...3], all have memory and

RE: char-TPM: Adjustments for ten function implementations

2017-10-18 Thread Alexander.Steffen
> On Wed, 2017-10-18 at 11:00 +0200, SF Markus Elfring wrote: > > > The printk removals do change the objects. > > > > > > The value of that type of change is only for resource limited systems. > > > > I imagine that such small code adjustments are also useful for other > systems. > > Your

Re: [PATCH 3/3] irq/irq_sim: implement irq_sim_irq2offset()

2017-10-18 Thread Bartosz Golaszewski
2017-10-18 10:58 GMT+02:00 Marc Zyngier : > On 05/10/17 13:44, Bartosz Golaszewski wrote: >> Add a routine allowing to retrieve the offset corresponding with an >> allocated interrupt number from an irq_sim object. >> >> Signed-off-by: Bartosz Golaszewski >>

[patch v5 2/3] platform/mellanox: mlxreg-hotplug: allow driver for ARM architecture

2017-10-18 Thread Vadim Pasternak
It allows driver to run on x86 and ARM architecture based systems. And allows to specify hotplug device parameters through the device table tree files. Also some unnecessary includes are removed. Signed-off-by: Vadim Pasternak Acked-by: Andy Shevchenko

[patch v5 0/3] drivers/platform: replace module x86/mlxcpld-hotplug with mellanox/mlxreg-hotplug

2017-10-18 Thread Vadim Pasternak
The patchset: - replaces modules include/linux/platform_data/mlxcpld-hotplug.h and drivers/platform/x86/mlxcpld-hotplug.c with the modules include/linux/platform_data/mlxreg.h and drivers/platform/mellanox/mlxreg-hotplug.c; relevant Makefile and Kconfig are updated; - modifies

[PATCH v2 0/2] MAX77843-extcon: add proper OTG and Dock (OTG+MHL) support

2017-10-18 Thread Marek Szyprowski
Hi! This patchset enables proper detection and support for the following micro USB accessories: standard OTG cable (passive) and so called SmartDock (a Dock with OTG and MHL features). Tested on Exynos5433 TM2 board. Best regards Marek Szyprowski Samsung R Institute Poland Changelog: v2: -

[PATCH v2 2/2] extcon: max77843: Add support for SmartDock accessory

2017-10-18 Thread Marek Szyprowski
SmartDock uses ADC_RESERVED_ACC_3 (0x10) ADC ID type and provides following features: 1. USB host with embedded USB hub (2-4 ports) for mice, keyboard, etc, 2. MHL for video output, 3. charging. Tested with Unitek Y-2165 MHL+OTG Hub Smart Phone Dock. Signed-off-by: Marek Szyprowski

linux-next: manual merge of the sound-asoc tree with the drm-misc tree

2017-10-18 Thread Mark Brown
Hi all, Today's linux-next merge of the sound-asoc tree got a conflict in: drivers/gpu/drm/amd/include/amd_shared.h between commit: cfa289fd4986c ("drm/amdgpu: rename amdgpu_dpm_funcs to amd_pm_funcs") from the drm-misc tree and commit: 1e4448648333a ("drm/amdgpu Moving amdgpu asic

Re: [PATCH 2/2] lockdep: Remove BROKEN flag of LOCKDEP_CROSSRELEASE

2017-10-18 Thread Ingo Molnar
* Byungchul Park wrote: > Now the performance regression was fixed, re-enable LOCKDEP_CROSSRELEASE > and LOCKDEP_COMPLETIONS. Please write out CONFIG_ variables, i.e. CONFIG_LOCKDEP_CROSSRELEASE, etc. - to make it all more apparent to the reader that it's all Kconfig

Re: [RESEND][PATCH 0/3] module: Do not paper over type mismatches in module_param_call()

2017-10-18 Thread Arnd Bergmann
On Wed, Oct 18, 2017 at 4:04 AM, Kees Cook wrote: > (re-sending to Jessica's @korg address...) > > The module_param_call() macro was explicitly casting the .set and .get > function prototypes away with (void *). This can lead to hard-to-find > type mismatches. Additionally,

Re: [PATCH v3 1/7] ACPI/PPTT: Add Processor Properties Topology Table parsing

2017-10-18 Thread Tomasz Nowicki
On 18.10.2017 07:39, Tomasz Nowicki wrote: Hi, On 17.10.2017 17:22, Jeremy Linton wrote: Hi, On 10/17/2017 08:25 AM, Tomasz Nowicki wrote: Hi Jeremy, I did second round of review and have some more comments, please see below: On 12.10.2017 21:48, Jeremy Linton wrote: ACPI 6.2 adds a new

Re: [PATCH net-next v2 1/2] dt-bindings: net: add DT bindings for Socionext UniPhier AVE

2017-10-18 Thread Kunihiko Hayashi
On Sat, 14 Oct 2017 01:41:12 +0900 wrote: > 2017-10-13 9:35 GMT+09:00 Kunihiko Hayashi : > > DT bindings for the AVE ethernet controller found on Socionext's > > UniPhier platforms. > > > > Signed-off-by: Kunihiko Hayashi

Re: [PATCH net-next v2 2/2] net: ethernet: socionext: add AVE ethernet driver

2017-10-18 Thread Kunihiko Hayashi
On Mon, 16 Oct 2017 00:08:21 +0900 wrote: > 2017-10-13 9:35 GMT+09:00 Kunihiko Hayashi : > > +static int ave_probe(struct platform_device *pdev) > > +{ > > + struct device *dev = >dev; > > + struct device_node *np =

Re: [PATCH 1/2] mm, thp: introduce dedicated transparent huge page allocation interfaces

2017-10-18 Thread Du, Changbin
On Tue, Oct 17, 2017 at 02:12:46PM +0300, Kirill A. Shutemov wrote: > On Mon, Oct 16, 2017 at 05:19:16PM +0800, changbin...@intel.com wrote: > > @@ -501,6 +501,45 @@ void prep_transhuge_page(struct page *page) > > set_compound_page_dtor(page, TRANSHUGE_PAGE_DTOR); > > } > > > > +struct page

RE: char-TPM: Adjustments for ten function implementations

2017-10-18 Thread Alexander.Steffen
> On Wed, 2017-10-18 at 10:44 +, alexander.stef...@infineon.com wrote: > > > For instance, nothing about > > > > > sizeof(type) > > > > > vs > > > > > sizeof(*ptr) > > > > > makes it easier for a human to read the code. > > > > > > > > If it does not make it easier to read the code

Re: [RFC PATCH 3/4] extcon: add possibility to get extcon device by of node

2017-10-18 Thread Chanwoo Choi
Hi, On 2017년 09월 28일 22:07, Andrzej Hajda wrote: > Since extcon property is not allowed in DT, extcon subsystem requires > another way to get extcon device. Lets try the simplest approach - get > edev by of_node. > > Signed-off-by: Andrzej Hajda > --- >

Re: [PATCH] vmxnet3: Use correct minimum MTU value

2017-10-18 Thread Andrew Lunn
On Tue, Oct 17, 2017 at 04:33:43PM +0200, Mohammed Gamal wrote: > Currently the vmxnet3 driver has a minimum MTU value of 60. Which > goes against the RFC791 spec which specifies it at 68. > > Setting MTU to values between 60 <= MTU <= 67 causes the network > interface to lose its IP, and it

RE: [PATCH 9/9] KVM: x86: Disable intercept for Intel processor trace MSRs

2017-10-18 Thread Kang, Luwei
> On October 16, 2017 8:14:11 AM EDT, Luwei Kang wrote: > >From: Chao Peng > > > >Trap for Intel processor trace is none sense. Pass through to guest > >directly. > > > And none of those MSRs can be subverted by the guest? That is none of

[PATCH] perf util: Fix wrong processing when closing evsel fd

2017-10-18 Thread Jin Yao
In current xyarray code, xyarray__max_x() returns max_y, and xyarray__max_y() returns max_x. It's confusing and for code logic it looks not correct. Error happens when closing evsel fd. Let's see this scenario: 1. Allocate an fd (pseudo-code) ---

9c2fb296dd ("Makefile: move stackprotector availability out of .."): BUG: kernel hang in early-boot stage, last printk:

2017-10-18 Thread kernel test robot
Greetings, 0day kernel testing robot got the below dmesg and the first bad commit is https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master commit 9c2fb296dde16a1bb81277be7b32cec881fe1153 Author: Kees Cook AuthorDate: Mon Oct 16 20:01:58 2017

[PATCH] mm, page_alloc: simplify hot/cold page handling in rmqueue_bulk()

2017-10-18 Thread Vlastimil Babka
The rmqueue_bulk() function fills an empty pcplist with pages from the free list. It tries to preserve increasing order by pfn to the caller, because it leads to better performance with some I/O controllers, as explained in e084b2d95e48 ("page-allocator: preserve PFN ordering when __GFP_COLD is

[GIT PULL] KEYS: Fixes

2017-10-18 Thread David Howells
that Eric asked me to. Thanks, David --- The following changes since commit 9e66317d3c92ddaab330c125dfe9d06eee268aff: Linux 4.14-rc3 (2017-10-01 14:54:54 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git tags/keys-fixes-20171018

[PATCH] perf test shell: trace+probe_libc_inet_pton.sh: be compatible with debian/ubuntu

2017-10-18 Thread Li Zhijian
at debian/ubuntu, libc.so is located at /lib/x86_64-linux-gnu/libc-2.23.so it outputs like when testing: --- PING ::1(::1) 56 data bytes 64 bytes from ::1: icmp_seq=1 ttl=64 time=0.040 ms --- ::1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt

[PATCH] rcu: do not include rtmutex_common.h unconditionally

2017-10-18 Thread Sebastian Andrzej Siewior
Since commit bcda31a26594 ("rcu: Suppress lockdep false-positive ->boost_mtx complaints") the rtmutex_common.h is included unconditionally. This break CONFIG_FUTEX=n configs which do not have CONFIG_RT_MUTEX enabled which leads to the lack of certain members in task_struct which are accessed in

Re: [PATCH v2] Userfaultfd: Add description for UFFD_FEATURE_SIGBUS

2017-10-18 Thread Michael Kerrisk (man-pages)
Hello Prakash, On 10/10/2017 12:45 AM, Prakash Sangappa wrote: > Userfaultfd feature UFFD_FEATURE_SIGBUS was merged recently and should > be available in Linux 4.14 release. This patch is for the manpage > changes documenting this API. > > Documents the following commit: > > commit

Re: Linux 4.13.8

2017-10-18 Thread Greg KH
diff --git a/Makefile b/Makefile index 0d4f1b19869d..66ec023da822 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 4 PATCHLEVEL = 13 -SUBLEVEL = 7 +SUBLEVEL = 8 EXTRAVERSION = NAME = Fearless Coyote diff --git a/arch/mips/math-emu/cp1emu.c b/arch/mips/math-emu/cp1emu.c index

Re: [PATCH for-next 2/4] RDMA/hns: Add IOMMU enable support in hip08

2017-10-18 Thread Wei Hu (Xavier)
On 2017/10/1 0:10, Leon Romanovsky wrote: On Sat, Sep 30, 2017 at 05:28:59PM +0800, Wei Hu (Xavier) wrote: If the IOMMU is enabled, the length of sg obtained from __iommu_map_sg_attrs is not 4kB. When the IOVA is set with the sg dma address, the IOVA will not be page continuous. and the VA

Linux 4.13.8

2017-10-18 Thread Greg KH
I'm announcing the release of the 4.13.8 kernel. All users of the 4.13 kernel series must upgrade. The updated 4.13.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.13.y and can be browsed at the normal kernel.org git web browser:

Re: [RT-SUMMIT] Prague Oct. 21st

2017-10-18 Thread Gratian Crisan
Hi Thomas, Is there additional info on the address of the venue. The wiki links to the Czech Technical University web page, however from what I can tell there are multiple faculty buildings in that area of Prague. I apologize if I missed something obvious, I'm currently working with crappy

Re: [PATCH] misc: rtsx: Add support for RTS5260

2017-10-18 Thread Greg KH
On Wed, Oct 18, 2017 at 04:46:06PM +0800, rui_f...@realsil.com.cn wrote: > From: rui_feng Same name comment here. thanks, greg k-h

[PATCH] powerpc: ipic - fix status get and status clear

2017-10-18 Thread Christophe Leroy
IPIC Status is provided by register IPIC_SERSR and not by IPIC_SERMR which is the mask register. Signed-off-by: Christophe Leroy --- arch/powerpc/sysdev/ipic.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/powerpc/sysdev/ipic.c

Re: [PATCH] misc: rtsx: Move Realtek Card Reader Driver to misc

2017-10-18 Thread Greg KH
On Wed, Oct 18, 2017 at 04:45:05PM +0800, rui_f...@realsil.com.cn wrote: > From: rui_feng I doubt you sign your documents "rui_feng", shouldn't it be "Rui Feng"? Same for your signed-off-by line. > > Move Realtek PCIE Card Reader Driver to misc. > 1.Create a folder

[PATCH 1/2] extcon: max88743: Add OTG power control to the MUIC driver

2017-10-18 Thread Marek Szyprowski
Enabling power on VBUS micro-usb pin is required only when passive OTG cable is connected. Initially OTG VBUS power control was planned to be done in charger driver. However such information is not really available from the extcon notifications, so VBUS power control has to be done directly in

linux-next: manual merge of the drm-intel tree with the drm-intel-fixes tree

2017-10-18 Thread Mark Brown
Hi all, Today's linux-next merge of the drm-intel tree got a conflict in: drivers/gpu/drm/i915/i915_gem_evict.c between commit: 99b169d3c2052 ("drm/i915: Fix eviction when the GGTT is idle but full") from the drm-intel-fixes tree and commit: 9c1477e83e629 ("drm/i915/selftests: Exercise

[PATCH 0/2] MAX88743-extcon: add proper OTG and Dock (OTG+MHL) support

2017-10-18 Thread Marek Szyprowski
Hi! This patchset enables proper detection and support for the following micro USB accessories: standard OTG cable (passive) and so called SmartDock (a Dock with OTG and MHL features). Tested on Exynos5433 TM2 board. Best regards Marek Szyprowski Samsung R Institute Poland Marek Szyprowski

Re: [PATCH RFC 00/10] Intel EPT-Based Sub-page Write Protection Support.

2017-10-18 Thread Paolo Bonzini
On 16/10/2017 02:08, Yi Zhang wrote: >> And the introspection facility by Mihai uses a completely >> different API for the introspector, based on sockets rather than ioctls. >> So I'm not sure this is the right API at all. > > Currently, We only block the write access, As far as I know an

Re: [PATCH 1/2] extcon: max88743: Add OTG power control to the MUIC driver

2017-10-18 Thread Chanwoo Choi
Hi Marek, Looks good to me. But, the patch subject is wrong as following: - max88743 -> max77843 If you fix the subject, feel free to add my acked-tag. Acked-by: Chanwoo Choi Regards, Chanwoo Choi On 2017년 10월 18일 18:28, Marek Szyprowski wrote: > Enabling power on VBUS

RE: char-TPM: Adjustments for ten function implementations

2017-10-18 Thread Julia Lawall
On Wed, 18 Oct 2017, alexander.stef...@infineon.com wrote: > > On Wed, 2017-10-18 at 11:00 +0200, SF Markus Elfring wrote: > > > > The printk removals do change the objects. > > > > > > > > The value of that type of change is only for resource limited systems. > > > > > > I imagine that such

Re: [PATCH v6 1/4] sched/clock: interface to allow timestamps early in boot

2017-10-18 Thread Dou Liyang
Hi Pasha, Sorry to reply you so late. I have test the TSC sync in our machine with DR(Dynamic Reconfiguration) Linux kernel: Linux-4.14.0-rc5 NUMA nodes: 4 node. Use clock_gettime() to reach nano-second accuracy. It is OK that we setup our reconfigurable with "tsc=unstable". Thanks,

Re: [PATCH] driver core: Make sure device detached from driver before deleting it

2017-10-18 Thread Rafael J. Wysocki
On Wednesday, October 18, 2017 7:49:26 AM CEST Jeffy Chen wrote: > There are cases we call device_del() without detaching it from the > driver(e.g. spi core del children devices). But device_del() itself detaches the device from its driver. > Signed-off-by: Jeffy Chen

Re: [PATCH 3/3] irq/irq_sim: implement irq_sim_irq2offset()

2017-10-18 Thread Marc Zyngier
On 18/10/17 10:51, Bartosz Golaszewski wrote: > 2017-10-18 10:58 GMT+02:00 Marc Zyngier : >> On 05/10/17 13:44, Bartosz Golaszewski wrote: >>> Add a routine allowing to retrieve the offset corresponding with an >>> allocated interrupt number from an irq_sim object. >>> >>>

RE: [PATCH] PCI/AER: update AER status string print to match other AER logs

2017-10-18 Thread David Laight
From: Tyler Baicar [mailto:tbai...@codeaurora.org] > Sent: 17 October 2017 18:14 > On 10/17/2017 12:00 PM, David Laight wrote: > > From: Tyler Baicar > >> Sent: 17 October 2017 16:42 > >> Currently the AER driver uses cper_print_bits() to print the AER status > >> string. This causes the status

Re: [PATCH v5 2/2] acpi: apei: Add SEI notification type support for ARMv8

2017-10-18 Thread James Morse
Hi Dongjiu Geng, On 17/10/17 09:02, Dongjiu Geng wrote: > ARMv8.2 requires implementation of the RAS extension, in > this extension it adds SEI(SError Interrupt) notification > type, this patch adds new GHES error source SEI handling > functions. This paragraph is merging two things that aren't

Re: [PATCH] mac80211: aggregation: Convert timers to use timer_setup()

2017-10-18 Thread Johannes Berg
Hi, [quoting your other email:] > This has been the least trivial timer conversion yet. Given the use of > RCU and other things I may not even know about, I'd love to get a close > look at this. I *think* this is correct, as it will re-lookup the tid > entries when firing the timer. I'm not

Re: PCIe legacy interrupts blocked on Intel Apollo Lake platforms

2017-10-18 Thread Rafael J. Wysocki
On Wednesday, October 18, 2017 10:36:49 AM CEST Daniel Drake wrote: > [retitling and re-summarizing in hope of attention from Intel] > > Andy / Rafael, > > Thomas Gleixner suggested that you might be able to help with a nasty > issue related to Intel Apollo Lake platforms - or you can put us in

Re: [lkp-robot] [x86/kconfig] 81d3871900: BUG:unable_to_handle_kernel

2017-10-18 Thread Linus Torvalds
On Tue, Oct 17, 2017 at 3:33 AM, Joonsoo Kim wrote: > > It looks like a compiler bug. The code of slob_units() try to read two > bytes at 88001c4afffe. It's valid. But the compiler generates > wrong code that try to read four bytes. > > static slobidx_t

Re: [PATCH] driver core: Make sure device detached from driver before deleting it

2017-10-18 Thread jeffy
Hi Rafael, Thanks for your reply. On 10/18/2017 06:04 PM, Rafael J. Wysocki wrote: But device_del() calls bus_remove_device() which in turn calls device_release_driver(), so this looks like an ordering issue to me. uh, right, didn't notice that, it indeed to be a ordering issue... it turns

Re: [PATCH 5/9] PCI: host: brcmstb: add dma-ranges for inbound traffic

2017-10-18 Thread Christoph Hellwig
On Tue, Oct 17, 2017 at 12:11:55PM -0400, Jim Quinlan wrote: > My understanding is that dma_pfn_offset is that it is a single > constant offset from RAM, in our case, to map to PCIe space. Yes. > But in > my commit message I detail how our PCIe controller presents memory > with multiple regions

[PATCH v10 18/20] crypto: qce: move to generic async completion

2017-10-18 Thread Gilad Ben-Yossef
The qce driver starts several async crypto ops and waits for their completions. Move it over to generic code doing the same. Signed-off-by: Gilad Ben-Yossef --- drivers/crypto/qce/sha.c | 30 -- 1 file changed, 4 insertions(+), 26 deletions(-)

[PATCH v10 20/20] crypto: adapt api sample to use async. op wait

2017-10-18 Thread Gilad Ben-Yossef
The code sample is waiting for an async. crypto op completion. Adapt sample to use the new generic infrastructure to do the same. This also fixes a possible data coruption bug created by the use of wait_for_completion_interruptible() without dealing correctly with an interrupt aborting the wait

Re: [PATCH] driver core: Make sure device detached from driver before deleting it

2017-10-18 Thread jeffy
Hi Greg, Thanks for your reply. On 10/18/2017 02:19 PM, Greg Kroah-Hartman wrote: On Wed, Oct 18, 2017 at 01:49:26PM +0800, Jeffy Chen wrote: >There are cases we call device_del() without detaching it from the >driver(e.g. spi core del children devices). Why would you do that? Shouldn't

[PATCH v10 19/20] crypto: mediatek: move to generic async completion

2017-10-18 Thread Gilad Ben-Yossef
The mediatek driver starts several async crypto ops and waits for their completions. Move it over to generic code doing the same. Signed-off-by: Gilad Ben-Yossef Acked-by: Ryder Lee --- drivers/crypto/mediatek/mtk-aes.c | 31

Re: [RESEND PATCH v7 1/1] platform: Add driver for RAVE Supervisory Processor

2017-10-18 Thread Johan Hovold
On Mon, Oct 16, 2017 at 09:45:58AM -0700, Andrey Smirnov wrote: > On Mon, Oct 16, 2017 at 7:14 AM, Johan Hovold wrote: > > On Fri, Oct 13, 2017 at 08:56:00AM -0700, Andrey Smirnov wrote: > >> On Fri, Oct 13, 2017 at 12:27 AM, Johan Hovold wrote: > >> > On Thu,

Re: [lkp-robot] [x86/kconfig] 81d3871900: BUG:unable_to_handle_kernel

2017-10-18 Thread Joonsoo Kim
On Tue, Oct 17, 2017 at 09:50:04AM +0200, Thomas Gleixner wrote: > On Tue, 17 Oct 2017, Joonsoo Kim wrote: > > On Wed, Oct 11, 2017 at 12:01:20PM -0500, Josh Poimboeuf wrote: > > > > Looking at the panic, the code in slob_free() was: > > > > > > > >0: e8 8d f7 ff ff callq

Re: [PATCH v9 17/17] tools/wmi: add a sample for dell smbios communication over WMI

2017-10-18 Thread Pali Rohár
On Tuesday 17 October 2017 13:22:01 Mario Limonciello wrote: > diff --git a/tools/wmi/dell-smbios-example.c b/tools/wmi/dell-smbios-example.c > new file mode 100644 > index ..69c4dd9c6056 > --- /dev/null > +++ b/tools/wmi/dell-smbios-example.c > @@ -0,0 +1,214 @@ > +/* > + * Sample

[PATCH 1/2] Squashfs: Let the number of fragments cached configurable

2017-10-18 Thread Qixuan Wu
Currently, squashfs fragments' cache size is only determined by config option CONFIG_SQUASHFS_FRAGMENT_CACHE_SIZE. Users have no way to change the value when they get the binary kernel. Now make it be configured during booting or inserting module. Signed-off-by: Qixuan Wu

[PATCH 1/8] mm, page_alloc: Enable/disable IRQs once when freeing a list of pages

2017-10-18 Thread Mel Gorman
Freeing a list of pages current enables/disables IRQs for each page freed. This patch splits freeing a list of pages into two operations -- preparing the pages for freeing and the actual freeing. This is a tradeoff - we're taking two passes of the list to free in exchange for avoiding multiple

[PATCH 8/8] mm: Remove __GFP_COLD

2017-10-18 Thread Mel Gorman
As the page free path makes no distinction between cache hot and cold pages, there is no real useful ordering of pages in the free list that allocation requests can take advantage of. Juding from the users of __GFP_COLD, it is likely that a number of them are the result of copying other sites

[PATCH 4/8] mm: Only drain per-cpu pagevecs once per pagevec usage

2017-10-18 Thread Mel Gorman
When a pagevec is initialised on the stack, it is generally used multiple times over a range of pages, looking up entries and then releasing them. On each pagevec_release, the per-cpu deferred LRU pagevecs are drained on the grounds the page being released may be on those queues and the pages may

Re: Linux 4.9.57

2017-10-18 Thread Greg KH
diff --git a/Makefile b/Makefile index feab5f5a507c..d5a2ab9b3291 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 4 PATCHLEVEL = 9 -SUBLEVEL = 56 +SUBLEVEL = 57 EXTRAVERSION = NAME = Roaring Lionus diff --git a/arch/mips/math-emu/cp1emu.c b/arch/mips/math-emu/cp1emu.c index

Linux 4.9.57

2017-10-18 Thread Greg KH
I'm announcing the release of the 4.9.57 kernel. All users of the 4.9 kernel series must upgrade. The updated 4.9.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.9.y and can be browsed at the normal kernel.org git web browser:

[PATCH] thermal/drivers/hisi: disable multi alarm support for hi3660 SoC

2017-10-18 Thread Tao Wang
From: Kevin Wangtao multi alarm interrupt forced a re-trigger of power_allocator_throttle which changes the PID's actual sampling rate, this isn't optimal for IPA, it is best to disable multi alarm support now and sort out this issue later. Signed-off-by: Kevin Wangtao

  1   2   3   4   5   6   7   8   9   10   >