Re: [PATCH v2 02/10] cpufreq: provide data for frequency-invariant load-tracking support

2017-07-09 Thread Viresh Kumar
On 08-07-17, 14:09, Rafael J. Wysocki wrote: > I'm sort of wondering how many is "a lot" really. For instance, do you really > want all of the existing ARM platforms to use the new stuff even though > it may regress things there in principle? That's a valid question and we must (maybe we already

[PATCH v3] drm/sun4i: Implement drm_driver lastclose to restore fbdev console

2017-07-09 Thread Jonathan Liu
The drm_driver lastclose callback is called when the last userspace DRM client has closed. Call drm_fbdev_cma_restore_mode to restore the fbdev console otherwise the fbdev console will stop working. Fixes: 9026e0d122ac ("drm: Add Allwinner A10 Display Engine support") Cc: sta...@vger.kernel.org Si

Re: [PATCH v2] drm/sun4i: Implement drm_driver lastclose to restore fbdev console

2017-07-09 Thread Jonathan Liu
Hi Maxime, On 10 July 2017 at 16:44, Maxime Ripard wrote: > On Sun, Jul 09, 2017 at 11:11:07PM +0800, Chen-Yu Tsai wrote: >> On Sun, Jul 9, 2017 at 3:59 PM, Jonathan Liu wrote: >> > The drm_driver lastclose callback is called when the last userspace >> > DRM client has closed. Call drm_fbdev_cma

Re: [PATCH] drm: inhibit drm drivers register to uninitialized drm core

2017-07-09 Thread Daniel Vetter
On Sat, Jul 08, 2017 at 11:43:52PM +0200, Alexandru Moise wrote: > If the DRM core fails to init for whatever reason, ensure that > no driver ever calls drm_dev_register(). > > This is best done at drm_dev_init() as it covers drivers that call > drm_dev_alloc() as well as drivers that prefer to em

RE: [PATCH 1/3] ipc: convert ipc_namespace.count from atomic_t to refcount_t

2017-07-09 Thread Reshetova, Elena
> Elena Reshetova writes: > > > refcount_t type and corresponding API should be > > used instead of atomic_t when the variable is used as > > a reference counter. This allows to avoid accidental > > refcounter overflows that might lead to use-after-free > > situations. > > In this patch you can

Re: [PATCH 2/2] mm, memory_hotplug: remove zone restrictions

2017-07-09 Thread Michal Hocko
On Fri 07-07-17 17:02:59, Vlastimil Babka wrote: > [+CC linux-api] > > On 06/29/2017 09:35 AM, Michal Hocko wrote: > > From: Michal Hocko > > > > Historically we have enforced that any kernel zone (e.g ZONE_NORMAL) has > > to precede the Movable zone in the physical memory range. The purpose of

Re: [PATCH v2] drm/sun4i: Implement drm_driver lastclose to restore fbdev console

2017-07-09 Thread Maxime Ripard
On Sun, Jul 09, 2017 at 11:11:07PM +0800, Chen-Yu Tsai wrote: > On Sun, Jul 9, 2017 at 3:59 PM, Jonathan Liu wrote: > > The drm_driver lastclose callback is called when the last userspace > > DRM client has closed. Call drm_fbdev_cma_restore_mode to restore > > the fbdev console otherwise the fbde

[PATCH 1/1 V2] media: usb: uvc: Fix incorrect timeout for Get Request

2017-07-09 Thread Jim Lin
Section 9.2.6.4 of USB 2.0/3.x specification describes that "device must be able to return the first data packet to host within 500 ms of receipt of the request. For subsequent data packet, if any, the device must be able to return them within 500 ms". This is to fix incorrect timeout and change i

Re: [PATCH V4 6/6] iommu/arm-smmu: Add support for qcom,msm8996-smmu-v2 clocks

2017-07-09 Thread Vivek Gautam
Hi Rob, On Mon, Jul 10, 2017 at 9:10 AM, Rob Herring wrote: > On Thu, Jul 06, 2017 at 03:07:05PM +0530, Vivek Gautam wrote: >> qcom,msm8996-smmu-v2 is an arm,smmu-v2 implementation with >> specific clock and power requirements. This smmu core is used >> with multiple masters on msm8996, viz. mds

Re: [PATCH v2 02/10] cpufreq: provide data for frequency-invariant load-tracking support

2017-07-09 Thread Viresh Kumar
On 07-07-17, 17:01, Dietmar Eggemann wrote: > diff --git a/drivers/cpufreq/cpufreq.c b/drivers/cpufreq/cpufreq.c > index 9bf97a366029..77c4d5e7a598 100644 > --- a/drivers/cpufreq/cpufreq.c > +++ b/drivers/cpufreq/cpufreq.c > @@ -301,6 +301,12 @@ static void adjust_jiffies(unsigned long val, struct

[PATCH] misc: lis3lv02d: constify attribute_group structures.

2017-07-09 Thread Arvind Yadav
attribute_groups are not supposed to change at runtime. All functions working with attribute_groups provided by work with const attribute_group. So mark the non-const structs as const. File size before: textdata bss dec hex filename 7509 753 082622046 drive

Re: [PATCH] usb: gadget: udc-xilinx: compress return logic into one line

2017-07-09 Thread Michal Simek
On 10.7.2017 05:04, Gustavo A. R. Silva wrote: > Simplify return logic to avoid unnecessary variable assignment. > > This issue was detected using Coccinelle and the following > semantic patch: > > @@ > local idexpression ret; > expression e; > @@ > > -ret = > +return > e; > -return ret; >

Re: [PATCH] ASoC: pxa: SND_PXA2XX_SOC should depend on HAS_DMA

2017-07-09 Thread Robert Jarzmik
Geert Uytterhoeven writes: > If NO_DMA=y: > > ERROR: "bad_dma_ops" [sound/soc/pxa/snd-soc-pxa2xx.ko] undefined! > ERROR: "bad_dma_ops" [sound/arm/snd-pxa2xx-lib.ko] undefined! > ERROR: "dma_common_mmap" [sound/arm/snd-pxa2xx-lib.ko] undefined! > > Add a dependency on HAS_DMA to fix th

Re: [PATCH 3/3] net: stmmac: Make 'alloc_dma_[rt]x_desc_resources()' look even closer

2017-07-09 Thread Giuseppe CAVALLARO
On 7/8/2017 9:46 AM, Christophe JAILLET wrote: 'alloc_dma_[rt]x_desc_resources()' functions look very close. Remove a useless initialization and use the same label name for error handling path in order to get them even closer. Signed-off-by: Christophe JAILLET Acked-by: Giuseppe Cavallaro

Re: [PATCH v2] staging: atomisp: use kstrdup to replace kmalloc and memcpy

2017-07-09 Thread hari prasath
On 10 July 2017 at 01:22, Sakari Ailus wrote: > On Sun, Jul 09, 2017 at 05:56:15PM +0530, hari prasath wrote: >> On 8 July 2017 at 16:31, Sakari Ailus wrote: >> > Hi Hari, >> > >> > On Fri, Jul 07, 2017 at 08:15:21PM +0530, Hari Prasath wrote: >> >> kstrdup kernel primitive can be used to replace

Re: [PATCH 2/3] net: stmmac: Fix error handling path in 'alloc_dma_tx_desc_resources()'

2017-07-09 Thread Giuseppe CAVALLARO
On 7/8/2017 9:46 AM, Christophe JAILLET wrote: If the first 'kmalloc_array' within the loop fails, we should free what as already been allocated, as done in all other error handling path. Fixes: ce736788e8a9 ("net: stmmac: adding multiple buffers for TX") Signed-off-by: Christophe JAILLET Acke

Re: [PATCH 1/3] net: stmmac: Fix error handling path in 'alloc_dma_rx_desc_resources()'

2017-07-09 Thread Giuseppe CAVALLARO
On 7/8/2017 9:46 AM, Christophe JAILLET wrote: If the first 'kmalloc_array' within the loop fails, we should free what as already been allocated, as done in all other error handling path. Fixes: 54139cf3bb33 ("net: stmmac: adding multiple buffers for rx") Signed-off-by: Christophe JAILLET Ack

Re: [PATCH v2 tip/perf/core 1/6] perf symbols: find symbols in different mount namespace

2017-07-09 Thread Thomas-Mich Richter
On 07/07/2017 09:36 PM, Krister Johansen wrote: > On Thu, Jul 06, 2017 at 04:41:30PM -0300, Arnaldo Carvalho de Melo wrote: >> Em Wed, Jul 05, 2017 at 06:48:08PM -0700, Krister Johansen escreveu: >>> Teach perf how to resolve symbols from binaries that are in a different >>> mount namespace from th

[PATCHv3] staging: atomisp: use kstrdup to replace kmalloc and memcpy

2017-07-09 Thread Hari Prasath
kstrdup kernel primitive can be used to replace kmalloc followed by string copy. This was reported by coccinelle tool. Signed-off-by: Hari Prasath --- v1: Replace kmalloc followed by memcpy with kmemdup. Based on review comments from Alan Cox, this could better be done

Re: [PATCH RESEND] arm64: arch_timer: fix the infinite recursion when enable ftrace and erratum workaround

2017-07-09 Thread Hanjun Guo
On 2017/7/9 16:30, Ding Tianhong wrote: > When enable preempt and debug ftrace, and perform the following steps, the > system will hang: > mount -t debugfs nodev /sys/kernel/debug/ > cd /sys/kernel/debug/tracing/ > echo function_graph > current_tracer > > This is because tracing the preempt_disable

[PATCH v2] ARM: dts: at91: sama5d2_xplained: use pin macros instead of numbers

2017-07-09 Thread Ludovic Desroches
Use pin macros instead of magic numbers to ease interpretation. Signed-off-by: Ludovic Desroches --- I have remove the unexpected brace removal from the first version of this patch. arch/arm/boot/dts/at91-sama5d2_xplained.dts | 23 --- 1 file changed, 12 insertions(+), 11 d

Re: [PATCH] ARM: tegra: Register host1x node with iommu binding on tegra124

2017-07-09 Thread Paul Kocialkowski
Le lundi 10 juillet 2017 à 07:21 +0200, Thierry Reding a écrit : > On Sun, Jul 09, 2017 at 07:36:14PM +0300, Paul Kocialkowski wrote: > > This registers the host1x node with the SMMU (as HC swgroup) to > > allow > > the host1x code to attach to it. It avoid failing the probe > > sequence, > > which

Re: [RFC v5 00/38] powerpc: Memory Protection Keys

2017-07-09 Thread Ram Pai
On Mon, Jul 10, 2017 at 11:13:23AM +0530, Anshuman Khandual wrote: > On 07/06/2017 02:51 AM, Ram Pai wrote: > > Memory protection keys enable applications to protect its > > address space from inadvertent access or corruption from > > itself. > > > > The overall idea: > > > > A process allocates

Re: [PATCH v6 1/7] perf/core: Define the common branch type classification

2017-07-09 Thread Michael Ellerman
Hi Jin Yao, Sorry I haven't commented until now, but it got lost in the flood of patches. Just a few nit-picks below ... Jin Yao writes: > It is often useful to know the branch types while analyzing branch > data. For example, a call is very different from a conditional branch. > > Currently w

Re: [RFC v5 34/38] procfs: display the protection-key number associated with a vma

2017-07-09 Thread Ram Pai
On Mon, Jul 10, 2017 at 08:37:28AM +0530, Anshuman Khandual wrote: > On 07/06/2017 02:52 AM, Ram Pai wrote: > > Display the pkey number associated with the vma in smaps of a task. > > The key will be seen as below: > > > > ProtectionKey: 0 > > > > Signed-off-by: Ram Pai > > --- > > arch/powerpc

Re: [RFC v5 38/38] Documentation: PowerPC specific updates to memory protection keys

2017-07-09 Thread Ram Pai
On Mon, Jul 10, 2017 at 08:37:04AM +0530, Anshuman Khandual wrote: > On 07/06/2017 02:52 AM, Ram Pai wrote: > > Add documentation updates that capture PowerPC specific changes. > > > > Signed-off-by: Ram Pai > > --- > > Documentation/vm/protection-keys.txt | 85 > > ++-

linux-next: Tree for Jul 10

2017-07-09 Thread Stephen Rothwell
Hi all, Please do not add any v4.14 material to your linux-next included branches until after v4.13-rc1 has been released. Changes since 20170707: The unicore32 tree gained conflicts against the kbuild tree. The vfs tree gained a build failure for which I applied a hack patch. And another (from

Re: [RFC v5 31/38] powerpc: introduce get_pte_pkey() helper

2017-07-09 Thread Ram Pai
On Mon, Jul 10, 2017 at 08:41:30AM +0530, Anshuman Khandual wrote: > On 07/06/2017 02:52 AM, Ram Pai wrote: > > get_pte_pkey() helper returns the pkey associated with > > a address corresponding to a given mm_struct. > > > > Signed-off-by: Ram Pai > > --- > > arch/powerpc/include/asm/book3s/64/m

Re: [PATCH] NVMe: Added another device ID with stripe quirk

2017-07-09 Thread Sagi Grimberg
That's true for all Intel controllers going forward, but this is actually an older controller that pre-dates NOIOB. It's the exact same as the 8086:0A54 model, but a particular vendor decided their rebranded device needs to be made special with a different DID. Meh.. We all agree that's a t

[PATCH v3 1/2] x86/boot/KASLR: exclude EFI_BOOT_SERVICES_{CODE|DATA} from KASLR's choice

2017-07-09 Thread Naoya Horiguchi
KASLR chooses kernel location from E820_TYPE_RAM regions by walking over e820 entries now. E820_TYPE_RAM includes EFI_BOOT_SERVICES_CODE and EFI_BOOT_SERVICES_DATA, so those regions can be the target. According to UEFI spec, all memory regions marked as EfiBootServicesCode and EfiBootServicesData a

[PATCH v3 2/2] x86/efi: clean up dead code around efi_reserve_boot_services()

2017-07-09 Thread Naoya Horiguchi
EFI_BOOT_SERVICES_{CODE|DATA} regions never overlap the kernel now, so we can clean up the check in efi_reserve_boot_services(). Signed-off-by: Naoya Horiguchi --- arch/x86/platform/efi/quirks.c | 23 +-- 1 file changed, 1 insertion(+), 22 deletions(-) diff --git next-201707

Re: [RFC v5 32/38] powerpc: capture the violated protection key on fault

2017-07-09 Thread Ram Pai
On Mon, Jul 10, 2017 at 08:40:19AM +0530, Anshuman Khandual wrote: > On 07/06/2017 02:52 AM, Ram Pai wrote: > > Capture the protection key that got violated in paca. > > This value will be used by used to inform the signal > > handler. > > > > Signed-off-by: Ram Pai > > --- > > arch/powerpc/incl

Re: [PATCH] x86/boot/KASLR: exclude EFI_BOOT_SERVICES_{CODE|DATA} from KASLR's choice

2017-07-09 Thread Naoya Horiguchi
On Fri, Jul 07, 2017 at 11:58:14AM +0100, Matt Fleming wrote: > On Fri, 07 Jul, at 06:11:24AM, Naoya Horiguchi wrote: > > On Fri, Jul 07, 2017 at 11:07:59AM +0800, Baoquan He wrote: > > > On 07/06/17 at 03:57pm, Matt Fleming wrote: > > > > On Thu, 06 Jul, at 08:31:07AM, Naoya Horiguchi wrote: > > >

Re: [RFC v5 00/38] powerpc: Memory Protection Keys

2017-07-09 Thread Anshuman Khandual
On 07/06/2017 02:51 AM, Ram Pai wrote: > Memory protection keys enable applications to protect its > address space from inadvertent access or corruption from > itself. > > The overall idea: > > A process allocates a key and associates it with > an address range withinits address s

[PATCH] mfd: ab8500-core: constify attribute_group structures.

2017-07-09 Thread Arvind Yadav
attribute_groups are not supposed to change at runtime. All functions working with attribute_groups provided by work with const attribute_group. So mark the non-const structs as const. File size before: textdata bss dec hex filename 162981009 184 174914453 drive

Re: [PATCH v1 1/1] mux: consumer: Add dummy functions for !CONFIG_MULTIPLEXER case

2017-07-09 Thread Peter Rosin
On 2017-07-09 01:04, Kuppuswamy, Sathyanarayanan wrote: > Hi Peter, > > On 7/8/2017 1:55 PM, Peter Rosin wrote: >> On 2017-07-07 23:41, sathyanarayanan.kuppusw...@linux.intel.com wrote: >>> From: Kuppuswamy Sathyanarayanan >>> >>> >>> Add dummy functions to avoid compile time issues when CONFIG_

linux-next: manual merge of the akpm tree with the kbuild tree

2017-07-09 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the akpm tree got a conflict in: arch/xtensa/include/asm/Kbuild between commit: 35ff5ae79f85 ("xtensa: move generic-y of exported headers to uapi/asm/Kbuild") from the kbuild tree and patch: "xtensa: use generic fb.h" from the akpm tree. I fixed it

Re: [PATCH] vfio: Remove unnecessary uses of vfio_container.group_lock

2017-07-09 Thread Alexey Kardashevskiy
On 08/07/17 08:15, Alex Williamson wrote: > The original intent of vfio_container.group_lock is to protect > vfio_container.group_list, however over time it's become a crutch to > prevent changes in container composition any time we call into the > iommu driver backend. This introduces problems wh

Re: [PATCH] ARM: tegra: Register host1x node with iommu binding on tegra124

2017-07-09 Thread Thierry Reding
On Sun, Jul 09, 2017 at 07:36:14PM +0300, Paul Kocialkowski wrote: > This registers the host1x node with the SMMU (as HC swgroup) to allow > the host1x code to attach to it. It avoid failing the probe sequence, > which resulted in the tegra drm driver not probing and thus nothing > being displayed

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

2017-07-09 Thread Stephen Rothwell
Hi all, After merging the akpm-current tree, today's linux-next build (arm multi_v7_defconfig) failed like this: In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from include/uapi/linux/posix_types.h:4, from i

Re: [PATCH v6 1/7] perf/core: Define the common branch type classification

2017-07-09 Thread Michael Ellerman
Peter Zijlstra writes: > PPC folks, maddy, does this work for you guys? It think it works for us, but I have some comments, I'll reply to the original. cheers > On Thu, Apr 20, 2017 at 08:07:49PM +0800, Jin Yao wrote: >> It is often useful to know the branch types while analyzing branch >> dat

Re: [PATCH] hwtracing: coresight: constify attribute_group structures.

2017-07-09 Thread Arvind Yadav
Hi Mathieu, On Friday 07 July 2017 08:58 PM, Mathieu Poirier wrote: On 4 July 2017 at 23:49, Arvind Yadav wrote: attribute_groups are not supposed to change at runtime. All functions working with attribute_groups provided by work with const attribute_group. So mark the non-const structs as c

[Patch] mqueue: fix netlink sock refcnt and skb refcnt

2017-07-09 Thread Cong Wang
netlink_sendskb() is problematic, it releases sock refcnt silently which could cause troubles we can call it multiple times. info->notify_sock is a good example where we setup once and use it to send netlink skb's for many times. It should not hold or release any refcnt, but needs to rely on netlin

Re: [greybus-dev] [PATCH v2] staging: greybus: arche: wrap over-length lines

2017-07-09 Thread Viresh Kumar
Hi Mitchell, On 09-07-17, 20:25, Mitchell Tasman wrote: > Adjust formatting of various statements to keep line length within > the 80 column limit preferred by the Linux kernel coding style. We try to follow that most of the time, but the end result should be easily readable. If it isn't, then w

linux-next: manual merge of the akpm-current tree with the vfs tree

2017-07-09 Thread Stephen Rothwell
Hi Andrew, Today's linux-next merge of the akpm-current tree got a conflict in: fs/hugetlbfs/inode.c between commit: 4a25220d4e43 ("hugetlbfs: Implement show_options") from the vfs tree and commit: 25153b1fbd8a ("mm: hwpoison: dissolve in-use hugepage in unrecoverable memory error") f

[PATCH] autofs: Revert wait_queue_t => wait_queue_entry_t rename

2017-07-09 Thread Florian Fainelli
This reverts commit ac6424b981bce1c4bc55675c6ce11bfe1bbfa64f "("sched/wait: Rename wait_queue_t => wait_queue_entry_t") as far as the autofs user API structures are concerned since that would break user space build against such kernel headers. Fixes: ac6424b981bc ("sched/wait: Rename wait_queue_t

[no subject]

2017-07-09 Thread Sistem Administrator
PERHATIAN Kotak surat Anda telah melebihi batas penyimpanan, yaitu 5 GB seperti yang didefinisikan oleh administrator, yang saat ini berjalan pada 10.9GB, Anda mungkin tidak dapat mengirim atau menerima surat baru sampai Anda kembali memvalidasi email mailbox Anda. Untuk memvalidasi ulang kotak

Re: [PATCH] cifs: Clean up unused variables in smb2pdu.c

2017-07-09 Thread Steve French
merged into cifs-2.6.git for-next On Sun, Jul 9, 2017 at 5:45 AM, Christos Gkekas wrote: > There are multiple unused variables struct TCP_Server_Info *server > defined in many methods in smb2pdu.c. They should be removed and related > logic simplified. > > Signed-off-by: Christos Gkekas > --- >

Re: [PATCH 4/5] powernv:idle: Move initialization of sibling pacas to pnv_alloc_idle_core_states

2017-07-09 Thread Michael Ellerman
Nicholas Piggin writes: > On Fri, 7 Jul 2017 20:34:16 +0530 > Gautham R Shenoy wrote: >> On Fri, Jul 07, 2017 at 01:16:09AM +1000, Nicholas Piggin wrote: >> > >> > Speaking of which... core_idle_state and thread_sibling_pacas are >> > allocated with kmalloc_node... What happens if we take an SLB

Re: [PATCH] ARM: owl: smp: Drop owl_secondary_boot()

2017-07-09 Thread Florian Fainelli
On 07/09/2017 02:55 PM, Andreas Färber wrote: > Am 06.07.2017 um 19:17 schrieb Andreas Färber: >> Am 05.07.2017 um 04:36 schrieb Florian Fainelli: >>> On July 4, 2017 4:32:18 PM PDT, "Andreas Färber" wrote: - writel(virt_to_phys(owl_secondary_startup), + writel(virt_to_phys(secondary

Re: [GIT PULL] scheduler changes for v4.13

2017-07-09 Thread Florian Fainelli
On 07/03/2017 01:39 AM, Ingo Molnar wrote: > Linus, > > Please pull the latest sched-core-for-linus git tree from: > >git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git > sched-core-for-linus > ># HEAD: 72298e5c92c50edd8cb7cfda4519483ce65fa166 sched/cputime: Refactor > the cputi

[no subject]

2017-07-09 Thread системы администратор
внимания; Ваши сообщения превысил лимит памяти, который составляет 5 Гб, определенных администратором, который в настоящее время работает на 10.9GB, Вы не сможете отправить или получить новую почту, пока вы повторно не проверить ваш почтовый ящик почты. Чтобы восстановить работоспособность Ваше

Re: [PATCH v3 3/5] dt-bindings: stm32-dma: Add property to handle STM32 DMAMUX

2017-07-09 Thread Rob Herring
On Thu, Jul 06, 2017 at 02:20:21PM +0200, Pierre-Yves MORDRET wrote: > This patch adds an optional property needed for STM32 DMA controller > addressed via STM32 DMAMUX. > > Signed-off-by: M'boumba Cedric Madianga > Signed-off-by: Pierre-Yves MORDRET > --- > Version history: > v3: >

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

2017-07-09 Thread Stephen Rothwell
Hi Alexandre, Today's linux-next merge of the rtc tree got a conflict in: tools/testing/selftests/timers/Makefile between commit: 767392565a3e ("kselftests: timers: Add test for frequency step") from Linus' tree and commit: c96396f0780e ("tools: timer: add rtctest_setdate") from the rt

Re: [PATCH v3 1/5] dt-bindings: Document the STM32 DMAMUX bindings

2017-07-09 Thread Rob Herring
On Thu, Jul 06, 2017 at 02:20:19PM +0200, Pierre-Yves MORDRET wrote: > This patch adds the documentation of device tree bindings for the STM32 > DMAMUX. > > Signed-off-by: M'boumba Cedric Madianga > Signed-off-by: Pierre-Yves MORDRET > --- > Version history: > v3: > * change compati

Re: [PATCH v7 1/3] media: adv748x: Add adv7481, adv7482 bindings

2017-07-09 Thread Rob Herring
On Thu, Jul 06, 2017 at 12:01:15PM +0100, Kieran Bingham wrote: > From: Kieran Bingham > > Create device tree bindings documentation for the ADV748x. > The ADV748x supports both the ADV7481 and ADV7482 chips which > provide analogue decoding and HDMI receiving capabilities > > Signed-off-by: Kie

Re: [PATCH 2/2] dt-bindings: media: Add Amlogic Meson AO-CEC bindings

2017-07-09 Thread Rob Herring
On Thu, Jul 06, 2017 at 12:27:50PM +0200, Neil Armstrong wrote: > The Amlogic SoCs embeds a standalone CEC Controller, this patch adds this > device bindings. > > Signed-off-by: Neil Armstrong > --- > .../devicetree/bindings/media/meson-ao-cec.txt | 28 > ++ > 1 file cha

Re: [PATCH 3/3] dt-bindings: clock: amlogic,gxbb-aoclkc: Update bindings

2017-07-09 Thread Rob Herring
On Thu, Jul 06, 2017 at 12:24:23PM +0200, Neil Armstrong wrote: > On the first revision of the bindings, only the gates + resets were known > in the AO Clock HW, but more registers used to configures AO clock are known > to be spread among the AO register space. > This patch adds these registers to

Re: [PATCH 3/3] dt-bindings: i2c: eeprom: document "mac-offset" binding

2017-07-09 Thread Rob Herring
On Thu, Jul 06, 2017 at 01:16:57PM +0300, Claudiu Beznea wrote: > Document "mac-offset" binding that will be used by at24 EEPROM driver. > > Signed-off-by: Claudiu Beznea > --- > Documentation/devicetree/bindings/eeprom/eeprom.txt | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/Docu

Re: [PATCH 1/3] dt-bindings: i2c: eeprom: document all at24 bindings

2017-07-09 Thread Rob Herring
On Thu, Jul 06, 2017 at 01:16:55PM +0300, Claudiu Beznea wrote: > Document all at24 memories specific bindings. This will probably conflict with Javier's series "eeprom: at24: Add OF device ID table". Rob

Re: [PATCH V4 6/6] iommu/arm-smmu: Add support for qcom,msm8996-smmu-v2 clocks

2017-07-09 Thread Rob Herring
On Thu, Jul 06, 2017 at 03:07:05PM +0530, Vivek Gautam wrote: > qcom,msm8996-smmu-v2 is an arm,smmu-v2 implementation with > specific clock and power requirements. This smmu core is used > with multiple masters on msm8996, viz. mdss, video, etc. > Add bindings for the same. > > Signed-off-by: Vive

Re: [lkp-robot] [EDAC] 5729ee3edf: kmsg.EDAC_sbridge:Failed_to_register_device_with_error

2017-07-09 Thread Borislav Petkov
On Mon, Jul 10, 2017 at 10:42:17AM +0800, kernel test robot wrote: > commit: 5729ee3edf50e4627ab216a170a4748a2d62dd12 ("EDAC: Remove EDAC_MM_EDAC") > https://git.kernel.org/cgit/linux/kernel/git/bp/bp.git edac-for-4.12-stub So this is an old branch, lemme kill it. > in testcase: unixbench > with

Re: [PATCH V4 5/6] iommu/arm-smmu: Add support for MMU40x/500 clocks

2017-07-09 Thread Rob Herring
On Thu, Jul 06, 2017 at 03:07:04PM +0530, Vivek Gautam wrote: > From: Sricharan R > > The MMU400x/500 is the implementation of the SMMUv2 > arch specification. It is split in to two blocks > TBU, TCU. TBU caches the page table, instantiated > for each master locally, clocked by the TBUn_clk. > TC

[PATCH] usb: gadget: fusb300_udc: compress return logic into one line

2017-07-09 Thread Gustavo A. R. Silva
Simplify return logic to avoid unnecessary variable declaration and assignment. These issues were detected using Coccinelle and the following semantic patch: @@ local idexpression ret; expression e; @@ -ret = +return e; -return ret; Signed-off-by: Gustavo A. R. Silva --- drivers/usb/gadg

[PATCH] usb: misc: sisusbvga: compress return logic into one line

2017-07-09 Thread Gustavo A. R. Silva
Simplify return logic to avoid unnecessary variable declaration and assignment. These issues were detected using Coccinelle and the following semantic patch: @@ local idexpression ret; expression e; @@ -ret = +return e; -return ret; Signed-off-by: Gustavo A. R. Silva --- drivers/usb/misc

linux-next: please clean up the clockevents tree

2017-07-09 Thread Stephen Rothwell
Hi Daniel, Please clean up the clockevents tree (git://git.linaro.org/people/daniel.lezcano/linux.git#clockevents/next) as all its commits have been merged into other tree(s) as different commits (so all it is doing is adding lots of conflicts :-(). -- Cheers, Stephen Rothwell

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

2017-07-09 Thread Stephen Rothwell
Hi Mark, After merging the spi tree, today's linux-next build (x86_64 allmodconfig) failed like this: drivers/spi/spi-imx.c: In function 'spi_imx_setupxfer': drivers/spi/spi-imx.c:1007:16: error: 'config' undeclared (first use in this function) mask = (1 << config.bpw) - 1; ^

[PATCH] usb: gadget: udc-xilinx: compress return logic into one line

2017-07-09 Thread Gustavo A. R. Silva
Simplify return logic to avoid unnecessary variable assignment. This issue was detected using Coccinelle and the following semantic patch: @@ local idexpression ret; expression e; @@ -ret = +return e; -return ret; Signed-off-by: Gustavo A. R. Silva --- drivers/usb/gadget/udc/udc-xilinx.c

[RFC v2 PATCH] x86/boot: Add the secdata section to the setup header

2017-07-09 Thread Gary Lin
A new section, secdata, in the setup header is introduced to store the distro-specific security version which is designed to help the bootloader to warn the user when loading a less secure or vulnerable kernel. The secdata section can be presented as the following: struct sec_hdr { __u16 h

[PATCH] usb: misc: ftdi-elan: compress return logic into one line

2017-07-09 Thread Gustavo A. R. Silva
Simplify return logic to avoid unnecessary variable declaration and assignment. This issue was detected using Coccinelle and the following semantic patch: @@ local idexpression ret; expression e; @@ -ret = +return e; -return ret; Signed-off-by: Gustavo A. R. Silva --- drivers/usb/misc/ft

[PATCH 2/2] ioc3-eth: use netdev_pub instead of handrolling alignment

2017-07-09 Thread Jason A. Donenfeld
It's safer to use the generic library function for this, rather than reinventing it here with hard-coded alignment values. Signed-off-by: Jason A. Donenfeld --- drivers/net/ethernet/sgi/ioc3-eth.c | 11 +++ 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/drivers/net/etherne

[PATCH 1/2] netdevice: add netdev_pub helper function

2017-07-09 Thread Jason A. Donenfeld
Being able to utilize this makes code a lot simpler and cleaner. It's easier in many cases for drivers to pass around their private data structure, while occationally needing to dip into net_device, rather than the other way around, which results in tons of calls to netdev_priv in the top of every

[PATCH] usb: gadget: fsl_udc_core: compress return logic into one line

2017-07-09 Thread Gustavo A. R. Silva
Simplify return logic to avoid unnecessary variable assignment. This issue was detected using Coccinelle and the following semantic patch: @@ local idexpression ret; expression e; @@ -ret = +return e; -return ret; Signed-off-by: Gustavo A. R. Silva --- drivers/usb/gadget/udc/fsl_udc_core

Re: [RFC v5 31/38] powerpc: introduce get_pte_pkey() helper

2017-07-09 Thread Anshuman Khandual
On 07/06/2017 02:52 AM, Ram Pai wrote: > get_pte_pkey() helper returns the pkey associated with > a address corresponding to a given mm_struct. > > Signed-off-by: Ram Pai > --- > arch/powerpc/include/asm/book3s/64/mmu-hash.h |5 > arch/powerpc/mm/hash_utils_64.c | 28 >

Re: [RFC v5 32/38] powerpc: capture the violated protection key on fault

2017-07-09 Thread Anshuman Khandual
On 07/06/2017 02:52 AM, Ram Pai wrote: > Capture the protection key that got violated in paca. > This value will be used by used to inform the signal > handler. > > Signed-off-by: Ram Pai > --- > arch/powerpc/include/asm/paca.h |1 + > arch/powerpc/kernel/asm-offsets.c |1 + > arch/pow

Re: [RFC v5 33/38] powerpc: Deliver SEGV signal on pkey violation

2017-07-09 Thread Anshuman Khandual
On 07/06/2017 02:52 AM, Ram Pai wrote: > The value of the AMR register at the time of exception > is made available in gp_regs[PT_AMR] of the siginfo. > > The value of the pkey, whose protection got violated, > is made available in si_pkey field of the siginfo structure. > > Signed-off-by: Ram Pa

Re: [RFC v5 34/38] procfs: display the protection-key number associated with a vma

2017-07-09 Thread Anshuman Khandual
On 07/06/2017 02:52 AM, Ram Pai wrote: > Display the pkey number associated with the vma in smaps of a task. > The key will be seen as below: > > ProtectionKey: 0 > > Signed-off-by: Ram Pai > --- > arch/powerpc/kernel/setup_64.c |8 > 1 files changed, 8 insertions(+), 0 deletions(-

Re: [RFC v5 38/38] Documentation: PowerPC specific updates to memory protection keys

2017-07-09 Thread Anshuman Khandual
On 07/06/2017 02:52 AM, Ram Pai wrote: > Add documentation updates that capture PowerPC specific changes. > > Signed-off-by: Ram Pai > --- > Documentation/vm/protection-keys.txt | 85 > ++ > 1 files changed, 65 insertions(+), 20 deletions(-) > > diff --git a/D

Re: [git pull] drm for v4.13

2017-07-09 Thread Linus Torvalds
On Sun, Jul 9, 2017 at 8:01 PM, Dave Airlie wrote: > > Forgot to add, because I just checked now, there are 2 conflicts, > the drm one with patches from Al, and one in i915_gem_execbuffer.c > which I think resolves best by just taking the code from the pull in place > of code in your tree. Heh. I

Re: [git pull] drm for v4.13

2017-07-09 Thread Dave Airlie
On 10 July 2017 at 10:43, Dave Airlie wrote: > Hi Linus, > > Sorry this is a bit late, I was on holidays start of last week and now > I've got a post holiday illness. > I had nearly all this ready pre holidays, just had one set of fixes > and a cleanup on top, but I hadn't > written the summary. >

[PATCH] usb: gadget: legacy: ncm: compress return logic into one line

2017-07-09 Thread Gustavo A. R. Silva
Simplify return logic to avoid unnecessary variable assignment. This issue was detected using Coccinelle and the following semantic patch: @@ local idexpression ret; expression e; @@ -ret = +return e; -return ret; Signed-off-by: Gustavo A. R. Silva --- drivers/usb/gadget/legacy/ncm.c | 6

Re: [PATCH v4 4/4] x86/boot/KASLR: Restrict kernel to be randomized in mirror regions

2017-07-09 Thread Chao Fan
On Mon, Jul 10, 2017 at 09:47:29AM +0800, Baoquan He wrote: >On 07/09/17 at 07:11am, Kees Cook wrote: >> On Sun, Jul 9, 2017 at 5:37 AM, Baoquan He wrote: >> > Signed-off-by: Baoquan He >> > +/* Marks if efi mirror regions have been found and handled. */ >> > +static bool efi_mirror_found; >> >>

[PATCH] usb: gadget: legacy: dbgp: compress return logic into one line

2017-07-09 Thread Gustavo A. R. Silva
Simplify return logic to avoid unnecessary variable declaration and assignment. This issue was detected using Coccinelle and the following semantic patch: @@ local idexpression ret; expression e; @@ -ret = +return e; -return ret; Signed-off-by: Gustavo A. R. Silva --- drivers/usb/gadget/

[PATCH] usb: gadget: legacy: compress return logic into one line

2017-07-09 Thread Gustavo A. R. Silva
Simplify return logic to avoid unnecessary variable assignments. These issues were detected using Coccinelle and the following semantic patch: @@ local idexpression ret; expression e; @@ -ret = +return e; -return ret; Signed-off-by: Gustavo A. R. Silva --- drivers/usb/gadget/legacy/audio

[lkp-robot] [mm] a99d848d3b: kernel_BUG_at_mm/mmap.c

2017-07-09 Thread kernel test robot
FYI, we noticed the following commit: commit: a99d848d3bc6586e922584ce8ec673a451a09cf1 ("mm: larger stack guard gap, between vmas") url: https://github.com/0day-ci/linux/commits/Ben-Hutchings/mmap-Skip-a-single-VM_NONE-mapping-when-checking-the-stack/20170707-131750 in testcase: trinity with

Re: [PATCH v4 2/2] i2c: Add Spreadtrum I2C controller driver

2017-07-09 Thread Baolin Wang
Hi Wolfram, On 四, 7月 06, 2017 at 05:10:21下午 +0800, Baolin Wang wrote: > Hi Andy, > > On 四, 7月 06, 2017 at 12:00:29下午 +0300, Andy Shevchenko wrote: > > On Thu, Jul 6, 2017 at 11:47 AM, Baolin Wang > > wrote: > > > This patch adds the I2C controller driver for Spreadtrum SC9860 platform. > > >

[RESEND PATCH] bcache: Don't reinvent the wheel but use existing llist API

2017-07-09 Thread Byungchul Park
Although llist provides proper APIs, they are not used. Make them used. Signed-off-by: Byungchul Park --- drivers/md/bcache/closure.c | 17 +++-- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/drivers/md/bcache/closure.c b/drivers/md/bcache/closure.c index 864e673..18

[RESEND PATCH] mm: Don't reinvent the wheel but use existing llist API

2017-07-09 Thread Byungchul Park
Although llist provides proper APIs, they are not used. Make them used. Signed-off-by: Byungchul Park --- mm/vmalloc.c | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/mm/vmalloc.c b/mm/vmalloc.c index 3ca82d4..8c0eb45 100644 --- a/mm/vmalloc.c +++ b/mm/vmalloc.c @@

[RESEND PATCH] fput: Don't reinvent the wheel but use existing llist API

2017-07-09 Thread Byungchul Park
Although llist provides proper APIs, they are not used. Make them used. Signed-off-by: Byungchul Park Reviewed-by: Oleg Nesterov --- fs/file_table.c | 12 +--- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/fs/file_table.c b/fs/file_table.c index 6d982b5..3209da2 100644 -

[RESEND PATCH] Don't reinvent the wheel but use existing llilst API

2017-07-09 Thread Byungchul Park
Hello Linus, Even though llist APIs exist, serveral code in kernel reinvent the implementation again and again. Since I think it's *worth* making it use existing APIs, I submit patches doing it. Actually I've submitted them to maintainers and commiters about 10 times for 4 months, but they seem t

[RESEND PATCH] namespace.c: Don't reinvent the wheel but use existing llist API

2017-07-09 Thread Byungchul Park
Although llist provides proper APIs, they are not used. Make them used. Signed-off-by: Byungchul Park --- fs/namespace.c | 12 +--- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/fs/namespace.c b/fs/namespace.c index b5b1259..5cb2229 100644 --- a/fs/namespace.c +++ b/fs/na

[PATCH 2/2] usb: gadget: use unsigned int instead of unsigned in usb_otg_descriptor_alloc()

2017-07-09 Thread Gustavo A. R. Silva
Prefer unsigned int to bare use of unsigned. Signed-off-by: Gustavo A. R. Silva --- drivers/usb/gadget/config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/gadget/config.c b/drivers/usb/gadget/config.c index 23bfa7d..968179d 100644 --- a/drivers/usb/gadget/con

[PATCH 1/2] usb: gadget: compress return logic into one line

2017-07-09 Thread Gustavo A. R. Silva
Simplify return logic to avoid unnecessary variable declaration and assignment. This issue was detected using Coccinelle and the following semantic patch: @@ local idexpression ret; expression e; @@ -ret = +return e; -return ret; Signed-off-by: Gustavo A. R. Silva --- drivers/usb/gadget/

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

2017-07-09 Thread Al Viro
On Mon, Jul 10, 2017 at 12:15:11PM +1000, Stephen Rothwell wrote: > Hi Al, > Caused by commit > > 4f9365d9e2e7 ("spufs: Implement show_options") Obvious incremental follows, will fold and push diff --git a/arch/powerpc/platforms/cell/spufs/inode.c b/arch/powerpc/platforms/cell/spufs/inode.c

Re: [PATCH v16 2/7] power: add power sequence library

2017-07-09 Thread Peter Chen
On Sat, Jul 08, 2017 at 02:14:56PM +0200, Rafael J. Wysocki wrote: > On Saturday, July 08, 2017 01:51:15 PM Peter Chen wrote: > > On Fri, Jul 07, 2017 at 03:03:06PM +0200, Rafael J. Wysocki wrote: > > > On Friday, July 07, 2017 04:01:07 PM Peter Chen wrote: > > > > On Fri, Jul 07, 2017 at 03:13:48A

Re: blk-mq timeout question

2017-07-09 Thread Ming Lei
On Fri, Jul 7, 2017 at 9:45 PM, Stefan Haberland wrote: > While changing the DASD device driver to use the blk-mq interfaces I found > the following unexpected behavior: > > In case of a timeout our complete callback is never called. Here is the > sequence of events as I understood: > > - timeout

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

2017-07-09 Thread Stephen Rothwell
Hi Al, After merging the vfs tree, today's linux-next build (powerpc ppc64_defconfig) failed like this: arch/powerpc/platforms/cell/spufs/inode.c: In function 'spufs_show_options': arch/powerpc/platforms/cell/spufs/inode.c:612:18: error: 'struct dentry' has no member named 'i_uid' if (!uid_eq(

[PATCH] usb: gadget: configfs: compress return logic into one line

2017-07-09 Thread Gustavo A. R. Silva
Simplify return logic to avoid unnecessary variable assignment. This issue was detected using Coccinelle and the following semantic patch: @@ local idexpression ret; expression e; @@ -ret = +return e; -return ret; Signed-off-by: Gustavo A. R. Silva --- drivers/usb/gadget/configfs.c | 5 +

Re: [RFC PATCH] x86: enable dead code and data elimination (LTO)

2017-07-09 Thread Nicholas Piggin
On Sun, 9 Jul 2017 09:59:44 -0400 (EDT) Nicolas Pitre wrote: > On Sun, 9 Jul 2017, Masahiro Yamada wrote: > > > Hi. > > > > 2017-07-09 18:05 GMT+09:00 Ingo Molnar : > > > > > > * Nicholas Piggin wrote: > > > > > >> FYI, easiest way to check if you forgot to KEEP a linker table is > > >> to

[PATCH] usb: chipidea: udc: compress return logic into line

2017-07-09 Thread Gustavo A. R. Silva
Simplify return logic to avoid unnecessary variable assignment. This issue was detected using Coccinelle and the following semantic patch: @@ local idexpression ret; expression e; @@ -ret = +return e; -return ret; Signed-off-by: Gustavo A. R. Silva --- drivers/usb/chipidea/udc.c | 5 +---

  1   2   3   4   >