Re: [PATCH 04/22] atari_NCR5380: Remove DMA_MIN_SIZE macro

2016-03-14 Thread Finn Thain
On Mon, 14 Mar 2016, Hannes Reinecke wrote: > I still would keep the 'DMA_MIN_LEN' definition around for sun3_scsi.c; > makes it a bit more obvious what the magic number '129' is supposed to > mean. OK. --

Re: [PATCH 09/22] ncr5380: Adopt uniform DMA setup convention

2016-03-14 Thread Finn Thain
On Mon, 14 Mar 2016, Hannes Reinecke wrote: > > @@ -1555,8 +1555,7 @@ static int NCR5380_transfer_dma(struct S > > NCR5380_read(RESET_PARITY_INTERRUPT_REG); > > *data = d + c; > > *count = 0; > > - *phase = NCR5380_read(STATUS_REG) & PHASE_MASK; > > - return foo; > > + return re

Re: [PATCH 14/22] ncr5380: Add MAX_LUN limit

2016-03-14 Thread Finn Thain
On Mon, 14 Mar 2016, Christoph Hellwig wrote: > On Mon, Mar 14, 2016 at 03:27:14PM +1100, Finn Thain wrote: > > The driver has a limit of eight LUs because of the byte-sized bitfield > > that is used for busy flags. Reject commands with LUN > 7. > > Please just set the max_lun parameter in the h

Re: [PATCH 16/22] ncr5380: Fix register decoding for debugging

2016-03-14 Thread Finn Thain
On Mon, 14 Mar 2016, Hannes Reinecke wrote: > Well ... using individual printk() like here might end up in each > call to be broken up into individual lines. > You might want to consider using a line buffer here or, better > still, move to seq_file or debugfs output. This routine is meant to be

Re: [PATCH 20/22] atari_scsi: Set a reasonable default for cmd_per_lun

2016-03-14 Thread Finn Thain
On Mon, 14 Mar 2016, Hannes Reinecke wrote: > On 03/14/2016 05:27 AM, Finn Thain wrote: > > This setting does not need to be conditional on Atari ST or TT. > > > > Without TCQ support, cmd_per_lun == 2 is probably reasonable... > > > > Signed-off-by: Finn Thain > > > > --- > > drivers/scsi/a

RE: [RFC qemu 0/4] A PV solution for live migration optimization

2016-03-14 Thread Li, Liang Z
> > > Hi, > > > I'm just catching back up on this thread; so without reference to > > > any particular previous mail in the thread. > > > > > > 1) How many of the free pages do we tell the host about? > > > Your main change is telling the host about all the > > > free pages. > > > > Y

Re: [PATCH] watchdog: don't run proc_watchdog_update if new value is same as old

2016-03-14 Thread Josh Hunt
On 03/14/2016 11:29 AM, Don Zickus wrote: Hi Josh, I believe Uli thought the below patch might fix it. Cheers, Don Don It looks like I was incorrect when I said 4.5 was getting the soft lockup. I originally found this problem on 4.1.19 and saw both the problem my patch solves and the soft

Re: [PATCH] gpio: 74x164: Implement gpiochip.set_multiple()

2016-03-14 Thread Phil Reid
On 14/03/2016 11:19 PM, Geert Uytterhoeven wrote: This allows to set multiple outputs using a single SPI transfer. Signed-off-by: Geert Uytterhoeven Reviewed-by: Phil Reid I do have a general question about GPIO drivers. pca953x does not update the cached data unless the write operation wa

linux-next: manual merge of the aio tree with the vfs tree

2016-03-14 Thread Stephen Rothwell
Hi Ben, Today's linux-next merge of the aio tree got a conflict in: fs/namei.c between commit: 5955102c9984 ("wrappers for ->i_mutex access") from the vfs tree and commit: 5d3d80fcf992 ("aio: add support for in-submit openat") from the aio tree. I fixed it up (see below) and can carry

[PATCH v2 02/04] iommu/ipmmu-vmsa: Rework interrupt code and use bitmap for context

2016-03-14 Thread Magnus Damm
From: Magnus Damm Introduce a bitmap for context handing and convert the interrupt routine to go handle all registered contexts. At this point the number of contexts are still limited. Also remove the use of the ARM specific mapping variable from ipmmu_irq() to allow compile on ARM64. Signed-o

[PATCH v2 00/04] iommu/ipmmu-vmsa: IPMMU multi-arch update V2

2016-03-14 Thread Magnus Damm
from initial series - Updated bitmap code locking and also used lighter bitop functions - Updated the Kconfig bits to apply on top of ARCH_RENESAS Signed-off-by: Magnus Damm --- Built on top of next-20160314 drivers/iommu/Kconfig |1 drivers/iommu/ipmmu-vmsa.c | 146

[PATCH v2 01/04] iommu/ipmmu-vmsa: Remove platform data handling

2016-03-14 Thread Magnus Damm
From: Magnus Damm The IPMMU driver is using DT these days, and platform data is no longer used by the driver. Remove unused code. Signed-off-by: Magnus Damm Reviewed-by: Laurent Pinchart --- Changes since V1: - Added Reviewed-by from Laurent drivers/iommu/ipmmu-vmsa.c |5 - 1 file

[PATCH v2 03/04] iommu/ipmmu-vmsa: Break out 32-bit ARM mapping code

2016-03-14 Thread Magnus Damm
From: Magnus Damm Make the driver compile on more than just 32-bit ARM by breaking out and wrapping ARM specific functions in #ifdefs. Not pretty, but needed to be able to use the driver on other architectures like ARM64. Signed-off-by: Magnus Damm --- Changes since V1: - Rebased to work wit

[PATCH v2] watchdog: don't run proc_watchdog_update if new value is same as old

2016-03-14 Thread Joshua Hunt
While working on a script to restore all sysctl params before a series of tests I found that writing any value into the /proc/sys/kernel/{nmi_watchdog,soft_watchdog,watchdog,watchdog_thresh} causes them to call proc_watchdog_update(). [ 955.756196] NMI watchdog: enabled on all CPUs, permanently

Re: [PATCH v2 7/7] ARM: dts: Add initial gpio setting of MMC2 device for exynos3250-monk

2016-03-14 Thread kbuild test robot
Hi Chanwoo, [auto build test ERROR on v4.5-rc7] [also build test ERROR on next-20160314] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url: https://github.com/0day-ci/linux/commits/Chanwoo-Choi/ARM-dts-Add-new-Exynos3250-based-ARTIK5

[PATCH v2 04/04] iommu/ipmmu-vmsa: Drop LPAE Kconfig dependency

2016-03-14 Thread Magnus Damm
From: Magnus Damm Neither the ARM page table code enabled by IOMMU_IO_PGTABLE_LPAE nor the IPMMU_VMSA driver actually depends on ARM_LPAE, so get rid of the dependency. Tested with ipmmu-vmsa on r8a7794 ALT and a kernel config using: # CONFIG_ARM_LPAE is not set Signed-off-by: Magnus Damm Ack

Re: [PATCH v2 7/7] ARM: dts: Add initial gpio setting of MMC2 device for exynos3250-monk

2016-03-14 Thread Chanwoo Choi
Hi, On 2016년 03월 15일 13:18, kbuild test robot wrote: > Hi Chanwoo, > > [auto build test ERROR on v4.5-rc7] > [also build test ERROR on next-20160314] > [if your patch is applied to the wrong git tree, please drop us a note to > help improving the system] > > url: &

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

2016-03-14 Thread Al Viro
On Tue, Mar 15, 2016 at 03:06:40PM +1100, Stephen Rothwell wrote: > Hi Ben, > > Today's linux-next merge of the aio tree got a conflict in: > > fs/namei.c > > between commit: > > 5955102c9984 ("wrappers for ->i_mutex access") > > from the vfs tree and commit: > > 5d3d80fcf992 ("aio: add

Re: [PATCH v6 0/3] thermal: mediatek: Add cpu dynamic power cooling model.

2016-03-14 Thread dawei chien
On Thu, 2015-12-17 at 09:52 +0800, Viresh Kumar wrote: > On 16-12-15, 21:29, Dawei Chien wrote: > > Use Intelligent Power Allocation (IPA) technical to add dynamic power model > > for binding CPU thermal zone. The power allocator governor allocates power > > budget to control CPU temperature. > > >

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

2016-03-14 Thread Stephen Rothwell
Hi Al, On Tue, 15 Mar 2016 04:34:48 + Al Viro wrote: > > > between commit: > > > > 5955102c9984 ("wrappers for ->i_mutex access") > > > > from the vfs tree and commit: > > What. > > The. > > Hell? > > The first commit is in the mainline, not in vfs tree. And it had been > there since

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

2016-03-14 Thread Al Viro
On Tue, Mar 15, 2016 at 04:34:48AM +, Al Viro wrote: > Incidentally, why the hell has that thing never landed in my mailbox? Not > directly, not Cc'd, not via fsdevel either. > > Ben, what the fuck going on? OK, you don't feel necessary to mention > that to me (or have me take a look throug

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

2016-03-14 Thread Al Viro
On Tue, Mar 15, 2016 at 05:07:12AM +, Al Viro wrote: > There *is* a reason for code review. Or, at least, asking somebody familiar > with the code you are working with whether some assumption you are making > is true or false. Me, for example, in our conversation regarding earlier > parts >

Re: linux-next: Tree for Mar 14 (mips qemu failure bisected)

2016-03-14 Thread Guenter Roeck
to commit bb11cff327e54 ("MIPS: Make smp CMP, CPS and MT use the new generic IPI functions". Bisect log is attached. > mips64:smp:mips_malta64_defconfig > mips:mipsel_malta_smp_defconfig > mips:mipsel_malta64_smp_defconfig If necessary I can repeat the bisect for those. Ple

Re: [PATCH V2 2/2] mailbox: Introduce TI message manager driver

2016-03-14 Thread Jassi Brar
On Tue, Mar 8, 2016 at 8:07 PM, Nishanth Menon wrote: > Jassi, > > On Tue, Mar 8, 2016 at 1:10 AM, Jassi Brar wrote: >> On Tue, Mar 8, 2016 at 2:18 AM, Nishanth Menon wrote: >>> On 03/07/2016 12:31 PM, Jassi Brar wrote: On Fri, Mar 4, 2016 at 8:05 PM, Nishanth Menon wrote: >> >>> +

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

2016-03-14 Thread Al Viro
On Mon, Mar 14, 2016 at 11:24:38AM -0400, Benjamin LaHaise wrote: > On Mon, Mar 14, 2016 at 08:35:23AM +0100, Christoph Hellwig wrote: > > The aio changes have either been reviewed negatively or not at all. That > > tree should be dropped. > > That isn't solely your decision. If you have commen

Re: [PATCH 12/13] thermal: convert tegra_thermal to use devm_thermal_zone_of_sensor_register

2016-03-14 Thread Wei Ni
On 2016年03月15日 05:16, Eduardo Valentin wrote: > * PGP Signed by an unknown key > > On Thu, Mar 10, 2016 at 04:46:55PM +0800, Wei Ni wrote: >> >> >> On 2016年03月10日 05:35, Eduardo Valentin wrote: >>> This changes the driver to use the devm_ version >>> of thermal_zone_of_sensor_register and cleans

Re: [lkp] [drm/i915] 0bbca274a3: 3.6% piglit.time.elapsed_time

2016-03-14 Thread Ye Xiaolong
On Mon, Mar 14, 2016 at 03:37:51PM +0200, Ville Syrjälä wrote: >On Mon, Mar 14, 2016 at 10:14:37AM +0800, kernel test robot wrote: >> FYI, we noticed that piglit.time.elapsed_time 3.6% regression on >> >> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master >> commit 0bbca274a

Re: [PATCH V7 00/12] Add T210 support in Tegra soctherm

2016-03-14 Thread Wei Ni
On 2016年03月15日 05:01, Eduardo Valentin wrote: > * PGP Signed by an unknown key > > On Fri, Mar 11, 2016 at 11:09:11AM +0800, Wei Ni wrote: >> This patchset adds following functions for tegra_soctherm driver: >> 1. add T210 support. > > It would be good to update the compatible string in the bin

[GIT PULL] remoteproc updates for v4.6

2016-03-14 Thread Bjorn Andersson
The following changes since commit 92e963f50fc74041b5e9e744c330dca48e04f08d: Linux 4.5-rc1 (2016-01-24 13:06:47 -0800) are available in the git repository at: git://github.com/andersson/remoteproc.git tags/rproc-v4.6 for you to fetch changes up to 69ae9895d3fed49ee830c491b3d51c72966a8a4c:

Re: coccinelle: generalized removal of unnecessary pointer casts?

2016-03-14 Thread Julia Lawall
On Mon, 14 Mar 2016, Joe Perches wrote: > On Mon, 2016-03-14 at 21:43 +0100, Julia Lawall wrote: > > On Mon, 14 Mar 2016, Joe Perches wrote: > > > I wrote a little cocci script to remove unnecessary > > > casts for memset and memcpy (below) and tested it on > > > linux kernel's drivers/staging/

Re: [PATCH v8 06/10] tpm: Replace device number bitmap with IDR

2016-03-14 Thread Jarkko Sakkinen
On Sun, Mar 13, 2016 at 06:54:36PM -0400, Stefan Berger wrote: > Replace the device number bitmap with IDR. Extend the number of devices we > can create to 64k. > Since an IDR allows us to associate a pointer with an ID, we use this now > to rewrite tpm_chip_find_get() to simply look up the chip po

Re: [PATCH] cpufreq: Do not schedule policy update work in cpufreq_resume()

2016-03-14 Thread Viresh Kumar
On 12-03-16, 03:05, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > cpufreq_resume() attempts to resync the current frequency with > policy->cur for the first online CPU, but first it does that after > restarting governors for all active policies (which means that this > is racy with respe

Re: [RFC][PATCH v3 1/5] mm/zsmalloc: introduce class auto-compaction

2016-03-14 Thread Minchan Kim
On Tue, Mar 15, 2016 at 10:33:03AM +0900, Sergey Senozhatsky wrote: > On (03/15/16 09:46), Minchan Kim wrote: > [..] > > > yes, > > > > > > we do less work this way - scan and compact only one class, instead > > > of locking and compacting all of them; which sounds reasonable. > > > > Hmm,, It co

Re: [PATCH v6 0/3] thermal: mediatek: Add cpu dynamic power cooling model.

2016-03-14 Thread Viresh Kumar
On 15-03-16, 12:53, dawei chien wrote: > On Thu, 2015-12-17 at 09:52 +0800, Viresh Kumar wrote: > > On 16-12-15, 21:29, Dawei Chien wrote: > > > Use Intelligent Power Allocation (IPA) technical to add dynamic power > > > model > > > for binding CPU thermal zone. The power allocator governor alloca

Re: [PATCH v1 05/19] zsmalloc: use first_page rather than page

2016-03-14 Thread Sergey Senozhatsky
On (03/11/16 16:30), Minchan Kim wrote: > This patch cleans up function parameter "struct page". > Many functions of zsmalloc expects that page paramter is "first_page" > so use "first_page" rather than "page" for code readability. > > Signed-off-by: Minchan Kim Reviewed-by: Sergey Senozhatsky

Re: [PATCH V7 01/12] thermal: tegra: move tegra thermal files into tegra directory

2016-03-14 Thread Wei Ni
On 2016年03月15日 02:37, Eduardo Valentin wrote: > * PGP Signed by an unknown key > > On Fri, Mar 11, 2016 at 11:09:12AM +0800, Wei Ni wrote: >> Move Tegra soctherm driver to tegra directory, it's easy to maintain >> and add more new function support for Tegra platforms. >> This will also help to s

Re: [PATCH v1 06/19] zsmalloc: clean up many BUG_ON

2016-03-14 Thread Sergey Senozhatsky
On (03/11/16 16:30), Minchan Kim wrote: > There are many BUG_ON in zsmalloc.c which is not recommened so > change them as alternatives. > > Normal rule is as follows: > > 1. avoid BUG_ON if possible. Instead, use VM_BUG_ON or VM_BUG_ON_PAGE > 2. use VM_BUG_ON_PAGE if we need to see struct page's

Re: [PATCH v1 07/19] zsmalloc: reordering function parameter

2016-03-14 Thread Sergey Senozhatsky
On (03/11/16 16:30), Minchan Kim wrote: > This patch cleans up function parameter ordering to order > higher data structure first. > > Signed-off-by: Minchan Kim Reviewed-by: Sergey Senozhatsky -ss

Re: [PATCH v1 08/19] zsmalloc: remove unused pool param in obj_free

2016-03-14 Thread Sergey Senozhatsky
On (03/11/16 16:30), Minchan Kim wrote: > Let's remove unused pool param in obj_free > > Signed-off-by: Minchan Kim Reviewed-by: Sergey Senozhatsky -ss

Re: [PATCH V7 03/12] thermal: tegra: get rid of PDIV/HOTSPOT hack

2016-03-14 Thread Wei Ni
On 2016年03月15日 04:05, Eduardo Valentin wrote: > * PGP Signed by an unknown key > > On Fri, Mar 11, 2016 at 11:09:14AM +0800, Wei Ni wrote: >> Get rid of T124-specific PDIV/HOTSPOT hack. >> tegra-soctherm.c contained a hack to set the SENSOR_PDIV and >> SENSOR_HOTSPOT_OFFSET registers - it just d

[PATCH] Staging: wlan-ng: convert p80211_stt_findproto() to inline function

2016-03-14 Thread Claudiu Beznea
This patch switch p80211_stt_findproto() to inline function. Signed-off-by: Claudiu Beznea --- drivers/staging/wlan-ng/p80211conv.c | 2 +- drivers/staging/wlan-ng/p80211conv.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/wlan-ng/p80211conv.c b/drivers/

Re: [PATCH v1 09/19] zsmalloc: keep max_object in size_class

2016-03-14 Thread Sergey Senozhatsky
On (03/11/16 16:30), Minchan Kim wrote: > Every zspage in a size_class has same number of max objects so > we could move it to a size_class. > > Signed-off-by: Minchan Kim > --- > mm/zsmalloc.c | 29 ++--- > 1 file changed, 14 insertions(+), 15 deletions(-) > > diff --gi

Re: [PATCH v1 11/19] zsmalloc: squeeze freelist into page->mapping

2016-03-14 Thread Sergey Senozhatsky
On (03/11/16 16:30), Minchan Kim wrote: > -static void *location_to_obj(struct page *page, unsigned long obj_idx) > +static void objidx_to_page_and_ofs(struct size_class *class, > + struct page *first_page, > + unsigned long obj_idx, > +

Re: [PATCH v1 09/19] zsmalloc: keep max_object in size_class

2016-03-14 Thread Minchan Kim
On Tue, Mar 15, 2016 at 03:28:24PM +0900, Sergey Senozhatsky wrote: > On (03/11/16 16:30), Minchan Kim wrote: > > Every zspage in a size_class has same number of max objects so > > we could move it to a size_class. > > > > Signed-off-by: Minchan Kim > > --- > > mm/zsmalloc.c | 29 ++-

Re: linux-next: Tree for Mar 14

2016-03-14 Thread Wolfram Sang
On Tue, Mar 15, 2016 at 09:30:29AM +0900, Sergey Senozhatsky wrote: > On (03/14/16 17:40), Stephen Rothwell wrote: > > Hi all, > > > > Changes since 20160311: > > > > The vfs tree gained a conflict against Linus' tree. I also applied a > > patch for a known runtime bug. > > > > The tip tree gain

Re: [PATCH V2 net 0/6] net: hns: hns driver updates

2016-03-14 Thread Daode Huang
hi Dave, Thanks for your reply, I am so sorry to interrupt your work. Yes, the patch set should be reviewed by all the other developers. I should not only ask you to review the patch. I will resend all these patch after 4.6-rc-1 is released. Thanks. Daode. . On 2016/3/15 10:45, David Miller w

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

2016-03-14 Thread Stephen Rothwell
Hi Benjamin, After merging the aio tree, today's linux-next build (powerpc ppc44x_defconfig) failed like this: fs/built-in.o: In function `aio_thread_op_foo_at': aio.c:(.text+0x4dab4): undefined reference to `__get_user_bad' aio.c:(.text+0x4daec): undefined reference to `__get_user_bad' Caused b

Re: [PATCH 09/22] ncr5380: Adopt uniform DMA setup convention

2016-03-14 Thread Hannes Reinecke
On 03/15/2016 04:19 AM, Finn Thain wrote: > > On Mon, 14 Mar 2016, Hannes Reinecke wrote: > >>> @@ -1555,8 +1555,7 @@ static int NCR5380_transfer_dma(struct S >>> NCR5380_read(RESET_PARITY_INTERRUPT_REG); >>> *data = d + c; >>> *count = 0; >>> - *phase = NCR5380_read(STATUS_REG) & P

Re: [PATCH v1 11/19] zsmalloc: squeeze freelist into page->mapping

2016-03-14 Thread Minchan Kim
On Tue, Mar 15, 2016 at 03:40:53PM +0900, Sergey Senozhatsky wrote: > On (03/11/16 16:30), Minchan Kim wrote: > > -static void *location_to_obj(struct page *page, unsigned long obj_idx) > > +static void objidx_to_page_and_ofs(struct size_class *class, > > + struct page *fi

Re: [PATCH V2 4/5] gpio: DT: Rephrase "gpios" of hog node to support multiple gpios

2016-03-14 Thread Laxman Dewangan
On Monday 14 March 2016 10:01 PM, Stephen Warren wrote: On 03/11/2016 06:43 AM, Laxman Dewangan wrote: The property "gpios" of GPIO hog node support the multiple GPIO entries. Rephrase the details of this property for this new support. Add details of new property "label" for GPIO label name.

Re: linux-next: Tree for Mar 14

2016-03-14 Thread Sergey Senozhatsky
On (03/15/16 07:43), Wolfram Sang wrote: > > Hello, > > > > I'm seeing a bunch of warnings and errors > > I pushed the fix to my for-next branch yesterday. Sorry for the fuzz! no prob, thanks! -ss

Re: [PATCH 20/22] atari_scsi: Set a reasonable default for cmd_per_lun

2016-03-14 Thread Hannes Reinecke
On 03/15/2016 04:27 AM, Finn Thain wrote: > > On Mon, 14 Mar 2016, Hannes Reinecke wrote: > >> On 03/14/2016 05:27 AM, Finn Thain wrote: >>> This setting does not need to be conditional on Atari ST or TT. >>> >>> Without TCQ support, cmd_per_lun == 2 is probably reasonable... >>> >>> Signed-off-b

Re: [PATCH v1 19/19] zram: use __GFP_MOVABLE for memory allocation

2016-03-14 Thread Sergey Senozhatsky
On (03/11/16 16:30), Minchan Kim wrote: [..] > init > Node 0, zone DMA208120 51 41 11 0 0 0 > 0 0 0 > Node 0, zoneDMA32 16380 13777 9184 3805789 54 3 0 > 0 0 0 > compaction > Node 0, zone DMA

Re: [PATCH 4/5] regulator: pwm: Add support for voltage linear equal steps

2016-03-14 Thread Laxman Dewangan
On Monday 14 March 2016 09:58 PM, Mark Brown wrote: * PGP Signed by an unknown key On Sun, Mar 13, 2016 at 06:36:06PM +0530, Laxman Dewangan wrote: On Saturday 12 March 2016 11:39 AM, Mark Brown wrote: I can't see any reason why this would ever be preferable to just using the flat linear rang

Re: Suspicious error for CMA stress test

2016-03-14 Thread Vlastimil Babka
On 03/14/2016 07:49 AM, Joonsoo Kim wrote: On Fri, Mar 11, 2016 at 06:07:40PM +0100, Vlastimil Babka wrote: On 03/11/2016 04:00 PM, Joonsoo Kim wrote: How about something like this? Just and idea, probably buggy (off-by-one etc.). Should keep away cost from pageblock_order iterations. Hmm...

Re: [PATCH 07/10] ARM: dts: Add thermal zone and cpufreq node for exynos3250-artik5 module

2016-03-14 Thread Krzysztof Kozlowski
On 14.03.2016 11:04, Chanwoo Choi wrote: > This patch enables the CPU frequency scaling for exynos3250-artik5 module > and adds the thernal zones with cpu cooling device to prevent the overheat > temperature. > > Signed-off-by: Chanwoo Choi > --- > arch/arm/boot/dts/exynos3250-artik5.dtsi | 23 +

Re: [RFC][PATCH v3 1/2] printk: Make printk() completely async

2016-03-14 Thread Jan Kara
On Sun 13-03-16 22:34:46, Sergey Senozhatsky wrote: > + /* > + * By default we print message to console asynchronously so that kernel > + * doesn't get stalled due to slow serial console. That can lead to > + * softlockups, lost interrupts, or userspace timing out under heavy > +

Re: [PATCH 08/10] ARM: dts: Add rtc and adc dt node for exynos3250-artik5 module

2016-03-14 Thread Krzysztof Kozlowski
On 14.03.2016 11:04, Chanwoo Choi wrote: > This patch adds the RTC (Real Time Clock) and ADC (Analog Digital Converter) > Device Tree node for exynos3250-artik5 module. The RTC is used for wakeup > source and the ADC is used to read the analog data such as battery > temperature. > > ADC need to c

Re: FW: [PATCH v5 0/8] Add MT8173 Video Encoder Driver and VPU Driver

2016-03-14 Thread tiffany lin
On Mon, 2016-03-14 at 14:48 +0800, PoChun Lin (林柏君) wrote: > > -Original Message- > From: tiffany lin [mailto:tiffany@mediatek.com] > Sent: Wednesday, February 24, 2016 6:53 PM > To: Hans Verkuil > Cc: Hans Verkuil; daniel.thomp...@linaro.org; Rob Herring; Mauro Carvalho > Chehab; M

Re: [PATCH 07/10] ARM: dts: Add thermal zone and cpufreq node for exynos3250-artik5 module

2016-03-14 Thread Chanwoo Choi
On 2016년 03월 14일 16:06, Krzysztof Kozlowski wrote: > On 14.03.2016 11:04, Chanwoo Choi wrote: >> This patch enables the CPU frequency scaling for exynos3250-artik5 module >> and adds the thernal zones with cpu cooling device to prevent the overheat >> temperature. >> >> Signed-off-by: Chanwoo Choi

Re: Suspicious error for CMA stress test

2016-03-14 Thread Joonsoo Kim
On Mon, Mar 14, 2016 at 08:06:16AM +0100, Vlastimil Babka wrote: > On 03/14/2016 07:49 AM, Joonsoo Kim wrote: > >On Fri, Mar 11, 2016 at 06:07:40PM +0100, Vlastimil Babka wrote: > >>On 03/11/2016 04:00 PM, Joonsoo Kim wrote: > >> > >>How about something like this? Just and idea, probably buggy (off

[PATCH V3] proc-vmcore: wrong data type casting fix

2016-03-14 Thread Dave Young
On i686 PAE enabled machine the contiguous physical area could be large and it can cause trimming down variables in below calculation in read_vmcore() and mmap_vmcore(): tsz = min_t(size_t, m->offset + m->size - *fpos, buflen); That is, the types being used is like below on i686: m->offse

Re: [PATCH 08/10] ARM: dts: Add rtc and adc dt node for exynos3250-artik5 module

2016-03-14 Thread Chanwoo Choi
On 2016년 03월 14일 16:12, Krzysztof Kozlowski wrote: > On 14.03.2016 11:04, Chanwoo Choi wrote: >> This patch adds the RTC (Real Time Clock) and ADC (Analog Digital Converter) >> Device Tree node for exynos3250-artik5 module. The RTC is used for wakeup >> source and the ADC is used to read the analog

Re: [PATCH 01/22] g_ncr5380: Remove CONFIG_SCSI_GENERIC_NCR53C400

2016-03-14 Thread Hannes Reinecke
On 03/14/2016 05:27 AM, Finn Thain wrote: > This change brings a number of improvements: fewer macros, better test > coverage, simpler code and sane Kconfig options. The downside is a small > chance of incompatibility (which seems unavoidable). > > CONFIG_SCSI_GENERIC_NCR53C400 exists to enable or

Re: FW: [PATCH v5 0/8] Add MT8173 Video Encoder Driver and VPU Driver

2016-03-14 Thread Hans Verkuil
On 03/14/2016 08:12 AM, tiffany lin wrote: > Hi Hans, > > After change to use "v4l-utils.git master branch", "V4l2-compliance > -d /dev/video1" fail on "fail: v4l2-test-buffers.cpp(555): > check_0(crbufs.reserved, sizeof(crbufs.reserved))". > > Check the source code and found > > memset(&c

Re: [PATCH 02/22] ncr5380: Remove FLAG_NO_PSEUDO_DMA where possible

2016-03-14 Thread Hannes Reinecke
On 03/14/2016 05:27 AM, Finn Thain wrote: > Drivers that define PSEUDO_DMA also define NCR5380_dma_xfer_len. > The core driver must call NCR5380_dma_xfer_len which means > FLAG_NO_PSEUDO_DMA can be eradicated from the core driver. > > dmx3191d doesn't define PSEUDO_DMA and has no use for FLAG_NO_P

Re: [PATCH 05/10] ARM: dts: Add exynos3250-artik5 dtsi file for ARTIK5 module

2016-03-14 Thread Chanwoo Choi
On 2016년 03월 14일 15:57, Chanwoo Choi wrote: > Hi Krzysztof, > > On 2016년 03월 14일 15:42, Krzysztof Kozlowski wrote: >> On 14.03.2016 11:04, Chanwoo Choi wrote: >>> This patch adds the support for Device Tree source for Samsung ARTIK5 >>> module[1] >>> based on Exynos3250 SoC. The ARTIK5 module inc

Re: [PATCH] media: add GFP flag to media_*() that could get called in atomic context

2016-03-14 Thread Sakari Ailus
Hi Shuah, On Sat, Mar 12, 2016 at 06:48:09PM -0700, Shuah Khan wrote: > Add GFP flags to media_create_pad_link(), media_create_intf_link(), > media_devnode_create(), and media_add_link() that could get called > in atomic context to allow callers to pass in the right flags for > memory allocation.

Re: [lkp] [ALSA] ca53fbf3a6: WARNING: CPU: 0 PID: 151 at sound/hda/hdac_i915.c:129 pin2port+0x2a/0x40 [snd_hda_core]()

2016-03-14 Thread Takashi Iwai
On Mon, 14 Mar 2016 01:50:45 +0100, kernel test robot wrote: > > FYI, we noticed the below changes on > > https://github.com/0day-ci/linux > Takashi-Iwai/ALSA-hda-Add-a-sanity-check-of-pin-port-mapping-on-i915-HDMI-DP/20160310-225740 > commit ca53fbf3a609b6831222078af9ddbecbf76fddce ("ALSA: hda

Re: [PATCH 03/22] ncr5380: Remove REAL_DMA and REAL_DMA_POLL macros

2016-03-14 Thread Hannes Reinecke
On 03/14/2016 05:27 AM, Finn Thain wrote: > For the NCR5380.c core driver, these macros are never used. > If REAL_DMA were to be defined, compilation would fail. > > For the atari_NCR5380.c core driver, REAL_DMA is always defined. > > Hence these macros are pointless. > > Signed-off-by: Finn Tha

Re: [PATCH] ALSA: hda - Add new GPU codec ID 0x10de0082 to snd-hda

2016-03-14 Thread Takashi Iwai
On Sun, 13 Mar 2016 21:58:57 +0100, Aaron Plattner wrote: > > Vendor ID 0x10de0082 is used by a yet-to-be-named GPU chip. > > This chip also has the 2-ch audio swapping bug, so patch_nvhdmi is > appropriate here. > > Signed-off-by: Aaron Plattner > --- > Another day, another new chip with the s

Re: Freezable workqueue blocks non-freezable workqueue during the system resume process

2016-03-14 Thread Jan Kara
On Fri 11-03-16 12:56:10, Tejun Heo wrote: > Hello, Jan. > > On Thu, Mar 03, 2016 at 10:33:10AM +0100, Jan Kara wrote: > > > Ugh... that's nasty. I wonder whether the right thing to do is making > > > writeback workers non-freezable. IOs are supposed to be blocked from > > > lower layer anyway.

Re: [PATCH 04/22] atari_NCR5380: Remove DMA_MIN_SIZE macro

2016-03-14 Thread Hannes Reinecke
On 03/14/2016 05:27 AM, Finn Thain wrote: > Only the atari_scsi and sun3_scsi drivers define DMA_MIN_SIZE. > Both drivers also define NCR5380_dma_xfer_len, which means > DMA_MIN_SIZE is redundant. > > This removes another discrepancy between the two core drivers. > > Signed-off-by: Finn Thain >

Re: [PATCH 05/22] ncr5380: Disable the DMA errata workaround flag by default

2016-03-14 Thread Hannes Reinecke
On 03/14/2016 05:27 AM, Finn Thain wrote: > The only chip that needs the workarounds enabled is an early NMOS > device. That means that the common case is to disable them. > > Unfortunately the sense of the flag is such that it has to be set > for the common case. > > Rename the flag so that zero

Re: [PATCH 06/22] ncr5380: Remove PSEUDO_DMA macro

2016-03-14 Thread Hannes Reinecke
On 03/14/2016 05:27 AM, Finn Thain wrote: > For those wrapper drivers which only implement Programmed IO, have > NCR5380_dma_xfer_len() evaluate to zero. That allows PDMA to be easily > disabled at run-time and so the PSEUDO_DMA macro is no longer needed. > > Also remove the spin counters used for

[PATCH 0/6] Add zone overlapping check

2016-03-14 Thread js1304
From: Joonsoo Kim Hello, all. This patchset deals with some problematic sites that iterate pfn range. There is a system that node's pfn are overlapped like as following. -pfn> N0 N1 N2 N0 N1 N2 Therefore, we need to care this overlapping when iterating pfn range. I audit many ite

[PATCH 1/6] mm/page_alloc: fix same zone check in __pageblock_pfn_to_page()

2016-03-14 Thread js1304
From: Joonsoo Kim There is a system that node's pfn are overlapped like as following. -pfn> N0 N1 N2 N0 N1 N2 Therefore, we need to care this overlapping when iterating pfn range. In __pageblock_pfn_to_page(), there is a check for this but it's not sufficient. This check cannot dis

[PATCH 4/6] mm/vmstat: add zone range overlapping check

2016-03-14 Thread js1304
From: Joonsoo Kim There is a system that node's pfn are overlapped like as following. -pfn> N0 N1 N2 N0 N1 N2 Therefore, we need to care this overlapping when iterating pfn range. There are two places in vmstat.c that iterates pfn range and they don't consider this overlapping. Add

[PATCH 3/6] mm/memory_hotplug: add comment to some functions related to memory hotplug

2016-03-14 Thread js1304
From: Joonsoo Kim __offline_isolated_pages() and test_pages_isolated() are used by memory hotplug. These functions require that range is in a single zone but there is no code about it because memory hotplug checks it before calling these functions. Not to confuse future user of these functions, t

[PATCH 5/6] mm/page_owner: add zone range overlapping check

2016-03-14 Thread js1304
From: Joonsoo Kim There is a system that node's pfn are overlapped like as following. -pfn> N0 N1 N2 N0 N1 N2 Therefore, we need to care this overlapping when iterating pfn range. There are one place in page_owner.c that iterates pfn range and it doesn't consider this overlapping.

[PATCH 2/6] mm/hugetlb: add same zone check in pfn_range_valid_gigantic()

2016-03-14 Thread js1304
From: Joonsoo Kim alloc_gigantic_page() uses alloc_contig_range() and this requires that requested range is in a single zone. To satisfy that requirement, add this check to pfn_range_valid_gigantic(). Signed-off-by: Joonsoo Kim --- mm/hugetlb.c | 9 ++--- 1 file changed, 6 insertions(+), 3

[PATCH 6/6] power: add zone range overlapping check

2016-03-14 Thread js1304
From: Joonsoo Kim There is a system that node's pfn are overlapped like as following. -pfn> N0 N1 N2 N0 N1 N2 Therefore, we need to care this overlapping when iterating pfn range. mark_free_pages() iterates requested zone's pfn range and unset all range's bitmap first. And then it

Re: [PATCH 07/22] ncr5380: Remove BOARD_REQUIRES_NO_DELAY macro

2016-03-14 Thread Hannes Reinecke
On 03/14/2016 05:27 AM, Finn Thain wrote: > The io_recovery_delay macro is intended to insert a microsecond delay > between the chip register accesses that begin a DMA operation. This > is reportedly needed for some ISA boards. > > Reverse the sense of the macro test so that in the common case, >

Re: [PATCH 08/22] ncr5380: Use DMA hooks for PDMA

2016-03-14 Thread Hannes Reinecke
On 03/14/2016 05:27 AM, Finn Thain wrote: > Those wrapper drivers which use DMA define the REAL_DMA macro and > those which use pseudo DMA define PSEUDO_DMA. These macros need to be > removed for a number of reasons, not least of which is to have drivers > share more code. > > Redefine the PDMA se

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

2016-03-14 Thread Christoph Hellwig
The aio changes have either been reviewed negatively or not at all. That tree should be dropped.

Re: [PATCH v3 3/7] usb: mux: add common code for Intel dual role port mux

2016-03-14 Thread Lu Baolu
On 03/14/2016 11:27 AM, Greg Kroah-Hartman wrote: > On Mon, Mar 14, 2016 at 09:09:22AM +0800, Lu Baolu wrote: >> On 03/11/2016 08:06 AM, Greg Kroah-Hartman wrote: >>> On Tue, Mar 08, 2016 at 03:53:44PM +0800, Lu Baolu wrote: +struct intel_mux_dev { + struct device *dev; + char

Re: [RFC PATCH V2] checkpatch: Check output format style of __func__ uses

2016-03-14 Thread Joe Perches
On Mon, 2016-03-14 at 06:19 +0100, Julia Lawall wrote: > On Sun, 13 Mar 2016, Joe Perches wrote: > > Loggng messages that emit function names have many different forms. > > Perhaps it'd be better for logging consistency and grep ease to > > exclusively use "%s:" > >  > > As well, function tracing l

Re: [PATCH 09/22] ncr5380: Adopt uniform DMA setup convention

2016-03-14 Thread Hannes Reinecke
On 03/14/2016 05:27 AM, Finn Thain wrote: > Standardize the DMA setup hooks so that the DMA implementation in > atari_NCR5380.c can be reconciled with pseudo DMA implementation in > NCR5380.c. > > Calls to NCR5380_dma_recv_setup() and NCR5380_dma_send_setup() return > a negative value on failure,

Re: [PATCH v11 4/9] arm64: add conditional instruction simulation support

2016-03-14 Thread Marc Zyngier
On Mon, 14 Mar 2016 09:34:55 +0530 Pratyush Anand wrote: Hi Pratyush, > On 13/03/2016:12:09:03 PM, Marc Zyngier wrote: > > On Wed, 9 Mar 2016 00:32:18 -0500 > > David Long wrote: > > > > > +pstate_check_t * const opcode_condition_checks[16] = { > > > + __check_eq, __check_ne, __check_cs, __ch

Re: [PATCH 10/22] ncr5380: Merge DMA implementation from atari_NCR5380 core driver

2016-03-14 Thread Hannes Reinecke
On 03/14/2016 05:27 AM, Finn Thain wrote: > Adopt the DMA implementation from atari_NCR5380.c. This means that > atari_scsi and sun3_scsi can make use of the NCR5380.c core driver > and the atari_NCR5380.c driver fork can be made redundant. > > Signed-off-by: Finn Thain > > --- > drivers/scsi/N

Re: [PATCH 11/22] atari_scsi: Adopt NCR5380.c core driver

2016-03-14 Thread Hannes Reinecke
On 03/14/2016 05:27 AM, Finn Thain wrote: > Add support for the Atari ST DMA chip to the NCR5380.c core driver. > This code is copied from atari_NCR5380.c. > > Signed-off-by: Finn Thain > > --- > drivers/scsi/NCR5380.c| 32 > drivers/scsi/atari_scsi.c |

Re: [RFC][PATCH v3 1/5] mm/zsmalloc: introduce class auto-compaction

2016-03-14 Thread Sergey Senozhatsky
Hello Minchan, On (03/14/16 15:17), Minchan Kim wrote: [..] > > demonstrates that class-896 has 12/26=46% of unused pages, class-2336 has > > 1648/4932=33% of unused pages, etc. And the more classes we will have as > > 'normal' classes (more than one object per-zspage) the bigger this problem > >

Re: [PATCH 12/22] sun3_scsi: Adopt NCR5380.c core driver

2016-03-14 Thread Hannes Reinecke
On 03/14/2016 05:27 AM, Finn Thain wrote: > Add support for the custom Sun 3 DMA logic to the NCR5380.c core driver. > This code is copied from atari_NCR5380.c. > > Signed-off-by: Finn Thain > > --- > > The Sun 3 DMA code is still configured by macros. I have simplified things > slightly but I

Re: multipath: I/O hanging forever

2016-03-14 Thread Christoph Hellwig
Just curious: why are you using the old MD multipath driver that's been depcrecated in favor of DM multipath a long time ago?

Re: [PATCH 14/22] ncr5380: Add MAX_LUN limit

2016-03-14 Thread Hannes Reinecke
On 03/14/2016 05:27 AM, Finn Thain wrote: > The driver has a limit of eight LUs because of the byte-sized bitfield > that is used for busy flags. Reject commands with LUN > 7. > > Signed-off-by: Finn Thain > > --- > drivers/scsi/NCR5380.c |6 ++ > drivers/scsi/NCR5380.h |2 ++ > 2 f

Re: [PATCH 13/22] ncr5380: Remove disused atari_NCR5380.c core driver

2016-03-14 Thread Hannes Reinecke
On 03/14/2016 05:27 AM, Finn Thain wrote: > Now that atari_scsi and sun3_scsi have been converted to use the NCR5380.c > core driver, remove atari_NCR5380.c. Also remove the last vestiges of its > Tagged Command Queueing implementation from the wrapper drivers. > > The TCQ support in atari_NCR5380

Re: [PART1 RFC v2 03/10] svm: Introduce new AVIC VMCB registers

2016-03-14 Thread Suravee Suthikulpanit
Hi, On 03/07/2016 10:44 PM, Paolo Bonzini wrote: On 04/03/2016 21:46, Suravee Suthikulpanit wrote: >From: Suravee Suthikulpanit > >Introduce new AVIC VMCB registers. Also breakdown int_ctl register >into bit-field for ease of use. > >Signed-off-by: Suravee Suthikulpanit >--- > arch/x86/includ

Re: [PATCH 15/22] dmx3191d: Drop max_sectors limit

2016-03-14 Thread Hannes Reinecke
On 03/14/2016 05:27 AM, Finn Thain wrote: > The dmx3191d driver is not capable of DMA or PDMA so all transfers > use PIO. Now that large slow PIO transfers periodically stop and call > cond_resched(), the max_sectors limit can go away. > > Signed-off-by: Finn Thain > > --- > drivers/scsi/dmx319

Re: [RFC][PATCH v3 2/5] mm/zsmalloc: remove shrinker compaction callbacks

2016-03-14 Thread Sergey Senozhatsky
On (03/14/16 15:32), Minchan Kim wrote: > On Thu, Mar 03, 2016 at 11:46:00PM +0900, Sergey Senozhatsky wrote: > > Do not register shrinker compaction callbacks anymore, since > > now we shedule class compaction work each time its fragmentation > > value goes above the watermark. > > I suggested to

Re: [PATCH v2 2/2] Irq/mbigen:Change the mbigen driver based on the new mbigen node definition.

2016-03-14 Thread Thomas Gleixner
On Mon, 14 Mar 2016, MaJun wrote: > From: Ma Jun > > To fix the IO remap problem, change the mbigen driver based on the > new mbigen node definition. Please describe what the problem is. There is no way that anyone can figure out why that patch is required, what it fixes and how the fix is done

  1   2   3   4   5   6   7   8   9   >