[PATCH v2] locks: Filter /proc/locks output on proc pid ns

2016-08-03 Thread Nikolay Borisov
On busy container servers reading /proc/locks shows all the locks created by all clients. This can cause large latency spikes. In my case I observed lsof taking up to 5-10 seconds while processing around 50k locks. Fix this by limiting the locks shown only to those created in the same pidns as the

Re: [PATCH v6 0/2] Input: SiS 9200 family I2C touchscreen controller driver

2016-08-03 Thread Dmitry Torokhov
On Tue, Aug 02, 2016 at 12:52:29PM +0300, mika.pentt...@nextfour.com wrote: > Hi, > > Here are the v6 patches for SiS 9200 I2C multitouch controller. > Cleanups, fixes and simplifications from the last review are included. > > Rebased to 4.7. Applied with a couple minor edits, thank you. --

Re: [PATCH 1/5] bfa: mark symbols static where possible

2016-08-03 Thread Arnd Bergmann
On Wednesday, August 3, 2016 12:45:50 PM CEST kbuild test robot wrote: > All errors (new ones prefixed by >>): > >drivers/scsi/bfa/bfad.c: In function 'bfad_drv_uninit': > >> drivers/scsi/bfa/bfad.c:888:2: error: implicit declaration of function > >> 'bfa_isr_disable'

Re: powerpc allyesconfig / allmodconfig linux-next next-20160729 - next-20160729 build failures

2016-08-03 Thread Arnd Bergmann
On Wednesday, August 3, 2016 10:23:24 AM CEST Stephen Rothwell wrote: > Hi Luis, > > On Wed, 3 Aug 2016 00:02:43 +0200 "Luis R. Rodriguez" > wrote: > > > > Thanks for the confirmation. For how long is it known this is broken? > > Does anyone care and fix these ? Or is this

Re: [PATCH 4.4 133/146] ovl: Copy up underlying inodes ->i_mode to overlay inode

2016-08-03 Thread Greg Kroah-Hartman
On Wed, Aug 03, 2016 at 03:36:44PM +0800, Eryu Guan wrote: > On Mon, Jul 25, 2016 at 01:56:28PM -0700, Greg Kroah-Hartman wrote: > > 4.4-stable review patch. If anyone has any objections, please let me know. > > > > -- > > > > From: Vivek Goyal > > > >

Re: Please don't replace numeric parameter like 0444 with macro

2016-08-03 Thread Konstantin Khlebnikov
On Wed, Aug 3, 2016 at 3:42 AM, Al Viro wrote: > On Tue, Aug 02, 2016 at 04:58:29PM -0400, Linus Torvalds wrote: >> [ So I answered similarly to another patch, but I'll just re-iterate >> and change the subject line so that it stands out a bit from the >> millions of

[PATCH v3 1/5] ACPI / EC: Add EC_FLAGS_QUERY_ENABLED to reveal a hidden logic

2016-08-03 Thread Lv Zheng
There is a hidden logic in the EC driver: 1. During boot, EC_FLAGS_QUERY_PENDING is responsible for blocking event handling; 2. During suspend, EC_FLAGS_STARTED is responsible for blocking event handling. This patch uses a new EC_FLAGS_QUERY_ENABLED flag to make this hidden logic explicit

[PATCH] drm/rockchip: fix fbdev crash when not use DRM_FBDEV_EMULATION

2016-08-03 Thread Mark Yao
[1.162571] Unable to handle kernel NULL pointer dereference at virtual address 0200 [1.165656] Modules linked in: [1.165941] CPU: 5 PID: 143 Comm: kworker/5:2 Not tainted 4.4.15 #237 [1.166506] Hardware name: Rockchip RK3399 Evaluation Board v1 (Android) (DT) [1.167153]

[PATCH v3 5/5] ACPI / EC: Enable event freeze mode to improve event handling for suspend process

2016-08-03 Thread Lv Zheng
This patch enables the event freeze mode, flushing the EC event handling in .suspend() callback. This feature is experimental, if it is bisected out to be the cause of the real issues, please report the issues to the kernel bugzilla for further root causing and improvement. This mode eliminates

[PATCH v8 1/2] [media] atmel-isc: add the Image Sensor Controller code

2016-08-03 Thread Songjun Wu
Add driver for the Image Sensor Controller. It manages incoming data from a parallel based CMOS/CCD sensor. It has an internal image processor, also integrates a triple channel direct memory access controller master interface. Signed-off-by: Songjun Wu --- Changes in

Re: Please don't replace numeric parameter like 0444 with macro

2016-08-03 Thread Richard Weinberger
On Wed, Aug 3, 2016 at 10:07 AM, Konstantin Khlebnikov wrote: > On Wed, Aug 3, 2016 at 3:42 AM, Al Viro wrote: >> On Tue, Aug 02, 2016 at 04:58:29PM -0400, Linus Torvalds wrote: >>> [ So I answered similarly to another patch, but I'll just re-iterate

Re: [PATCH 1/2] thunderbolt: Fix resume quirk for Falcon Ridge 4C.

2016-08-03 Thread Lukas Wunner
On Tue, Jul 26, 2016 at 06:40:37PM +0200, Andreas Noever wrote: > The quirk 'quirk_apple_wait_for_thunderbolt' did not fire on Falcon > Ridge 4C controllers with subdevice/subvendor set to zero. This lead > to lost pci devices on system resume. > > Older thunderbolt controllers (pre Falcon Ridge)

Re: [PATCH 1/1] EDAC, sb_edac: Fix channel reporting on Knights Landing

2016-08-03 Thread Borislav Petkov
On Wed, Aug 03, 2016 at 09:58:38AM +0200, Borislav Petkov wrote: > "Simple" is my speciality! :-))) ...and so I did simplify it a bit more. Here's the final result: --- From: Lukasz Odzioba Date: Sat, 23 Jul 2016 01:44:49 +0200 Subject: [PATCH] EDAC, sb_edac: Fix

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

2016-08-03 Thread Vegard Nossum
On 07/22/2016 01:12 PM, Vegard Nossum wrote: 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

Re: [PATCH] MIPS: Loongson1B: Provide DMA filter callbacks via platform data

2016-08-03 Thread Ralf Baechle
On Sat, May 28, 2016 at 05:51:52PM +0800, Keguang Zhang wrote: > diff --git a/arch/mips/include/asm/mach-loongson32/nand.h > b/arch/mips/include/asm/mach-loongson32/nand.h > index e274912..a1f8704 100644 > --- a/arch/mips/include/asm/mach-loongson32/nand.h > +++

Re: [PATCH 04/10] drm: make drm_vblank_{get,put}() static

2016-08-03 Thread Daniel Vetter
On Tue, Aug 02, 2016 at 11:30:21PM -0700, Rodrigo Vivi wrote: > I was going to remove the legacy get/put versions right now, but > decided to check if there were any pending patch in mailing lists and > found this. > > What about deleting the functions at all instead of having it internally?

Re: [PATCH 0077/1285] Replace numeric parameter like 0444 with macro

2016-08-03 Thread Michal Kubecek
On Tue, Aug 02, 2016 at 02:42:56PM +0200, Pavel Machek wrote: > > Sorry, the macros just make it _less_ readable, because you do chmod > 666, not chmod S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH. Actually, you can do "chmod a=rw ..." or "chmod u=rw,go=r ..." but very few people use that syntax (the

Re: [PATCH 4.4 133/146] ovl: Copy up underlying inodes ->i_mode to overlay inode

2016-08-03 Thread Eryu Guan
On Mon, Jul 25, 2016 at 01:56:28PM -0700, Greg Kroah-Hartman wrote: > 4.4-stable review patch. If anyone has any objections, please let me know. > > -- > > From: Vivek Goyal > > commit 07a2daab49c549a37b5b744cbebb6e3f445f12bc upstream. > > Right now when a

Re: [RFC v0 7/8] Input: ims-pcu: use firmware_stat instead of completion

2016-08-03 Thread Dmitry Torokhov
On Tue, Aug 2, 2016 at 12:41 AM, Luis R. Rodriguez wrote: > On Tue, Aug 02, 2016 at 08:53:55AM +0200, Daniel Wagner wrote: >> On 08/02/2016 08:34 AM, Luis R. Rodriguez wrote: >> >On Tue, Aug 02, 2016 at 07:49:19AM +0200, Daniel Wagner wrote: >> >>>The sysdata API's main goal

Re: [PATCH v6 1/6] drm/i915/skl: Add support for the SAGV, fix underrun hangs

2016-08-03 Thread Maarten Lankhorst
Op 03-08-16 om 00:37 schreef Lyude: > Since the watermark calculations for Skylake are still broken, we're apt > to hitting underruns very easily under multi-monitor configurations. > While it would be lovely if this was fixed, it's not. Another problem > that's been coming from this however, is

Re: [PATCH 0/3] ARM: omap: fix 4.7 gpmc networking regression

2016-08-03 Thread Roger Quadros
On 02/08/16 13:35, Tony Lindgren wrote: > * Johan Hovold [160724 05:11]: >> Networking is currently broken for Overo boards due to a regression in >> 4.7. I bisected it down to >> >> d2d00862dfbb ("memory: omap-gpmc: Support general purpose input >> for WAITPINs") >

Re: [PATCH 4.4 133/146] ovl: Copy up underlying inodes ->i_mode to overlay inode

2016-08-03 Thread Eryu Guan
On Wed, Aug 03, 2016 at 09:45:06AM +0200, Greg Kroah-Hartman wrote: > On Wed, Aug 03, 2016 at 03:36:44PM +0800, Eryu Guan wrote: > > On Mon, Jul 25, 2016 at 01:56:28PM -0700, Greg Kroah-Hartman wrote: > > > 4.4-stable review patch. If anyone has any objections, please let me > > > know. > > > >

[PATCH] Add file permission mode helpers

2016-08-03 Thread Ingo Molnar
* Linus Torvalds wrote: > [ So I answered similarly to another patch, but I'll just re-iterate > and change the subject line so that it stands out a bit from the > millions of actual patches ] > > On Tue, Aug 2, 2016 at 1:42 PM, Pavel Machek wrote:

[PATCH v7] ASoC: rockchip: Add machine driver for RK3399 GRU Boards

2016-08-03 Thread Xing Zheng
Because we need to support the multiple codecs (MAX98357A/RT5514/DA7219) on the RK3399 GRU boards, this patch can help us to support these codecs. Signed-off-by: Xing Zheng Acked-by: Rob Herring --- Changes in v7: - add default MCLK and PLL settings

Re: [PATCH RESEND v2 0/8] Improve Rx/Tx DMA implementation

2016-08-03 Thread Bhuvanchandra DV
Hi Andrew, On 08/02/16 20:58, Andrew Lunn wrote: On Tue, Aug 02, 2016 at 01:23:32PM +0530, Bhuvanchandra DV wrote: Hello, Any comments on this patchset? I tested v1 on my Vybrid board and it fixed the corruption issues i was seeing with the console on a serial port. I will try to test this

[PATCH v8 0/2] [media] atmel-isc: add driver for Atmel ISC

2016-08-03 Thread Songjun Wu
The Image Sensor Controller driver includes two parts. 1) Driver code to implement the ISC function. 2) Device tree binding documentation, it describes how to add the ISC in device tree. Test result with v4l-utils. v4l2-compliance SHA : not available Driver Info: Driver name :

[PATCH v8 2/2] [media] atmel-isc: DT binding for Image Sensor Controller driver

2016-08-03 Thread Songjun Wu
DT binding documentation for ISC driver. Acked-by: Rob Herring Signed-off-by: Songjun Wu --- Changes in v8: None Changes in v7: None Changes in v6: - Add "iscck" and "gck" to clock-names. Changes in v5: - Add clock-output-names. Changes in v4: -

Re: perf test BPF failing on f24: fix

2016-08-03 Thread Wangnan (F)
Add Masami to Cc list. He knowns debug info. Please see below... On 2016/8/3 3:51, Arnaldo Carvalho de Melo wrote: Hi Wang, Something changed and a function used in a perf test for BPF is not anymore appearing on vmlinux, albeit still available on /proc/kallsyms: # readelf -wi

Re: [PATCH] drm/rockchip: fix fbdev crash when not use DRM_FBDEV_EMULATION

2016-08-03 Thread Daniel Vetter
On Wed, Aug 03, 2016 at 04:13:45PM +0800, Mark Yao wrote: > [1.162571] Unable to handle kernel NULL pointer dereference at virtual > address 0200 > [1.165656] Modules linked in: > [1.165941] CPU: 5 PID: 143 Comm: kworker/5:2 Not tainted 4.4.15 #237 > [1.166506] Hardware name:

ATTENTION !

2016-08-03 Thread Kamal Ali Mohamed
Dear friend, My name is Mr Kamal Ali Mohamed . I am working with one of the prime banks here in Burkina Faso. Here in this bank existed a dormant account for many years, which belong to one of our late foreign customer. When I discovered that there had been neither deposits nor withdrawals

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

2016-08-03 Thread Daniel Vetter
On Fri, Jul 22, 2016 at 04:10:45PM +0200, Tomeu Vizoso wrote: > 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

[RESENT PATCH v5 1/2] tools/perf: Fix the mask in regs_dump__printf and print_sample_iregs

2016-08-03 Thread Madhavan Srinivasan
When decoding the perf_regs mask in regs_dump__printf(), we loop through the mask using find_first_bit and find_next_bit functions. "mask" is of type "u64", but sent as a "unsigned long *" to lib functions along with sizeof(). While the exisitng code works fine in most of the case, the logic is

[RESEND PATCH 2/2] perf/core: Fix the mask in perf_output_sample_regs

2016-08-03 Thread Madhavan Srinivasan
When decoding the perf_regs mask in perf_output_sample_regs(), we loop through the mask using find_first_bit and find_next_bit functions. While the exisitng code works fine in most of the case, the logic is broken for 32bit kernel (Big Endian). When reading u64 mask using (u32 *)()[0],

Re: [PATCH stable 4.6+] radix-tree: account nodes to memcg only if explicitly requested

2016-08-03 Thread Greg KH
On Wed, Aug 03, 2016 at 11:15:25AM +0300, Vladimir Davydov wrote: > On Wed, Aug 03, 2016 at 05:51:39AM +0200, Greg KH wrote: > > On Tue, Aug 02, 2016 at 03:45:34PM +0300, Vladimir Davydov wrote: > > > Radix trees may be used not only for storing page cache pages, so > > > unconditionally

Re: [PATCH] Add file permission mode helpers

2016-08-03 Thread Ingo Molnar
* Greg Kroah-Hartman wrote: > On Wed, Aug 03, 2016 at 10:11:40AM +0200, Ingo Molnar wrote: > > An added advantage would be that during review it would stick out like a > > sore > > thumb if anyone used a 'weird' permission variant. > > > > For example, if you saw

Re: [PATCH] musb: omap2430: do not assume balanced enable()/disable()

2016-08-03 Thread Tony Lindgren
* Andreas Kemnade [160802 08:14]: > On Tue, 2 Aug 2016 03:33:34 -0700 > Tony Lindgren wrote: > > > * Andreas Kemnade [160729 11:14]: > > > The code assumes that omap2430_musb_enable() and > > > omap2430_musb_disable() is called in a

[PATCH] clk: rockchip: mark rk3399 hdcp_noc and pclk_vio_grf as critical

2016-08-03 Thread Chris Zhong
The Type-C DP need these clocks: aclk_hdcp_noc, hclk_hdcp_noc, pclk_hdcp_noc, pclk_vio_grf. Mark them as critical to avoid someone close them. Signed-off-by: Chris Zhong --- drivers/clk/rockchip/clk-rk3399.c | 4 1 file changed, 4 insertions(+) diff --git

Re: [PATCH 04/10] drm: make drm_vblank_{get,put}() static

2016-08-03 Thread Rodrigo Vivi
I was going to remove the legacy get/put versions right now, but decided to check if there were any pending patch in mailing lists and found this. What about deleting the functions at all instead of having it internally? On Tue, Jun 7, 2016 at 7:07 AM, Gustavo Padovan

[PATCH 1/1] Add CPU temperature sensor support for i.MX53

2016-08-03 Thread Fabien Lahoudere
From: Csaba Kertesz The original patch was made by Richard Zhu for kernel 2.6.x: ENGR00134041-MX53-Add-the-SATA-AHCI-temperature-monitor.patch The old source code was migrated to the new kernel 3.x. The concept of value reading was changed a bit: 1. The new 3.x kernel

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

2016-08-03 Thread Daniel Vetter
On Wed, Aug 03, 2016 at 10:06:38AM +0300, Ville Syrjälä wrote: > On Fri, Jul 22, 2016 at 04:10:44PM +0200, Tomeu Vizoso wrote: > > 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 > >

Re: [PATCH 0677/1285] Replace numeric parameter like 0444 with macro

2016-08-03 Thread Lee Jones
On Tue, 02 Aug 2016, Baole Ni wrote: > I find that the developers often just specified the numeric value > when calling a macro which is defined with a parameter for access permission. > As we know, these numeric value for access permission have had the > corresponding macro, > and that using

Re: [PATCH v2 2/2] mmc: core: fall back host->f_init if failing to init mmc card after resume

2016-08-03 Thread Shawn Lin
Hi Jaehoon, 在 2016/8/3 14:54, Jaehoon Chung 写道: Hi Shawn, On 08/03/2016 10:35 AM, Shawn Lin wrote: Hi Jaehoon, 在 2016/8/2 18:47, Jaehoon Chung 写道: Hi Shawn, On 08/02/2016 06:07 PM, Shawn Lin wrote: Hi Ulf, 在 2016/7/20 9:57, Shawn Lin 写道: We observed the failure of initializing card

Re: [PATCH 1/1] EDAC, sb_edac: Fix channel reporting on Knights Landing

2016-08-03 Thread Borislav Petkov
On Wed, Aug 03, 2016 at 07:44:22AM +, Chrzaniuk, Hubert wrote: > What you have suggested is simple and perfect, let’s leave it this way :) "Simple" is my speciality! :-))) Thanks. -- Regards/Gruss, Boris. ECO tip #101: Trim your mails when you reply. --

Re: [PATCH v8 4/4] serial: pl011: add console matching function

2016-08-03 Thread Graeme Gregory
On Mon, Jun 20, 2016 at 04:19:14PM +0100, Russell King - ARM Linux wrote: > On Mon, Jun 20, 2016 at 03:26:39PM +0300, Aleksey Makarov wrote: > > > > On 06/02/2016 09:02 PM, Aleksey Makarov wrote: > > > > > > On 05/20/2016 04:03 PM, Aleksey Makarov wrote: > > > > Hi Russell, > > > > Can you

Re: "Failed to create /dev/root: -14" after commit e6978e4bf1 ("ARM: save and reset the address limit when entering an exception")

2016-08-03 Thread Russell King - ARM Linux
On Tue, Aug 02, 2016 at 07:51:45PM -0700, Guenter Roeck wrote: > Hi, > > I see the following crash when running a qemu arm 'kzm' runtime test with > the current mainline. >... > Failed to create /dev/root: -14 > > [ followed by panic ] > > A complete log file is at [1]. I think it's because of

[PATCH v3 4/5] ACPI / EC: Add PM operations to improve event handling for suspend process

2016-08-03 Thread Lv Zheng
In the original EC driver, though the event handling is not explicitly stopped, the EC driver is actually not able to handle events during the noirq stage as the EC driver is not prepared to handle the EC events in the polling mode. So if there is no advance_transaction() triggered, the EC driver

[PATCH v2 2/2] perf uprobe: Skip prologue if program compiled without optimization

2016-08-03 Thread Ravi Bangoria
Function prologue prepares stack and registers before executing function logic. When target program is compiled without optimization, function parameter information is only valid after prologue. When we probe entrypc of the function, and try to record function parameter, it contains garbage value.

[PATCH 1/2] perf probe: Helper function to check if probe with variable

2016-08-03 Thread Ravi Bangoria
Introduce helper function instead of inline code and replace hardcoded strings "$vars" and "$params" with their corresponding macros. perf_probe_with_var is not declared as static since it will be called from different file in subsequent patch. Signed-off-by: Ravi Bangoria

Re: [PATCH] Add file permission mode helpers

2016-08-03 Thread Willy Tarreau
On Wed, Aug 03, 2016 at 10:39:03AM +0200, Ingo Molnar wrote: > > > While the weird permissions in this: > > > > > > + __ATTR(l1, PERM_r__r__r__, driver_show_l4, NULL); > > > + __ATTR(l3, PERM_r__r__rw_, driver_show_l4, NULL); > > > + __ATTR(l2, PERM_sr__r__r__,

Re: [RFC PATCH 3/4] usb: typec: USB Type-C Port Manager (tcpm)

2016-08-03 Thread Oliver Neukum
On Tue, 2016-08-02 at 13:32 -0700, Guenter Roeck wrote: > +static int tcpm_set_polarity(struct tcpm_port *port, > +enum typec_cc_polarity polarity) > +{ > + tcpm_log(port, "polarity %d", polarity); > + > + port->polarity = polarity; > + > + return

Re: [PATCH] media: platform: pxa_camera: convert to vb2

2016-08-03 Thread Hans Verkuil
On 08/02/2016 08:03 PM, Robert Jarzmik wrote: > Hans Verkuil writes: > > Hi Hans, > > Working further on the pxa_camera conversion out of soc_camera, I hit a > problem > of dma being very long, in running v4l2-compliance -f. > > After digging a bit, I realized that the

Re: [PATCH v4 6/7] PM / devfreq: rockchip: add devfreq driver for rk3399 dmc

2016-08-03 Thread hl
Hi Chanwoo Choi, On 2016年08月02日 12:21, Chanwoo Choi wrote: Hi Lin, On the next version, I'd like you to add the 'linux...@vger.kernel.org' because devfreq is a subsystem of power management. Sure, will do it next version. On 2016년 08월 02일 10:03, hl wrote: Hi Chanwoo Choi, Thanks for

Re: Support for configurable PCIe endpoint

2016-08-03 Thread Arnd Bergmann
On Wednesday, August 3, 2016 11:33:19 AM CEST Kishon Vijay Abraham I wrote: > Hi, > > The PCIe controller present in TI's DRA7 SoC is capable of operating either in > Root Complex mode or Endpoint mode. (It uses Synopsys Designware Core).I'd > assume most of the PCIe controllers on other

[PATCH v3 3/5] ACPI / EC: Add PM operations to improve event handling for resume process

2016-08-03 Thread Lv Zheng
This patch makes 2 changes: 1. Restore old behavior Originally, EC driver stops handling both events and transactions in acpi_ec_block_transactions(), and restarts to handle transactions in acpi_ec_unblock_transactions_early(), restarts to handle both events and transactions in

Re: [PATCH RESEND v4] locking/pvqspinlock: Fix double hash race

2016-08-03 Thread Wanpeng Li
2016-08-03 11:28 GMT+08:00 Waiman Long : > On 07/27/2016 07:30 AM, Wanpeng Li wrote: >> >> From: Wanpeng Li >> >> When the lock holder vCPU is racing with the queue head vCPU: >> >> lock holder vCPU queue head vCPU >> =

[PATCH v3 2/5] ACPI / EC: Fix an issue that SCI_EVT cannot be detected after event is enabled

2016-08-03 Thread Lv Zheng
After enabling the EC event handling, Linux is still in the noirq stage, if there is no triggering source (EC transaction, GPE STS status), advance_transaction() will not be invoked and SCI_EVT cannot be detected. This patch adds one more triggering source after enabling the EC event handling to

Re: [kernel-hardening] Re: [PATCH 1/2] security, perf: allow further restriction of perf_event_open

2016-08-03 Thread Ingo Molnar
* Kees Cook wrote: > > I see 0 up-sides of this approach and, as per the above, a whole bunch of > > very > > serious downsides. > > > > A global (esp. default inhibited) knob is too coarse and limiting. > > I haven't suggested it be default inhibit in the upstream

Re: [PATCH] Add file permission mode helpers

2016-08-03 Thread Greg Kroah-Hartman
On Wed, Aug 03, 2016 at 10:11:40AM +0200, Ingo Molnar wrote: > An added advantage would be that during review it would stick out like a sore > thumb if anyone used a 'weird' permission variant. > > For example, if you saw these lines in a driver patch: > > + __ATTR(l1, 0444, driver_show_l4,

[PATCH] thunderbolt: Don't declare Falcon Ridge unsupported

2016-08-03 Thread Lukas Wunner
Falcon Ridge 4C has been supported by the driver from the beginning, Falcon Ridge 2C support was just added. Don't irritate users with a warning declaring the opposite. Cc: Andreas Noever Signed-off-by: Lukas Wunner --- drivers/thunderbolt/switch.c |

RE: [PATCH 1/1] EDAC, sb_edac: Fix channel reporting on Knights Landing

2016-08-03 Thread Chrzaniuk, Hubert
On Wednesday, August 3, 2016 10:55 AM, Borislav Petkov wrote: > ...and so I did simplify it a bit more. [..] Thanks a lot, next time I am gonna do it the right way from the begging :)

Re: [RFC PATCH 3/4] usb: typec: USB Type-C Port Manager (tcpm)

2016-08-03 Thread Oliver Neukum
On Tue, 2016-08-02 at 13:32 -0700, Guenter Roeck wrote: > +static bool svdm_consume_svids(struct tcpm_port *port, const u32 > *payload, > + int cnt) > +{ > + struct pd_mode_data *pmdata = >mode_data; > + int i; > + > + for (i = 1; i < cnt; i++) { > +

Re: [PATCH 3/3] ARM: dts: rockchip: move rk3288 usbphy under the GRF node

2016-08-03 Thread Heiko Stübner
Am Donnerstag, 31. März 2016, 15:43:32 schrieb Heiko Stuebner: > The rk3288 usbphy is completely enclosed in the general register files > and the updated binding allows it to be a subnode of the GRF now. > So move the node appropriately. > > Signed-off-by: Heiko Stuebner after

Re: [PATCH] pwm: add pwm driver for HiSilicon BVT SOCs

2016-08-03 Thread Jian Yuan
On 2016/8/1 20:43, Mark Rutland wrote: > On Mon, Aug 01, 2016 at 09:42:08AM +0800, Jian Yuan wrote: >> From: yuanjian >> >> Add pwm driver for HiSilicon BVT SOCs >> >> Reviewed-by: Jiancheng Xue >> Signed-off-by: Jian Yuan

Re: [PATCH v3 3/3] mac80211: mesh: fixed HT ies in beacon template

2016-08-03 Thread Johannes Berg
On Wed, 2016-08-03 at 11:51 +0900, Masashi Honma wrote: > On 2016年08月02日 16:27, Johannes Berg wrote: > > This explicitly configures *HT capability* though - that's even the > > name of the parameter. If you enable HT40 in the capability, the > > resulting BSS might still not actually *use* 40 MHz

[no subject]

2016-08-03 Thread Shougang Group Co., Ltd
Shougang Group Co., Ltd. 11th Floor, Huaxingge, Donghua Building, Jiangmen, GuangDong, China. www.shougang.com.cn Greetings, This is an official request for Professional/consultants who will stand as our regional representative to run logistics on behalf of Shougang Group.We are looking for

AW: [PATCH 0/4] Add AVX512 optimized gen_syndrome and recovery functions

2016-08-03 Thread Markus Stockhausen
> Von: linux-raid-ow...@vger.kernel.org > [linux-raid-ow...@vger.kernel.org] im Auftrag von Gayatri Kammela > [gayatri.kamm...@intel.com] > Gesendet: Mittwoch, 3. August 2016 01:28 > An: linux-r...@vger.kernel.org > Cc: s...@kernel.org; linux-kernel@vger.kernel.org; h...@zytor.com; >

Re: [PATCH v12 8/8] vfio/type1: return MSI geometry through VFIO_IOMMU_GET_INFO capability chains

2016-08-03 Thread kbuild test robot
-vfio-changes/20160803-122924 base: https://github.com/awilliam/linux-vfio.git next config: x86_64-randconfig-s1-08031247 (attached as .config) compiler: gcc-4.4 (Debian 4.4.7-8) 4.4.7 reproduce: # save the attached .config to linux build tree make ARCH=x86_64 All errors (new ones

Support for configurable PCIe endpoint

2016-08-03 Thread Kishon Vijay Abraham I
Hi, The PCIe controller present in TI's DRA7 SoC is capable of operating either in Root Complex mode or Endpoint mode. (It uses Synopsys Designware Core).I'd assume most of the PCIe controllers on other platforms that use Designware core should also be capable to operate in endpoint mode. But

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

2016-08-03 Thread Ville Syrjälä
On Fri, Jul 22, 2016 at 04:10:44PM +0200, Tomeu Vizoso wrote: > 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

Re: [PATCH v2] kasan: avoid overflowing quarantine size on low memory systems

2016-08-03 Thread Andrey Ryabinin
On 08/02/2016 01:27 PM, Alexander Potapenko wrote: > If the total amount of memory assigned to quarantine is less than the > amount of memory assigned to per-cpu quarantines, |new_quarantine_size| > may overflow. Instead, set it to zero. > > Reported-by: Dmitry Vyukov >

Re: [RFC v0 7/8] Input: ims-pcu: use firmware_stat instead of completion

2016-08-03 Thread Daniel Wagner
On 08/02/2016 09:41 AM, Luis R. Rodriguez wrote: On Tue, Aug 02, 2016 at 08:53:55AM +0200, Daniel Wagner wrote: On 08/02/2016 08:34 AM, Luis R. Rodriguez wrote: On Tue, Aug 02, 2016 at 07:49:19AM +0200, Daniel Wagner wrote: So you argue for the remoteproc use case with 100+ MB firmware that

Re: [PATCH 1/1] EDAC, sb_edac: Fix channel reporting on Knights Landing

2016-08-03 Thread Borislav Petkov
On Wed, Aug 03, 2016 at 07:06:56AM +, Chrzaniuk, Hubert wrote: > The original patch has been prepared by Lukas, then I [Hubert] rebased > it, added commentary and cleaned up the code. In the end, Lukas > modified it a bit once again according to suggestions from Tony. My > SOB is unnecessary

Re: [PATCH v12 6/8] vfio/type1: check doorbell safety

2016-08-03 Thread kbuild test robot
-vfio-changes/20160803-122924 base: https://github.com/awilliam/linux-vfio.git next config: x86_64-randconfig-s1-08031247 (attached as .config) compiler: gcc-4.4 (Debian 4.4.7-8) 4.4.7 reproduce: # save the attached .config to linux build tree make ARCH=x86_64 All errors (new ones

Re: [PATCH 1/1] EDAC, sb_edac: Fix channel reporting on Knights Landing

2016-08-03 Thread Borislav Petkov
On Sat, Jul 23, 2016 at 01:44:49AM +0200, Lukasz Odzioba wrote: > On Intel Xeon Phi Knights Landing processor family the channels > of memory controller have untypical arrangement - MC0 is mapped to > CH3,4,5 and MC1 is mapped to CH0,1,2. This causes EDAC driver to > report the channel name

Re: [GIT PULL] KVM changes for 4.8 merge window

2016-08-03 Thread Michael Ellerman
Paolo Bonzini writes: > On 03/08/2016 05:21, Michael Ellerman wrote: >> Paolo Bonzini writes: >> ... >>> - arch/powerpc: what a mess. For the idle_book3s.S conflict, the KVM >>> tree is the right one; everything else is trivial. In this case I am >>>

Re: [GIT PULL] KVM changes for 4.8 merge window

2016-08-03 Thread Paolo Bonzini
On 03/08/2016 05:21, Michael Ellerman wrote: > Paolo Bonzini writes: > ... >> - arch/powerpc: what a mess. For the idle_book3s.S conflict, the KVM >> tree is the right one; everything else is trivial. In this case I am >> not quite sure what went wrong. The commit that

Re: [PATCH v2 2/2] mmc: core: fall back host->f_init if failing to init mmc card after resume

2016-08-03 Thread Jaehoon Chung
Hi Shawn, On 08/03/2016 10:35 AM, Shawn Lin wrote: > Hi Jaehoon, > > 在 2016/8/2 18:47, Jaehoon Chung 写道: >> Hi Shawn, >> >> On 08/02/2016 06:07 PM, Shawn Lin wrote: >>> Hi Ulf, >>> >>> 在 2016/7/20 9:57, Shawn Lin 写道: We observed the failure of initializing card after resume

RE: [PATCH 1/1] EDAC, sb_edac: Fix channel reporting on Knights Landing

2016-08-03 Thread Chrzaniuk, Hubert
From: Borislav Petkov [mailto:b...@alien8.de] > What is that SOB supposed to mean? The original patch has been prepared by Lukas, then I [Hubert] rebased it, added commentary and cleaned up the code. In the end, Lukas modified it a bit once again according to suggestions from Tony. My SOB is

Re: Fix tuchpad wakeup on ASUS laptops (was [PATCH] Input: /input/mouse/elan_i2c_core.c)

2016-08-03 Thread Dmitry Torokhov
On Tue, Aug 02, 2016 at 09:46:09PM -0400, Vlad Glagolev wrote: > Hey Dmitry! > > Thanks, I've been testing it for 2+ weeks. Works like a charm so far. Thanks Vlad! I'll queue it for 4.8 and mark for stable. > > On Wed, 13 Jul 2016 12:22:47 -0700 > Dmitry Torokhov

Re: [PATCH 2/2] KVM: lapic: don't recalculate apic map table twice when enabling LAPIC

2016-08-03 Thread Radim Krčmář
2016-08-03 12:04+0800, Wanpeng Li: > From: Wanpeng Li > > APIC map table is recalculated during reset APIC ID to the initial value > when enabling LAPIC. This patch move the recalculate_apic_map() to the > next branch since we don't need to recalculate apic map twice in

[PATCH v2 6/7] MIPS: BMIPS: Add BCM6362 support

2016-08-03 Thread Álvaro Fernández Rojas
BCM6362 is a BMIPS4350 SoC which needs the same fixup as BCM6368 in order to enable SMP support. Signed-off-by: Álvaro Fernández Rojas --- Documentation/devicetree/bindings/mips/brcm/soc.txt | 2 +- arch/mips/bmips/setup.c | 1 + 2 files changed, 2

Re: Support for configurable PCIe endpoint

2016-08-03 Thread Christoph Hellwig
On Wed, Aug 03, 2016 at 11:33:19AM +0530, Kishon Vijay Abraham I wrote: > Hi, > > The PCIe controller present in TI's DRA7 SoC is capable of operating either in > Root Complex mode or Endpoint mode. (It uses Synopsys Designware Core).I'd > assume most of the PCIe controllers on other platforms

Re: [PATCH v2 1/3] perf/core: Add a tracepoint for perf sampling

2016-08-03 Thread Peter Zijlstra
On Wed, Aug 03, 2016 at 02:47:47AM +, Brendan Gregg wrote: > When perf is performing hrtimer-based sampling, this tracepoint can be used > by BPF to run additional logic on each sample. For example, BPF can fetch > stack traces and frequency count them in kernel context, for an efficient >

[PATCH] x86/entry: Clarify the RF saving/restoring situation with SYSCALL/SYSRET

2016-08-03 Thread Borislav Petkov
From: Borislav Petkov Clarify why exactly RF cannot be restored properly by SYSRET to avoid confusion. No functionality change. Signed-off-by: Borislav Petkov Cc: Andy Lutomirski --- arch/x86/entry/entry_64.S | 14 +- 1 file

Re: [PATCH] sched/cputime: Mitigate performance regression in times()/clock_gettime()

2016-08-03 Thread Peter Zijlstra
On Wed, Aug 03, 2016 at 12:04:52AM +0200, Giovanni Gherdovich wrote: > > > +#if defined(CONFIG_FAIR_GROUP_SCHED) > > > > This here wants a comment on why we're doing this. Because I'm sure > > that if someone were to read this code in a few weeks they'd go > > WTF!? > > I had that config

[PATCH v3 1/3] mm: memcontrol: fix swap counter leak on swapout from offline cgroup

2016-08-03 Thread Vladimir Davydov
An offline memory cgroup might have anonymous memory or shmem left charged to it and no swap. Since only swap entries pin the id of an offline cgroup, such a cgroup will have no id and so an attempt to swapout its anon/shmem will not store memory cgroup info in the swap cgroup map. As a result,

[PATCH 1/1] Fix NULL pointer dereference in imx serial driver DMA callback

2016-08-03 Thread Fabien Lahoudere
From: Hannu Koivisto dma_rx_callback() may see NULL dma_chan_rx if DMA interrupt [1] occurs a moment[2] before imx_uart_dma_exit() sets it to NULL. imx_uart_dma_exit() calls dmaengine_terminate_all() and dma_release_channel() but neither of those prevent the callback

Re: [PATCH 1/2] KVM: lapic: fix access preemption timer stuff even if kernel_irqchip=off

2016-08-03 Thread Wanpeng Li
2016-08-03 17:55 GMT+08:00 Radim Krčmář : > 2016-08-03 12:04+0800, Wanpeng Li: >> From: Wanpeng Li >> >> BUG: unable to handle kernel NULL pointer dereference at 008c >> IP: [] kvm_lapic_hv_timer_in_use+0x10/0x20 [kvm] >> PGD 0 >> Oops:

[PATCH 1/2] gpio: mmio: add brcm,bcm6345 support

2016-08-03 Thread Álvaro Fernández Rojas
From: Christian Lamparter This patch adds support for the GPIO found in Broadcom's bcm63xx-gpio chips. This GPIOs is used in the following Broadcom SoCs: BCM6338, BCM6345. It shouldn't be used in newer Broadcom SoCs since they need a proper pinctrl driver.

[PATCH v8 5/5] usb: dwc3: rockchip: add devicetree bindings documentation

2016-08-03 Thread William Wu
This patch adds the devicetree documentation required for Rockchip USB3.0 core wrapper consisting of USB3.0 IP from Synopsys. It supports DRD mode, and could operate in device mode (SS, HS, FS) and host mode (SS, HS, FS, LS). Signed-off-by: William Wu Acked-by: Rob

[PATCH v8 0/5] support rockchip dwc3 driver

2016-08-03 Thread William Wu
This series add support for rockchip dwc3 driver, and add additional optional properties for specific platforms (e.g., rockchip rk3399 platform). William Wu (5): usb: dwc3: of-simple: add compatible for rockchip rk3399 usb: dwc3: add dis_u2_freeclk_exists_quirk usb: dwc3: make usb2 phy utmi

[PATCH v8 4/5] usb: dwc3: add dis_del_phy_power_chg_quirk

2016-08-03 Thread William Wu
Add a quirk to clear the GUSB3PIPECTL.DELAYP1TRANS bit, which specifies whether disable delay PHY power change from P0 to P1/P2/P3 when link state changing from U0 to U1/U2/U3 respectively. Signed-off-by: William Wu Acked-by: Rob Herring --- Changes

Re: [RFC v0 7/8] Input: ims-pcu: use firmware_stat instead of completion

2016-08-03 Thread Arend van Spriel
On 03-08-16 09:42, Dmitry Torokhov wrote: > On Tue, Aug 2, 2016 at 12:41 AM, Luis R. Rodriguez wrote: >> On Tue, Aug 02, 2016 at 08:53:55AM +0200, Daniel Wagner wrote: >>> On 08/02/2016 08:34 AM, Luis R. Rodriguez wrote: On Tue, Aug 02, 2016 at 07:49:19AM +0200, Daniel

Re: [PATCH 1/1] Fix NULL pointer dereference in imx serial driver DMA callback

2016-08-03 Thread Lars-Peter Clausen
On 08/03/2016 01:19 PM, Lars-Peter Clausen wrote: > On 08/03/2016 12:59 PM, Fabien Lahoudere wrote: >> From: Hannu Koivisto >> >> dma_rx_callback() may see NULL dma_chan_rx if DMA interrupt [1] occurs a >> moment[2] before imx_uart_dma_exit() sets it to NULL.

[PATCH v0 0/4] Use complete() instead of complete_all()

2016-08-03 Thread Daniel Wagner
From: Daniel Wagner Hi, Using complete_all() is not wrong per se but it suggest that there might be more than one reader. For -rt I am reviewing all complete_all() users and would like to leave only the real ones in the tree. The main problem for -rt about

[PATCH v0 3/4] i2c: brcmstb: Use complete() instead of complete_all()

2016-08-03 Thread Daniel Wagner
From: Daniel Wagner There is only one waiter for the completion, therefore there is no need to use complete_all(). Let's make that clear by using complete() instead of complete_all(). The usage pattern of the completion is: brcmstb_send_i2c_cmd()

[PATCH v0 2/4] i2c: bcm-kona: Use complete() instead of complete_all()

2016-08-03 Thread Daniel Wagner
From: Daniel Wagner There is only one waiter for the completion, therefore there is no need to use complete_all(). Let's make that clear by using complete() instead of complete_all(). The usage pattern of the completion is: bcm_kona_send_i2c_cmd()

[PATCH v0 1/4] i2c: bcm-iproc: Use complete() instead of complete_all()

2016-08-03 Thread Daniel Wagner
From: Daniel Wagner There is only one waiter for the completion, therefore there is no need to use complete_all(). Let's make that clear by using complete() instead of complete_all(). The usage pattern of the completion is: bcm_iproc_i2c_xfer_single_msg()

Re: [PATCH 0/3] ARM: omap: fix 4.7 gpmc networking regression

2016-08-03 Thread Roger Quadros
On 03/08/16 11:01, Johan Hovold wrote: > On Wed, Aug 03, 2016 at 10:46:24AM +0300, Roger Quadros wrote: >> On 02/08/16 13:35, Tony Lindgren wrote: >>> * Johan Hovold [160724 05:11]: Networking is currently broken for Overo boards due to a regression in 4.7. I bisected

Re: [PATCH 1/1] EDAC, sb_edac: Fix channel reporting on Knights Landing

2016-08-03 Thread Borislav Petkov
On Wed, Aug 03, 2016 at 09:25:13AM +, Chrzaniuk, Hubert wrote: > Thanks a lot, next time I am gonna do it the right way from the begging :) Does "next time" mean you guys will be introducing more bugs to sb_edac? :- -- Regards/Gruss, Boris. ECO tip #101: Trim your mails when you

  1   2   3   4   5   6   7   8   9   10   >