On Wed, Mar 22, 2017 at 7:18 AM, Peter Zijlstra wrote:
> On Fri, Mar 10, 2017 at 12:47:43PM -0800, Joel Fernandes wrote:
>> This patch rewrites comments related task priorities and CPU usage
>> along with an example to show how it works.
>
> To what purpose? Bigger word count?
The intention is to
On 03/22/2017 10:48 AM, Bjorn Helgaas wrote:
> On Wed, Mar 22, 2017 at 10:28:27AM -0400, Jon Masters wrote:
>> On 03/21/2017 10:56 AM, David Daney wrote:
>
>>> Yes. After all this back and forth, Cavium has decided to deploy
>>> firmware with "CAVxxx" as _HID.
>>
>> Great. How about a stable back
Added default implementation for of_find_all_nodes(). This function is
used by board.c from the board module (drivers/staging/board).
Signed-off-by: Artur Lorincz
---
include/linux/of.h | 5 +
1 file changed, 5 insertions(+)
diff --git a/include/linux/of.h b/include/linux/of.h
index 21e6323
Hello, Heiko!
> 22 марта 2017 г., в 18:54, Heiko Stuebner написал(а):
>
> I've applied a slightly different variant in [0] with your commit message and
> moved the dma properties to the mmc/emmc nodes in rk3xxx.dtsi - as the dma
> channels are the same on both rk3188 and rk3066.
Thank you! I ha
On Wed, Mar 22, 2017 at 4:32 PM, Catalin Marinas
wrote:
> On Wed, Mar 22, 2017 at 03:51:54PM +0100, Arnd Bergmann wrote:
>> On Wed, Mar 22, 2017 at 3:37 PM, Catalin Marinas
>> wrote:
>> Taht was certainly not intended, and I don't see yet what exactly is going
>> on.
>> What is your setting for
On Wed, Mar 22, 2017 at 03:04:03PM +, Lorenzo Pieralisi wrote:
> Hi Bjorn, Arnd,
>
> On Thu, Mar 16, 2017 at 04:12:43PM -0500, Bjorn Helgaas wrote:
> > [+cc Luis]
> >
> > On Mon, Feb 27, 2017 at 03:14:14PM +, Lorenzo Pieralisi wrote:
> > > The PCI specifications (Rev 3.0, 3.2.5 "Transacti
On Wed, Mar 22, 2017 at 6:18 PM, Andy Shevchenko
wrote:
> On Wed, Mar 22, 2017 at 4:37 AM, Arushi Singhal
> wrote:
>> This patch replaces bit shifting on 1 with the BIT(x) macro.
>> This was done with coccinelle:
>> @@
>> constant c;
>> @@
>>
>> -1 << c
>> +BIT(c)
>>
>
> While using BIT() macro i
On 22/03/17 09:22, Vincent Guittot wrote:
> On 21 March 2017 at 18:46, Dietmar Eggemann wrote:
>> Hi Vincent,
>>
>> On 17/03/17 13:47, Vincent Guittot wrote:
>>
>> [...]
>>
>>> Reported-by: ying.hu...@linux.intel.com
>>> Signed-off-by: Vincent Guittot
>>> Fixes: 4e5160766fcc ("sched/fair: Propaga
From: Colin Ian King
The check for ret being non-zero is false as ret is always
zero, hence we have redundant dead code that can be removed.
Detected with CoverityScan, CID#112968 ("Constant' variable guards
dead code (DEADCODE)'")
Signed-off-by: Colin Ian King
---
drivers/media/usb/au0828/au
On Wed, Mar 22, 2017 at 12:25:39PM -0400, Jon Masters wrote:
> On 03/22/2017 10:48 AM, Bjorn Helgaas wrote:
> > On Wed, Mar 22, 2017 at 10:28:27AM -0400, Jon Masters wrote:
> >> On 03/21/2017 10:56 AM, David Daney wrote:
> >
> >>> Yes. After all this back and forth, Cavium has decided to deploy
>
On Wed, Mar 22, 2017 at 12:36 AM, Ingo Molnar wrote:
>
> * Thomas Garnier wrote:
>
>> > static inline void setup_fixmap_gdt(int cpu)
>> > {
>> > __set_fixmap(get_cpu_gdt_ro_index(cpu),
>> > -__pa(get_cpu_gdt_rw(cpu)), pg_fixmap_gdt_flags);
>> > +s
On Wed, Mar 22, 2017 at 5:06 PM, Andrey Ryabinin
wrote:
> Disable kasan after the first report. There are several reasons for this:
> * Single bug quite often has multiple invalid memory accesses causing
> storm in the dmesg.
> * Write OOB access might corrupt metadata so the next report wil
Hi,
Am Mittwoch, 22. März 2017, 19:20:56 CET schrieb Alexander Kochetkov:
> Hello, Heiko!
>
> > 22 марта 2017 г., в 18:54, Heiko Stuebner написал(а):
> I have working settings for eMMC for radxa rock. What do you think, is it
> good idea to add them to the kernel DT? As Radxa Rock doesn’t come w
On Wed, Mar 22, 2017 at 7:16 AM, Peter Zijlstra wrote:
> On Fri, Mar 10, 2017 at 12:23:41PM -0800, Joel Fernandes wrote:
>> The PELT decay_load comments are a bit confusing, first of all
>> the 1/2^N should be (1/2)^N so that the reader doesn't get confused.
>
> I'm thinking you're confused. They'
On 03/22/2017 11:58 AM, Keith Busch wrote:
> On Tue, Mar 21, 2017 at 11:03:59PM -0400, Jens Axboe wrote:
>> On 03/21/2017 10:14 PM, Ming Lei wrote:
>>> When iterating busy requests in timeout handler,
>>> if the STARTED flag of one request isn't set, that means
>>> the request is being processed in
Hi Matthew,
On Wed, 22 Mar 2017 09:08:18 -0700 (PDT)
matthew.gerl...@linux.intel.com matthew.gerl...@linux.intel.com wrote:
...
>> Can we also add a function for registering a PCIe device with
>> PR IP here? Something like:
>
>If we have an alt_pr_pcie_register function, we will need the
>corre
On Mon 2017-03-06 21:45:51, Sergey Senozhatsky wrote:
> This patch introduces a dedicated printing kernel thread - printk_kthread.
> The main purpose of this kthread is to offload printing to a non-atomic
> and always scheduleable context, which eliminates 4) and makes 1)-3) less
> critical. printk
Hello,
On (03/22/17 16:43), Petr Mladek wrote:
> The patch looks fine to me. But it might get more complicated
> if we decide to have a global option to avoid the kthread.
> Let's discuss this in the 3rd patch first.
thanks for taking a look.
so I was going to publish a new patch set tonight, bu
On 03/22/2017 05:21 PM, Philipp Zabel wrote:
> On Tue, 2017-03-21 at 16:12 +0100, Neil Armstrong wrote:
>> Some display pipelines can only provide non-RBG input pixels to the HDMI TX
>> Controller, this patch takes the pixel format from the plat_data if provided.
>>
>> Signed-off-by: Neil Armstrong
This patch replaces bit shifting on 1 with the BIT(x) macro.
This was done with coccinelle:
@@
constant c;
@@
-1 << c
+BIT(c)
Signed-off-by: Arushi Singhal
---
changes in v2
-remove/correct the wrong code.
drivers/staging/iio/cdc/ad7150.c | 2 +-
drivers/staging/iio/cdc/ad7746.c | 16 +++
On Tue, Mar 21, 2017 at 11:48 PM, Ingo Molnar wrote:
>
> * Andy Lutomirski wrote:
>
>> i386 glibc is buggy and calls the sigaction syscall incorrectly.
>> This is asymptomatic for normal programs, but it blows up on
>> programs that do evil things with segmentation. ldt_gdt an example
>> of such
On Wed, Mar 22, 2017 at 9:33 AM, Andy Lutomirski wrote:
> On Wed, Mar 22, 2017 at 12:36 AM, Ingo Molnar wrote:
>>
>> * Thomas Garnier wrote:
>>
>>> > static inline void setup_fixmap_gdt(int cpu)
>>> > {
>>> > __set_fixmap(get_cpu_gdt_ro_index(cpu),
>>> > -__pa(get_c
Hi,
Am Dienstag, 21. März 2017, 18:40:22 CET schrieb Alexander Kochetkov:
> The patch set SD clock frequency to maximum possible to SD-card
> (50MHz). This change actual clock frequency from 32MHz to 48MHz
> (speedup 1.5X).
>
> Banner line before patch: 'mmc_host mmc0: Bus speed (slot 0) = 32
On Wed, Mar 22, 2017 at 07:54:04AM -0700, Eric Dumazet wrote:
>
> I guess someone could code a lib/test_refcount.c launching X threads
> using either atomic_inc or refcount_inc() in a loop.
>
> That would give a rough estimate of the refcount_t overhead among
> various platforms.
Cycles spend on
On 22 March 2017 at 17:22, Dietmar Eggemann wrote:
> On 22/03/17 09:22, Vincent Guittot wrote:
>> On 21 March 2017 at 18:46, Dietmar Eggemann wrote:
>>> Hi Vincent,
>>>
>>> On 17/03/17 13:47, Vincent Guittot wrote:
>>>
>>> [...]
>>>
Reported-by: ying.hu...@linux.intel.com
Signed-off-by:
On Wed, Mar 22, 2017 at 05:29:19PM +0100, Arnd Bergmann wrote:
> On Wed, Mar 22, 2017 at 4:32 PM, Catalin Marinas
> wrote:
> > On Wed, Mar 22, 2017 at 03:51:54PM +0100, Arnd Bergmann wrote:
> >> On Wed, Mar 22, 2017 at 3:37 PM, Catalin Marinas
> >> wrote:
>
> >> Taht was certainly not intended,
2017-03-22 16:53+0100, David Hildenbrand:
> If we already entered/are about to enter SMM, don't allow
> switching to INIT/SIPI_RECEIVED, otherwise the next call to
> kvm_apic_accept_events() will report a warning.
>
> Fixes: cd7764fe9f73 ("KVM: x86: latch INITs while in system management mode")
>
This patchset introduces a range of error handling
and other misc improvements for the HiSilicon SAS
controller, including:
- controller reset function
- softreset for SATA error handling
- fixes for slot free'ing
- v2 hw error handling improvements
- and other misc, more minor stuff
John Garry (1
Introduce function to get hisi_sas_port from
asd_sas_port.
Signed-off-by: John Garry
Signed-off-by: Xiang Chen
---
drivers/scsi/hisi_sas/hisi_sas.h | 2 ++
drivers/scsi/hisi_sas/hisi_sas_main.c | 17 +
drivers/scsi/hisi_sas/hisi_sas_v1_hw.c | 4 +++-
drivers/scsi/hisi_s
For consistency, remove the "hisi_sas_" prefix.
Signed-off-by: John Garry
---
drivers/scsi/hisi_sas/hisi_sas_v2_hw.c | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/drivers/scsi/hisi_sas/hisi_sas_v2_hw.c
b/drivers/scsi/hisi_sas/hisi_sas_v2_hw.c
index 45bd69d..e9
Some more locking needs to be added/modified for when
read-modify-writing sas_task.task_state_flags.
Note: since we can attempt to grab this lock in interrupt
context we should use irq variant of spin_lock.
Signed-off-by: John Garry
Signed-off-by: Xiang Chen
---
drivers/scsi/hisi_sas/his
Check in slot_complete_v2_hw() for whether a task has
already been completed by upper layer.
Signed-off-by: John Garry
Reviewed-by: Xiang Chen
---
drivers/scsi/hisi_sas/hisi_sas_v2_hw.c | 10 ++
1 file changed, 10 insertions(+)
diff --git a/drivers/scsi/hisi_sas/hisi_sas_v2_hw.c
b/dri
We currently do a hard reset for a link reset. Change this
to do a link reset only.
Signed-off-by: John Garry
Signed-off-by: Xiang Chen
---
drivers/scsi/hisi_sas/hisi_sas_main.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/scsi/hisi_sas/hisi_sas_main.c
b/driver
Unless we actually get some sort of failure in
hisi_sas_lu_reset(), don't print a message.
Signed-off-by: John Garry
Signed-off-by: Xiang Chen
---
drivers/scsi/hisi_sas/hisi_sas_main.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/drivers/scsi/hisi_sas/hisi_sas_main.c
From: Xiaofei Tan
Add helper function is_sata_phy_v2_hw() to judge whether
the attached device is SATA disk for a root PHY.
Signed-off-by: Xiaofei Tan
Signed-off-by: John Garry
---
drivers/scsi/hisi_sas/hisi_sas_v2_hw.c | 17 +
1 file changed, 13 insertions(+), 4 deletions(-)
Currently an internal abort is executed regardless
of the result of the TMF. We should also check the
result of the internal abort to see if we should
free the slot.
So change the status code STAT_IO_COMPLETE to
TMF_RESP_FUNC_SUCC, meaning the slot has been
successfully aborted.
Signed-off-by: Jo
This patch includes:
(1) Disable transport layer retry
(2) Support CQ time and count interrupt coal
(3) fix link FIFO full issue
Signed-off-by: Xiang Chen
Signed-off-by: Zhao Nenglong
Signed-off-by: John Garry
---
drivers/scsi/hisi_sas/hisi_sas_v2_hw.c | 12 ++--
1 file changed, 6 inse
From: Xiang Chen
When an SMP task timeouts, it will call lldd_abort_task
to release the associated slot, and then will release
the sas_task.
Currently in lldd_abort_task, if we fail to internally
abort IO, then the slot of SMP IO is not released,
but sas_task will still be later released, so the
On Wed, Mar 22, 2017 at 9:38 AM, Thomas Garnier wrote:
> On Wed, Mar 22, 2017 at 9:33 AM, Andy Lutomirski wrote:
>> On Wed, Mar 22, 2017 at 12:36 AM, Ingo Molnar wrote:
>>>
>>> * Thomas Garnier wrote:
>>>
> static inline void setup_fixmap_gdt(int cpu)
> {
> __set_fixmap
From: Xiang Chen
After hardreset, we clear up IOs of remote disks, so we
need to free those slots in LLDD.
Signed-off-by: Xiang Chen
Signed-off-by: John Garry
---
drivers/scsi/hisi_sas/hisi_sas_main.c | 11 ++-
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/drivers/scsi
When issuing an LU reset for a SATA target, issue an
internal abort and a hard reset.
Signed-off-by: John Garry
Signed-off-by: Xiang Chen
---
drivers/scsi/hisi_sas/hisi_sas_main.c | 38 ++-
1 file changed, 29 insertions(+), 9 deletions(-)
diff --git a/drivers/sc
On Wed, Mar 22, 2017 at 03:59:21PM +, Marc Zyngier wrote:
> [Sorry, sent too quickly]
>
[ ... ]
> >> struct arch_timer_erratum_workaround {
> >> - const char *id; /* Indicate the Erratum ID */
> >> + enum arch_timer_erratum_match_type match_type;
> >
> > Putting the match_fn inst
On 22/03/17 16:01, Leo Yan wrote:
> On Wed, Mar 22, 2017 at 02:07:47PM +, Sudeep Holla wrote:
[...]
>>
>> We can always do that unconditionally. If implementations don't honor
>> those bits, it's different. If they hang on accessing something which is
>> on debug power domain and not on cor
Add function for upper-layer to reset controller
when all else fails.
Signed-off-by: John Garry
Signed-off-by: Xiang Chen
---
drivers/scsi/hisi_sas/hisi_sas_main.c | 8
1 file changed, 8 insertions(+)
diff --git a/drivers/scsi/hisi_sas/hisi_sas_main.c
b/drivers/scsi/hisi_sas/hisi_sas
Relocate the PHY init code from LLDD hw init path
to hisi_sas_scan_start().
Signed-off-by: John Garry
Signed-off-by: Xiang Chen
---
drivers/scsi/hisi_sas/hisi_sas.h | 2 +-
drivers/scsi/hisi_sas/hisi_sas_main.c | 9 +++--
drivers/scsi/hisi_sas/hisi_sas_v1_hw.c | 3 +--
drivers/scsi/h
From: Xiang Chen
Add softreset to clear IO after internal abort device
for SATA disk.
The SATA error handling for the controller is based on
device internal abort and softreset function.
The controller does not support internal abort for single
IO, so we need to execute internal abort for devic
From: Xiaofei Tan
Handle the situation that PHY UP and DOWN irq happen simultaneously.
There is no mechanism of SoC HW to ensure this situation will never
happen. So, we add this handle just in case.
Signed-off-by: Xiaofei Tan
Signed-off-by: John Garry
---
drivers/scsi/hisi_sas/hisi_sas_v2_hw
On Wed, Mar 22, 2017 at 09:35:43AM -0700, Joel Fernandes wrote:
> On Wed, Mar 22, 2017 at 7:16 AM, Peter Zijlstra wrote:
> > On Fri, Mar 10, 2017 at 12:23:41PM -0800, Joel Fernandes wrote:
> >> The PELT decay_load comments are a bit confusing, first of all
> >> the 1/2^N should be (1/2)^N so that
This patch replaces bit shifting on 1 with the BIT(x) macro.
This was done with coccinelle:
@@
constant c;
@@
-1 << c
+BIT(c)
Signed-off-by: Arushi Singhal
---
changes in v2
-improve the code.
drivers/staging/fbtft/fb_agm1264k-fl.c | 2 +-
drivers/staging/fbtft/fb_ili9163.c | 2 +-
driver
From: Xiang Chen
There are some rules to decide which error code has the high
priority when errors happen together:
(1) Error phase of CQ decides the error happens on RX or TX;
(2) For TX error, when DMA/TRANS TX error happen simultaneously,
the priority of DMA TX error is higher than TRANS TX e
> 22 марта 2017 г., в 19:47, Heiko Stuebner написал(а):
>
> sorry, but I will not apply this patch at this time.
> When testing on my radxarock with the card I always use upon entering the
> rootfs everything explodes with -110 errors, while without that patch the
> card
> runs stable as far
Currently when a root PHY is deformed from a asd_sas_port
we try to release the slots in the LLDD, and fail.
Regardless, it is not right to release this early.
This patch removes the deformed function. As it was
before, port deformation is still done in
hisi_sas_phy_down().
It would be nice to a
From: Xiang Chen
For error codes which need abort-and-retry, simulate IO
timeout and let SCSI+ATA layers process those errors.
Previously for SSP, we should try to abort the IO in
the LLDD and then pass back to upper layer, but sometimes
this would also error. So Instead of adding special error
From: Xiang Chen
There are some scenarios that we need to warm-rest to
reset registers of SAS controller. During reset we disable
interrupts/DQs/PHYs, and after reset we re-init the hardware
and rescan the topology to see if anything changed.
Signed-off-by: Xiang Chen
Signed-off-by: Xiaofei Tan
From: Xiang Chen
When SMP IO is sent, sas_protocol_ata couldn't judge whether
the disk is SATA or SAS disk.
So use dev_is_sata to identify SATA or SAS disk.
Signed-off-by: Xiang Chen
Signed-off-by: John Garry
---
drivers/scsi/hisi_sas/hisi_sas_main.c | 2 +-
1 file changed, 1 insertion(+), 1
On Wed, Mar 22, 2017 at 5:54 PM, Andrey Ryabinin
wrote:
> On 03/22/2017 07:34 PM, Andrey Konovalov wrote:
>> On Wed, Mar 22, 2017 at 5:06 PM, Andrey Ryabinin
>> wrote:
>>> Disable kasan after the first report. There are several reasons for this:
>>> * Single bug quite often has multiple invalid
When a TMF or internal abort times-out, do not free
slot. We expect this to be done upon later escalated
error handling.
Signed-off-by: John Garry
---
drivers/scsi/hisi_sas/hisi_sas_main.c | 15 +--
1 file changed, 1 insertion(+), 14 deletions(-)
diff --git a/drivers/scsi/hisi_sas/h
When sas_port is NULL, then return SAS_PHY_DOWN.
In addition, when the sas_dev is gone then explicitly
return SAS_PHY_DOWN.
Signed-off-by: John Garry
Signed-off-by: Xiang Chen
---
drivers/scsi/hisi_sas/hisi_sas_main.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/dri
Hi,
On 17-03-17 18:58, Andy Shevchenko wrote:
On Fri, 2017-03-17 at 10:55 +0100, Hans de Goede wrote:
Add a driver for the Cherry Trail Whiskey Cove PMIC Fuel Gauge, note
the Cherry Trail Whiskey Cove PMIC Fuel Gauge block is purely a fuel
gauge
and not a full battery controller. As such it off
From: Irina Tirdea
In bypass mode, the anatop digital regulators do not have any minimum
dropout value (the input voltage is equal to the output voltage according
to documentation).
Having a min dropout value of 125mV will lead to an increased voltage
for PMIC supplies.
Only set minimum dropout
Hi all,
Here's v2 set of fixes to make CPCAP PMIC interrupts work reliably when
used with multiple drivers. While working on the ADC, charger and
USB PHY drivers I noticed that the PMIC interrupt to the SoC would
eventually stop working.
All these can wait for v4.12 merge window as these issues d
The cpcap INTS registers are for getting the value of the line,
not for configuring the type.
Cc: Charles Keepax
Cc: Lee Jones
Cc: Marcel Partap
Cc: Michael Scott
Cc: Sebastian Reichel
Reviewed-By: Sebastian Reichel
Tested-by: Sebastian Reichel
Acked-by: Lee Jones
Signed-off-by: Tony Lindg
At least Motorola CPCAP PMIC needs it's device interrupts re-read
until there are no more interrupts. Otherwise the PMIC interrupt to
the SoC will eventually stop toggling. This seems to be a bug in the
CPCAP PMIC where it can stop driving the GPIO interrupt to the SoC
with pending CPCAP interrupts
Hi Ulf,
On mer., mars 15 2017, Ulf Hansson wrote:
> On 14 February 2017 at 18:01, Gregory CLEMENT
> wrote:
>> From: Hu Ziji
>>
>> Some vendor host, like Xenon, can support multiple types.
>> In dts, use mmc-card dt sub-node to indicate eMMC is in use.
>>
>> Add a generic mmc-card parse funct
This enables LDO bypass by default on the imx6qdl-sabresd boards. New
dts files with -ldo suffix are added for users who want to run with LDOs
enabled on these boards anyway.
Signed-off-by: Leonard Crestez
---
arch/arm/boot/dts/imx6dl-sabresd-ldo.dts | 13 +
arch/arm/boot/dts/imx6q-s
The pu regulator request will return -EPROBE_DEFER if it has a supply
from PMIC and this supply is not yet registered. This does not represent
an error since the driver will call probe again later, so only print a
warning message in this case.
Signed-off-by: Irina Tirdea
Signed-off-by: Leonard Cr
We should use ack_invert as the int_read_and_clear() in the Motorola
kernel tree does "ireg_val & ~mreg_val" before writing to the mask
register.
Cc: Charles Keepax
Cc: Lee Jones
Cc: Marcel Partap
Cc: Michael Scott
Tested-by: Sebastian Reichel
Signed-off-by: Tony Lindgren
---
drivers/mfd/mo
On CPCAP we need to keep reading interrupts until there are no
more interrupts. Otherwise the PMIC interrupt to the SoC will at
some point stop toggling. This seems to happen because new CPCAP
device interrupts show up while we're handling.
Cc: Charles Keepax
Cc: Lee Jones
Cc: Marcel Partap
Cc:
On Wed, Mar 22, 2017 at 3:21 PM, Peter Zijlstra wrote:
> On Wed, Mar 22, 2017 at 01:52:04PM +0100, Rafael J. Wysocki wrote:
>> On Wed, Mar 22, 2017 at 10:29 AM, Peter Zijlstra
>> wrote:
>
>> > So why not fix the tools?
>>
>> Because I can't.
>>
>> I just can't go and fix all of the tools binarie
> 22 марта 2017 г., в 20:04, Alexander Kochetkov
> написал(а):
>
> Ok. Let leave as is for now.
>
> My radxa worked stable for a year with this settings.
Ok, I not sure what my radxa worked stable with this settings.
Hieko, thanks for catching that.
Sorry for your time.
Am Mittwoch, den 22.03.2017, 18:53 +0200 schrieb Leonard Crestez:
> This enables LDO bypass by default on the imx6qdl-sabresd boards. New
> dts files with -ldo suffix are added for users who want to run with LDOs
> enabled on these boards anyway.
Given that using LDO bypass affects the device life
The lock is a sleeping lock and local_irq_save() is not the
standard implementation now. Working for both -RT and non
RT.
Signed-off-by: Lionel Debieve
---
drivers/tty/serial/st-asc.c | 8 +++-
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/drivers/tty/serial/st-asc.c b/driver
Use devm_gpiochip_add_data to simplify the error path in
samsung_gpiolib_register.
Signed-off-by: Charles Keepax
Reviewed-by: Krzysztof Kozlowski
---
No changes since v2.
drivers/pinctrl/samsung/pinctrl-samsung.c | 9 ++---
1 file changed, 2 insertions(+), 7 deletions(-)
diff --git a/dri
If we request a GPIO hog, then gpiochip_add_data will attempt
to request some of its own GPIOs. The driver also uses
gpiochip_generic_request which means that for any GPIO request to
succeed the pinctrl needs to be registered. Currently however the
driver registers the GPIO and then the pinctrl mea
On 03/22/2017 05:05 PM, Steven Rostedt wrote:
> On Wed, 22 Mar 2017 16:18:43 +0100
> Lionel Debieve wrote:
>
>> Use raw_spin_lock in enable/disable channel as it comes from
>> interrupt context.
>>
>> BUG: sleeping function called from invalid context at
>> kernel/locking/rtmutex.c:995
>> in_atomi
Hi Michael,
Em Mon, 20 Mar 2017 08:40:11 -0700
Michael Zoran escreveu:
> > > Are you using Eric Anholt's HDMI Audio driver that's included in
> > > VC4?
> > > That could well be incompatible with the firmware driver. Or are
> > > you
> > > using a half mode of VC4 for audio and VCHIQ for video?
Am Mittwoch, 22. März 2017, 20:14:36 CET schrieb Alexander Kochetkov:
>
> > 22 марта 2017 г., в 20:04, Alexander Kochetkov
> > написал(а):
> >
> > Ok. Let leave as is for now.
> >
> > My radxa worked stable for a year with this settings.
>
> Ok, I not sure what my radxa worked stable with thi
On 22/03/17 16:17, Sudeep Holla wrote:
On 22/03/17 15:45, Mike Leach wrote:
On 22 March 2017 at 14:07, Sudeep Holla wrote:
On 22/03/17 12:54, Mike Leach wrote:
On 21 March 2017 at 15:39, Sudeep Holla mailto:sudeep.ho...@arm.com>> wrote:
[...]
I disagree with this approach. One of th
Commit 7613c922315e308a ("backlight: pwm_bl: Move the checks for initial
power state to a separate function") not just moved some code, but made
slight changes in semantics.
If a gpiochip doesn't implement the optional .get_direction() callback,
gpiod_get_direction always returns -EINVAL, which is
On 22/03/17 16:55, Vincent Guittot wrote:
> On 22 March 2017 at 17:22, Dietmar Eggemann wrote:
>> On 22/03/17 09:22, Vincent Guittot wrote:
>>> On 21 March 2017 at 18:46, Dietmar Eggemann
>>> wrote:
Hi Vincent,
On 17/03/17 13:47, Vincent Guittot wrote:
[...]
>> +static inline bo
Hi Elaine,
in general, I expect some sort of explanation in the commit message on
why clocks need to be always on and cannot be handled from a driver.
Also you can save flags, if you just make leave-clocks critical, which also
is way safer than using clk_ignore_unused - see rk3399.
Some highlig
Several imx6* socs have three built-in regulators LDO_ARM LDO_SOC and
LDO_PU used to control internal chip voltages. "ldo-bypass" mode refers
to placing these regulators in bypass mode and controlling voltages from
an external power management chip instead. This is intended to save
power at the exp
On 03/22/2017 07:34 PM, Andrey Konovalov wrote:
> On Wed, Mar 22, 2017 at 5:06 PM, Andrey Ryabinin
> wrote:
>> Disable kasan after the first report. There are several reasons for this:
>> * Single bug quite often has multiple invalid memory accesses causing
>> storm in the dmesg.
>> * Write
This is a simple kernel API to query the bypass state of a regulator.
Signed-off-by: Leonard Crestez
---
drivers/regulator/core.c | 26 ++
include/linux/regulator/consumer.h | 1 +
2 files changed, 27 insertions(+)
diff --git a/drivers/regulator/core.c b/drive
Enabling bypass mode makes a regulator passthrough the supply voltage
directly. It is possible that the supply voltage is set high enough that
it violates machine constraints so let's check for that.
The supply voltage might be higher because of min_dropout_uV or maybe
there is just an unrelated c
From: Irina Tirdea
If there are any errors in getting the cpu0 regulators, the driver returns
-ENOENT. In case the regulators are not yet available, the devm_regulator_get
calls will return -EPROBE_DEFER, so that the driver can be probed later.
If we return -ENOENT, the driver will fail its initi
Freescale imx socs have three built-in regulators LDO_ARM LDO_SOC and LDO_PU
used to control internal chip voltages. "ldo-bypass" mode refers to placing
these regulators in bypass mode and controlling voltages from an external power
management chip instead. The intention is to save power (at the ex
If the cpufreq driver tries to modify voltage/freq during suspend/resume
it might need to control an external PMIC via I2C or SPI but those
devices might be already suspended.
To avoid this scenario we just increase cpufreq to highest setpoint
before suspend. This issue can easily be triggered by
Am Mittwoch, den 22.03.2017, 18:53 +0200 schrieb Leonard Crestez:
> Several imx6* socs have three built-in regulators LDO_ARM LDO_SOC and
> LDO_PU used to control internal chip voltages. "ldo-bypass" mode refers
> to placing these regulators in bypass mode and controlling voltages from
> an externa
Ping Linux-mmc maintainer...
Tested-by: Shawn Lin
Reviewed-by: Bartlomiej Zolnierkiewicz
Reviewed-by: Shawn Lin
>On Sunday, March 19, 2017 12:45:40 AM Bean Huo wrote:
>> This patch fixes the issue that mmc_blk_issue_rq still flushes cache
>> when eMMC cache has already been off through user sp
From: Tejun Heo
Date: Tue, 14 Mar 2017 19:25:56 -0400
> The net_cls controller controls the classid field of each socket which
> is associated with the cgroup. Because the classid is per-socket
> attribute, when a task migrates to another cgroup or the configured
> classid of the cgroup changes,
On Wed, Mar 22, 2017 at 10:54:15AM +0100, Julia Lawall wrote:
> On Tue, 21 Mar 2017, Julia Cartwright wrote:
> > On PREEMPT_RT, the spinlock_t type becomes an object which sleeps under
> > contention. The codepaths used to support scheduling (irq dispatching, arch
> > code, the scheduler, timers)
From: Joerg Roedel
The on-stack resource-window 'win' in setup_res() is not
properly initialized. This causes the pointers in the
embedded 'struct resource' to contain stale pointers.
These pointers (in my case the ->child pointer) gets later
propagated to the global iomem_resources list, causin
From: Joerg Roedel
The function acpi_bus_attach() creates platform_devices if
this is specified by the firmware. But in acpi_bus_trim()
these devices are not removed, leaving a dangling reference
to the parent device.
In the case of a PCI root-bus, this results in the
host_bridge device not bein
On Wed, Mar 22, 2017 at 6:07 PM, Andrey Konovalov wrote:
> On Wed, Mar 22, 2017 at 5:54 PM, Andrey Ryabinin
> wrote:
>> On 03/22/2017 07:34 PM, Andrey Konovalov wrote:
>>> On Wed, Mar 22, 2017 at 5:06 PM, Andrey Ryabinin
>>> wrote:
Disable kasan after the first report. There are several rea
From: Joerg Roedel
No platform-device is required for IO(x)APICs, so don't even
create them.
Signed-off-by: Joerg Roedel
---
drivers/acpi/acpi_platform.c | 8 +---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/drivers/acpi/acpi_platform.c b/drivers/acpi/acpi_platform.c
inde
Hi,
here are fixes for three issues I found in ACPI code during
hotplug testing. Patches 2 and 3 fix the same issue, but I
think both make sense on their own.
Please review.
Thanks,
Joerg
Joerg Roedel (3):
ACPI, ioapic: Clear on-stack resource before using it
ACPI: Remove platform
On 22/03/17 17:09, Suzuki K Poulose wrote:
> On 22/03/17 16:17, Sudeep Holla wrote:
[...]
>>
>> Point taken. So we could just specify that all necessary power
>> domains need to be on for proper functionality for this feature and
>> that it's highly platform specific instead of mixing cpu/clus
On Wed, Mar 22, 2017 at 04:18:43PM +0100, Lionel Debieve wrote:
> Use raw_spin_lock in enable/disable channel as it comes from
> interrupt context.
>
> BUG: sleeping function called from invalid context at
> kernel/locking/rtmutex.c:995
> in_atomic(): 1, irqs_disabled(): 128, pid: 307, name: pulse
From: Rafael J. Wysocki
sugov_update_commit() calls trace_cpu_frequency() to record the
current CPU frequency if it has not changed in the fast switch case
to prevent utilities from getting confused (they may report that the
CPU is idle if the frequency has not been recorded for too long, for
exa
501 - 600 of 979 matches
Mail list logo