Re: [PATCH v3 0/6] Updated API for TPM 2.0 PCR extend

2017-06-25 Thread Roberto Sassu
On 6/24/2017 11:03 AM, Jarkko Sakkinen wrote: On Wed, Jun 21, 2017 at 04:29:35PM +0200, Roberto Sassu wrote: The first version of the patch set can be retrieved at the URL: https://sourceforge.net/p/tpmdd/mailman/message/35756302/ The patches should be applied on top of the next branch of linu

linux-next: Tree for Jun 26

2017-06-25 Thread Stephen Rothwell
Hi all, Changes since 20170623: Tree changed owner/URL: chrome-platform The pci tree gained a conflict against Linus' tree. The i2c tree gained a build failure so I used the version from next-20170623. The jc_docs tree gained a conflict against the kbuild tree. The block tree gained conflicts

linux-next: build failure after merge of the akpm tree

2017-06-25 Thread Stephen Rothwell
Hi Andrew, After merging the akpm tree, today's linux-next build (sparc64 defconfig) failed like this: arch/sparc/kernel/mdesc.c: In function 'mdesc_kmalloc': arch/sparc/kernel/mdesc.c:208:48: error: '__GFP_REPEAT' undeclared (first use in this function) base = kmalloc(handle_size + 15, GFP_KE

[PATCH v1 7/9] zram: write incompressible pages to backing device

2017-06-25 Thread Minchan Kim
This patch enables write IO to transfer data to backing device. For that, it implements write_to_bdev function which creates new bio and chaining with parent bio to make the parent bio asynchrnous. For rw_page which don't have parent bio, it submit owned bio and handle IO completion by zram_page_en

[PATCH v1 3/9] zram: rename zram_decompress_page with __zram_bvec_read

2017-06-25 Thread Minchan Kim
zram_decompress_page naming is not proper because it doesn't decompress if page was dedup hit or stored with compression. Use more abstract term and consistent with write path function __zram_bvec_write. Signed-off-by: Minchan Kim --- drivers/block/zram/zram_drv.c | 6 +++--- 1 file changed, 3

[PATCH v1 2/9] zram: inlining zram_compress

2017-06-25 Thread Minchan Kim
zram_compress does several things, compress, entry alloc and check limitation. I did for just readbility but it hurts modulization.:( So this patch removes zram_compress functions and inline it in __zram_bvec_write for upcoming patches. Signed-off-by: Minchan Kim --- drivers/block/zram/zram_drv.

[PATCH v1 4/9] zram: add interface to specify backing device

2017-06-25 Thread Minchan Kim
For writeback feature, user should set up backing device before the zram working. This patch enables the interface via /sys/block/zramX/backing_dev. Currently, it supports block device only but it could be enhanced for file as well. Signed-off-by: Minchan Kim --- drivers/block/zram/zram_drv.c |

[PATCH v1 6/9] zram: identify asynchronous IO's return value

2017-06-25 Thread Minchan Kim
For upcoming asynchronous IO like writeback, zram_rw_page should be aware of that whether requested IO was completed or submitted successfully, otherwise error. For the goal, zram_bvec_rw has three return values. -errno: returns error number 0: IO request is done synchronously 1: IO req

[PATCH v1 9/9] zram: add config and doc file for writeback feature

2017-06-25 Thread Minchan Kim
This patch adds document and kconfig for using of writeback feature. Signed-off-by: Minchan Kim --- Documentation/ABI/testing/sysfs-block-zram | 8 Documentation/blockdev/zram.txt| 11 +++ drivers/block/zram/Kconfig | 12 3 files changed

[PATCH v1 0/7] writeback incompressible pages to storage

2017-06-25 Thread Minchan Kim
zRam is useful for memory saving with compressible pages but sometime, workload can be changed and system has lots of incompressible pages which is very harmful for zram. This patch supports writeback feature of zram so admin can set up a block device and with it, zram can save the memory via writ

[PATCH v1 5/9] zram: add free space management in backing device

2017-06-25 Thread Minchan Kim
With backing device, zram needs management of free space of backing device. This patch adds bitmap logic to manage free space which is very naive. However, it would be simple enough as considering uncompressible pages's frequenty in zram. Signed-off-by: Minchan Kim --- drivers/block/zram/zram_dr

[PATCH v1 1/9] zram: clean up duplicated codes in __zram_bvec_write

2017-06-25 Thread Minchan Kim
__zram_bvec_write has some of duplicated logic for zram meta data handling of same_page|compressed_page. This patch aims to clean it up without behavior change. Link: http://lkml.kernel.org/r/1496019048-27016-1-git-send-email-minc...@kernel.org Signed-off-by: Minchan Kim Reviewed-by: Sergey Sen

[PATCH v1 8/9] zram: read page from backing device

2017-06-25 Thread Minchan Kim
This patch enables read IO from backing device. For the feature, it implements two IO read functions to transfer data from backing storage. One is asynchronous IO function and other is synchronous one. A reason I need synchrnous IO is due to partial write which need to complete read IO before the

Re: [PATCH v2] ktime: Simplify ktime_compare implementation

2017-06-25 Thread Thierry Reding
On Fri, May 26, 2017 at 03:00:47PM +0200, Mariusz Skamra wrote: > ktime_sub can be used here instread of two conditional checks. > > Signed-off-by: Mariusz Skamra > Acked-by: Kuppuswamy Sathyanarayanan > --- > include/linux/ktime.h | 6 +- > 1 file changed, 1 insertion(+), 5 deletions(-) >

Re: [RFC PATCH 1/2] crypto: caam - properly set IV after {en,de}crypt

2017-06-25 Thread Herbert Xu
On Mon, Jun 26, 2017 at 07:40:58AM +0200, David Gstir wrote: > > So, am I correct in assuming that it is required for all modes including AEAD > modes like GCM? > In that case I'll include a fix for the CAAM GCM mode too. It's only required for skcihper. As we do not do chunking/streaming with o

Re: [PATCH] MIPS: perf: fix build failure

2017-06-25 Thread Marcin Nowakowski
Hi Sudip, This patch fixes the build error, but leaves the I6500 handling incorrect. I had explained to Ralf how the build should be fixed a while ago so hopefully he will fix it up in his -next branch (dd71e57bacb5 should have been applied on top of f7a31b5e7874, but in Ralf's tree f7a31b5e78

Re: [Intel-gfx] [PATCH v9 5/7] vfio: Define vfio based dma-buf operations

2017-06-25 Thread Gerd Hoffmann
Hi, > > With the generation we can also do something different:  Pass in > > plane_type and > > generation, and have VFIO_DEVICE_GET_DMABUF_FD return an error in > > case > > the generation doesn't match.  In that case it doesn't make much > > sense any > > more to have a separate plane_info str

BUG: unable to handle kernel NULL pointer dereference at 0000000000000038 !//RE: kernel BUG at kernel/locking/rtmutex.c:1027

2017-06-25 Thread Feng Feng24 Liu
Hi, dear RT experts Thanks a lot! I update our kernel to 4.4.70-rt83 as your suggestion. The incorrect deadlock detection problem has been fixed in this version. But I found there is another BUG in 4.4.70-rt83, which can cause the system hang-up The BUG i

Re: [PATCH 08/10] x86/hyper-v: use hypercall for remote TLB flush

2017-06-25 Thread kbuild test robot
Hi Vitaly, [auto build test ERROR on next-20170619] [cannot apply to tip/x86/core linus/master linux/master v4.12-rc6 v4.12-rc5 v4.12-rc4 v4.12-rc7] [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/commi

Re: [PATCH] staging: sm750fb: always take the lock

2017-06-25 Thread Frans Klaver
There's no version number. Which one is the correct one? On Mon, Jun 26, 2017 at 7:45 AM, AbdAllah-MEZITI wrote: > This patch > - will always take the lock > - fix the sparse warning: > drivers/staging/sm750fb/sm750.c:159:13: warning: context imbalance in > 'lynxfb_ops_fillrect' - different lock

linux-next: build warning after merge of the akpm tree

2017-06-25 Thread Stephen Rothwell
Hi Andrew, After merging the akpm tree, today's linux-next build (x86_64 allmodconfig) produced this warning: mm/memory_hotplug.c: In function 'move_pfn_range_to_zone': mm/memory_hotplug.c:891:16: warning: unused variable 'i' [-Wunused-variable] unsigned long i; ^ Introduced by

A udev rule to serve the change event of ACPI container?

2017-06-25 Thread joeyli
Hi all, If ACPI received ejection request for a ACPI container, kernel emits KOBJ_CHANGE uevent when it found online children devices below the acpi container. Base on the description of caa73ea15 kernel patch, user space is expected to offline all devices below the container and the container it

Re: [PATCH] staging: sm750fb: always take the lock

2017-06-25 Thread Frans Klaver
On Sun, Jun 25, 2017 at 11:39 PM, AbdAllah-MEZITI wrote: > Subject: [PATCH] staging: sm750fb: always take the lock When sending a new version of your patch, include a version number: Subject: [PATCH V2] staging: ... Frans

Re: [PATCH v6 0/7] perf report: Show branch type

2017-06-25 Thread Jin, Yao
Hi maintainers, Is this patch series OK or anything I should update? Thanks Jin Yao On 6/2/2017 4:02 PM, Jin, Yao wrote: Hi maintainers, Is this patch series (v6) OK for merging? Thanks Jin Yao On 4/20/2017 5:36 PM, Jiri Olsa wrote: On Thu, Apr 20, 2017 at 08:07:48PM +0800, Jin Yao wro

Re: [PATCH v3] genirq: Check irq disabled & masked states in irq_shutdown

2017-06-25 Thread jeffy
Hi Thomas Gleixner, On 05/31/2017 07:02 AM, Thomas Gleixner wrote: On Mon, 29 May 2017, jeffy.chen wrote: i think if we want to make all irq enable/disable balance, maybe we can: 1/ only call irq_enable/disable from enable/disable_irq(change other irq_enable/disable to enable/disable_irq), so

v4.12-rc6: kernel hang during booting

2017-06-25 Thread Ming Lei
Hi Guys, I just found that sometimes v4.12-rc6 kernel hang happens during booting, please see the following stack trace: [ OK ] Listening on LVM2 poll daemon socket. INFO: rcu_preempt detected stalls on CPUs/tasks: 0-...: (0 ticks this GP) idle=732/140/0 softirq=1182/1186 fqs=80

Re: [PATCH v11 3/4] i2c: aspeed: added driver for Aspeed I2C

2017-06-25 Thread Joel Stanley
On Sat, Jun 24, 2017 at 4:13 AM, Wolfram Sang wrote: > On Tue, Jun 20, 2017 at 02:15:15PM -0700, Brendan Higgins wrote: >> Added initial master support for Aspeed I2C controller. Supports >> fourteen busses present in AST24XX and AST25XX BMC SoCs by Aspeed. >> >> Signed-off-by: Brendan Higgins >

Re: [Intel-gfx] [PATCH v9 5/7] vfio: Define vfio based dma-buf operations

2017-06-25 Thread Gerd Hoffmann
Hi, > > So maybe a "enum plane_state" (instead of "bool is_enabled")?  So > > we > > can clearly disturgish ENABLED, DISABLED, NOT_SUPPORTED cases? > > What's the difference between NOT_SUPPORTED and -ENOTTY on the ioctl? > Perhaps a bit in a flags field could specify EN/DIS-ABLED and leave > r

[PATCH v2 2/3] iio: adc: mt7622: add support for suspend/resume.

2017-06-25 Thread Zhiyong Tao
This patch supports auxadc suspend/resume flow. Disable auxadc clk and power in suspend function. Enable axuadc clk and power in resume function. Signed-off-by: Zhiyong Tao --- drivers/iio/adc/mt6577_auxadc.c | 38 ++ 1 file changed, 38 insertions(+) diff -

[RFC PATCH] genirq: Avoid unnecessary low level irq function calls

2017-06-25 Thread Jeffy Chen
Check irq state in enable/disable/unmask/mask_irq to avoid unnecessary low level irq function calls. Suggested-by: Thomas Gleixner Signed-off-by: Jeffy Chen --- kernel/irq/chip.c | 55 +++ 1 file changed, 35 insertions(+), 20 deletions(-) di

[PATCH v2 3/3] iio: adc: mt7622: Add compatible node for mt7622.

2017-06-25 Thread Zhiyong Tao
This commit adds mt7622 compatible node. Signed-off-by: Zhiyong Tao --- drivers/iio/adc/mt6577_auxadc.c |1 + 1 file changed, 1 insertion(+) diff --git a/drivers/iio/adc/mt6577_auxadc.c b/drivers/iio/adc/mt6577_auxadc.c index c174b73..4224fc0 100644 --- a/drivers/iio/adc/mt6577_auxadc.c +++

[PATCH v2 0/3] ADC: Mediatek auxadc driver for mt7622

2017-06-25 Thread Zhiyong Tao
This series includes three patches: 1.Add mt7622 compatible node in binding document. 2.Add support for suspend/resume. 3.Add mt7622 compatible node in auxadc driver. Changes in patch v2: 1).Change compatible node as numeric order perhaps. 2).Add "CONFIG_PM_SLEEP" and "__maybe_unused" for suspend/

[PATCH v2 1/3] dt-bindings: adc: mt7622: add binding document

2017-06-25 Thread Zhiyong Tao
The commit adds mt7622 compatible node in binding document. Signed-off-by: Zhiyong Tao --- .../devicetree/bindings/iio/adc/mt6577_auxadc.txt |1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/iio/adc/mt6577_auxadc.txt b/Documentation/devicetree/bindings/ii

[PATCH net-next] netfilter: conntrack: add a new NF_CT_EXT_EXPAND extension

2017-06-25 Thread Lin Zhang
In the current conntrack extend code, if we want to add a new extension, we must be add a new extension id and recompile kernel. I think that is not be convenient for users, so i add a new extension named NF_CT_EXT_EXPAND for supporting dynamic register/unregister expansion in runtime that means

Re: omap3isp camera was Re: [PATCH v1 0/6] Add support of OV9655 camera

2017-06-25 Thread H. Nikolaus Schaller
Hi Pavel, > Am 25.06.2017 um 11:18 schrieb Pavel Machek : > > Hi! > >> * unfortunately we still get no image :( >> >> The latter is likely a setup issue of our camera interface (OMAP3 ISP = >> Image Signal Processor) which >> we were not yet able to solve. Oscilloscoping signals on the interfa

Re: [PATCH v1 6/6] [media] ov9650: add support of OV9655 variant

2017-06-25 Thread H. Nikolaus Schaller
> Am 22.06.2017 um 17:05 schrieb Hugues Fruchet : > > Add a first support of OV9655 variant. > Because of register set slightly different from OV9650/9652, > not all of the driver features are supported (controls). > Supported resolutions are limited to VGA, QVGA, QQVGA. > Supported format is lim

Re: [PATCH v1 0/6] Add support of OV9655 camera

2017-06-25 Thread H. Nikolaus Schaller
Hi Hugues, > Am 23.06.2017 um 12:25 schrieb H. Nikolaus Schaller : > > Hi Hugues, > >> Am 22.06.2017 um 17:41 schrieb H. Nikolaus Schaller : >> >> >>> Am 22.06.2017 um 17:05 schrieb Hugues Fruchet : >>> >>> This patchset enables OV9655 camera support. >>> >>> OV9655 support has been tested u

Re: [PATCH v1 1/6] DT bindings: add bindings for ov965x camera module

2017-06-25 Thread H. Nikolaus Schaller
> Am 24.06.2017 um 00:24 schrieb Suman Anna : > > On 06/23/2017 01:59 PM, H. Nikolaus Schaller wrote: >> Hi Suman, >> >>> Am 23.06.2017 um 20:05 schrieb Suman Anna : >>> >> >> Or does it just mean that it defines the property name? > > Please read the documentation link I sent

Hello

2017-06-25 Thread Maria
Financial Donation to you. For details contact email: maria.c...@yandex.com

Re: [linux-sunxi] [PATCH v4 1/6] clk: sunxi-ng: div: Add support for fixed post-divider

2017-06-25 Thread Priit Laes
On Mon, Jun 26, 2017 at 08:05:16AM +1000, Jonathan Liu wrote: > Hi Priit, > > This is showing from clock rate of 171428572 in the output of "cat > /sys/kernel/debug/clk/clk_summary" for pll-periph-sata. > The clock rate should be 1 (100 MHz) when read from the hardware. This is what I see

[PATCH] staging: sm750fb: always take the lock

2017-06-25 Thread AbdAllah-MEZITI
This patch - will always take the lock - fix the sparse warning: drivers/staging/sm750fb/sm750.c:159:13: warning: context imbalance in 'lynxfb_ops_fillrect' - different lock contexts for basic block drivers/staging/sm750fb/sm750.c:231:9: warning: context imbalance in 'lynxfb_ops_copyarea' - diffe

Re: [RFC PATCH 1/2] crypto: caam - properly set IV after {en,de}crypt

2017-06-25 Thread David Gstir
Herbert, > On 20 Jun 2017, at 03:28, Herbert Xu wrote: > > On Mon, Jun 19, 2017 at 10:31:27AM +, Horia Geantă wrote: >> >> IIUC, IV update is required only in case of CBC. >> Since this callback is used also for CTR, we should avoid the copy: >> if ((ctx->cdata.algtype & OP_ALG_AAI_MASK) ==

[PATCH v4 2/3] tracing: Add support for display of tgid in trace output

2017-06-25 Thread Joel Fernandes
Earlier patches introduced ability to record the tgid using the 'record-tgid' option. Here we read the tgid and output it if the option is enabled. Cc: kernel-t...@android.com Cc: Steven Rostedt Cc: Ingo Molnar Tested-by: Michael Sartain Signed-off-by: Joel Fernandes --- kernel/trace/trace.c

[PATCH v4 1/3] tracing: Add support for recording tgid of tasks

2017-06-25 Thread Joel Fernandes
Inorder to support recording of tgid, the following changes are made: * Introduce a new API (tracing_record_taskinfo) to additionally record the tgid along with the task's comm at the same time. This has has the benefit of not setting trace_cmdline_save before all the information for a task is

[PATCH v4 3/3] tracing/ftrace: Add support to record and display tgid

2017-06-25 Thread Joel Fernandes
Make function tracer able to record tgid if/when record-tgid is enabled. Cc: kernel-t...@android.com Cc: Steven Rostedt Cc: Ingo Molnar Tested-by: Michael Sartain Signed-off-by: Joel Fernandes --- kernel/trace/trace_functions.c | 26 ++ 1 file changed, 26 insertions(+)

Re: [PATCH] pci: Add and use PCI_GENERIC_SETUP Kconfig entry

2017-06-25 Thread kbuild test robot
Hi Palmer, [auto build test WARNING on linus/master] [also build test WARNING on v4.12-rc6] [cannot apply to next-20170623] [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/Palmer-Dabbelt/pci-Add-

[PATCH v4 0/3] tracing: Add support for recording tgid of tasks

2017-06-25 Thread Joel Fernandes
Hi Steven, Following your comments in [1], I reworked the patches. I agree its much cleaner now. Please check them out and thanks. Android systrace viewer heavily depends on the tgid to group tasks. tgid is also useful for analyzing traces and generating analysis results for groups of tasks. Also

[PATCH] cpuidle: menu: allow state 0 to be disabled

2017-06-25 Thread Nicholas Piggin
The menu driver does not allow state0 to be disabled completely. If it is disabled but other enabled states don't meet latency requirements, it is still used. Fix this by starting with the first enabled idle state. Fall back to state 0 if no idle states are enabled (arguably this should be -EINVAL

Re: [PATCH 11/14] mm, memory_hotplug: do not associate hotadded memory to zones until online

2017-06-25 Thread Michal Hocko
On Sun 25-06-17 08:14:13, Wei Yang wrote: > On Mon, May 15, 2017 at 10:58:24AM +0200, Michal Hocko wrote: > >From: Michal Hocko > > > [...] > >+void move_pfn_range_to_zone(struct zone *zone, > >+unsigned long start_pfn, unsigned long nr_pages) > >+{ > >+struct pglist_data *pgdat =

[PATCH V5] powerpc/powernv : Add support for OPAL-OCC command/response interface

2017-06-25 Thread Shilpasri G Bhat
In P9, OCC (On-Chip-Controller) supports shared memory based commad-response interface. Within the shared memory there is an OPAL command buffer and OCC response buffer that can be used to send inband commands to OCC. This patch adds a platform driver to support the command/response interface betwe

Re: Linux 4.4.74

2017-06-25 Thread Greg KH
diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt index ca64ca566099..7c77d7edb851 100644 --- a/Documentation/kernel-parameters.txt +++ b/Documentation/kernel-parameters.txt @@ -3580,6 +3580,13 @@ bytes respectively. Such letter suffixes can also be entirely o

Linux 4.4.74

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

Re: Linux 3.18.58

2017-06-25 Thread Greg KH
diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt index b2bdea1953e6..9abe55280cf6 100644 --- a/Documentation/kernel-parameters.txt +++ b/Documentation/kernel-parameters.txt @@ -3324,6 +3324,13 @@ bytes respectively. Such letter suffixes can also be entirely o

Linux 3.18.58

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

Re: [PATCH 6/6] mm, migration: do not trigger OOM killer when migrating memory

2017-06-25 Thread Michal Hocko
On Fri 23-06-17 13:43:05, Andrew Morton wrote: > On Fri, 23 Jun 2017 10:53:45 +0200 Michal Hocko wrote: > > > From: Michal Hocko > > > > Page migration (for memory hotplug, soft_offline_page or mbind) needs > > to allocate a new memory. This can trigger an oom killer if the target > > memory is

Re: [PATCH V4] acpi: acpica: fix acpi parse and parseext cache leaks

2017-06-25 Thread Seunghun Han
Hello, Andy. Thank you for your reply. Patch V4 is the last patch which is applied all changes from original code. Due to maintainer's advice, Patch V1, V2, V3 have reverted and I made the latest patch, Patch V4. (the review is here, https://github.com/acpica/acpica/pull/278) Therefore, it seems

[GIT PULL] one last s390 patch for 4.12-rc8/4.12

2017-06-25 Thread Martin Schwidefsky
Hi Linus, please pull from the 'for-linus' branch of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git for-linus to receive the following updates: Revert the re-IPL semantics back to the v4.7 state. It turned out that the memory layout may change due to memory hotplug if load

Re: [PATCH 2/3] iio: adc: mt7622: add support for suspend/resume.

2017-06-25 Thread Jonathan Cameron
On 26 June 2017 04:54:52 CEST, zhiyong tao wrote: >On Sat, 2017-06-24 at 21:00 +0100, Jonathan Cameron wrote: >> On Thu, 22 Jun 2017 13:44:33 +0800 >> Zhiyong Tao wrote: >> >> > This patch supports auxadc suspend/resume flow. >> > Disable auxadc clk and power in suspend function. >> > Enable a

Re: [PATCH] staging: sm750fb: always take the lock

2017-06-25 Thread Greg Kroah-Hartman
On Sun, Jun 25, 2017 at 11:39:20PM +0200, AbdAllah-MEZITI wrote: > Signed-off-by: AbdAllah MEZITI I can't take patches without any changelog text, sorry. greg k-h

[PATCH] fs: jbd2: transaction: Add kernel-doc parameter descriptions

2017-06-25 Thread sayli karnik
Add function parameters in kernel-doc comments to fix warnings in the Sphinx build: transaction.c:511: warning: No description found for parameter 'type' transaction.c:511: warning: No description found for parameter 'line_no' Signed-off-by: sayli karnik --- fs/jbd2/transaction.c | 2 ++ 1 file

Re: [RFC v3 02/23] powerpc: introduce set_hidx_slot helper

2017-06-25 Thread Benjamin Herrenschmidt
On Mon, 2017-06-26 at 09:03 +1000, Balbir Singh wrote: > On Wed, 2017-06-21 at 18:39 -0700, Ram Pai wrote: > > Introduce set_hidx_slot() which sets the (H_PAGE_F_SECOND|H_PAGE_F_GIX) > > bits at the appropriate location in the PTE of 4K PTE. In the > > case of 64K PTE, it sets the bits in

Re: [PATCH v3 0/7] Isolate time_t data types for clock/timer syscalls

2017-06-25 Thread Al Viro
On Mon, Jun 26, 2017 at 03:35:25AM +0100, Al Viro wrote: > On Sat, Jun 24, 2017 at 11:45:01AM -0700, Deepa Dinamani wrote: > > The series aims at isolating data conversions of time_t based structures: > > struct timespec and struct itimerspec at user space boundaries. > > This helps to later change

Re: [PATCH net-next v2 5/5] net: add netlink_ext_ack argument to rtnl_link_ops.slave_validate

2017-06-25 Thread David Ahern
On 6/25/17 10:05 PM, David Ahern wrote: > On 6/25/17 3:56 PM, Matthias Schiffer wrote: >> Add support for extended error reporting. >> >> Signed-off-by: Matthias Schiffer >> --- > > Acked-by: David Ahern > And slave_validate is not used; it should be removed.

Re: [PATCH net-next v2 4/5] net: add netlink_ext_ack argument to rtnl_link_ops.slave_changelink

2017-06-25 Thread David Ahern
On 6/25/17 10:04 PM, David Ahern wrote: > On 6/25/17 3:56 PM, Matthias Schiffer wrote: >> Add support for extended error reporting. >> >> Signed-off-by: Matthias Schiffer >> --- > > > Acked-by: David Ahern > Actually, you are missing the chagne to br_port_slave_changelink.

Re: [PATCH net-next v2 5/5] net: add netlink_ext_ack argument to rtnl_link_ops.slave_validate

2017-06-25 Thread David Ahern
On 6/25/17 3:56 PM, Matthias Schiffer wrote: > Add support for extended error reporting. > > Signed-off-by: Matthias Schiffer > --- Acked-by: David Ahern

Re: [PATCH net-next v2 4/5] net: add netlink_ext_ack argument to rtnl_link_ops.slave_changelink

2017-06-25 Thread David Ahern
On 6/25/17 3:56 PM, Matthias Schiffer wrote: > Add support for extended error reporting. > > Signed-off-by: Matthias Schiffer > --- Acked-by: David Ahern

Re: [PATCH net-next v2 3/5] net: add netlink_ext_ack argument to rtnl_link_ops.validate

2017-06-25 Thread David Ahern
On 6/25/17 3:56 PM, Matthias Schiffer wrote: > Add support for extended error reporting. > > Signed-off-by: Matthias Schiffer > --- Acked-by: David Ahern

Re: [PATCH net-next v2 2/5] net: add netlink_ext_ack argument to rtnl_link_ops.changelink

2017-06-25 Thread David Ahern
On 6/25/17 3:56 PM, Matthias Schiffer wrote: > Add support for extended error reporting. > > Signed-off-by: Matthias Schiffer Acked-by: David Ahern

Re: [PATCH net-next v2 1/5] net: add netlink_ext_ack argument to rtnl_link_ops.newlink

2017-06-25 Thread David Ahern
On 6/25/17 3:55 PM, Matthias Schiffer wrote: > Add support for extended error reporting. > > Signed-off-by: Matthias Schiffer > --- Acked-by: David Ahern

[PATCH] mm/memory_hotplug: just build zonelist for new added node

2017-06-25 Thread Wei Yang
In commit (9adb62a5df9c0fbef7) "mm/hotplug: correctly setup fallback zonelists when creating new pgdat" tries to build the correct zonelist for a new added node, while it is not necessary to rebuild it for already exist nodes. In build_zonelists(), it will iterate on nodes with memory. For a new a

Re: [PATCH] kernel/power/suspend: use CONFIG_HAVE_SET_MEMORY for include condition

2017-06-25 Thread Balbir Singh
On Sat, Jun 3, 2017 at 11:27 PM, Pavel Machek wrote: > On Sat 2017-06-03 20:52:32, Balbir Singh wrote: >> Kbuild reported a build failure when CONFIG_STRICT_KERNEL_RWX was >> enabled on powerpc. We don't yet have ARCH_HAS_SET_MEMORY and ppc32 >> saw a build failure. >> >> fixes(50327dd kernel/powe

Re: [PATCH v2 4/4] arm64: dts: rockchip: use cs-gpios for cros_ec_spi

2017-06-25 Thread jeffy
Hi Doug, On 06/24/2017 12:14 AM, Doug Anderson wrote: Jeffy On Fri, Jun 23, 2017 at 5:18 AM, jeffy wrote: So how do we fix this? IMHO: Add 4 new pinctrl states in rk3399.dtsi: cs_low_clk_low, cs_low_clk_high, cs_high_clk_low, cs_high_clk_high These would each look something like this

Re: [PATCH v2 4/4] arm64: dts: rockchip: use cs-gpios for cros_ec_spi

2017-06-25 Thread jeffy
Hi Doug, On 06/24/2017 12:14 AM, Doug Anderson wrote: Jeffy On Fri, Jun 23, 2017 at 5:18 AM, jeffy wrote: So how do we fix this? IMHO: Add 4 new pinctrl states in rk3399.dtsi: cs_low_clk_low, cs_low_clk_high, cs_high_clk_low, cs_high_clk_high These would each look something like this

[PATCH] spi: rockchip: Keep master alive when CS asserted

2017-06-25 Thread Jeffy Chen
The cros_ec requires CS line to be active after last message. But the CS would be toggled when powering off/on rockchip spi, which breaks ec xfer. Keep spi alive after CS asserted to prevent that. Suggested-by: Doug Anderson Signed-off-by: Jeffy Chen --- drivers/spi/spi-rockchip.c | 22 +

RE: [PATCH 1/9] clk: clk-divider: add CLK_DIVIDER_ZERO_GATE clk support

2017-06-25 Thread A.s. Dong
Hi Stephen, > -Original Message- > From: Dong Aisheng [mailto:donga...@gmail.com] > Sent: Tuesday, June 20, 2017 5:08 PM > To: Stephen Boyd > Cc: A.s. Dong; linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; > linux-arm-ker...@lists.infradead.org; mturque...@baylibre.com; > shawn...@

bfq/ext4 disk IO hangs forever on resume

2017-06-25 Thread Alex Xu
Hi, I get hangs when resuming when using bfq-mq with ext4 on 4.12-rc6+ (currently a4fd8b3accf43d407472e34403d4b0a4df5c0e71). Steps to reproduce: 1. boot computer 2. systemctl suspend 3. wait few seconds 4. press power button 5. type "ls" into console or SSH or do anything that does disk IO Expec

Re: zram hot_add device busy

2017-06-25 Thread Sergey Senozhatsky
On (06/26/17 11:39), Sergey Senozhatsky wrote: [..] > ok... I don't think I see what we can do in zram about the > issue in question. ... check init_done() in reset_store() and avoid the whole ->bd_openers branch if the device is already reset? // not compile tested. just a sketch. // --- diff

Re: [PATCH] dmaengine: qcom_hidma: allow ACPI/DT parameters to be overridden

2017-06-25 Thread Vinod Koul
On Thu, Jun 22, 2017 at 02:59:22PM -0400, Sinan Kaya wrote: > Parameters like maximum read/write request size and the maximum > number of active transactions are currently configured in DT/ACPI. > > This patch allows a user to override these to fine tune performance > for their application. Appli

Re: [PATCH 2/3] iio: adc: mt7622: add support for suspend/resume.

2017-06-25 Thread zhiyong tao
On Sat, 2017-06-24 at 21:00 +0100, Jonathan Cameron wrote: > On Thu, 22 Jun 2017 13:44:33 +0800 > Zhiyong Tao wrote: > > > This patch supports auxadc suspend/resume flow. > > Disable auxadc clk and power in suspend function. > > Enable axuadc clk and power in resume function. > > > > Signed-off-

Re: [PATCH v2 1/2] dt-bindings: i2c: Add Spreadtrum I2C controller documentation

2017-06-25 Thread Baolin Wang
Hi Rob, On 五, 6月 23, 2017 at 05:20:16下午 -0500, Rob Herring wrote: > On Wed, Jun 21, 2017 at 03:23:03PM +0800, Baolin Wang wrote: > > This patch adds the binding documentation for Spreadtrum I2C > > controller device. > > > > Signed-off-by: Baolin Wang > > --- > > Changes since v1: > > - No upd

linux-next: manual merge of the block tree with Linus' tree

2017-06-25 Thread Stephen Rothwell
Hi Jens, Today's linux-next merge of the block tree got a conflict in: drivers/md/dm-raid1.c between commit: cd15fb64ee56 ("Revert "dm mirror: use all available legs on multiple failures"") from Linus' tree and commits: 9966afaf91b3 ("dm: fix REQ_RAHEAD handling") 1be569098458 ("dm:

Re: zram hot_add device busy

2017-06-25 Thread Sergey Senozhatsky
Hello, (Cc Andrew, Karel) On (06/24/17 11:08), Sami Kerola wrote: > Hello, > > While going through if there are new util-linux bugs reported I came a > cross this https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/1645846 > > Simple way to reproduce the issue is: > d=$(cat /sys/class/zra

Re: [PATCH v3 0/7] Isolate time_t data types for clock/timer syscalls

2017-06-25 Thread Al Viro
On Sat, Jun 24, 2017 at 11:45:01AM -0700, Deepa Dinamani wrote: > The series aims at isolating data conversions of time_t based structures: > struct timespec and struct itimerspec at user space boundaries. > This helps to later change the underlying types to handle y2038 changes > to these. Nice..

linux-next: manual merge of the block tree with Linus' tree

2017-06-25 Thread Stephen Rothwell
Hi Jens, Today's linux-next merge of the block tree got a conflict in: drivers/md/dm-io.c between commit: feb7695fe9fb ("dm io: fix duplicate bio completion due to missing ref count") from Linus' tree and commit: 4e4cbee93d56 ("block: switch bios to blk_status_t") from the block tree.

Re: zram hot_add device busy

2017-06-25 Thread Minchan Kim
Hello, On Sat, Jun 24, 2017 at 11:08:01AM +0100, Sami Kerola wrote: > Hello, > > While going through if there are new util-linux bugs reported I came a > cross this https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/1645846 > > Simple way to reproduce the issue is: > d=$(cat /sys/class/zr

Re: linux-next: build failure after merge of the i2c tree

2017-06-25 Thread Shawn Guo
Hi Stephen, On Mon, Jun 26, 2017 at 11:09:07AM +1000, Stephen Rothwell wrote: > Hi Wolfram, > > After merging the i2c tree, today's linux-next build (x86_64 allmodconfig) > failed like this: > > drivers/i2c/busses/i2c-zx2967.c: In function 'zx2967_i2c_writesb': > drivers/i2c/busses/i2c-zx2967.c:

[PATCH v2 04/22] fpga: mgr: add region_id to fpga_image_info

2017-06-25 Thread Wu Hao
This patch adds region_id to fpga_image_info data structure, it allows driver to pass region id information to fpga-mgr via fpga_image_info for fpga reconfiguration function. Signed-off-by: Wu Hao --- include/linux/fpga/fpga-mgr.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux

[PATCH v2 06/22] fpga: intel: add FPGA PCIe device driver

2017-06-25 Thread Wu Hao
From: Zhang Yi The Intel FPGA device appears as a PCIe device on the system. This patch implements the basic framework of the driver for Intel PCIe device which locates between CPU and Accelerated Function Units (AFUs). Signed-off-by: Tim Whisonant Signed-off-by: Enno Luebbers Signed-off-by: S

[PATCH v2 08/22] fpga: intel: pcie: add chardev support for feature devices

2017-06-25 Thread Wu Hao
From: Xiao Guangrong For feature devices drivers, both the FPGA Management Engine (FME) and Accelerated Function Unit (AFU) driver need to expose user interfaces via the device file, for example, mmap and ioctls. This patch adds chardev support in the pcie driver for feature devices, FME and AFU

[PATCH v2 07/22] fpga: intel: pcie: parse feature list and create platform device for features.

2017-06-25 Thread Wu Hao
From: Xiao Guangrong Device Feature List structure creates a link list of feature headers within the MMIO space to provide an extensible way of adding features. The Intel FPGA PCIe driver walks through the feature headers to enumerate feature devices, FPGA Management Engine (FME) and FPGA Port f

[PATCH v2 03/22] fpga: bridge: remove OF dependency for fpga-bridge

2017-06-25 Thread Wu Hao
This patch removes OF dependency of fpga-bridge, it allows drivers to use fpga-bridge class without device tree support. Signed-off-by: Wu Hao --- drivers/fpga/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/fpga/Kconfig b/drivers/fpga/Kconfig index ed600d5..c1d8f41 100644 ---

[PATCH v2 10/22] fpga: intel: add feature device infrastructure

2017-06-25 Thread Wu Hao
From: Xiao Guangrong This patch abstracts the common operations of the sub features, and defines the feature_ops data structure, including init, uinit and ioctl function pointers. And this patch adds some common helper functions for FME and AFU drivers, e.g feature_dev_use_begin/end which are use

[PATCH v2 15/22] fpga: intel: add fpga manager platform driver for FME

2017-06-25 Thread Wu Hao
This patch adds fpga manager driver for Intel FPGA Management Engine(FME). It implements fpga_manager_ops for FPGA Partial Reconfiguration function. Signed-off-by: Tim Whisonant Signed-off-by: Enno Luebbers Signed-off-by: Shiva Rao Signed-off-by: Christopher Rauer Signed-off-by: Kang Luwei Si

[PATCH v2 14/22] fpga: intel: fme: add partial reconfiguration sub feature support

2017-06-25 Thread Wu Hao
From: Kang Luwei Partial Reconfiguration (PR) is the most important function for FME. It allows reconfiguration for given Port/Accelerated Function Unit (AFU). It creates platform devices for fpga-mgr, fpga-regions and fpga-bridges, and invokes fpga-region's interface (fpga_region_program_fpga)

[PATCH v2 11/22] fpga: intel: add FPGA Management Engine driver basic framework

2017-06-25 Thread Wu Hao
From: Kang Luwei The FPGA Management Engine (FME) provides power, thermal management, performance counters, partial reconfiguration and other functions. For each function, it is packaged into a private feature linked to the FME feature device in the 'Device Feature List'. It's a platform device c

[PATCH v2 09/22] fpga: intel: pcie: adds fpga_for_each_port callback for fme device

2017-06-25 Thread Wu Hao
For FPGA Management Engine (FME), it requires fpga_for_each_port callback for actions on ports, so export this function from PCIe driver by adding the callback to the platform data. Signed-off-by: Tim Whisonant Signed-off-by: Enno Luebbers Signed-off-by: Shiva Rao Signed-off-by: Christopher Rau

[PATCH v2 19/22] fpga: intel: afu: add header sub feature support

2017-06-25 Thread Wu Hao
The header register set is always present for the Port/AFU, it is mainly for capability, control and status of the ports that AFU connected to. This patch implements header sub feature support. Below user interfaces are created by this patch. Sysfs interface: * /sys/class/fpga///id Read-only. P

[PATCH v2 20/22] fpga: intel: afu add FPGA_GET_API_VERSION/CHECK_EXTENSION ioctls support

2017-06-25 Thread Wu Hao
FPGA_GET_API_VERSION and FPGA_CHECK_EXTENSION ioctls are common ones which need to be supported by all feature devices drivers including FME and AFU. This patch implements above 2 ioctls in Intel FPGA Accelerated Function Unit (AFU) driver. Signed-off-by: Tim Whisonant Signed-off-by: Enno Luebber

[PATCH v2 21/22] fpga: intel: afu: add user afu sub feature support

2017-06-25 Thread Wu Hao
From: Xiao Guangrong User Accelerated Function Unit sub feature exposes the MMIO region of the AFU. After valid green bitstream (GBS) is programmed and port is enabled, then this MMIO region could be accessed. This patch adds support to enumerate the AFU MMIO region and expose it to userspace vi

[PATCH v2 18/22] fpga: intel: add FPGA Accelerated Function Unit driver basic framework

2017-06-25 Thread Wu Hao
On Intel FPGA devices, the Accelerated Function Unit (AFU), can be reprogrammed for different functions. It connects to the FPGA infrastructure("blue bistream") via a Port. Port CSRs are implemented separately from the AFU CSRs to provide control and status of the Port. Once valid green bitstream i

  1   2   3   4   >