Re: [PATCH v4] printk: Add console owner and waiter logic to load balance console writes

2017-11-09 Thread Michal Hocko
Hi, assuming that this passes warn stall torturing by Tetsuo, do you think we can drop http://lkml.kernel.org/r/1509017339-4802-1-git-send-email-penguin-ker...@i-love.sakura.ne.jp from the mmotm tree? On Wed 08-11-17 10:27:23, Steven Rostedt wrote: > [ claws-mail is really pissing me off. It did

Re: [PATCH 28/31] irqchip: Andestech Internal Vector Interrupt Controller driver

2017-11-09 Thread Greentime Hu
2017-11-08 22:24 GMT+08:00 Marc Zyngier : > On 08/11/17 05:55, Greentime Hu wrote: >> From: Greentime Hu >> > > Please add a commit message, indicating what this does, and potentially > a pointer to some documentation (if publicly available). > Thans. I will add proper commit messages in the next

Re: [PATCH 01/11] Initialize the mapping of KASan shadow memory

2017-11-09 Thread Marc Zyngier
On 09/11/17 07:46, Liuwenliang (Abbott Liu) wrote: > On 12/10/17 15:59, Marc Zyngier [mailto:marc.zyng...@arm.com] wrote: >> On 11/10/17 09:22, Abbott Liu wrote: >>> diff --git a/arch/arm/include/asm/proc-fns.h >>> b/arch/arm/include/asm/proc-fns.h >>> index f2e1af4..6e26714 100644 >>> --- a/arch/

Re: [PATCH] mm: don't warn about allocations which stall for too long

2017-11-09 Thread Michal Hocko
On Thu 09-11-17 10:34:46, peter enderborg wrote: > On 11/09/2017 09:52 AM, Michal Hocko wrote: > > I am not sure. I would rather see a tracepoint to mark the allocator > > entry. This would allow both 1) measuring the allocation latency (to > > compare it to the trace_mm_page_alloc and 2) check for

Re: [PATCH v10 5/7] perf: cavium: Support memory controller PMU counters

2017-11-09 Thread Suzuki K Poulose
On 25/09/17 13:35, Jan Glauber wrote: Add support for the PMU counters on Cavium SOC memory controllers. This patch also adds generic functions to allow supporting more devices with PMU counters. Properties of the LMC PMU counters: - not stoppable - fixed purpose - read-only - one PCI device pe

Re: [PATCH 1/2] sched/swait: allow swake_up() to return

2017-11-09 Thread Paolo Bonzini
On 09/11/2017 10:18, Peter Xu wrote: > Let swake_up() to return whether any of the waiters is waked up. One use > case of it would be: > > if (swait_active(wq)) { > swake_up(wq); > // do something when waiter is waked up > waked_up++; > } > > Logically it's possible that when reac

Re: [PATCH] mm/page_alloc: Avoid KERN_CONT uses in warn_alloc

2017-11-09 Thread Michal Hocko
On Tue 07-11-17 08:03:27, Joe Perches wrote: > On Tue, 2017-11-07 at 16:43 +0100, Michal Hocko wrote: > > On Tue 07-11-17 07:34:25, Joe Perches wrote: > [] > > > I believe, but have not tested, that using a specific width > > > as an argument to %*pb[l] will constrain the number of > > > spaces bef

RE: [PATCH v10 6/9] LPC: Support the LPC host on Hip06/Hip07 with DT bindings

2017-11-09 Thread Gabriele Paoloni
Hi Dann [...] > > + > > +#define START_WORK 0x01 > > Any reason not to put this in the LPC_ namespace as well? No, not really. We'll make it consistent in the next patchset > > > +/* The minimal nanosecond interval for each query on LPC cycle > status. */ [...] > > + * hisilpc_tar

Re: [PATCH v2 00/15] ima: digest list feature

2017-11-09 Thread Roberto Sassu
On 11/8/2017 4:48 PM, Matthew Garrett wrote: On Wed, Nov 8, 2017 at 7:00 AM, Roberto Sassu wrote: On 11/7/2017 7:06 PM, Matthew Garrett wrote: But we're still left in a state where the kernel has to end up supporting a number of very niche formats, and userland agility is tied to the kernel. I

Re: [PATCH v10 00/15] Introduce support for Dell SMBIOS over WMI

2017-11-09 Thread Pavel Machek
On Thu 2017-10-19 12:50:03, Mario Limonciello wrote: > The existing way that the dell-smbios helper module and associated > other drivers (dell-laptop, dell-wmi) communicate with the platform > really isn't secure. It requires creating a buffer in physical > DMA32 memory space and passing that to

Re: [PATCH v2] USB: add SPDX identifiers to all remaining files in drivers/usb/

2017-11-09 Thread Pavel Machek
Hi! > It's good to have SPDX identifiers in all files to make it easier to > audit the kernel tree for correct licenses. > > Update the drivers/usb/ and include/linux/usb* files with the correct > SPDX license identifier based on the license text in the file itself. > The SPDX identifier is a leg

Re: [PATCH 02/31] nds32: Kernel booting and initialization

2017-11-09 Thread Greentime Hu
2017-11-08 21:38 GMT+08:00 Rob Herring : > On Tue, Nov 7, 2017 at 11:54 PM, Greentime Hu wrote: >> From: Greentime Hu >> > > Commit message needed. Thanks. I will add more commit messages in the next version patch. > >> Signed-off-by: Vincent Chen >> Signed-off-by: Greentime Hu >> --- > >> +

Re: [PATCH 29/31] MAINTAINERS: Add nds32

2017-11-09 Thread Greentime Hu
2017-11-08 21:31 GMT+08:00 Rob Herring : > On Tue, Nov 7, 2017 at 11:55 PM, Greentime Hu wrote: >> From: Greentime Hu >> >> Signed-off-by: Greentime Hu >> --- >> MAINTAINERS |9 + >> 1 file changed, 9 insertions(+) >> >> diff --git a/MAINTAINERS b/MAINTAINERS >> index 2f4e462..bce11

Re: [PATCH V3 2/2] acpi: apei: call into AER handling regardless of severity

2017-11-09 Thread Borislav Petkov
On Wed, Nov 08, 2017 at 12:13:12PM -0700, Tyler Baicar wrote: > Currently the GHES code only calls into the AER driver for > recoverable type errors. This is incorrect because errors of > other severities do not get logged by the AER driver and do not > get exposed to user space via the AER trace e

Legal question: Author, Sign-off, Company Copyright and gmail

2017-11-09 Thread Daniel Lezcano
Hi all, I noticed a practice when the patches are submitted where I'm a bit confused about how it fits with the DCO. People are creating gmail accounts to send patches on behalf of their company because the company's email configuration does not allow to send patches or adds extra infos, or what

Re: [PATCH 27/31] dt-bindings: interrupt-controller: Andestech Internal Vector Interrupt Controller

2017-11-09 Thread Greentime Hu
2017-11-08 21:25 GMT+08:00 Rob Herring : > +DT list > > On Tue, Nov 7, 2017 at 11:55 PM, Greentime Hu wrote: >> From: Greentime Hu > > Commit msg needed. Thanks. I will add commit msg in the next version patch. >> Signed-off-by: Rick Chen >> Signed-off-by: Greentime Hu >> --- >> .../interrup

[PATCH v17 5/6] vfio: ABI for mdev display dma-buf operation

2017-11-09 Thread Tina Zhang
Add VFIO_DEVICE_QUERY_GFX_PLANE ioctl command to let user query and get a plane and its related information. So far, two types of buffers are supported: buffers based on dma-buf and buffers based on region. This ioctl can be invoked with: 1) either DMABUF or REGION flag. Vendor driver returns a pl

[PATCH v17 3/6] drm/i915/gvt: Add RGB 64-bit 16:16:16:16 float format

2017-11-09 Thread Tina Zhang
The RGB 64-bit 16:16:16:16 float pixel format is needed by windows 10 guest VM. This patch is to add this pixel format support to gvt device model. Without this patch, some Apps, e.g. "DXGIGammaVM.exe", will crash and make guest screen black. Signed-off-by: Tina Zhang --- drivers/gpu/drm/i915/gv

[PATCH v17 2/6] drm: Introduce RGB 64-bit 16:16:16:16 float format

2017-11-09 Thread Tina Zhang
The RGB 64-bit 16:16:16:16 float pixel format is needed by some Apps in windows. The float format in each component is 1:5:10 MSb-sign:exponent: fraction. This patch is to introduce the format to drm, so that the windows guest's framebuffer in this kind of format can be recognized and used by linu

[PATCH v17 6/6] drm/i915/gvt: Dmabuf support for GVT-g

2017-11-09 Thread Tina Zhang
This patch introduces a guest's framebuffer sharing mechanism based on dma-buf subsystem. With this sharing mechanism, guest's framebuffer can be shared between guest VM and host. v17: - modify VFIO_DEVICE_GET_GFX_DMABUF interface. (Alex) v16: - add x_hot and y_hot. (Gerd) - add flag validation f

Re: [PATCH 30/31] dt-bindings: nds32 CPU Bindings

2017-11-09 Thread Greentime Hu
2017-11-08 21:18 GMT+08:00 Rob Herring : > Please Cc the DT list on bindings. Sorry. I am not sure what you mean. Do you mean add devicet...@vger.kernel.org to cc list? > On Tue, Nov 7, 2017 at 11:55 PM, Greentime Hu wrote: >> From: Greentime Hu > > Commit message needed. Thanks. I will add mo

[PATCH v17 4/6] drm/i915/gvt: Add opregion support

2017-11-09 Thread Tina Zhang
Windows guest driver needs vbt in opregion, to configure the setting for display. Without opregion support, the display registers won't be set and this blocks display model to get the correct information of the guest display plane. This patch is to provide a virtual opregion for guest. Current imp

[PATCH v17 1/6] drm/i915/gvt: Add framebuffer decoder support

2017-11-09 Thread Tina Zhang
This patch is to introduce the framebuffer decoder which can decode guest OS's framebuffer information, including primary, cursor and sprite plane. v16: rebase to 4.14.0-rc6. v14: - refine pixel format table. (Zhenyu) v9: - move drm format change to a separate patch. (Xiaoguang) v8: - fix a bu

[PATCH v17 0/6] drm/i915/gvt: Dma-buf support for GVT-g

2017-11-09 Thread Tina Zhang
v16->v17: 1) modify VFIO_DEVICE_GET_GFX_DMABUF interface. (Alex) 2) add comments for x_hot/y_hot. (Gerd) v15->v16: 1) add cursor hotspot fields in struct vfio_device_gfx_plane_info. (Gerd) 2) clean up some typos and add comments for VFIO_DEVICE_QUERY_GFX_PLANE. (Alex) 3) seperate the GEM Proxy par

Re: [PATCH 00/31] Andes(nds32) Linux Kernel Port

2017-11-09 Thread Greentime Hu
2017-11-08 18:26 GMT+08:00 Arnd Bergmann : > On Wed, Nov 8, 2017 at 6:54 AM, Greentime Hu wrote: >> This patchset adds core architecture support to Linux for Andestech's >> N13, N15, D15, N10, D10 processor cores. >> >> Based on the 16/32-bit AndeStar RISC-like architecture, we designed the >> con

Re: [PATCH v6] x86: use lock+addl for smp_mb()

2017-11-09 Thread Peter Zijlstra
On Fri, Oct 27, 2017 at 07:14:31PM +0300, Michael S. Tsirkin wrote: > The one difference between lock+add and mfence is that lock+addl does > not affect clflush, previous patches converted all uses of clflush to > call mb(), such that changes to smp_mb won't affect it. > > Update mb/rmb/wmb on 32

Re: [PATCH 00/31] Andes(nds32) Linux Kernel Port

2017-11-09 Thread Greentime Hu
2017-11-08 18:18 GMT+08:00 Arnd Bergmann : > On Wed, Nov 8, 2017 at 9:41 AM, Greentime Hu wrote: >> 2017-11-08 16:32 GMT+08:00 David Howells : >>> Greentime Hu wrote: >>> The build script and toolchain repositories are able to be found here: https://github.com/andestech/build_script.g

Re: [PATCH] staging: ccree: remove unused pointer cc_base

2017-11-09 Thread Gilad Ben-Yossef
Hi Colin, Thank you very much for your patch. On Thu, Nov 9, 2017 at 10:13 AM, Colin King wrote: > From: Colin Ian King > > Pointer cc_base is being assigned but is never read, hence it is > redundant and can be removed. Cleans up clang warning: > > drivers/staging/ccree/ssi_driver.c:235:2: war

Re: [PATCH v4 01/17] PCI: dwc: Use the DMA-API to get the MSI address

2017-11-09 Thread Niklas Cassel
On 11/08/2017 06:27 PM, Bjorn Helgaas wrote: > On Wed, Nov 08, 2017 at 12:45:49PM +, Joao Pinto wrote: >> Hello to all, >> >> Às 12:56 AM de 11/8/2017, Bjorn Helgaas escreveu: >>> On Fri, Nov 03, 2017 at 02:47:05PM +0100, Niklas Cassel wrote: Use the DMA-API to get the MSI address. This ad

[PATCH 1/2] sched/swait: allow swake_up() to return

2017-11-09 Thread Peter Xu
Let swake_up() to return whether any of the waiters is waked up. One use case of it would be: if (swait_active(wq)) { swake_up(wq); // do something when waiter is waked up waked_up++; } Logically it's possible that when reaching swake_up() the wait queue is not active any more, an

[PATCH v2 01/10] staging: ccree: fix leak of import() after init()

2017-11-09 Thread Gilad Ben-Yossef
crypto_ahash_import() may be called either after crypto_ahash_init() or without such call. Right now we always internally call init() as part of import(), thus leaking memory and mappings if the user has already called init() herself. Fix this by only calling init() internally if the state is not

[PATCH v2 03/10] staging: ccree: simplify AEAD using local var

2017-11-09 Thread Gilad Ben-Yossef
Make the code more readable by using a local variable for commonly use expression in the AEAD part of the driver. Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/ssi_aead.c | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/drivers/staging/ccree/ssi_aead.c b

Re: [PATCH AUTOSEL for-4.4 39/39] MIPS: Use Makefile.postlink to insert relocations into vmlinux

2017-11-09 Thread Matt Redfearn
On 08/11/17 20:50, Levin, Alexander (Sasha Levin) wrote: From: Matt Redfearn [ Upstream commit 44079d3509aee89c58f3e4fd929fa53ab2299019 ] When relocatable support for MIPS was merged, there was no support for an architecture to add a postlink step for vmlinux. This meant that only invoking a

[PATCH v2 05/10] staging: ccree: fold common code into function

2017-11-09 Thread Gilad Ben-Yossef
Fold common code copying MAC to/from a temp. buffer into an inline function instead of keeping multiple open coded versions of same. Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/ssi_buffer_mgr.c | 89 ++ 1 file changed, 37 insertions(+), 52 deletions(

Re: [PATCH] extcon: max8997: Delete an unnecessary variable initialisation in max8997_muic_set_path()

2017-11-09 Thread Chanwoo Choi
Hi, On 2017년 11월 09일 18:05, SF Markus Elfring wrote: > From: Markus Elfring > Date: Thu, 9 Nov 2017 10:00:08 +0100 > > The variable "ret" will be set to an appropriate value a bit later. > Thus omit the explicit initialisation at the beginning. > > Signed-off-by: Markus Elfring > --- > driver

[PATCH v2 06/10] staging: ccree: simplify pm manager using local var

2017-11-09 Thread Gilad Ben-Yossef
Make the code more readable by using a local variable. Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/ssi_pm.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/drivers/staging/ccree/ssi_pm.c b/drivers/staging/ccree/ssi_pm.c index e1bc4c5..d60143c 100644

Re: [PATCH] extcon: max77693: Delete an unnecessary variable initialisation in max77693_muic_set_path()

2017-11-09 Thread Chanwoo Choi
Hi, On 2017년 11월 09일 17:49, SF Markus Elfring wrote: > From: Markus Elfring > Date: Thu, 9 Nov 2017 09:40:59 +0100 > > The variable "ret" will be set to an appropriate value a bit later. > Thus omit the explicit initialisation at the beginning. > > Signed-off-by: Markus Elfring > --- > driver

[PATCH v2 08/10] staging: ccree: remove compare to none zero

2017-11-09 Thread Gilad Ben-Yossef
The driver was full of code checking "if (x != 0)". Replace by "if (x)" for better readability. Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/ssi_aead.c| 28 +-- drivers/staging/ccree/ssi_buffer_mgr.c | 74 ++--- drivers/staging/ccree/ssi_ciph

Re: [RFC PATCH 0/2] apply write hints to select the type of segments

2017-11-09 Thread Chao Yu
On 2017/11/9 13:51, Hyunchul Lee wrote: > From: Hyunchul Lee > > Using write hints[1], applications can inform the life time of the data > written to devices. and this[2] reported that the write hints patch > decreased writes in NAND by 25%. > > This hints help F2FS to determine the followings.

Re: [PATCH] checkpatch.pl: Add SPDX license tag check

2017-11-09 Thread Greg Kroah-Hartman
On Wed, Nov 08, 2017 at 06:10:19PM -0800, Joe Perches wrote: > On Wed, 2017-11-08 at 19:10 -0600, Rob Herring wrote: > > Add a check warning if SPDX-License-Identifier tags are not used in > > newly added files. > > If this is to be done, and I think it's not a great idea, > there are better ways

Re: [PATCH] drm/i915/intel_sdvo: mark expected switch fall-throughs

2017-11-09 Thread Jani Nikula
On Thu, 09 Nov 2017, Jani Nikula wrote: > On Wed, 08 Nov 2017, "Gustavo A. R. Silva" wrote: >> In preparation to enabling -Wimplicit-fallthrough, mark switch cases >> where we are expecting to fall through. >> >> Addresses-Coverity-ID: 141432 >> Addresses-Coverity-ID: 141433 >> Addresses-Coverity

[PATCH v2 07/10] staging: ccree: remove unneeded cast

2017-11-09 Thread Gilad Ben-Yossef
Remove unneeded cast of the return value of dev_get_drvdata() to struct ssi_drvdata * for better readability. Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/ssi_pm.c | 12 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/drivers/staging/ccree/ssi_pm.c b/drive

[PATCH v2 02/10] staging: ccree: make long func call sites readable

2017-11-09 Thread Gilad Ben-Yossef
The driver was using a function naming scheme including common prefixes for driver global functions based on the code module they came from. The combination of long names with long common prefixes made the whole thing too long for a human to parse. Switch to simple and shorter function naming sch

[PATCH v2 09/10] staging: ccree: remove braces for single statement

2017-11-09 Thread Gilad Ben-Yossef
Remove necessary braces for single statement blocks to improve code readabilty. Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/ssi_buffer_mgr.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/staging/ccree/ssi_buffer_mgr.c b/drivers/staging/ccree/ssi

Re: [PATCH] media: coda: remove definition of CODA_STD_MJPG

2017-11-09 Thread Philipp Zabel
On Wed, 2017-11-08 at 19:58 +0100, Martin Kepplinger wrote: > According to i.MX VPU API Reference Manuals the MJPG video codec is > refernced to by number 7, not 3. > > Also Philipp pointed out that this value is only meant to fill in > CMD_ENC_SEQ_COD_STD for encoding, only on i.MX53. It was neve

[PATCH v2 04/10] staging: ccree: simplify buf mgr using local vars

2017-11-09 Thread Gilad Ben-Yossef
Make the code more readable by using a local variables for commonly use expressions in the buffer manager part of the driver. Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/ssi_buffer_mgr.c | 18 ++ 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/drivers

[PATCH v2 10/10] staging: ccree: remove unused cc_base parameter

2017-11-09 Thread Gilad Ben-Yossef
Remove a common parameter named cc_base with the pointer to the mapped command registers which was used by the old register access macros that are not longer in use. Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/ssi_aead.c| 2 +- drivers/staging/ccree/ssi_cipher.c | 12

[PATCH v2 00/10] staging: ccree: fixes and cleanups

2017-11-09 Thread Gilad Ben-Yossef
This is another batch of ccree fixes & cleanups. The first patch is a bug fix. All others are pure readability and coding style fixes. Changes from v1: - Fix several coding style issues pointed out by Dan Carpenter. - Added two more patches of similar issues that surfaced during the review.

Re: [PATCH v10 1/8] perf: Export perf_event_update_userpage

2017-11-09 Thread Peter Zijlstra
On Fri, Nov 03, 2017 at 05:50:58PM +, Suzuki K Poulose wrote: > Export perf_event_update_userpage() so that PMU driver using them, > can be built as modules. > > Cc: Peter Zilstra > Signed-off-by: Suzuki K Poulose Acked-by: Peter Zijlstra (Intel) > --- > kernel/events/core.c | 1 + > 1 f

[PATCH] extcon: max8997: Delete an unnecessary variable initialisation in max8997_muic_set_path()

2017-11-09 Thread SF Markus Elfring
From: Markus Elfring Date: Thu, 9 Nov 2017 10:00:08 +0100 The variable "ret" will be set to an appropriate value a bit later. Thus omit the explicit initialisation at the beginning. Signed-off-by: Markus Elfring --- drivers/extcon/extcon-max8997.c | 2 +- 1 file changed, 1 insertion(+), 1 dele

Re: [PATCH net-next 1/6] net: dsa: remove trans argument from mdb ops

2017-11-09 Thread Egil Hjelmeland
On 08. nov. 2017 18:19, Vivien Didelot wrote: The DSA switch MDB ops pass the switchdev_trans structure down to the drivers, but no one is using them and they aren't supposed to anyway. Remove the trans argument from MDB prepare and add operations. - int (*port_mdb_prepare)(struct dsa

Re: [PATCH 26/31] nds32: Build infrastructure

2017-11-09 Thread Greentime Hu
2017-11-08 18:16 GMT+08:00 Arnd Bergmann : > On Wed, Nov 8, 2017 at 6:55 AM, Greentime Hu wrote: > >> diff --git a/arch/nds32/Kconfig b/arch/nds32/Kconfig >> new file mode 100644 >> index 000..112f470 >> --- /dev/null >> +++ b/arch/nds32/Kconfig >> @@ -0,0 +1,107 @@ >> +# >> +# For a descripti

Re: Linux & FAT32 label

2017-11-09 Thread Pali Rohár
On Tuesday 07 November 2017 12:28:41 Theodore Ts'o wrote: > On Sun, Nov 05, 2017 at 10:12:49PM +0100, Pali Rohár wrote: > > Easy way how to achieve this situation: > > > > 1. use mkdosfs to format hard disk to FAT32 with label LABEL42 > > > > 2. boot Windows 10 (or XP) and set label of that FAT32

Re: Linux & FAT32 label

2017-11-09 Thread Pali Rohár
On Monday 06 November 2017 11:14:44 Karel Zak wrote: > On Sun, Nov 05, 2017 at 03:34:11PM +0100, Pali Rohár wrote: > > On Sunday 05 November 2017 16:25:54 Andy Shevchenko wrote: > > > On Sun, Nov 5, 2017 at 4:07 PM, Pali Rohár wrote: > > > > On Sunday 05 November 2017 15:56:53 Andy Shevchenko wrot

Re: [PATCH 1/1] ALSA: usb: initial USB Audio Device Class 3.0 support

2017-11-09 Thread Takashi Iwai
On Thu, 09 Nov 2017 09:33:44 +0100, Greg Kroah-Hartman wrote: > > On Thu, Nov 09, 2017 at 09:16:52AM +0100, Takashi Iwai wrote: > > On Thu, 09 Nov 2017 09:04:58 +0100, > > Greg Kroah-Hartman wrote: > > > > > > On Wed, Nov 08, 2017 at 03:38:35PM +0100, Takashi Iwai wrote: > > > > On Tue, 07 Nov 20

pt_regs usage in cpuacct_charge()

2017-11-09 Thread Pavel V. Panteleev
Hello! In cpuacct_charge() function pt_regs of other thread could be used. There is a such call chain: ...-> __schedule -> pick_next_task_fair -> load_balance -> idle_balance -> load_balance -> detach_tasks -> deactivate_task -> dequeue_task_fair -> dequeue_entity -> update_curr -> cpuacct_ch

Re: [PATCH v2] s390/virtio: mark headers as BSD licensed

2017-11-09 Thread Cornelia Huck
On Thu, 9 Nov 2017 09:29:32 +0100 Christian Borntraeger wrote: > On 11/08/2017 08:58 PM, Michael S. Tsirkin wrote: > > On Wed, Nov 08, 2017 at 08:39:11PM +0100, Christian Borntraeger wrote: > >> > >> > >> On 11/08/2017 08:35 PM, Michael S. Tsirkin wrote: > >>> On Wed, Nov 08, 2017 at 07:57:28

Re: [PATCHv3 1/1] locking/qspinlock/x86: Avoid test-and-set when PV_DEDICATED is set

2017-11-09 Thread Eduardo Valentin
Hello, On Wed, Nov 08, 2017 at 06:36:52PM +0100, Radim Krčmář wrote: > 2017-11-06 12:26-0800, Eduardo Valentin: > > Currently, the existing qspinlock implementation will fallback to > > test-and-set if the hypervisor has not set the PV_UNHALT flag. > > > > This patch gives the opportunity to gues

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

2017-11-09 Thread Colin King
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 variable is redundant and can be removed. Cleans up clang warnings: dr

Re: WTF? Re: [PATCH] License cleanup: add SPDX GPL-2.0 license identifier to files with no license

2017-11-09 Thread Christoph Hellwig
On Thu, Nov 09, 2017 at 09:23:35AM +0100, Greg Kroah-Hartman wrote: > The documentation of this process is lagging the patches, as usually > happens, sorry about that. In cases like this the documentation is the most important part. Without documentation it is completely pointless. > > Thomas is

Re: [PATCH] slub: Fix sysfs duplicate filename creation when slub_debug=O

2017-11-09 Thread Miles Chen
On Wed, 2017-11-08 at 09:05 -0600, Christopher Lameter wrote: > On Wed, 8 Nov 2017, Miles Chen wrote: > > > > Ok then the aliasing failed for some reason. The creation of the unique id > > > and the alias detection needs to be in sync otherwise duplicate filenames > > > are created. What is the di

Re: [PATCH] mm: don't warn about allocations which stall for too long

2017-11-09 Thread Michal Hocko
[Please try to trim the context you are replying to] On Wed 08-11-17 11:30:23, peter enderborg wrote: [...] > What about the idea to keep the function, but instead of printing only do a > trace event. I am not sure. I would rather see a tracepoint to mark the allocator entry. This would allow bo

Re: [PATCH net-next 2/6] net: dsa: return after mdb prepare phase

2017-11-09 Thread Egil Hjelmeland
On 08. nov. 2017 18:19, Vivien Didelot wrote: The current code does not return after successfully preparing the MDB addition on every ports member of a multicast group. Fix this. Fixes: a1a6b7ea7f2d ("net: dsa: add cross-chip multicast support") Reported-by: Egil Hjelmeland Signed-off-by: Vivie

[PATCH] extcon: max77693: Delete an unnecessary variable initialisation in max77693_muic_set_path()

2017-11-09 Thread SF Markus Elfring
From: Markus Elfring Date: Thu, 9 Nov 2017 09:40:59 +0100 The variable "ret" will be set to an appropriate value a bit later. Thus omit the explicit initialisation at the beginning. Signed-off-by: Markus Elfring --- drivers/extcon/extcon-max77693.c | 2 +- 1 file changed, 1 insertion(+), 1 del

Re: [PATCH V2] Xen/pciback: Implement PCI slot or bus reset with 'do_flr' SysFS attribute

2017-11-09 Thread Jan Beulich
>>> On 09.11.17 at 00:06, wrote: > --- a/drivers/xen/xen-pciback/pci_stub.c > +++ b/drivers/xen/xen-pciback/pci_stub.c > @@ -244,6 +244,91 @@ struct pci_dev *pcistub_get_pci_dev(struct > xen_pcibk_device *pdev, > return found_dev; > } > > +struct pcistub_args { > + struct pci_dev *de

Re: [PATCH] ARM: dts: add phy-reset property for rk3066a-rayeager emac

2017-11-09 Thread Roger Quadros
On 09/11/17 10:28, Roger Quadros wrote: > On 08/11/17 11:49, Chris Zhong wrote: >> Hi Florian Fainelli >> >> >> On 2017年11月08日 02:26, Florian Fainelli wrote: >>> On 11/07/2017 01:51 AM, Chris Zhong wrote: On 2017年11月07日 15:54, Vladimir Zapolskiy wrote: > Hello Chris, > > On 11

Re: [PATCH] net: sfc: remove redundant variable start

2017-11-09 Thread Bert Kenward
On 09/11/17 08:01, Colin King wrote: > From: Colin Ian King > > Variable start is assigned but never read hence it is redundant > and can be removed. Cleans up clang warning: > > drivers/net/ethernet/sfc/ptp.c:655:2: warning: Value stored to 'start' > is never read > > Signed-off-by: Colin Ian

Re: [General protection fault] in bio_integrity_advance

2017-11-09 Thread Yu Chen
On Tue, Nov 7, 2017 at 4:38 PM, Yu Chen wrote: > Hi all, > We are using 4.13.5-100.fc25.x86_64 and a panic was found during > resume from hibernation, the backtrace is illustrated as below, would > someone please take a look if this has already been fixed or is this issue > still > in the upstrea

Re: [PATCH v2 2/2] sparc: pass endianness info to sparse

2017-11-09 Thread Christoph Hellwig
On Thu, Nov 09, 2017 at 07:16:52AM +0100, Luc Van Oostenryck wrote: > sparc is big-endian only but sparse assumes the same endianness > as the building machine. > This is problematic for code which expect __BYTE_ORDER__ being > correctly predefined by the compiler which sparse can then > pre-proces

Re: linux-next: manual merge of the staging tree with the vfs tree

2017-11-09 Thread Greg KH
On Thu, Nov 09, 2017 at 03:01:26PM +1100, Stephen Rothwell wrote: > Hi Greg, > > Today's linux-next merge of the staging tree got a conflict in: > > drivers/staging/pi433/pi433_if.c > > between commit: > > f81f0b5c9a30 ("pi433: sanitize ioctl") > > from the vfs tree and commit: > > 69af

Re: [PATCH 1/1] ALSA: usb: initial USB Audio Device Class 3.0 support

2017-11-09 Thread Greg Kroah-Hartman
On Thu, Nov 09, 2017 at 09:16:52AM +0100, Takashi Iwai wrote: > On Thu, 09 Nov 2017 09:04:58 +0100, > Greg Kroah-Hartman wrote: > > > > On Wed, Nov 08, 2017 at 03:38:35PM +0100, Takashi Iwai wrote: > > > On Tue, 07 Nov 2017 03:01:20 +0100, > > > Ruslan Bilovol wrote: > > > > > > > > Recently rele

[PATCH v2 1/2] ARM: sun8i: a83t: add dwmac-sun8i device node

2017-11-09 Thread Corentin Labbe
The dwmac-sun8i is an ethernet MAC hardware that support 10/100/1000 speed. This patch add support for it on the Allwinner a83t SoC Device-tree. This patch add the emac device node and the related RGMII pins node. Signed-off-by: Corentin Labbe Reviewed-by: Chen-Yu Tsai --- arch/arm/boot/dts/su

[PATCH v2 0/2] Add dwmac-sun8i on A83T DT

2017-11-09 Thread Corentin Labbe
Hello This patch series add some device node for dwmac-sun8i on A83T. Changes since v1: - reworked commit log of patch #1 - added comment on drive strength Corentin Labbe (2): ARM: sun8i: a83t: add dwmac-sun8i device node ARM: sun8i: bananapi-m3: Enable dwmac-sun8i arch/arm/boot/dts/sun8i-

[PATCH 13/13] scsi: arcmsr: update driver version to v1.40.00.02-20171011

2017-11-09 Thread Ching Huang
From: Ching Huang update driver version to v1.40.00.02-20171011 Signed-off-by: Ching Huang --- diff -uprN a/drivers/scsi/arcmsr/arcmsr.h b/drivers/scsi/arcmsr/arcmsr.h --- a/drivers/scsi/arcmsr/arcmsr.h 2017-11-07 17:29:10.0 +0800 +++ b/drivers/scsi/arcmsr/arcmsr.h 2017-11-07

Re: [PATCH] ARM: dts: add phy-reset property for rk3066a-rayeager emac

2017-11-09 Thread Roger Quadros
On 08/11/17 11:49, Chris Zhong wrote: > Hi Florian Fainelli > > > On 2017年11月08日 02:26, Florian Fainelli wrote: >> On 11/07/2017 01:51 AM, Chris Zhong wrote: >>> >>> On 2017年11月07日 15:54, Vladimir Zapolskiy wrote: Hello Chris, On 11/07/2017 04:49 AM, Chris Zhong wrote: > The et

[PATCH v2 2/2] ARM: sun8i: bananapi-m3: Enable dwmac-sun8i

2017-11-09 Thread Corentin Labbe
The dwmac-sun8i hardware is present on the bananapi m3 It uses an external PHY rtl8211e via RGMII. This patch create the needed emac and phy nodes. Signed-off-by: Corentin Labbe --- arch/arm/boot/dts/sun8i-a83t-bananapi-m3.dts | 18 ++ 1 file changed, 18 insertions(+) diff --gi

Re: [PATCH] dell-smbios: fix string overflow

2017-11-09 Thread Pali Rohár
On Wednesday 08 November 2017 13:08:39 Arnd Bergmann wrote: > The new sysfs code overwrites two fixed-length character arrays > that are each one byte shorter than they need to be, to hold > the trailing \0: > > drivers/platform/x86/dell-smbios.c: In function 'build_tokens_sysfs': > drivers/platfo

[PATCH v4 3/3] dt-bindings: timer: Add andestech atcpit100 timer binding doc

2017-11-09 Thread Rick Chen
Add a document to describe Andestech atcpit100 timer and binding information. Signed-off-by: Rick Chen Acked-by: Rob Herring Signed-off-by: Greentime Hu --- .../bindings/timer/andestech,atcpit100-timer.txt | 33 ++ 1 file changed, 33 insertions(+) create mode 100644 Doc

[PATCH 12/13] scsi: arcmsr: adjust some tab or white-space to make text alignment

2017-11-09 Thread Ching Huang
From: Ching Huang adjust some tab or white-space to make text alignment Signed-off-by: Ching Huang --- diff -uprN a/drivers/scsi/arcmsr/arcmsr.h b/drivers/scsi/arcmsr/arcmsr.h --- a/drivers/scsi/arcmsr/arcmsr.h 2017-11-07 16:18:22.0 +0800 +++ b/drivers/scsi/arcmsr/arcmsr.h 20

[PATCH v4 1/3] clocksource/drivers/atcpit100: Add andestech atcpit100 timer

2017-11-09 Thread Rick Chen
ATCPIT100 is often used on the Andes architecture, This timer provide 4 PIT channels. Each PIT channel is a multi-function timer, can be configured as 32,16,8 bit timers or PWM as well. For system timer it will set channel 1 32-bit timer0 as clock source and count downwards until underflow and res

[PATCH v4 2/3] clocksource/drivers/Kconfig: Support andestech atcpit100 timer

2017-11-09 Thread Rick Chen
Add CLKSRC_ATCPIT100 for Andestech atcpit100 timer selection. It often be used in Andestech AE3XX platform. Signed-off-by: Rick Chen Signed-off-by: Greentime Hu --- drivers/clocksource/Kconfig | 6 ++ drivers/clocksource/Makefile | 1 + 2 files changed, 7 insertions(+) diff --git a/driver

[PATCH v4 0/3] Add andestech atcpit100 timer

2017-11-09 Thread Rick Chen
Changelog v4: - Patch 1/3: Changes - Patch 2/3: No changes - Patch 3/3: Changes Patch 1/3 1 Pre-compute some definetions 2 Remove PWM relative 3 Refine coding style 4 Wrap some calls into functions 4 Use timer-of API 5 Correct commit content use channel1 timer0 as clock source

Re: [PATCH v2] s390/virtio: mark headers as BSD licensed

2017-11-09 Thread Christian Borntraeger
On 11/08/2017 08:58 PM, Michael S. Tsirkin wrote: > On Wed, Nov 08, 2017 at 08:39:11PM +0100, Christian Borntraeger wrote: >> >> >> On 11/08/2017 08:35 PM, Michael S. Tsirkin wrote: >>> On Wed, Nov 08, 2017 at 07:57:28PM +0100, Christian Borntraeger wrote: So what about the following >>

Re: [Xen-devel] [PATCH] Xen/pciback: Implement PCI slot or bus reset with 'do_flr' SysFS attribute

2017-11-09 Thread Jan Beulich
>>> On 08.11.17 at 16:44, wrote: > On 11/7/2017 8:40 AM, Jan Beulich wrote: > On 06.11.17 at 18:48, wrote: >>> --- a/Documentation/ABI/testing/sysfs-driver-pciback >>> +++ b/Documentation/ABI/testing/sysfs-driver-pciback >>> @@ -11,3 +11,15 @@ Description: >>> #echo 00:19.0-

Re: [PATCH libdrm 0/6] drm-next header syncing

2017-11-09 Thread Daniel Vetter
On Wed, Nov 08, 2017 at 11:34:41AM -0800, Eric Anholt wrote: > I wanted to update the vc4 header so that I could land some igt > testcases (though I'd much rather just be importing the header into > igt and ditching libdrm). In the process, I cleaned up some other > header deltas to the kernel so

Re: [PATCH v2] IB/ocrdma_hw: remove unnecessary code in ocrdma_mbx_dealloc_lkey

2017-11-09 Thread Leon Romanovsky
On Wed, Nov 08, 2017 at 02:16:25PM -0600, Gustavo A. R. Silva wrote: > > Quoting Leon Romanovsky : > > > On Tue, Nov 07, 2017 at 08:56:37AM -0600, Gustavo A. R. Silva wrote: > > > > > > Quoting Leon Romanovsky : > > > > > > > On Tue, Nov 07, 2017 at 08:45:17AM -0600, Gustavo A. R. Silva wrote: > >

[PATCH 11/13] scsi: arcmsr: spin off duplicate code of timer init for message isr BH in arcmsr_probe and arcmsr_resume as a function

2017-11-09 Thread Ching Huang
From: Ching Huang spin off duplicate code of timer init for message isr BH in arcmsr_probe and arcmsr_resume as a function arcmsr_init_get_devmap_timer Signed-off-by: Ching Huang --- diff -uprN a/drivers/scsi/arcmsr/arcmsr_hba.c b/drivers/scsi/arcmsr/arcmsr_hba.c --- a/drivers/scsi/arcmsr/arc

Re: [PATCH net] net: hns3: Updates MSI/MSI-X alloc/free APIs(depricated) to new APIs

2017-11-09 Thread Yuval Shaia
On Wed, Nov 08, 2017 at 11:56:06AM +, Salil Mehta wrote: > This patch migrates the HNS3 driver code from use of depricated PCI > MSI/MSI-X interrupt vector allocation/free APIs to new common APIs. > > Signed-off-by: Salil Mehta > Suggested-by: Christoph Hellwig > --- > .../ethernet/hisilico

Re: [PATCH] ARM: dts: add phy-reset property for rk3066a-rayeager emac

2017-11-09 Thread Roger Quadros
Hi, On 07/11/17 09:54, Vladimir Zapolskiy wrote: > Hello Chris, > > On 11/07/2017 04:49 AM, Chris Zhong wrote: >> The ethernet phy of rk3066a-rayeager has a reset pin, it controlled by >> GPIO1_D6, this pin should be pull down then pull up to reset the phy. >> Add a phy-reset property in emac, ma

[PATCH 10/13] scsi: arcmsr: fix clear doorbell queue on ACB_ADAPTER_TYPE_B controller

2017-11-09 Thread Ching Huang
From: Ching Huang fix clear doorbell queue on ACB_ADAPTER_TYPE_B controller Signed-off-by: Ching Huang --- diff -uprN a/drivers/scsi/arcmsr/arcmsr_hba.c b/drivers/scsi/arcmsr/arcmsr_hba.c --- a/drivers/scsi/arcmsr/arcmsr_hba.c 2017-11-08 18:54:18.0 +0800 +++ b/drivers/scsi/arcmsr/arcm

Re: [PATCH] HID: sony: Fix SHANWAN pad rumbling on USB

2017-11-09 Thread Szymon Janc
Hi, On Tuesday, 7 November 2017 15:24:47 CET Bastien Nocera wrote: > The SHANWAN PS3 clone joypad will start its rumble motors as soon as > it is plugged in via USB. As the additional USB interrupt does nothing on > the original PS3 Sixaxis joypads, and makes a number of other > clone joypads actu

Re: [RFC PATHC 1/2] f2fs: apply write hints to select the type of segments for buffered write

2017-11-09 Thread Chao Yu
On 2017/11/9 13:51, Hyunchul Lee wrote: > From: Hyunchul Lee > > Write hints helps F2FS to determine which type of segments would be > selected for buffered write. > > This patch implements the mapping from write hints to segment types > as shown below. > > hints segment type >

Re: WTF? Re: [PATCH] License cleanup: add SPDX GPL-2.0 license identifier to files with no license

2017-11-09 Thread Greg Kroah-Hartman
On Wed, Nov 08, 2017 at 07:11:21AM -0800, Christoph Hellwig wrote: > On Wed, Nov 08, 2017 at 01:35:46PM +0100, Philippe Ombredanne wrote: > > The benefits now and later: > > - no distraction with licensing boilerplate cr*p in patches and files > > - no guessing licensing needed when sending a patch

[PATCH 9/13] scsi: arcmsr: add a function arcmsr_set_iop_datetime and driver option set_date_time to set date and time to firmware

2017-11-09 Thread Ching Huang
From: Ching Huang add a function arcmsr_set_iop_datetime and driver option set_date_time to set date and time to firmware Signed-off-by: Ching Huang --- diff -uprN a/drivers/scsi/arcmsr/arcmsr.h b/drivers/scsi/arcmsr/arcmsr.h --- a/drivers/scsi/arcmsr/arcmsr.h 2017-08-04 18:39:18.000

Re: [PATCH v2 2/4] kaslr: select the memory region in immovable node to process

2017-11-09 Thread Baoquan He
Hi Chao, On 11/01/17 at 07:32pm, Chao Fan wrote: > Compare the region of memmap entry and immovable_mem, then choose the > intersection to process_mem_region. > > Since the interrelationship between e820 or efi entries and memory > region in immovable_mem is different: Could you paste a bootlog

Re: [PATCH] drm/i915/intel_sdvo: mark expected switch fall-throughs

2017-11-09 Thread Jani Nikula
On Wed, 08 Nov 2017, "Gustavo A. R. Silva" wrote: > In preparation to enabling -Wimplicit-fallthrough, mark switch cases > where we are expecting to fall through. > > Addresses-Coverity-ID: 141432 > Addresses-Coverity-ID: 141433 > Addresses-Coverity-ID: 141434 > Addresses-Coverity-ID: 141435 > Add

Re: [PATCH V3 09/11] clk: sprd: add clocks support for SC9860

2017-11-09 Thread Chunyan Zhang
Hi Rob and Stephen, On 7 November 2017 at 05:43, Rob Herring wrote: > On Thu, Nov 02, 2017 at 02:56:24PM +0800, Chunyan Zhang wrote: >> This patch added the list of clocks for Spreadtrum's SC9860 SoC, >> together with clock initialization code. >> >> Signed-off-by: Chunyan Zhang >> --- >> drive

[PATCH 8/13] scsi: arcmsr: add ACB_F_MSG_GET_CONFIG to acb->acb_flags for for message interrupt checking before schedule work for get device map

2017-11-09 Thread Ching Huang
From: Ching Huang add ACB_F_MSG_GET_CONFIG to acb->acb_flags for for message interrupt checking before schedule work for get device map Signed-off-by: Ching Huang --- diff -uprN a/drivers/scsi/arcmsr/arcmsr.h b/drivers/scsi/arcmsr/arcmsr.h --- a/drivers/scsi/arcmsr/arcmsr.h 2017-08-04 18

Re: WTF? Re: [PATCH] License cleanup: add SPDX GPL-2.0 license identifier to files with no license

2017-11-09 Thread Greg Kroah-Hartman
On Wed, Nov 08, 2017 at 10:46:15AM -0800, Darrick J. Wong wrote: > Had anyone involved us, I would have suggested fixing the whole XFS tree > to use the shortened tag instead of each file containing its own > mutations of the GPL, and our broader XFS community could have worked > with you on this.

Re: [PATCH] arm64: dts: hi3660: improve pmu description

2017-11-09 Thread YiPing Xu
On 2017/11/8 23:55, Rob Herring wrote: On Wed, Nov 8, 2017 at 2:59 AM, Xu YiPing wrote: cortex a73 pmu is supported, use it instead of armpmu-v3 The subject is misleading and you need a better commit message. Why is this change needed? You are going from 1 to 2 devices. Missing your S-o-B,

<    5   6   7   8   9   10   11   >