Re: [PATCH v3 3/7] clk: rockchip: rk3399: add SCLK_DDRCLK ID for ddrc

2016-07-22 Thread Heiko Stübner
Am Freitag, 22. Juli 2016, 17:07:16 schrieb Lin Huang: > Signed-off-by: Lin Huang > --- > Changes in v3: > -None > > Changes in v2: > - None > Changes in v1: > - None > > include/dt-bindings/clock/rk3399-cru.h | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/include/dt-bindings/clock/r

Re: [net-next PATCH 1/3] net: phy: dp83867: Add documentation for optional impedance control

2016-07-22 Thread Mugunthan V N
Rob, On Friday 22 July 2016 02:44 AM, Rob Herring wrote: > On Thu, Jul 21, 2016 at 11:52:36AM +0530, Sekhar Nori wrote: >> Nishanth, >> >> On Wednesday 20 July 2016 09:03 PM, Nishanth Menon wrote: >>> On 07/20/2016 09:56 AM, Mugunthan V N wrote: Add documention of ti,impedance-control which c

Re: [PATCH v4 0/9] coccicheck: modernize

2016-07-22 Thread Michal Marek
On 2016-07-13 23:45, Luis R. Rodriguez wrote: > On Wed, Jun 29, 2016 at 03:14:50PM -0700, Luis R. Rodriguez wrote: >> There were quite a bit of comments from the v3 series [0], since there >> was quite a bit of review needed for some other changes I've had discussions >> with Nicolas and Julia priv

Re: [PATCH v15 04/10] arm64: Kprobes with single stepping support

2016-07-22 Thread Catalin Marinas
On Thu, Jul 21, 2016 at 02:33:52PM -0400, David Long wrote: > On 07/21/2016 01:23 PM, Marc Zyngier wrote: > >On 21/07/16 17:33, David Long wrote: > >>On 07/20/2016 12:09 PM, Marc Zyngier wrote: > >>>On 08/07/16 17:35, David Long wrote: > +#define MAX_INSN_SIZE1 > +#defin

[PATCH 32/32] Staging/octeon-usb/octeon-hcd.c: Compression of lines for immediate return This patch compresses two lines in to a single line in file octeon-hcd.c

2016-07-22 Thread Nadim almas
if immediate return statement is found. It also removes variable bytes_written as it is no longer needed. It is done using script Coccinelle. And coccinelle uses following semantic patch for this compression function: @@ expression ret; identifier f; @@ -ret = +return f(...); -return ret;

Re: [kernel-hardening] [PATCH v5 03/32] x86/cpa: In populate_pgd, don't set the pgd entry until it's populated

2016-07-22 Thread Ingo Molnar
* Andy Lutomirski wrote: > On 07/21/2016 09:43 PM, valdis.kletni...@vt.edu wrote: > >On Mon, 11 Jul 2016 13:53:36 -0700, Andy Lutomirski said: > >>This avoids pointless races in which another CPU or task might see a > >>partially populated global pgd entry. These races should normally > >>be ha

Re: [PATCH] [media] tw686x-kh: Delete an unnecessary check before the function call "video_unregister_device"

2016-07-22 Thread Krzysztof Hałasa
SF Markus Elfring writes: > The video_unregister_device() function tests whether its argument is NULL > and then returns immediately. Thus the test around the call is not needed. > > This issue was detected by using the Coccinelle software. > > Signed-off-by: Markus Elfring > --- > drivers/stag

Re: Aw: BUG: Wrong dma queue handling in ixp4 driver

2016-07-22 Thread Krzysztof Hałasa
Hi Lino, "Lino Sanfilippo" writes: >> maybe I miss something, but the ixp4 ethernet driver seems to handle dma >> pools >> in a wrong way: In init_queues() it creates a dma pool for descriptors and >> then >> only allocates a single descriptor from this pool. The author seems to >> assume t

RE: [PATCH v5 1/3] ACPI / button: Add missing event to keep SW_LID running without additional event loss

2016-07-22 Thread Zheng, Lv
Hi, Dmitry I'm considering what the future should be. What if we drop PATCH 02, stop introducing KEY_LID_XXX events. And switch ACPI button driver to lid_init_state=ignore. So that whatever the initial state is close or open, no events will be sent to the userspace. In the meanwhile, userspace t

[tip:x86/boot] x86/boot: Clarify what x86_legacy_features.reserve_bios_regions does

2016-07-22 Thread tip-bot for Andy Lutomirski
Commit-ID: 30f027398b329c75c8f23a3c13be240b50866fdc Gitweb: http://git.kernel.org/tip/30f027398b329c75c8f23a3c13be240b50866fdc Author: Andy Lutomirski AuthorDate: Thu, 21 Jul 2016 14:16:51 -0700 Committer: Ingo Molnar CommitDate: Fri, 22 Jul 2016 11:46:01 +0200 x86/boot: Clarify what x

[tip:x86/boot] x86/boot: Simplify EBDA-vs-BIOS reservation logic

2016-07-22 Thread tip-bot for Andy Lutomirski
Commit-ID: 6a79296cb15d947bcb4558011fe066e5d8252b35 Gitweb: http://git.kernel.org/tip/6a79296cb15d947bcb4558011fe066e5d8252b35 Author: Andy Lutomirski AuthorDate: Thu, 21 Jul 2016 14:16:52 -0700 Committer: Ingo Molnar CommitDate: Fri, 22 Jul 2016 11:46:01 +0200 x86/boot: Simplify EBDA-

arch/xtensa/include/asm/initialize_mmu.h:55: Error: invalid register 'atomctl' for 'wsr' instruction

2016-07-22 Thread kbuild test robot
Hi, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 47ef4ad2684d380dd6d596140fb79395115c3950 commit: 9da8320bb97768e35f2e64fa7642015271d672eb xtensa: add test_kc705_hifi variant date: 4 months ago config: xtensa-a

[RFC] regulator: da9052/53: da9052-i2c.txt binding document changes

2016-07-22 Thread Steve Twiss
Hi, The binding file for DA9052/53 exists in the kernel and was originally submitted by Ying-Chun Liu from Linaro way back in 2012. Documentation/devicetree/bindings/mfd/da9052-i2c.txt > git show 58d114b The patch adds support for the Dialog MFD and it lists the compatible strings "dlg,da9052",

Re: [PATCH 3/3] x86/apic: Improved the setting of interrupt mode for bsp

2016-07-22 Thread Baoquan He
Hi Jiangang, This is very nice, should be the stuff Eric and Ingo would like to see. But I have several questions: 1) Are you not going to clean up the old legacy irq mode setting code in 1st kernel? 2)I call them legacy irq mode because not only apic virtual wire mode exists, but the PIC mode i

Re: [PATCH] vfs:Fix memory leak on error path in get_empty_file

2016-07-22 Thread Catalin Marinas
I can't find the original post (probably it only went to the linux-fsdevel list), so replying to Nicholas here: > On Thu, Jul 21, 2016 at 10:53:37PM -0400, Nicholas Krause wrote: >> This fixes a memory leak on the error path if the call to >> security_file_alloc fails to run successfully as detect

Re: [PATCH] nfsd: Make creates return EEXIST correctly instead of EPERM

2016-07-22 Thread J. Bruce Fields
On Fri, Jul 22, 2016 at 02:35:26AM -0400, Oleg Drokin wrote: > > On Jul 21, 2016, at 9:57 PM, J. Bruce Fields wrote: > > > On Thu, Jul 21, 2016 at 04:37:40PM -0400, Oleg Drokin wrote: > >> > >> On Jul 21, 2016, at 4:34 PM, J. Bruce Fields wrote: > >> > >>> On Fri, Jul 08, 2016 at 05:53:19PM -04

Re: [RFC PATCH v1 0/2] Add Hisilicon Djtag driver

2016-07-22 Thread Mark Rutland
Hi, I understand that some SoC/socket level PMU is accessed via these registers. It doesn't make sense to review either in isolation. Please put together a unified series, with both the djtag accessors and the PMU code. On it's own, it's *very* difficult to understand how this fits into the SoC,

[PATCH] GPU-DRM: Delete an unnecessary check before drm_property_unreference_blob()

2016-07-22 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 22 Jul 2016 12:48:12 +0200 The drm_property_unreference_blob() function tests whether its argument is NULL and then returns immediately. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus E

Re: [PATCH 2/7] dmaengine: omap-dma: Complete the cookie first on transfer completion

2016-07-22 Thread Peter Ujfalusi
On 07/21/16 12:47, Russell King - ARM Linux wrote: > On Thu, Jul 21, 2016 at 12:33:12PM +0300, Peter Ujfalusi wrote: >> On 07/20/16 09:26, Robert Jarzmik wrote: >>> Speaking of which, from a purely design point of view, as long as you think >>> beforehand what is your sequence, ie. what is the sequ

Re: i2c: slave support framework for Linux devices

2016-07-22 Thread Kachalov Anton
Wolfram, I would like to include you in the discussion loop while you are main author of the I2C slave framework. Uwe, you've involved in discussion of i2c framework in 2014. It would be great if you mind to share some thoughts of the further improvements. 21.07.2016, 00:51, "Kachalov Anton"

Aw: Re: BUG: Wrong dma queue handling in ixp4 driver

2016-07-22 Thread Lino Sanfilippo
Hi Krzysztof, > > Not really: there is one pool for all ports, but each port uses > a separate desc_tab (allocated from that pool). right, but even then using a dma pool seems to be a bit of overhead for only a few allocations. As far as I understood those pools are meant for hundrets or thousa

[PATCH] 9p/trans_virtio: use kvfree() for iov_iter_get_pages_alloc()

2016-07-22 Thread Vegard Nossum
The memory allocated by iov_iter_get_pages_alloc() can be allocated with vmalloc() if kmalloc() failed -- see get_pages_array(). In that case we need to free it with vfree(), so let's use kvfree(). The bug manifests like this: BUG: unable to handle kernel paging request at eb0400072da0 IP: [

Re: [patch 4 15/22] timer: Remove slack leftovers

2016-07-22 Thread Jason A. Donenfeld
Hi Thomas, Thomas Gleixner writes: > We now have implicit batching in the timer wheel. The slack is not longer > used. Remove it. > - set_timer_slack(&ev->dwork.timer, intv / 4); > - set_timer_slack(&host->timeout_timer, HZ); > - set_timer_slack(&di->work.timer, poll_interval * HZ / 4); > - set_t

Re: [RFC PATCH v4 3/5] PCI: Check platform specific ECAM quirks

2016-07-22 Thread Robert Richter
On 29.06.16 15:56:50, Ard Biesheuvel wrote: > On 29 June 2016 at 15:34, Christopher Covington wrote: > > Hi Tomasz, > > > > On 06/29/2016 06:48 AM, Tomasz Nowicki wrote: > >> On 28.06.2016 18:12, Duc Dang wrote: > >>> On Tue, Jun 28, 2016 at 6:04 AM, Christopher Covington > >>> wrote: > Hi T

RE: Your Current password will expire in the next 24 hours

2016-07-22 Thread Matthew Martinez
From: Matthew Martinez Sent: Friday, July 22, 2016 7:12 AM To: Matthew Martinez Subject: Your Current password will expire in the next 24 hours Your Current password will expire in the next 24 hours , you are here by directed to kindly click on ITS HELPDESK/RE

Re: [PATCH 3/3] xen-blkfront: dynamic configuration of per-vbd resources

2016-07-22 Thread Roger Pau Monné
On Fri, Jul 22, 2016 at 05:43:32PM +0800, Bob Liu wrote: > > On 07/22/2016 05:34 PM, Roger Pau Monné wrote: > > On Fri, Jul 22, 2016 at 04:17:48PM +0800, Bob Liu wrote: > >> > >> On 07/22/2016 03:45 PM, Roger Pau Monné wrote: > >>> On Thu, Jul 21, 2016 at 06:08:05PM +0800, Bob Liu wrote: > >

[PATCH] drm/vmwgfx: Delete an unnecessary check before the function call "vfree"

2016-07-22 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 22 Jul 2016 13:31:00 +0200 The vfree() function performs also input parameter validation. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- drivers/gpu/drm/vmwgfx/vmwgfx_exec

Re: [PATCH 2/2] kbuild: add shell cache

2016-07-22 Thread Michal Marek
On 2016-06-27 20:28, Rabin Vincent wrote: > Running make results in over 40 invocations of the compiler just during > processing of the Makefile, before any actual rules are run. > > To reduce this overhead, cache the results of $(shell) calls to the > compiler. How do you detect when the compile

Re: [PATCH 2/3] staging/rtl8192e: use s8 instead of char

2016-07-22 Thread Jes Sorensen
Stefan Lippers-Hollmann writes: > Hi > > On 2016-07-20, Arnd Bergmann wrote: >> On Wednesday, July 20, 2016 11:33:43 AM CEST Jes Sorensen wrote: >> > Arnd Bergmann writes: >> > > On Wednesday, July 20, 2016 7:25:19 AM CEST Jes Sorensen wrote: >> > >> Arnd Bergmann writes: > [...] >> Yes, I w

Re: [PATCH] kbuild: make samples depend on headers_install

2016-07-22 Thread Michal Marek
On 2016-07-04 16:39, Arnd Bergmann wrote: > Olof's build test setup keeps failing to compile arm64 kernels > because of a toolchain that uses outdated kernel headers: > > /work/build/batch/samples/seccomp/bpf-fancy.c:13:27: fatal error: > linux/seccomp.h: No such file or directory > > This is of

Re: [PATCH] cpufreq: export cpufreq_driver_resolve_freq()

2016-07-22 Thread Rafael J. Wysocki
On Thursday, July 21, 2016 08:30:44 PM Viresh Kumar wrote: > On 21-07-16, 19:24, Steve Muckle wrote: > > Export cpufreq_driver_resolve_freq() since governors may be compiled as > > modules. > > > > Reported-by: Stephen Rothwell > > Signed-off-by: Steve Muckle > > --- > > drivers/cpufreq/cpufreq

Re: [RFC PATCH v4 3/5] PCI: Check platform specific ECAM quirks

2016-07-22 Thread Ard Biesheuvel
On 22 July 2016 at 13:38, Robert Richter wrote: > On 29.06.16 15:56:50, Ard Biesheuvel wrote: >> On 29 June 2016 at 15:34, Christopher Covington wrote: >> > Hi Tomasz, >> > >> > On 06/29/2016 06:48 AM, Tomasz Nowicki wrote: >> >> On 28.06.2016 18:12, Duc Dang wrote: >> >>> On Tue, Jun 28, 2016 at

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

2016-07-22 Thread Rafael J. Wysocki
On Thursday, July 21, 2016 07:26:28 PM Steve Muckle wrote: > On Fri, Jul 22, 2016 at 11:56:20AM +1000, Stephen Rothwell wrote: > > Hi Rafael, > > > > After merging the pm tree, today's linux-next build (arm > > multi_v7_defconfig) failed like this: > > > > ERROR: "cpufreq_driver_resolve_freq" [ke

Re: [PATCH] scripts: Fix size mismatch of kexec_purgatory_size

2016-07-22 Thread Michal Marek
On 2016-07-06 10:45, Dave Young wrote: > On 07/04/16 at 01:55pm, Tautschnig, Michael wrote: >> bin2c is used to create a valid C file out of a binary file where two >> symbols will be globally defined: and _size. is >> passed as the first parameter of the host binary. >> >> Building using goto-cc

Re: [RFC PATCH v4 3/5] PCI: Check platform specific ECAM quirks

2016-07-22 Thread Robert Richter
On 22.07.16 14:00:42, Ard Biesheuvel wrote: > On 22 July 2016 at 13:38, Robert Richter wrote: > > And, we should support some sort of MCFG_OEM_REVISION_ANY to move the > > rev handling optional to pci_cfg_fixup::init(). > > > > xxx_ANY implies 'wildcard', which we don't want in this code. The se

Re: [PATCH] builddeb: fix file permissions before packaging

2016-07-22 Thread Michal Marek
On 2016-07-07 16:50, Henning Schild wrote: > Builddep is not very explicit about file permissions. Actually the file > permissions in the package are largely influenced by the umask of the > user cloning the git and building the package. If that umask does not > set go+r the resulting linux-headers

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

2016-07-22 Thread Fengguang Wu
On Fri, Jul 22, 2016 at 02:08:35PM +0200, Rafael J. Wysocki wrote: On Thursday, July 21, 2016 07:26:28 PM Steve Muckle wrote: On Fri, Jul 22, 2016 at 11:56:20AM +1000, Stephen Rothwell wrote: > Hi Rafael, > > After merging the pm tree, today's linux-next build (arm > multi_v7_defconfig) failed l

[PATCH] drm/qxl: Delete an unnecessary check before drm_gem_object_unreference_unlocked()

2016-07-22 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 22 Jul 2016 14:14:54 +0200 The drm_gem_object_unreference_unlocked() function tests whether its argument is NULL and then returns immediately. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Ma

Re: [RFC PATCH 1/2] mempool: do not consume memory reserves from the reclaim path

2016-07-22 Thread Vlastimil Babka
On 07/22/2016 08:37 AM, Michal Hocko wrote: On Thu 21-07-16 16:53:09, Michal Hocko wrote: From d64815758c212643cc1750774e2751721685059a Mon Sep 17 00:00:00 2001 From: Michal Hocko Date: Thu, 21 Jul 2016 16:40:59 +0200 Subject: [PATCH] Revert "mm, mempool: only set __GFP_NOMEMALLOC if there are

mipsel-linux-gnu-gcc: error: unrecognized command line option '-mcompact-branches=optimal'

2016-07-22 Thread kbuild test robot
Hi, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 47ef4ad2684d380dd6d596140fb79395115c3950 commit: c1a0e9bc885d46e519fd87d35af6a7937abfb986 MIPS: Allow compact branch policy to be changed date: 9 months ago conf

Re: [PATCH v3 0/4] Add STM32 Reset Driver

2016-07-22 Thread Philipp Zabel
Am Freitag, den 22.07.2016, 11:37 +0200 schrieb gabriel.fernan...@st.com: > From: Gabriel Fernandez > > v3: > - Use the builtin for the register > > v2: > - switch to the non-relaxed variants > - describe dt-binfings in one place > > The STM32 MCUs family IPs can be reset by accessing some r

Re: [PATCH] reset: return -ENOTSUPP if CONFIG_RESET_CONTROLLER is undefined

2016-07-22 Thread Philipp Zabel
Hi Masahiro, Am Donnerstag, den 21.07.2016, 14:06 +0900 schrieb Masahiro Yamada: > This has been inconsistent; some returns -EINVAL, some -ENOTSUPP. > Make it consistent in this header, in favor of -ENOTSUPP. > > Signed-off-by: Masahiro Yamada > --- > > include/linux/reset.h | 4 ++-- > 1 file

Re: [kbuild-all] arch/xtensa/include/asm/initialize_mmu.h:55: Error: invalid register 'atomctl' for 'wsr' instruction

2016-07-22 Thread Fengguang Wu
Hi Max, On Fri, Jul 22, 2016 at 06:32:28PM +0800, kbuild test robot wrote: Hi, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 47ef4ad2684d380dd6d596140fb79395115c3950 commit: 9da8320bb97768e35f2e64fa7642015271d67

Re: [PATCH v1 1/1] mfd: lpss: Add Intel Kaby Lake PCH-H PCI IDs

2016-07-22 Thread Andy Shevchenko
On Mon, Jul 4, 2016 at 6:24 PM, Andy Shevchenko wrote: > From: Mika Westerberg > > Intel Kaby Lake PCH-H has the same LPSS than Intel Sunrisepoint. Add the new > IDs to the list of supported devices. I'm sorry for an empty ping, but we would like to clarify what is the plan for this patch. Will

Re: [PATCH v11 06/10] genirq/msi-doorbell: msi_doorbell_safe

2016-07-22 Thread Thomas Gleixner
On Thu, 21 Jul 2016, Auger Eric wrote: > On 20/07/2016 10:12, Thomas Gleixner wrote: > > On Tue, 19 Jul 2016, Eric Auger wrote: > >> +bool msi_doorbell_safe(void) > >> +{ > >> + struct irqchip_doorbell *db; > >> + bool irq_remapping = true; > >> + > >> + mutex_lock(&irqchip_doorbell_mutex); > >>

Re: [PATCH] kmemleak: don't hang if user disables scanning early

2016-07-22 Thread Catalin Marinas
On Mon, Jul 18, 2016 at 11:43:25AM +0200, Vegard Nossum wrote: > If the user tries to disable automatic scanning early in the boot > process using e.g.: > > echo scan=off > /sys/kernel/debug/kmemleak > > then this command will hang until SECS_FIRST_SCAN (= 60) seconds have > elapsed, even thoug

[PATCH] PM / OPP: optimize dev_pm_opp_set_rate() a bit

2016-07-22 Thread Jisheng Zhang
In dev_pm_opp_set_rate(), _find_opp_table() is called three times: once by _get_opp_clk(), twice by dev_pm_opp_find_freq_ceil(). If there are several opp_tables in the system, three times of opp table finding is a big waste. This patch reduced the call of _find_opp_table() to only once. Signed-off

[PATCHv2] builddeb: fix file permissions before packaging

2016-07-22 Thread Henning Schild
Builddep is not very explicit about file permissions. Actually the file permissions in the package are largely influenced by the umask of the user cloning the git and building the package. If that umask does not set go+r the resulting linux-headers package will prevent non-root users from building

Re: [PATCH] net: neigh: disallow state transition DELAY->STALE in neigh_update()

2016-07-22 Thread Chunhui He
Hi, On Fri, 22 Jul 2016 10:20:01 +0300 (EEST), Julian Anastasov wrote: > > Hello, > > On Thu, 21 Jul 2016, Chunhui He wrote: > >> If neigh entry was CONNECTED and address is not changed, and if new state is >> STALE, entry state will not change. Because DELAY is not in CONNECTED, it's >>

Re: [PATCH] builddeb: fix file permissions before packaging

2016-07-22 Thread Henning Schild
Am Fri, 22 Jul 2016 14:15:32 +0200 schrieb Michal Marek : > On 2016-07-07 16:50, Henning Schild wrote: > > Builddep is not very explicit about file permissions. Actually the > > file permissions in the package are largely influenced by the umask > > of the user cloning the git and building the pac

[PATCH] drm/bridge: ps8622: Delete an unnecessary check before backlight_device_unregister()

2016-07-22 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 22 Jul 2016 14:45:51 +0200 The backlight_device_unregister() function tests whether its argument is NULL and then returns immediately. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elf

[char-misc-next 02/12] mei: add file pointer to the host client structure

2016-07-22 Thread Tomas Winkler
From: Alexander Usyskin Store the file associated with a client in the host client structure, this enables dropping the special amthif client file pointer from struct mei_device, and this is also a preparation for changing the way rx packet allocation for fixed_address clients Signed-off-by: Ale

[char-misc-next 00/12] mei: rx enhancements

2016-07-22 Thread Tomas Winkler
This patch series contains mostly fixes and enhancements of the rx path: 1. Better handling of fixed address clients 2. Support for consecutive reads 3. Further amthif client diet Alexander Usyskin (10): mei: move read cb to complete queue if not connected mei: add file pointer to the host c

[char-misc-next 03/12] mei: add read callback on demand for fixed_address clients

2016-07-22 Thread Tomas Winkler
From: Alexander Usyskin The Fixed address clients do not work with the flow control, and the packet RX callback was allocated upon TX with anticipation of a following RX. This won't work if the clients with unsolicited Rx. Rather than preparing read callback upon a write we allocate one directly

[char-misc-next 12/12] mei: drop unused file transaction states

2016-07-22 Thread Tomas Winkler
From: Alexander Usyskin Signed-off-by: Alexander Usyskin Signed-off-by: Tomas Winkler --- drivers/misc/mei/mei_dev.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/misc/mei/mei_dev.h b/drivers/misc/mei/mei_dev.h index 2ef1ad6c391a..397ae2b45c9e 100644 --- a/drivers/misc/mei/mei_

[char-misc-next 10/12] mei: enqueue consecutive reads

2016-07-22 Thread Tomas Winkler
From: Alexander Usyskin The FW supports only one pending read per host client, in order to support issuing of consecutive reads the driver queues read requests internally and send them to the firmware after pending one has completed. Signed-off-by: Alexander Usyskin Signed-off-by: Tomas Winkl

Re: [PATCH] reset: generate reset_control_get variants with macro expansion

2016-07-22 Thread Philipp Zabel
Hi Masahiro, Am Donnerstag, den 21.07.2016, 18:53 +0900 schrieb Masahiro Yamada: [...] > For ctags, scripts/tags.sh exists for that purpose, doesn't it? > > For example, > commit e0e5070b20e01f0321f97db4e4e174f3f6b49e50 > converted func defines and adjusted tags.sh at the same time. True. So cta

[char-misc-next 11/12] mei: amthif: drop mei_amthif_read

2016-07-22 Thread Tomas Winkler
From: Alexander Usyskin mei_amthif_read have only one difference from mei_read, it is not calling mei_read_start(). Make mei_read_start return immediately for amthif client and drop the special mei_amthif_read function. Signed-off-by: Alexander Usyskin Signed-off-by: Tomas Winkler --- drivers

[char-misc-next 09/12] mei: add wrapper for queuing control commands.

2016-07-22 Thread Tomas Winkler
Enclose the boiler plate code of allocating a control/hbm command cb and enqueueing it onto ctrl_wr.list in a convenient wrapper mei_cl_enqueue_ctrl_wr_cb(). This is a preparatory patch for enabling consecutive reads. Signed-off-by: Tomas Winkler --- drivers/misc/mei/amthif.c | 7 ++--- driver

[char-misc-next 07/12] mei: rx flow control counter

2016-07-22 Thread Tomas Winkler
From: Alexander Usyskin Use RX flow control counter in the host client structure to track the number of simultaneous outstanding reads. This eliminates search in queues and makes ground for enabling for parallel read. Signed-off-by: Alexander Usyskin Signed-off-by: Tomas Winkler --- drivers/m

[char-misc-next 04/12] mei: amthif: drop mei_clear_lists function

2016-07-22 Thread Tomas Winkler
From: Alexander Usyskin Open code mei_clear_lists into its only caller mei_amthif_releas and drop unused parameter 'dev' form from mei_clear_list function. Signed-off-by: Alexander Usyskin Signed-off-by: Tomas Winkler --- drivers/misc/mei/amthif.c | 27 +-- 1 file chan

[char-misc-next 05/12] mei: drop redundant krealloc and checks in irq read

2016-07-22 Thread Tomas Winkler
From: Alexander Usyskin The read callback is always prepared with MTU-sized buffer and the FW can't send more than the MTU in one message. Checking for buffer existence and krealloc to increase receive buffer size are redundant and may be safely discarded. Signed-off-by: Alexander Usyskin Signe

[char-misc-next 01/12] mei: move read cb to complete queue if not connected

2016-07-22 Thread Tomas Winkler
From: Alexander Usyskin Move read cb to the completion queue if a read finds out that client is not connected. This expedite user space reader wake on error condition. Signed-off-by: Alexander Usyskin Signed-off-by: Tomas Winkler --- drivers/misc/mei/interrupt.c | 1 + 1 file changed, 1 inser

[char-misc-next 08/12] mei: use consistent naming for TX control flow credits

2016-07-22 Thread Tomas Winkler
With the introduction of the receive control flow credits prefixed with rx_ we add tx_ prefix to the variables and function used for tracking the transmit control flow credits. Signed-off-by: Tomas Winkler --- drivers/misc/mei/client.c | 39 +++ drivers/misc/

[char-misc-next 06/12] mei: prepare read cb for fixed address clients on the receive path only.

2016-07-22 Thread Tomas Winkler
From: Alexander Usyskin The read callbacks for the fixed address clients, that don't have flow control are built now on the receive path. In order to have a single allocation place we remove the allocation from the read request. Signed-off-by: Alexander Usyskin Signed-off-by: Tomas Winkler ---

Re: [PATCH] x86/boot: Reorganize and clean up the BIOS area reservation code

2016-07-22 Thread Matt Fleming
On Thu, 21 Jul, at 03:45:14PM, Andy Lutomirski wrote: > > I looked at the code some more. The boot services quirk is weird and > maybe buggy. trim_snb_memory uses memblock_reserve to reserve the > bottom 1MB. If efi_reserve_real_mode has already reserved that range, > then trim_snb_memory's res

Re: [patch 4 15/22] timer: Remove slack leftovers

2016-07-22 Thread Thomas Gleixner
On Fri, 22 Jul 2016, Jason A. Donenfeld wrote: > Thomas Gleixner writes: > > We now have implicit batching in the timer wheel. The slack is not longer > > used. Remove it. > >From a brief look at timer.c, it looked like __mod_timer was rather > expensive. So, as an optimization, I wanted the "time

[PATCH v2 0/2] pcie-designware: add iATU unroll feature

2016-07-22 Thread Joao Pinto
The new DWC PCIe Core version (4.80) implements iATU in a different way. This new mechanism is called iATU Unroll Mode. The Core still supports the "old" mechanism calling it Legacy Mode if configured to do so, but the standard way will be using Unroll. This patch adds the necessary support for the

[PATCH v2 2/2] pcie-designware: add core version

2016-07-22 Thread Joao Pinto
Signed-off-by: Joao Pinto --- changes v1->v2: - Nothing changed. Just to keep up the patch set version. drivers/pci/host/pcie-designware.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/pci/host/pcie-designware.c b/drivers/pci/host/pcie-designware.c index 9135725..3e4c600 1006

Re: [PATCH 2/2] ARM: DRA7: select PCI_DOMAINS config

2016-07-22 Thread Arnd Bergmann
On Friday, July 22, 2016 1:56:47 PM CEST Kishon Vijay Abraham I wrote: > > since it doesn't harm even if a platform has a single PCIe port, it should be > okay to set PCI_DOMAINS. I'll resend the following as a separate patch if it's > okay. > > diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig >

Re: [RFC PATCH v1 0/2] Add Hisilicon Djtag driver

2016-07-22 Thread Arnd Bergmann
On Friday, July 22, 2016 11:56:49 AM CEST Mark Rutland wrote: > Hi, > > I understand that some SoC/socket level PMU is accessed via these > registers. It doesn't make sense to review either in isolation. Please > put together a unified series, with both the djtag accessors and the > PMU code. > >

[PATCH v2 1/2] pcie-designware: add iATU Unroll feature

2016-07-22 Thread Joao Pinto
This patch adds the support to the new iATU mechanism that will be used from Core version 4.80, which is called iATU Unroll. The new Cores can support the iATU Unroll or support the "old" iATU method now called Legacy Mode. The driver is perfectly capable of performing well for both. In order to

Re: + mm-kasan-switch-slub-to-stackdepot-enable-memory-quarantine-for-slub-fix-2.patch added to -mm tree

2016-07-22 Thread Alexander Potapenko
On Thu, Jul 21, 2016 at 10:48 AM, Andrey Ryabinin wrote: > > > On 07/20/2016 09:43 PM, a...@linux-foundation.org wrote: >> >> The patch titled >> Subject: >> mm-kasan-switch-slub-to-stackdepot-enable-memory-quarantine-for-slub-fix >> has been added to the -mm tree. Its filename is >>

[PATCH 2/2] crypto: ixp4xx - Add missing npe_c release in error branches

2016-07-22 Thread Quentin Lambert
Most error branches following the call to npe_request contain a call to npe_request. This patch add a call to npe_release to error branches following the call to npe_request that do not have it. This issue was found with Hector. Signed-off-by: Quentin Lambert --- If I am right in thinking that

[PATCH 1/2] crypto: ixp4xx - Fix a "simple if" coding style warning

2016-07-22 Thread Quentin Lambert
Signed-off-by: Quentin Lambert --- drivers/crypto/ixp4xx_crypto.c |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) --- a/drivers/crypto/ixp4xx_crypto.c +++ b/drivers/crypto/ixp4xx_crypto.c @@ -447,9 +447,8 @@ static int init_ixp_crypto(struct device if (!npe_running(npe_c)) {

[PATCH 0/2] Fix a resource release omission in error handling code

2016-07-22 Thread Quentin Lambert
The first patch is a style fix, the second add calls to npe_release. The reason for me thinking that they are necessary is that every other branches leading to an error return are calling this function. --- drivers/crypto/ixp4xx_crypto.c |9 + 1 file changed, 5 insertions(+), 4 deleti

Re: [PATCH v2 00/10] userns: sysctl limits for namespaces

2016-07-22 Thread Colin Walters
On Thu, Jul 21, 2016, at 12:39 PM, Eric W. Biederman wrote: > > This patchset addresses two use cases: > - Implement a sane upper bound on the number of namespaces. > - Provide a way for sandboxes to limit the attack surface from > namespaces. Perhaps this is obvious, but since you didn't quite

[GIT PULL] sound fixes #2 for 4.7

2016-07-22 Thread Takashi Iwai
Linus, please pull sound fixes #2 for v4.7 from: git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git tags/sound-4.7-fix2 The topmost commit is 76df52969711ae3725a98f26fbbc6a349803dcbf sound fixes #2 for 4.7-final No

[GIT PULL] single remaining GPIO fix for v4.7

2016-07-22 Thread Linus Walleij
Hi Linus, sorry to send this in the last minute but Ingo says this build failure is very prominent so I'm not gonna wait for v4.7 before sending it. It is a case of COMPILE_TEST causing more problems than it solves and I'm already swearing about me shooting myself in the foot with that gun :( I

Re: [PATCH] gpio: tegra: don't auto-enable for COMPILE_TEST

2016-07-22 Thread Linus Walleij
On Wed, Jul 20, 2016 at 12:41 PM, Ingo Molnar wrote: >> Patch applied. > > This is still not upstream and this build failure is very prominent in the > upstream kernel right now. Sent it off to Torvalds, sorry for the delay. A case of bad connectivity in my resort or I would have dealt with it q

[PATCH v3.1 2/2] pstore/ram: Set pstore flags dynamically

2016-07-22 Thread Namhyung Kim
The ramoops can be configured to enable each pstore type by setting their size. In that case, it'd be better not to register disabled types in the first place. Signed-off-by: Namhyung Kim --- fs/pstore/ram.c| 8 +++- include/linux/pstore.h | 2 -- 2 files changed, 7 insertions(+), 3

Re: [PATCH v1 1/1] mfd: lpss: Add Intel Kaby Lake PCH-H PCI IDs

2016-07-22 Thread Lee Jones
On Fri, 22 Jul 2016, Andy Shevchenko wrote: > On Mon, Jul 4, 2016 at 6:24 PM, Andy Shevchenko > wrote: > > From: Mika Westerberg > > > > Intel Kaby Lake PCH-H has the same LPSS than Intel Sunrisepoint. Add the new > > IDs to the list of supported devices. > > I'm sorry for an empty ping, but we

Re: [PATCH v2 3/4] mfd: add support for Allwinner SoCs ADC

2016-07-22 Thread Lee Jones
On Thu, 21 Jul 2016, Maxime Ripard wrote: > 1;4205;0c > On Thu, Jul 21, 2016 at 01:12:53PM +0100, Lee Jones wrote: > > On Wed, 20 Jul 2016, Jonathan Cameron wrote: > > > > > On 19/07/16 08:31, Lee Jones wrote: > > > > On Mon, 18 Jul 2016, Jonathan Cameron wrote: > > > > > > > >> On 15/07/16 10:5

[PATCH 0/3] drivers: net: cpsw: fix driver loading/unloading

2016-07-22 Thread Grygorii Strashko
This series fixes set of isssues observed when CPSW driver module is unloaded/loaded: 1) rmmod: deadlock in cpdma_ctlr_destroy 2) rmmod: L3 back-trace and crash if all net interfaces are down, because CPSW can be powerred down by PM runtime in this case. 3) insmod: mdio device is not recreated on

[PATCH 2/3] drivers: net: cpsw: fix wrong regs access in cpsw_remove

2016-07-22 Thread Grygorii Strashko
The L3 error will be generated and system will crash during unloading of CPSW driver if CPSW is used as module and ethX devices are down. This happens because CPSW can be power off by PM runtime now when ethX devices are down. Hence, ensure that CPSW powered up by PM runtime before performing any

[PATCH 3/3] drivers: net: cpsw: use of_platform_depopulate()

2016-07-22 Thread Grygorii Strashko
Use of_platform_depopulate() in cpsw_remove() instead of of_device_unregister(), because CSPW child devices will not be recreated otherwise on next insmod. of_platform_depopulate() is correct way now as it will ensure that all steps done in of_platform_populate() are reverted, including cleaning up

Re: [kernel,v2,1/2] powerpc/iommu: Stop using @current in mm_iommu_xxx

2016-07-22 Thread Nicholas Piggin
On Wed, 20 Jul 2016 14:34:30 +1000 Alexey Kardashevskiy wrote: > static long tce_iommu_register_pages(struct tce_container *container, > @@ -128,10 +129,17 @@ static long tce_iommu_register_pages(struct > tce_container *container, ((vaddr + size) < vaddr)) > return -EINVAL; > >

[PATCH 1/3] net: ethernet: ti: cpdma: fix lockup in cpdma_ctlr_destroy()

2016-07-22 Thread Grygorii Strashko
Fix deadlock in cpdma_ctlr_destroy() which is triggered now on cpsw module removal: cpsw_remove() - cpdma_ctlr_destroy() - spin_lock_irqsave(&ctlr->lock, flags) - cpdma_ctlr_stop() - spin_lock_irqsave(&ctlr->lock, flags); <- deadlock - cpdma_chan_destroy() - spin_lock_irqsave(&

Re: [PATCH 1/3] ARM: mach-omap2: remove bogus "or_module" from rx51-peripherals

2016-07-22 Thread Paul Gortmaker
[Re: [PATCH 1/3] ARM: mach-omap2: remove bogus "or_module" from rx51-peripherals] On 21/07/2016 (Thu 23:41) Tony Lindgren wrote: > Hi, > > * Paul Gortmaker [160719 21:17]: > > During unrelated work, attempting to remove an include of the > > linux/module.h in favour of "struct module;" in order

[PATCH -next] rapidio/rio_cm: fix return value check in riocm_init()

2016-07-22 Thread Wei Yongjun
In case of error, the function class_create() returns ERR_PTR() and never returns NULL. The NULL test in the return value check should be replaced with IS_ERR(). Signed-off-by: Wei Yongjun --- drivers/rapidio/rio_cm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/driver

[PATCH] [media] Documentation: Fix V4L2_CTRL_FLAG_VOLATILE

2016-07-22 Thread Ricardo Ribalda Delgado
V4L2_CTRL_FLAG_VOLATILE behaviour when V4L2_CTRL_FLAG_EXECUTE_ON_WRITE is set was not properly explained. Reported-by: Dimitrios Katsaros Credit-to: Hans Verkuil Signed-off-by: Ricardo Ribalda Delgado --- Documentation/media/uapi/v4l/vidioc-queryctrl.rst | 8 1 file changed, 4 inserti

Re: [PATCH v11 06/10] genirq/msi-doorbell: msi_doorbell_safe

2016-07-22 Thread Auger Eric
Hi Thomas, On 22/07/2016 14:44, Thomas Gleixner wrote: > On Thu, 21 Jul 2016, Auger Eric wrote: >> On 20/07/2016 10:12, Thomas Gleixner wrote: >>> On Tue, 19 Jul 2016, Eric Auger wrote: +bool msi_doorbell_safe(void) +{ + struct irqchip_doorbell *db; + bool irq_remapping = true

[PATCH v3 0/3] New debugfs API for capturing CRC of frames

2016-07-22 Thread Tomeu Vizoso
Hi, this series basically takes the facility for continuously capturing CRCs of frames from the i915 driver and into the DRM core. The idea is that test suites such as IGT use this information to check that frames that are exected to be identical, also have identical CRC values. Other drivers fo

[PATCH v3 1/3] drm/i915/debugfs: Move out pipe CRC code

2016-07-22 Thread Tomeu Vizoso
In preparation to using a generic API in the DRM core for continuous CRC generation, move the related code out of i915_debugfs.c into a new file. Eventually, only the Intel-specific code will remain in this new file. v2: Rebased. Signed-off-by: Tomeu Vizoso --- drivers/gpu/drm/i915/Makefile

[PATCH v3 3/3] drm/i915: Use new CRC debugfs API

2016-07-22 Thread Tomeu Vizoso
The core provides now an ABI to userspace for generation of frame CRCs, so implement the ->set_crc_source() callback and reuse as much code as possible with the previous ABI implementation. v2: - Leave the legacy implementation in place as the ABI implementation in the core is incompatib

[PATCH] mmc: sdhci: Do not allow tuning procedure to be interrupted

2016-07-22 Thread robert . foss
From: Christopher Freeman wait_event_interruptible_timeout() will return early if the blocked process receives a signal, causing the driver to abort the tuning procedure and possibly leaving the controller in a bad state. Since the tuning command is expected to complete quickly (<50ms) and we've

[PATCH v3 2/3] drm: Add API for capturing frame CRCs

2016-07-22 Thread Tomeu Vizoso
Adds files and directories to debugfs for controlling and reading frame CRCs, per CRTC: dri/0/crtc-0/crc dri/0/crtc-0/crc/control dri/0/crtc-0/crc/data Drivers can implement the set_crc_source callback() in drm_crtc_funcs to start and stop generating frame CRCs and can add entries to the output b

Re: [PATCH v13 00/12] support "task_isolation" mode

2016-07-22 Thread Chris Metcalf
On 7/21/2016 10:20 PM, Christoph Lameter wrote: On Thu, 21 Jul 2016, Chris Metcalf wrote: On 7/20/2016 10:04 PM, Christoph Lameter wrote: unstable, and then scheduling work to safely remove that timer. I haven't looked at this code before (in kernel/time/clocksource.c under CONFIG_CLOCKSOURCE_WA

Re: [PATCH] [media] Documentation: Fix V4L2_CTRL_FLAG_VOLATILE

2016-07-22 Thread Hans Verkuil
On 07/22/2016 04:07 PM, Ricardo Ribalda Delgado wrote: > V4L2_CTRL_FLAG_VOLATILE behaviour when V4L2_CTRL_FLAG_EXECUTE_ON_WRITE > is set was not properly explained. > > Reported-by: Dimitrios Katsaros > Credit-to: Hans Verkuil > Signed-off-by: Ricardo Ribalda Delgado > --- > Documentation/me

pull-request: wireless-drivers-next 2016-07-22

2016-07-22 Thread Kalle Valo
Hi Dave, I'm sick so I have to keep this short, but here's the last pull request to net-next. This time there's a trivial conflict with mtd tree: http://lkml.kernel.org/g/20160720123133.44dab...@canb.auug.org.au We concluded with Brian (CCed) that it's best that we ask Linus to fix this. The pat

<    1   2   3   4   5   6   >