On 11.05.2017 11:06, Jose Abreu wrote:
> This patches makes use of the new mode_valid() callbacks introduced
> previously to validate the full video pipeline when modesetting.
>
> This calls the encoder->mode_valid(), bridge->mode_valid() and
> crtc->mode_valid() so that we can make sure that the m
Hi Mark,
On Sun, May 14, 2017 at 11:50 AM, Mark Brown wrote:
> On Thu, May 04, 2017 at 09:37:18AM +0200, Geert Uytterhoeven wrote:
>> If NO_DMA=y:
>>
>> ERROR: "bad_dma_ops" [drivers/spi/spi-ti-qspi.ko] undefined!
>>
>> Add a dependency on HAS_DMA to fix this.
>
> There's no progress on fixin
On Fri, May 12, 2017 at 1:40 AM, Thomas Gleixner wrote:
> On Thu, 11 May 2017, Gregory Fong wrote:
>> Hi Thomas,
>>
>> I noticed that when you changed arm irq handling to use the generic
>> implementation back in 2006 that you changed do_bad_IRQ() to the
>> following:
>>
>> +#define do_bad_IRQ(irq
Ping again...
On 02/05/17 09:32, Vladimir Murzin wrote:
> Gentle ping!
>
> On 24/04/17 11:16, Vladimir Murzin wrote:
>> It seem that addition of cache support for M-class CPUs uncovered
>> latent bug in DMA usage. NOMMU memory model has been treated as being
>> always consistent; however, for R/M
When booted as pv-guest the p2m list presented by the Xen is already
mapped to virtual addresses. In dom0 case the hypervisor might make use
of 2M- or 1G-pages for this mapping. Unfortunately while being properly
aligned in virtual and machine address space, those pages might not be
aligned properl
On Thu, May 11, 2017 at 10:06:02AM +0100, Jose Abreu wrote:
> Now that we have a callback to check if crtc supports a given mode
> we can use it in arcpgu so that we restrict the number of probbed
> modes to the ones we can actually display.
>
> This is specially useful because arcpgu crtc is resp
On 11.05.2017 11:06, Jose Abreu wrote:
> Now that we have a callback to check if crtc supports a given mode
> we can use it in arcpgu so that we restrict the number of probbed
> modes to the ones we can actually display.
>
> This is specially useful because arcpgu crtc is responsible to set
> a clo
There are two pointers in sysfs_display_ring,
one that increments if using normal dma descriptors,
another if using extended dma descriptors.
When printing the normal dma descriptors, the wrong pointer is used,
thus the printed descriptor addresses are incorrect.
Signed-off-by: Niklas Cassel
---
Hi,
The last version of this series has been posted here [1]. The timing wasn't
all that great so this is mostly a resubmit. I've added one additional patch
to fix another pfn walker noticed by Joonsoo (this is patch 11) and also
added a clarification for pfn_valid() and offline pages.
There is st
From: Michal Hocko
init_currently_empty_zone doesn't have any error to return yet it is
still an int and callers try to be defensive and try to handle potential
error. Remove this nonsense and simplify all callers.
This patch shouldn't have any visible effect
Acked-by: Balbir Singh
Acked-by: V
From: Michal Hocko
the primary purpose of this helper is to query the node state so use
the node id directly. This is a preparatory patch for later changes.
This shouldn't introduce any functional change
Acked-by: Vlastimil Babka
Reviewed-by: Yasuaki Ishimatsu
Signed-off-by: Michal Hocko
---
Commit-ID: 8663effb24f9430394d3bf1ed2dac42a771421d1
Gitweb: http://git.kernel.org/tip/8663effb24f9430394d3bf1ed2dac42a771421d1
Author: Steven Rostedt (VMware)
AuthorDate: Fri, 14 Apr 2017 08:48:09 -0400
Committer: Ingo Molnar
CommitDate: Mon, 15 May 2017 10:09:12 +0200
sched/core: Call
Commit-ID: 625ed2bf049d5a352c1bcca962d6e133454eaaff
Gitweb: http://git.kernel.org/tip/625ed2bf049d5a352c1bcca962d6e133454eaaff
Author: Vincent Guittot
AuthorDate: Wed, 26 Apr 2017 08:27:56 +0200
Committer: Ingo Molnar
CommitDate: Mon, 15 May 2017 10:15:13 +0200
sched/cfs: Make util/loa
From: Michal Hocko
c04fc586c1a4 ("mm: show node to memory section relationship with
symlinks in sysfs") has added means to export memblock<->node
association into the sysfs. It has also introduced get_nid_for_pfn
which is a rather confusing counterpart of pfn_to_nid which checks also
whether the
From: Michal Hocko
Memory hotplug (add_memory_resource) has to reinitialize node
infrastructure if the node is offline (one which went through the
complete add_memory(); remove_memory() cycle). That involves node
registration to the kobj infrastructure (register_node), the proper
association with
From: Michal Hocko
is_pageblock_removable_nolock relies on having zone association to
examine all the page blocks to check whether they are movable or free.
This is just wasting of cycles when the memblock is offline. Later patch
in the series will also change the time when the page is associated
From: Michal Hocko
__pageblock_pfn_to_page has two users currently, set_zone_contiguous
which checks whether the given zone contains holes and
pageblock_pfn_to_page which then carefully returns a first valid
page from the given pfn range for the given zone. This doesn't handle
zones which are not
From: Michal Hocko
arch_add_memory gets for_device argument which then controls whether we
want to create memblocks for created memory sections. Simplify the logic
by telling whether we want memblocks directly rather than going through
pointless negation. This also makes the api easier to underst
Hi Will,
if this patch looks good, can it go in 4.12-rc2 as bug fix?
or can it be queued for 4.13?
On Tue, May 2, 2017 at 9:59 PM, Ganapatrao Kulkarni
wrote:
> commit d98ecdaca296 ("arm64: perf: Count EL2 events if the kernel is
> running in HYP") returns -EINVAL when perf system call perf_event
Em Mon, 15 May 2017 09:03:48 +0200
Peter Zijlstra escreveu:
> On Fri, May 12, 2017 at 03:19:17PM -0700, Darren Hart wrote:
> > On Sat, May 13, 2017 at 12:11:09AM +0200, Peter Zijlstra wrote:
>
> > > And I really _really_ hate to see that rest crap spread here. Can't we
> > > just delete all th
From: Michal Hocko
pagetypeinfo_showblockcount_print skips over invalid pfns but it would
report pages which are offline because those have a valid pfn. Their
migrate type is misleading at best. Now that we have pfn_to_online_page()
we can use it instead of pfn_valid() and fix this.
Noticed-by:
From: Michal Hocko
The current memory hotplug implementation relies on having all the
struct pages associate with a zone/node during the physical hotplug phase
(arch_add_memory->__add_pages->__add_section->__add_zone). In the vast
majority of cases this means that they are added to ZONE_NORMAL. T
From: Michal Hocko
__reset_isolation_suitable walks the whole zone pfn range and it tries
to jump over holes by checking the zone for each page. It might still
stumble over offline pages, though. Skip those by checking
pfn_to_online_page()
Signed-off-by: Michal Hocko
---
mm/compaction.c | 5 ++
From: Michal Hocko
Tobias has reported following section mismatches introduced by "mm,
memory_hotplug: do not associate hotadded memory to zones until online".
WARNING: mm/built-in.o(.text+0x5a1c2): Section mismatch in reference from the
function move_pfn_range_to_zone() to the function
.memin
From: Michal Hocko
zone_for_memory doesn't have any user anymore as well as the whole zone
shifting infrastructure so drop them all.
This shouldn't introduce any functional changes.
Acked-by: Vlastimil Babka
Signed-off-by: Michal Hocko
---
include/linux/memory_hotplug.h | 2 -
mm/memory_ho
From: Michal Hocko
__first_valid_page skips over invalid pfns in the range but it might
still stumble over offline pages. At least start_isolate_page_range
will mark those set_migratetype_isolate. This doesn't represent
any immediate AFAICS because alloc_contig_range will fail to isolate
those pa
Hi,
this series will add support for HPD in omapdrm. Instead of polling for HPD
changes we can use interrupts to be notified of HPD change, thus we can react to
events faster.
The series is based on top of 4.12-rc1
Regards,
Peter
---
Peter Ujfalusi (3):
drm/omap: Support for HDMI hot plug dete
If the hpd_gpio is valid, use interrupt handler to react to HPD changes.
In case the hpd_gpio is not valid, try to enable hpd detection on the
encoder if it supports it.
Signed-off-by: Peter Ujfalusi
---
drivers/gpu/drm/omapdrm/displays/connector-hdmi.c | 104 ++
1 file chang
Use interrupt handler for hpd GPIO to react to HPD changes.
Signed-off-by: Peter Ujfalusi
---
.../gpu/drm/omapdrm/displays/encoder-tpd12s015.c | 81 ++
1 file changed, 81 insertions(+)
diff --git a/drivers/gpu/drm/omapdrm/displays/encoder-tpd12s015.c
b/drivers/gpu/drm/oma
The HPD signal can be used for detecting HDMI cable plug and unplug event
without the need for polling the status of the line.
This will speed up detecting such event because we do not need to wait for
the next poll event to notice the state change.
Signed-off-by: Peter Ujfalusi
---
drivers/gpu/
On Sat, May 13, 2017 at 06:40:03AM -0700, Paul E. McKenney wrote:
> On Fri, May 12, 2017 at 05:34:48PM -0400, Steven Rostedt wrote:
> > On Fri, 12 May 2017 21:49:56 +0200
>
> [ . . . ]
>
> > This means that text_mutex, which was taken by the alternative code, no
> > longer is taken in cpu hotplug
Commit cae9ff036eea effectively disabled the drm poll_helper by checking
the wrong flag to see if the driver should enable the poll or not:
mode_config.poll_enabled is only set to true by poll_init and it is not
indicating if the poll is enabled or not.
nouveau_display_create() will initialize the
On Sun, 14 May 2017 17:38:44 +0200,
Mauro Carvalho Chehab wrote:
>
> The markup inside the #if 0 comment actually refers to a
> kernel-doc markup. As we're getting rid of DocBook update it.
>
> Signed-off-by: Mauro Carvalho Chehab
I guess you prefer taking it from your tree? Feel free to take
From: Michal Hocko
device memory hotplug hooks into regular memory hotplug only half way.
It needs memory sections to track struct pages but there is no
need/desire to associate those sections with memory blocks and export
them to the userspace via sysfs because they cannot be onlined anyway.
Th
Commit-ID: 8c0334697dc37eb3d6d7632304d3a3662248daac
Gitweb: http://git.kernel.org/tip/8c0334697dc37eb3d6d7632304d3a3662248daac
Author: Lauro Ramos Venancio
AuthorDate: Thu, 13 Apr 2017 10:56:07 -0300
Committer: Ingo Molnar
CommitDate: Mon, 15 May 2017 10:15:22 +0200
sched/topology: Ref
On 5/14/2017 9:53 AM, Bjorn Andersson wrote:
On Thu 11 May 03:33 PDT 2017, Varadarajan Narayanan wrote:
On 5/11/2017 4:13 AM, Bjorn Andersson wrote:
On Thu 04 May 04:53 PDT 2017, Varadarajan Narayanan wrote:
[..]
+enum ipq8074_functions {
Please keep these sorted alphabetically.
Ok
+
On 2017年05月12日 22:36, Mark Rutland wrote:
On Wed, May 10, 2017 at 01:13:04AM -0400, yanjiang@windriver.com wrote:
From: Yanjiang Jin
Kexec's second kernel would hang if CPU1 isn't reset.
Signed-off-by: Yanjiang Jin
---
arch/arm/mach-socfpga/platsmp.c | 12 +++-
1 file changed
Commit-ID: c743f0a5c50f2fcbc628526279cfa24f3dabe182
Gitweb: http://git.kernel.org/tip/c743f0a5c50f2fcbc628526279cfa24f3dabe182
Author: Peter Zijlstra
AuthorDate: Fri, 14 Apr 2017 14:20:05 +0200
Committer: Ingo Molnar
CommitDate: Mon, 15 May 2017 10:15:23 +0200
sched/fair, cpumask: Expo
In preparation for range locking, this patch gets rid of
CONFIG_INTERVAL_TREE option as we will unconditionally
build it.
Signed-off-by: Davidlohr Bueso
---
drivers/gpu/drm/Kconfig | 2 --
drivers/gpu/drm/i915/Kconfig | 1 -
lib/Kconfig | 14 --
lib/Kconfig.de
This implements a sleepable range rwlock, based on interval tree, serializing
conflicting/intersecting/overlapping ranges within the tree. The largest range
is given by [0, ~0] (inclusive). Unlike traditional locks, range locking
involves dealing with the tree itself and the range to be locked, nor
We should account for nreader threads, not writers in this
callback. Could even trigger a div by 0 if the user explicitly
disables writers.
Signed-off-by: Davidlohr Bueso
---
kernel/locking/locktorture.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/locking/locktortu
Changes from v2 (https://lwn.net/Articles/719182/):
- Renamed to range_lock
- Added lockdep support with rwsem semantics
- Fix range_lock_set_reader() being overwritten
- Improved documentation wrt ordering and fairness as
well as overall description (less implementation details).
Chan
Torture the reader/writer range locks. Each thread will attempt to
lock+unlock a range of up to [0, 4096].
Signed-off-by: Davidlohr Bueso
---
kernel/locking/locktorture.c | 221 +--
1 file changed, 172 insertions(+), 49 deletions(-)
diff --git a/kernel/lo
This replaces the in-house version, which is also derived
from Jan's interval tree implementation.
Cc: oleg.dro...@intel.com
Cc: andreas.dil...@intel.com
Cc: jsimm...@infradead.org
Cc: lustre-de...@lists.lustre.org
Signed-off-by: Davidlohr Bueso
---
drivers/staging/lustre/lustre/llite/Makefile
From: Markus Elfring
Omit an extra message for a memory allocation failure in this function.
This issue was detected by using the Coccinelle software.
Link:
http://events.linuxfoundation.org/sites/events/files/slides/LCJ16-Refactor_Strings-WSang_0.pdf
Signed-off-by: Markus Elfring
Acked-by: S
Commit-ID: f32d782e31bf079f600dcec126ed117b0577e85c
Gitweb: http://git.kernel.org/tip/f32d782e31bf079f600dcec126ed117b0577e85c
Author: Lauro Ramos Venancio
AuthorDate: Thu, 20 Apr 2017 16:51:40 -0300
Committer: Ingo Molnar
CommitDate: Mon, 15 May 2017 10:15:26 +0200
sched/topology: Opt
From: Markus Elfring
Replace the specification of a data structure by a pointer dereference
as the parameter for the operator "sizeof" to make the corresponding size
determination a bit safer according to the Linux coding style convention.
Signed-off-by: Markus Elfring
Acked-by: Samuel Iglesias
Things can explode for locktorture if the user does combinations
of nwriters_stress=0 nreaders_stress=0. Fix this by not assuming
we always want to torture writer threads.
Signed-off-by: Davidlohr Bueso
---
kernel/locking/locktorture.c | 76 +---
1 file ch
Commit-ID: c20e1ea4b61c3d99a354d912f2d74822fd2a001d
Gitweb: http://git.kernel.org/tip/c20e1ea4b61c3d99a354d912f2d74822fd2a001d
Author: Lauro Ramos Venancio
AuthorDate: Thu, 20 Apr 2017 16:51:42 -0300
Committer: Ingo Molnar
CommitDate: Mon, 15 May 2017 10:15:27 +0200
sched/topology: Mov
Hi Zhong,
[auto build test WARNING on clk/clk-next]
[also build test WARNING on v4.12-rc1 next-20170515]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system]
url:
https://github.com/0day-ci/linux/commits/Guodong-Xu/clk-hi3660-fix-wrong-parent
Hi Bjorn
Thanks a lot for your reply and explanations. Sorry for my late reply due to
some other emergencies.
>
>On Tue, May 02, 2017 at 12:02:53PM +, Patel, Mayurkumar wrote:
>> >On Fri, Apr 21, 2017 at 2:46 AM, Patel, Mayurkumar
>> > wrote:
>> >>>On 4/17/2017 12:38 PM, Bjorn Helgaas wrote:
On Mon, May 15, 2017 at 09:39:02AM +0200, Quentin Schulz wrote:
> For the sake of DT binding stability, this IIO driver is a child of an
> MFD driver for Allwinner A10, A13 and A31 because there already exists a
> DT binding for this IP. The MFD driver has a DT node but the IIO driver
> does not.
>
From: Yanjiang Jin
V1->V2:
1. Add flush_cache_all() in cpu_die();
2. Add more descriptive on the commit log;
Also validate kexec and CPU_HOTPLUG as before.
I guess socfpga's other boards may need this patch, but I have Arria10
board only.
So add a new function socfpga_a10_cpu_kill(), keep the
From: Yanjiang Jin
socfpga_cpu_die() just puts CPU in WFI, not actually off. So that Kexec's
second kernel goes wrong since the kerenl text gets ovewritten.
Now reset CPU1 in cpu_kill() to avoid this error.
Also add flush_cache_all() to prevent data from being lost in cpu_die().
Signed-off-by: Y
Hi,
Hi Oza,
we are configuring interrupt coalesce for NVMe, but right now, it uses
module param.
so the same interrupt coalesce settings get applied for all the NVMEs
connected to different RCs.
ideally it should be with sysctl.
If at all, I would place this in nvme-cli (via ioctl) instea
On Mon, May 15, 2017 at 02:13:47PM +0800, Zhou Wang wrote:
> On 2017/4/26 18:06, Lorenzo Pieralisi wrote:
> > The introduction of pci_bus_find_numa_node(pci_bus) allows at PCI
> > host bridge registration to detect the NUMA node for a given
> > struct pci_bus.dev. Implement an ACPI method that, thr
Commit-ID: 502ce005ab95d5d9481768649dbab808845b24d7
Gitweb: http://git.kernel.org/tip/502ce005ab95d5d9481768649dbab808845b24d7
Author: Peter Zijlstra
AuthorDate: Thu, 4 May 2017 15:31:22 +0200
Committer: Ingo Molnar
CommitDate: Mon, 15 May 2017 10:15:35 +0200
sched/fair: Use task_group
On Mon, May 15, 2017 at 9:45 AM, Benjamin Tissoires
wrote:
> On May 12 2017 or thereabouts, Rafael J. Wysocki wrote:
>> On Friday, May 12, 2017 02:36:20 AM Zheng, Lv wrote:
>> > Hi,
>> >
>> > > From: Benjamin Tissoires [mailto:benjamin.tissoi...@redhat.com]
>> > > Subject: Re: [PATCH 2/2] Revert "
Commit-ID: d517a114fc478a61886c3fdf22db68b6d831
Gitweb: http://git.kernel.org/tip/d517a114fc478a61886c3fdf22db68b6d831
Author: Tejun Heo
AuthorDate: Tue, 25 Apr 2017 17:43:50 -0700
Committer: Ingo Molnar
CommitDate: Mon, 15 May 2017 10:15:36 +0200
sched/fair: Fix O(nr_cgroups)
Hi Song,
[auto build test ERROR on pci/next]
[also build test ERROR on v4.12-rc1 next-20170515]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system]
url:
https://github.com/0day-ci/linux/commits/Song-Xiaowei/arm64-dts-hi3660-add-pcie-node
Hi Maxime,
On 15/05/2017 11:11, Maxime Ripard wrote:
> On Mon, May 15, 2017 at 09:39:02AM +0200, Quentin Schulz wrote:
>> For the sake of DT binding stability, this IIO driver is a child of an
>> MFD driver for Allwinner A10, A13 and A31 because there already exists a
>> DT binding for this IP. Th
Thomas Gleixner writes:
> To enable smp_processor_id() and might_sleep() debug checks earlier, it's
> required to add system states between SYSTEM_BOOTING and SYSTEM_RUNNING.
>
> Adjust the system_state check in smp_generic_cpu_bootable() to handle the
> extra states.
>
> Signed-off-by: Thomas Gl
Hi Matthias,
Appreciate your help on reviewing. Add my comments inline
On Mon, 2017-05-15 at 09:53 +0200, Matthias Brugger wrote:
>
> On 12/05/17 09:56, sean.w...@mediatek.com wrote:
> > From: Sean Wang
> >
> > Because there are two versions of MT7623 SoC that is MT7623a and MT7623n
> > respe
On Thu, 20 Apr 2017, Peter Zijlstra wrote:
For opt spinning we need to specifically know who would be next in
order, again, doesn't matter how many, just who's next.
I've sent a v3 with a more precise description of this, which I hope is
to your satisfaction.
Given a clear tree iteration/orde
On Mon, May 15, 2017 at 12:30:37AM +0800, Icenowy Zheng wrote:
> As we are going to add support for the Allwinner DE2 engine in sun4i-drm
> driver, we will finally have two types of display engines -- the DE1
> backend and the DE2 mixer. They both do some display blending and feed
> graphics data t
This patch set introduces the QorIQ Data Path Acceleration Arhitecture
(DPAA) Queue Manager and Buffer Manager device tree nodes for the ARM
based DPAA 1.x platforms.
Changes since v1 - addressed feedback received from Shawn Guo:
- renamed portal dtsi files
- added required newlines
- removed t
Add the QBMan device tree nodes for LS1046A devices.
Signed-off-by: Roy Pledge
Signed-off-by: Madalin Bucur
---
arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 54 ++
1 file changed, 54 insertions(+)
diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi
b/arch/a
Add the DPAA 1.x DPAA QMan and BMan portal nodes.
Signed-off-by: Roy Pledge
Signed-off-by: Madalin Bucur
---
.../boot/dts/freescale/qoriq-bman-portals.dtsi | 71 +++
.../boot/dts/freescale/qoriq-qman-portals.dtsi | 80 ++
2 files changed, 151 insertio
On Thu, May 11, 2017 at 1:34 PM, Arnd Bergmann wrote:
> We get a link error when EXPORTFS is not enabled:
>
> ERROR: "exportfs_encode_fh" [fs/overlayfs/overlay.ko] undefined!
> ERROR: "exportfs_decode_fh" [fs/overlayfs/overlay.ko] undefined!
>
> This adds a Kconfig 'select' statement for overlayfs
Add the DPAA 1.x QMan and BMan nodes in the LS1043A device tree.
Signed-off-by: Roy Pledge
Signed-off-by: Madalin Bucur
---
arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi | 53 ++
1 file changed, 53 insertions(+)
diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1043a.dt
On Mon, May 15, 2017 at 12:30:35AM +0800, Icenowy Zheng wrote:
> Allwinner V3s SoC have a display engine which have a different pipeline
> with older SoCs.
>
> Add document for it (new compatibles and the new "mixer" part).
>
> Signed-off-by: Icenowy Zheng
> Acked-by: Rob Herring
Applied, than
On Mon, May 15, 2017 at 12:30:43AM +0800, Icenowy Zheng wrote:
> + de2_clocks: clock@100 {
display_clocks would be better there, we don't have to dissociate de1
with de2
> + compatible = "allwinner,sun8i-v3s-de2-clk";
> + reg = <0x0100 0
On Mon, May 15, 2017 at 12:30:36AM +0800, Icenowy Zheng wrote:
> As we are going to add support for the Allwinner DE2 Mixer in sun4i-drm
> driver, we will finally have two types of layers.
>
> Each layer is bound to a drm_plane that is CRTC-specific, so we create
> them when initializing CRTC (cal
mcp23xxx device have configurable 100k pullup resistors. This adds
support for enabling them using pinctrl's pinconf interface.
Signed-off-by: Sebastian Reichel
---
drivers/pinctrl/Kconfig| 1 +
drivers/pinctrl/pinctrl-mcp23s08.c | 199 -
2 files
Signed-off-by: Sebastian Reichel
---
arch/blackfin/mach-bf527/boards/tll6527m.c | 4 ++--
drivers/pinctrl/pinctrl-mcp23s08.c | 29 ++---
include/linux/spi/mcp23s08.h | 6 +-
3 files changed, 13 insertions(+), 26 deletions(-)
diff --git a/arch/b
i2c-core and spi-core already assign the irq, so we
can drop the additional call from the mcp driver.
Signed-off-by: Sebastian Reichel
---
drivers/pinctrl/pinctrl-mcp23s08.c | 4
1 file changed, 4 deletions(-)
diff --git a/drivers/pinctrl/pinctrl-mcp23s08.c
b/drivers/pinctrl/pinctrl-mcp23
Simplify spi pdata handling, so that it uses pdata when available
and falls back to reading device properties otherwise.
Signed-off-by: Sebastian Reichel
---
drivers/pinctrl/pinctrl-mcp23s08.c | 67 ++
1 file changed, 32 insertions(+), 35 deletions(-)
diff --
Let's remove a few lines of code by using managed memory for mcp
variable.
Signed-off-by: Sebastian Reichel
---
drivers/pinctrl/pinctrl-mcp23s08.c | 10 ++
1 file changed, 2 insertions(+), 8 deletions(-)
diff --git a/drivers/pinctrl/pinctrl-mcp23s08.c
b/drivers/pinctrl/pinctrl-mcp23s08
The comment does not match the driver, which actually supports
automatic assignment. Fix this by updating the comment.
Signed-off-by: Sebastian Reichel
---
include/linux/spi/mcp23s08.h | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/include/linux/spi/mcp23s08.h b/i
Hi,
Here is a rebase of my PATCHv2 in combination with the second patchset, which
migrates to regmap based register caching. I also added a few more patches, that
do misc. cleanups in the driver and remove ~100 loc (that's 10%).
The first patch and the 12th patch ("simplify spi_present_mask handl
mcp23s08 support configuration of the pullups using the
pinconf framework. This removes the custom pullup configuration
from platform data, which has no upstream users.
Signed-off-by: Sebastian Reichel
---
drivers/pinctrl/pinctrl-mcp23s08.c | 7 ---
include/linux/spi/mcp23s08.h | 1 -
On 05/15/2017 10:43 AM, Andy Shevchenko wrote:
> On Sun, 2017-05-14 at 18:34 +0530, Vinod Koul wrote:
>> On Tue, May 09, 2017 at 07:18:37PM +0300, Andy Shevchenko wrote:
>>> AVR32 is gone. Now it's time to clean up the driver by removing
>>> leftovers that was used by AVR32 related code.
>>
>> Sinc
This moves irq property handling from spi/i2c specific code into
the generic mcp23s08_probe_one. This is possible because the
device properties are named equally.
As a side-effect this drops support for setting the properties via
pdata, which has no mainline users. If boardcode wants to enable
the
The driver supports using mcp23xxx as interrupt controller, so
let's drop all comments stating otherwise.
Signed-off-by: Sebastian Reichel
---
drivers/pinctrl/pinctrl-mcp23s08.c | 19 ++-
include/linux/spi/mcp23s08.h | 3 ---
2 files changed, 2 insertions(+), 20 deletions(
Simplify i2c pdata handling, so that it uses pdata when available
and falls back to reading device properties otherwise.
Signed-off-by: Sebastian Reichel
---
drivers/pinctrl/pinctrl-mcp23s08.c | 26 +++---
1 file changed, 7 insertions(+), 19 deletions(-)
diff --git a/drivers
Switching to devm_gpiochip_add_data simplifies the driver's
cleanup routine and safes a few loc.
Signed-off-by: Sebastian Reichel
---
drivers/pinctrl/pinctrl-mcp23s08.c | 40 ++
1 file changed, 2 insertions(+), 38 deletions(-)
diff --git a/drivers/pinctrl/pin
Jessica Yu writes:
> +++ Michael Ellerman [10/05/17 16:57 +1000]:
>>On powerpc we can build the kernel with two different ABIs for mcount(), which
>>is used by ftrace. Kernels built with one ABI do not know how to load modules
>>built with the other ABI. The new style ABI is called "mprofile-kern
The driver compiles & works perfectly fine without OF_GPIO on x86,
so lets drop the dependency.
Signed-off-by: Sebastian Reichel
---
drivers/pinctrl/Kconfig | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/pinctrl/Kconfig b/drivers/pinctrl/Kconfig
index 1dabd1d79c1d..1c80b970554e 10064
This moves the mcp23s08 driver from gpio to pinctrl. Actual
pinctrl support for configuration of the pull-up resistors
follows in its own patch.
Signed-off-by: Sebastian Reichel
---
arch/arm/configs/lpc32xx_defconfig | 2 +-
arch/blackfin/configs/BF609-EZKIT_defconfig
Instead of using custom caching, this switches to regmap based
caching. Before the conversion the debugfs file used uncached
values, so that it was easily possible to see power-loss related
problems. The new code will check and recover at this place.
The patch will also ensure, that irqs are not c
On Mon, May 15, 2017 at 10:39:35AM +0200, Andrzej Hajda wrote:
> On 11.05.2017 11:06, Jose Abreu wrote:
> > This changes the connector probe helper function to use the new
> > encoder->mode_valid(), bridge->mode_valid() and crtc->mode_valid()
> > helper callbacks to validate the modes.
> >
> > The
> Wolfram, you can take this one directly if you wish. You can also
> take [1] (and optionally [2]) directly if you wish. Or just holler
> and I'll send you a pull request with [1] and this patch for-current.
Frankly, I'd prefer a pull-request. Less chances that I mix up things
for patches which
On 13/04/2017 at 22:04:29 -0300, Javier Martinez Canillas wrote:
> The at24 driver allows to register I2C EEPROM chips using different vendor
> and devices, but the I2C subsystem does not take the vendor into account
> when matching using the I2C table since it only has device entries.
>
> But whe
On Mon, May 15, 2017 at 06:00:46AM -0300, Mauro Carvalho Chehab wrote:
> > Well, I don't mind the '-' thing before return values too much, but the
> > below chunk is just pure drivel. It makes a perfectly good comment
> > worse.
> >
> > --- a/kernel/locking/mutex.c
> > +++ b/kernel/locking/mutex.
Fixed spelling warnings produced by scripts/checkpatch.pl
Signed-off-by: Ammly Fredrick
---
drivers/staging/rtl8723bs/core/rtw_mlme.c | 28 ++--
1 file changed, 14 insertions(+), 14 deletions(-)
diff --git a/drivers/staging/rtl8723bs/core/rtw_mlme.c
b/drivers/staging/rt
于 2017年5月15日 GMT+08:00 下午5:20:01, Maxime Ripard
写到:
>On Mon, May 15, 2017 at 12:30:37AM +0800, Icenowy Zheng wrote:
>> As we are going to add support for the Allwinner DE2 engine in
>sun4i-drm
>> driver, we will finally have two types of display engines -- the DE1
>> backend and the DE2 mixer.
On 25 April 2017 at 17:39, David Woods wrote:
> Using the device_property interfaces allows the dw_mmc driver to work
> on platforms which run on either device tree or ACPI.
>
> Signed-off-by: David Woods
> Reviewed-by: Chris Metcalf
> ---
> drivers/mmc/core/host.c | 72
> +++
On May 15 2017 or thereabouts, Rafael J. Wysocki wrote:
> On Mon, May 15, 2017 at 9:45 AM, Benjamin Tissoires
> wrote:
> > On May 12 2017 or thereabouts, Rafael J. Wysocki wrote:
> >> On Friday, May 12, 2017 02:36:20 AM Zheng, Lv wrote:
> >> > Hi,
> >> >
> >> > > From: Benjamin Tissoires [mailto:b
ntainers review this patch in parallel?
+Device tree maintainers.
-Guodong
>
> On Mon, May 15, 2017 at 5:18 PM, kbuild test robot wrote:
>>
>> Hi Song,
>>
>> [auto build test ERROR on pci/next]
>> [also build test ERROR on v4.12-rc1 next-20170515]
>&g
On 19/04/2017 at 19:48:07 +0200, Arnd Bergmann wrote:
> We get a harmless warning without CONFIG_PM:
>
> drivers/memory/atmel-ebi.c:584:12: error: 'atmel_ebi_resume' defined but not
> used [-Werror=unused-function]
>
> Marking the function as __maybe_unused does the right thing here
> and drops
101 - 200 of 1000 matches
Mail list logo