On Tue, Nov 22, 2016 at 9:38 AM, Laurent Pinchart
wrote:
> Hi John,
>
> On Tuesday 22 Nov 2016 09:25:22 John Stultz wrote:
>> On Tue, Nov 22, 2016 at 12:14 AM, Laurent Pinchart wrote:
>> > On Monday 21 Nov 2016 16:37:30 John Stultz wrote:
>> @@ -545,24 +554,13 @@ static int adv7511_get_modes(stru
The cpu online callback returns success unconditionally even when the
device has no support, micro code mismatches or device allocation fails.
Only if CPU_HOTPLUG is disabled, the init function checks whether the
device list is empty and removes the driver.
This does not make sense. If CPU HOTPLUG
No point in looking up the same thing over and over.
Signed-off-by: Thomas Gleixner
---
drivers/hwmon/coretemp.c | 19 ++-
1 file changed, 6 insertions(+), 13 deletions(-)
--- a/drivers/hwmon/coretemp.c
+++ b/drivers/hwmon/coretemp.c
@@ -533,21 +533,14 @@ static int create_cor
When a CPU is offlined nothing checks whether it is the target CPU for the
package temperature sysfs interface.
As a consequence all future readouts of the package temperature return
crap:
# cat temp1_input
9
which is Tjmax of that package.
Check whether the outgoing CPU is the target for t
After the first attempt to convert the coretemp driver to the hotplug state
machine failed, we had a deeper look and went a bit farther.
The driver has quite some interesting concepts vs. the package, core and
sysfs file management and a bug in the package temperature sysfs interface
vs. cpu hotpl
Hi Arnd,
On 11/22/2016 6:17 AM, Arnd Bergmann wrote:
> gcc notices that calling iproc_pcie_setup_ib with ib->nr_regions==0
> would result in an uninitialized return value:
>
> drivers/pci/host/pcie-iproc.c: In function 'iproc_pcie_setup_ib':
> drivers/pci/host/pcie-iproc.c:894:6: error: 'ret' may
The coretemp driver provides a sysfs interface per physical core. If
hyperthreading is enabled and one of the siblings goes offline the sysfs
interface is removed and then immeditately created again for the
sibling. The only difference of them is the target cpu for the
rdmsr_on_cpu() in the sysfs s
Install the callbacks via the state machine. Setup and teardown are handled
by the hotplug core.
Signed-off-by: Sebastian Andrzej Siewior
Cc: linux-hw...@vger.kernel.org
Cc: Fenghua Yu
Cc: Jean Delvare
Cc: r...@linuxtronix.de
Cc: Guenter Roeck
Link: http://lkml.kernel.org/r/20161117183541.8588
Keeping track of the per package platform devices requires an extra object,
which is held in a linked list.
The maximum number of packages is known at init() time. So the extra object
and linked list management can be replaced by an array of platform device
pointers in which the per package device
.
>
> I was wondering if we shouldn't just cap all cases?
>
> It seems like this could potentially return a value greater than skb-
>>len in the "good" case since things like IP header length isn't
> validated other then making sure it meets the minimum value, and if
> there isn't a recognized L4 h
On Tue, Nov 22, 2016 at 12:25 AM, Laurent Pinchart
wrote:
> On Monday 21 Nov 2016 16:37:31 John Stultz wrote:
>> Secton 4.1 of the adv7511 programming guide advises one waits
>> 200ms after powering on the chip before trying to communicate
>> with it via i2c. Not doing so can cause reliability iss
Hi Arnd,
On 11/22/2016 04:30 PM, Arnd Bergmann wrote:
A recent patch added a new function that is now unused whenever
CONFIG_OF is disabled:
drivers/misc/sram.c:342:12: error: 'atmel_securam_wait' defined but not used
[-Werror=unused-function]
There is actually no reason for the #ifdef, becau
Hi Florian,
On 11/22/2016 9:43 AM, Florian Fainelli wrote:
> With commit f4e871509959 ("clk: iproc: Make clocks visible options"),
> COMMON_CLK_IPROC gained a dependency on ARCH_BCM_IPROC, yet CLK_BCM_63XX
> also selects that option, this causes the following Kconfig warning:
>
> warning: (CLK_BC
Stephen Rothwell writes:
> Hi Eric,
>
> Today's linux-next merge of the userns tree got conflicts in:
>
> arch/alpha/kernel/ptrace.c
> arch/blackfin/kernel/ptrace.c
> arch/cris/arch-v32/kernel/ptrace.c
> arch/ia64/kernel/ptrace.c
> arch/mips/kernel/ptrace32.c
> arch/powerpc/kernel/ptr
On Tue, 22 Nov 2016 13:51:50 +0800
Gonglei wrote:
> # make C=2 CF="-D__CHECK_ENDIAN__" ./drivers/virtio/
>
> drivers/virtio/virtio_ring.c:423:19: warning: incorrect type in assignment
> (different base types)
> drivers/virtio/virtio_ring.c:423:19:expected unsigned int [unsigned]
> [assign
Comparison for "<" works equally well as comparison for "<="
but one SUB/LEA is saved (no, it is not optimised away, at least here).
Signed-off-by: Alexey Dobriyan
---
fs/proc/base.c |8
1 file changed, 4 insertions(+), 4 deletions(-)
--- a/fs/proc/base.c
+++ b/fs/proc/base.c
@@ -
Wim Osterholt writes:
> On Mon, Nov 21, 2016 at 02:19:32PM +0100, Oliver Neukum wrote:
>> On Thu, 2016-11-17 at 17:11 +0100, Wim Osterholt wrote:
>>
>> > Nov 17 15:07:51 localhost kernel: Check point 10
>> > Nov 17 15:07:51 localhost kernel: BUG: unable to handle kernel NULL
>> > pointer deref
IRQs from peripherals such as i2c/uart/ethernet come via
the AXI Interrupt controller.
Select it in Kconfig for xilfpga and add the DT node
Signed-off-by: Zubair Lutfullah Kakakhel
---
arch/mips/Kconfig| 1 +
arch/mips/boot/dts/xilfpga/nexys4ddr.dts | 12
2
The xilfpga platform has an AXI I2C Bus master with a temperature
sensor connected to it.
Add the device tree node to use them.
Signed-off-by: Zubair Lutfullah Kakakhel
---
arch/mips/boot/dts/xilfpga/nexys4ddr.dts | 22 ++
1 file changed, 22 insertions(+)
diff --git a/arch/
Hi,
The interrupt controller driver was in arch/microblaze.
The patches to move the driver out from arch/microblaze
to drivers/irqchip/irq-xilinx-intc.c have now been accepted [1]
Hence, xilfpga can make use of the driver in v4.10.
These patches do the following:
- Use the irqchip driver
- Add D
Update defconfig to enable emaclite, i2c and temp sensor on the
xilfpga platform
Signed-off-by: Zubair Lutfullah Kakakhel
---
arch/mips/configs/xilfpga_defconfig | 37 -
1 file changed, 36 insertions(+), 1 deletion(-)
diff --git a/arch/mips/configs/xilfpga_de
On Tue, Nov 22, 09:46, Eric Dumazet wrote
> This is an aliasing problem.
> Tom code is hard to read and understand.
>
> Andre, could you try :
>
> diff --git a/net/core/flow_dissector.c b/net/core/flow_dissector.c
> index 69e4463a4b1b..b045980faaea 100644
> --- a/net/core/flow_dissector.c
> +++ b
Update the DT node with the UART irq
Signed-off-by: Zubair Lutfullah Kakakhel
---
arch/mips/boot/dts/xilfpga/nexys4ddr.dts | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/mips/boot/dts/xilfpga/nexys4ddr.dts
b/arch/mips/boot/dts/xilfpga/nexys4ddr.dts
index 8db660b..d285c8d 100644
---
This prepares the code to use the Xilinx Interrupt Controller
driver in drivers/irqchip/irq-xilinx-intc.c
Signed-off-by: Zubair Lutfullah Kakakhel
---
arch/mips/xilfpga/intc.c | 7 ++-
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/arch/mips/xilfpga/intc.c b/arch/mips/xilfpga/
The xilfpga platform has a Xilinx AXI emaclite block.
Add the DT node to use it.
Signed-off-by: Zubair Lutfullah Kakakhel
---
arch/mips/boot/dts/xilfpga/nexys4ddr.dts | 26 ++
1 file changed, 26 insertions(+)
diff --git a/arch/mips/boot/dts/xilfpga/nexys4ddr.dts
b/arch
On Tue, Nov 22, 2016 at 9:52 AM, Andres Oportus
wrote:
>
> I have back-ported these patches into Android with 4.4 kernel and tested
> them on a Hikey device [1]. Back-ported patches used are enclosed.
> I see equal or better performance across all tests.
>
> PELT below refers to https://android.g
Runtime nlink calculation works but meh. I don't know how to do it
at compile time, but I know how to do it at init time.
Shift "2+" part into init time as a bonus.
Signed-off-by: Alexey Dobriyan
---
fs/proc/base.c | 19 +--
fs/proc/internal.h |1 +
fs/proc/root.c
On Tue, Nov 22, 2016 at 9:44 AM, Mathieu Desnoyers
wrote:
> - On Nov 22, 2016, at 12:01 PM, Francis Deslauriers
> francis.deslauri...@efficios.com wrote:
>
>> Hi Mathieu,
>>
>> Here is a description of the kernel BUG_ON I have encountered. This bug was
>> triggered by our continuous integrati
Hi,
On 22/11/2016 at 19:47:52 +0200, Vladimir Zapolskiy wrote :
> Hi Arnd,
>
> On 11/22/2016 04:30 PM, Arnd Bergmann wrote:
> > A recent patch added a new function that is now unused whenever
> > CONFIG_OF is disabled:
> >
> > drivers/misc/sram.c:342:12: error: 'atmel_securam_wait' defined but n
On Tue, Nov 22, 09:14, Eric Dumazet wrote
> We definitely want to fix the real bug, not working around it.
>
> Seems an aliasing problem, key_control and key_basic might point to
> adjacent memory
> and a barrier() would solve the issue as well.
This was also my first idea. I added some printk st
Wenn a package is removed nothing restores the thermal interrupt MSR so
the content will be stale when a CPU of that package becomes online again.
Aside of that the work function reenables interrupts before acknowledging
the current one, which is the wrong order to begin with.
Signed-off-by: Thom
From: Thierry Reding
Tegra186 has two GPIO controllers that are largely register compatible
between one another but are completely different from the controller
found on earlier generations.
Signed-off-by: Thierry Reding
---
drivers/gpio/Kconfig | 8 +
drivers/gpio/Makefile|
There is no point in the whole package data refcounting dance because
topology_core_cpumask tells us whether this is the last cpu in the
package. If yes, then the package can go, if not it stays. It's already
serialized via the hotplug code.
While at it rename the first_cpu member of the package s
From: Sebastian Andrzej Siewior
Install the callbacks via the state machine and let the core invoke
the callbacks on the already online CPUs.
Replace the wrmsr/rdmrs_on_cpu() calls in the hotplug callbacks as they are
guaranteed to be invoked on the incoming/outgoing cpu.
Signed-off-by: Sebasti
In pkg_temp_thermal_device_remove() the package device is searched at the
beginning of the function. When the device refcount becomes zero another
search for the same device is conducted. Remove the pointless loop and use
the device pointer which was retrieved at the beginning of the function.
Sig
Packages are kept in a list, which must be searched over and over.
We can be smarter than that and just store the package pointers in an array
which is allocated at init time. Sizing of the array is determined from the
topology information. That makes the package search a simple array lookup.
Sig
Storage for a boolean information whether work is scheduled for a package
is kept in separate allocated storage, which is resized when the number of
detected packages grows.
With the proper locking in place this is a completely pointless exercise
because we can simply stick it into the per package
Delayed work structs are held in a static percpu storage, which makes no
sense at all because work is strictly per package and we never schedule
more than one work per package.
Aside of that the work cancelation in the hotplug is broken when the work
is queued on the outgoing cpu and canceled. Not
The threshold callbacks are installed before the initialization of the
online cpus has succeeded and removed after the teardown has been
done. That's both wrong as callbacks might be invoked into a half
initialized or torn down state.
Move them to the proper places: Last in init() and first in exi
Coding style fixups and replacement of overly complex constructs and random
error codes instead of returning the real ones. This mess makes the eyes
bleeding.
Signed-off-by: Thomas Gleixner
---
drivers/thermal/x86_pkg_temp_thermal.c | 81 -
1 file changed, 30
The work cancellation code, the thermal zone unregistering, the work code
and the interrupt notification function are racy against each other and
against cpu hotplug and module exit. The random locking sprinkeled all
over the place does not help anything and probably exists to make people
feel good
Changes vs. V1: Fix the package removal wreckage reported by Srinivas
We solely intended to convert that driver to the hotplug state machine and
stumbled over a large pile of insanities, which are all interwoven with the
package management:
- The work cancelation code, the thermal zone unregiste
On Tue, Nov 22, 18:06, Greg KH wrote
> On Tue, Nov 22, 2016 at 05:59:12PM +0100, Andre Noll wrote:
> > On Mon, Nov 21, 10:28, Greg KH wrote
> > > I'm announcing the release of the 4.4.34 kernel.
> > >
> > > All users of the 4.4 kernel series must upgrade.
> >
> > This update broke PXE boot on our
Any randomly chosen struct name is more descriptive than phy_dev_entry.
Rename the whole thing to struct pkg_device, which describes the content
reasonably well and use the same variable name throughout the code so it
gets readable. Rename the msr struct members as well.
No functional change.
S
On Tue, Nov 22, 2016 at 9:55 AM, Andre Noll wrote:
> On Tue, Nov 22, 09:46, Eric Dumazet wrote
>> This is an aliasing problem.
>> Tom code is hard to read and understand.
>>
>> Andre, could you try :
>>
>> diff --git a/net/core/flow_dissector.c b/net/core/flow_dissector.c
>> index 69e4463a4b1b..b0
find_next_sibling() iterates over the online cpus and searches for a cpu
with the same package id as the current cpu. This is a pointless exercise
as topology_core_cpumask() allows a simple cpumask search for an online cpu
on the same package.
Signed-off-by: Thomas Gleixner
---
drivers/thermal/
On Tuesday 22 November 2016 17:14:28 Michal Kazior wrote:
> On 22 November 2016 at 16:31, Pali Rohár wrote:
> > On Tuesday 22 November 2016 16:22:57 Michal Kazior wrote:
> >> On 21 November 2016 at 16:51, Pali Rohár
> >> wrote:
> >> > On Friday 11 November 2016 18:20:50 Pali Rohár wrote:
> >> >>
Em Tue, Nov 22, 2016 at 11:31:58AM -0500, Steven Rostedt escreveu:
>
> Add a way to retrieve the preempt count as well as the latency flags from a
> pevent_record.
>
> int pevent_data_preempt_count(pevent, record);
>
> returns the preempt count of a record.
>
> int pevent_data_flags(pevent, r
On Tue, Nov 22, 2016 at 12:35:53PM -0500, Rob Clark wrote:
> On Tue, Nov 22, 2016 at 12:31 PM, Ville Syrjälä
> wrote:
> > On Tue, Nov 22, 2016 at 12:23:59PM -0500, Rob Clark wrote:
> >> On Tue, Nov 22, 2016 at 11:50 AM, Ville Syrjälä
> >> wrote:
> >> > On Tue, Nov 22, 2016 at 04:41:06PM +, Li
On Tue, 2016-11-22 at 09:56 -0800, Eric Dumazet wrote:
> On Tue, Nov 22, 2016 at 9:55 AM, Andre Noll wrote:
> >
> > On Tue, Nov 22, 09:46, Eric Dumazet wrote
> > >
> > > This is an aliasing problem.
> > > Tom code is hard to read and understand.
> > >
> > > Andre, could you try :
> > >
> > > d
From: "Gautham R. Shenoy"
Ensure that PSSCR is set to a safe value corresponding to no
state-loss each time a POWER9 CPU comes online.
Signed-off-by: Gautham R. Shenoy
---
arch/powerpc/kernel/cpu_setup_power.S | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/powerpc/kernel/cpu_setup_
On Tue, Nov 22, 09:56, Eric Dumazet wrote
> >> @@ -157,6 +157,7 @@ bool __skb_flow_dissect(const struct sk_buff *skb,
> >> memcpy(key_eth_addrs, ð->h_dest,
> >> sizeof(*key_eth_addrs));
> >> }
> >>
> >> + barrier();
> >> again:
> >> switch (proto) {
> >>
On Tue, 2016-11-22 at 19:06 +0100, Andre Noll wrote:
> On Tue, Nov 22, 09:56, Eric Dumazet wrote
> >
> > >
> > > >
> > > > @@ -157,6 +157,7 @@ bool __skb_flow_dissect(const struct sk_buff *skb,
> > > > memcpy(key_eth_addrs, ð->h_dest,
> > > > sizeof(*key_eth_addrs));
> > > >
Wim Osterholt writes:
> On Mon, Nov 21, 2016 at 02:19:32PM +0100, Oliver Neukum wrote:
>
>> I don't understand it, bit please test the attached patch
>> with dynamic debugging for cdc-acm and the kernel log level
>> at maximum.
>
>> diff --git a/drivers/usb/class/cdc-acm.c b/drivers/usb/class/cdc
On Thu, Nov 10, 2016 at 12:38:40PM +0100, Lars-Peter Clausen wrote:
> On 11/09/2016 10:27 PM, Robert Jarzmik wrote:
> > here, ie. that the rescan is a bug, or if it's more an "Occam's razor"
> > discussion ?
> Maybe we can just leave the rescanning out for now and think about how to
> best handle
On 11/18/2016 04:03 PM, Christoph Hellwig wrote:
> We can't handle vfree itself from atomic context, but callers
> can explicitly use vfree_atomic instead, which defers the actual
> vfree to a workqueue. Unfortunately in_atomic does not work
> on non-preemptible kernels, so we can't just do the ri
On Tue, Nov 22, 2016 at 2:23 AM, Andrey Konovalov wrote:
> Hi,
>
> I've got the following error report while fuzzing the kernel with syzkaller.
>
> It seems that skb_dst(skb) may end up being NULL.
>
> As far as I can see the bug was introduced in commit 5d41ce29e ("net:
> icmp6_send should use ds
On Mon, Nov 21, 10:28, Greg KH wrote
> I'm announcing the release of the 4.4.34 kernel.
>
> All users of the 4.4 kernel series must upgrade.
This update broke PXE boot on our 4-way AMD boxes. The kernel panics in
eth_type_trans(), presumably during kernel-level IP autoconfiguration,
see [1]. Bise
On Mon, Nov 21, 2016 at 12:36 PM, Deucher, Alexander
wrote:
> This is certainly not the first time this has been brought up, but I'd like
> to try and get some consensus on the best way to move this forward. Allowing
> devices to talk directly improves performance and reduces latency by avoidin
Viresh Kumar writes:
> On 21-11-16, 09:07, Rob Herring wrote:
>> On Fri, Nov 18, 2016 at 02:53:12PM +0530, Viresh Kumar wrote:
>> > Some platforms have the capability to configure the performance state of
>> > their Power Domains. The performance levels are represented by positive
>> > integer va
On Tue, Nov 22, 2016 at 9:38 AM, John Stultz wrote:
>
> Interestingly, without the msleep added in this patch, removing the
> wait_event_interruptible_timeout() method in adv7511_wait_for_edid()
> and using the polling loop seems to make things just as reliable. So
> maybe something is off with th
On Tue, Nov 22, 2016 at 10:08 AM, Duyck, Alexander H
wrote:
> Okay I think I have figured it out, but I am not sure what a good
> solution is.
>
> I think the problem is the fact that the keys may not be initialized
> until init_default_flow_dissectors is called and I am not sure that is
> happen
On 11/21/16 22:25, Sekhar Nori wrote:
> Hi Frank,
>
> On Tuesday 22 November 2016 07:13 AM, Frank Rowand wrote:
>> On 11/21/16 08:33, Sekhar Nori wrote:
>>> On Monday 31 October 2016 08:15 PM, Bartosz Golaszewski wrote:
+static int da8xx_ddrctl_probe(struct platform_device *pdev)
+{
During "poweroff" on sh73a0/kzm9g:
WARNING: CPU: 0 PID: 1271 at drivers/base/devres.c:889 phy_detach+0x44/0x60
Modules linked in:
CPU: 0 PID: 1271 Comm: halt Not tainted
4.9.0-rc6-kzm9g-05637-gb090128865050239 #823
Hardware name: Generic SH73A0 (Flattened Device Tree)
[] (unwi
On Tue, Nov 22, 2016 at 1:06 PM, Ville Syrjälä
wrote:
> On Tue, Nov 22, 2016 at 12:35:53PM -0500, Rob Clark wrote:
>> On Tue, Nov 22, 2016 at 12:31 PM, Ville Syrjälä
>> wrote:
>> > On Tue, Nov 22, 2016 at 12:23:59PM -0500, Rob Clark wrote:
>> >> On Tue, Nov 22, 2016 at 11:50 AM, Ville Syrjälä
>>
Hi John,
(CC'ing Daniel)
On Tuesday 22 Nov 2016 10:07:53 John Stultz wrote:
> On Tue, Nov 22, 2016 at 9:38 AM, John Stultz wrote:
> > Interestingly, without the msleep added in this patch, removing the
> > wait_event_interruptible_timeout() method in adv7511_wait_for_edid()
> > and using the pol
On Tue, Nov 22, 18:08, Duyck, Alexander H wrote
> Okay I think I have figured it out, but I am not sure what a good
> solution is.
>
> I think the problem is the fact that the keys may not be initialized
> until init_default_flow_dissectors is called and I am not sure that is
> happening before th
On 11/22/2016 01:23 AM, Jonathan Cameron wrote:
On 21 November 2016 22:54:24 GMT+00:00, Peter Meerwald-Stadler
wrote:
+static int ti_ads7950_read_raw(struct iio_dev *indio_dev,
+ struct iio_chan_spec const *chan,
+ int *val, int *va
On 11/22/2016 06:34 AM, Arnd Bergmann wrote:
> We get a harmless false-positive warning with the newly added nps
> clocksource driver:
>
> drivers/clocksource/timer-nps.c: In function 'nps_setup_clocksource':
> drivers/clocksource/timer-nps.c:102:6: error: 'nps_timer1_freq' may be used
> uninitial
Jon Hunter writes:
> On 16/11/16 12:53, Rafael J. Wysocki wrote:
>> On Wed, Nov 16, 2016 at 11:48 AM, Jon Hunter wrote:
>>> Hi Kevin, Ulf,
>>>
>>> On 03/11/16 14:20, Jon Hunter wrote:
On 11/10/16 10:15, Jon Hunter wrote:
...
Second, another way of seeing this is
Em Wed, Nov 16, 2016 at 03:06:33PM +0900, Namhyung Kim escreveu:
> From: David Ahern
>
> The -V option provides a visual aid for sched switches by cpu:
>
> $ perf sched timehist -V
> timecpu 0123456789abc task name b/n time sch
> delay run time
>
Signed-off-by: Peter Rosin
---
drivers/pinctrl/pinctrl-sx150x.c | 13 ++---
1 file changed, 6 insertions(+), 7 deletions(-)
diff --git a/drivers/pinctrl/pinctrl-sx150x.c b/drivers/pinctrl/pinctrl-sx150x.c
index 63778058eec7..ef4ef88e0ee9 100644
--- a/drivers/pinctrl/pinctrl-sx150x.c
+++
On 22/11/16 18:26, Kevin Hilman wrote:
> Jon Hunter writes:
>
>> On 16/11/16 12:53, Rafael J. Wysocki wrote:
>>> On Wed, Nov 16, 2016 at 11:48 AM, Jon Hunter wrote:
Hi Kevin, Ulf,
On 03/11/16 14:20, Jon Hunter wrote:
>
> On 11/10/16 10:15, Jon Hunter wrote:
>
> ..
On 22 November 2016 at 19:12, Kevin Hilman wrote:
> Viresh Kumar writes:
>
>> On 21-11-16, 09:07, Rob Herring wrote:
>>> On Fri, Nov 18, 2016 at 02:53:12PM +0530, Viresh Kumar wrote:
>>> > Some platforms have the capability to configure the performance state of
>>> > their Power Domains. The perf
On 22 November 2016 at 20:55, Alexey Dobriyan wrote:
> Runtime nlink calculation works but meh. I don't know how to do it
> at compile time, but I know how to do it at init time.
>
> Shift "2+" part into init time as a bonus.
Couple of small suggestions:
- rename set_proc_pid_nlink() to proc_pid
On Tue, Nov 22, 2016 at 09:19:22AM +0530, Viresh Kumar wrote:
> So the LAST remaining question is:
> "How do we know (from the DT) the order in which entries for multiple
> regulators
> are present in the OPP table?"
>
> And I am not sure if we can do that without having a property like:
>
> +
On Mon, Nov 21, 2016 at 01:51:36PM -0600, Zach Brown wrote:
> From: Jeff Westfahl
>
> Use the MTD function 'max_bad_blocks' to compute the UBI bad_peb_limit,
> if the function is implemented for an MTD and doesn't return an error.
I'm not exactly a UBI expert here, but it seems reasonable that w
Hi Rob,
On 11/18/16 12:00, Frank Rowand wrote:
> On 11/18/16 06:46, Rob Herring wrote:
>> On Thu, Nov 17, 2016 at 03:32:54PM +, Sudeep Holla wrote:
>>> Currently platforms/drivers needing to get the machine model name are
>>> replicating the same snippet of code. In some case, the OF reference
A few small comments.
On Mon, Nov 21, 2016 at 01:51:35PM -0600, Zach Brown wrote:
> From: Jeff Westfahl
>
> If implemented, 'max_bad_blocks' returns the maximum number of bad
> blocks to reserve for an MTD. An implementation for NAND is coming soon.
>
> Signed-off-by: Jeff Westfahl
> Signed-of
On Tue, Nov 22, 2016 at 12:23:59PM -0500, Rob Clark wrote:
> On Tue, Nov 22, 2016 at 11:50 AM, Ville Syrjälä
> wrote:
> > On Tue, Nov 22, 2016 at 04:41:06PM +, Liviu Dudau wrote:
> >> drm_get_format_name() de-references the buf parameter without checking
> >> if the pointer was not NULL. Given
Tested-by: Andres Oportus
On Tue, Nov 22, 2016 at 9:55 AM, Andres Oportus
wrote:
>
> On Tue, Nov 22, 2016 at 9:52 AM, Andres Oportus
> wrote:
> >
> > I have back-ported these patches into Android with 4.4 kernel and tested
> > them on a Hikey device [1]. Back-ported patches used are enclosed.
On Mon, Nov 21, 2016 at 01:51:36PM -0600, Zach Brown wrote:
> From: Jeff Westfahl
>
> Use the MTD function 'max_bad_blocks' to compute the UBI bad_peb_limit,
> if the function is implemented for an MTD and doesn't return an error.
>
> Signed-off-by: Jeff Westfahl
> Signed-off-by: Zach Brown
>
On 11/22/2016 04:50 AM, Thomas Huth wrote:
> On 22.11.2016 10:58, Gerd Hoffmann wrote:
>> Changes:
>> * add myself as maintainer, so patches land in my inbox.
>> * add qemu-devel mailing list.
>> * add drm-qemu git repo.
>> * flip bochs and qxl status to "Maintained".
>>
>> Signed-off-by: Gerd
On Tue, Nov 22, 2016 at 10:23 AM, Laurent Pinchart
wrote:
> On Tuesday 22 Nov 2016 10:07:53 John Stultz wrote:
>> On Tue, Nov 22, 2016 at 9:38 AM, John Stultz wrote:
>> > Interestingly, without the msleep added in this patch, removing the
>> > wait_event_interruptible_timeout() method in adv7511_
On Tue, Nov 22, 2016 at 9:26 AM, Dan Williams wrote:
> [ replying for Dave since he's offline today and tomorrow ]
>
> On Tue, Nov 22, 2016 at 12:47 AM, Ingo Molnar wrote:
>>
>> * Dave Jiang wrote:
>>
>>> CONFIG_RANDOMIZE_BASE relocates the kernel to a random base address.
>>> However it does no
On Mon, Nov 21, 2016 at 01:51:38PM -0600, Zach Brown wrote:
> Implement the new mtd function 'max_bad_blocks'. Using the chip's
> max_bb_per_die and blocks_per_die fields to determine the maximum bad
> blocks to reserve for an MTD.
>
> Signed-off-by: Jeff Westfahl
> Signed-off-by: Zach Brown
> A
On Wed, Nov 09, 2016 at 06:38:38PM -0600, Tom Lendacky wrote:
> This patch adds the support to check if SME has been enabled and if the
> mem_encrypt=on command line option is set. If both of these conditions
> are true, then the encryption mask is set and the kernel is encrypted
> "in place."
Som
On Mon, Nov 21, 2016 at 01:51:34PM -0600, Zach Brown wrote:
> For ONFI-compliant NAND devices, the ONFI parameters report the maximum number
> of bad blocks per LUN that will be encountered over the lifetime of the
> device,
> so we can use that information to get a more accurate (and smaller) val
Em Thu, Nov 10, 2016 at 04:40:46PM -0800, Krister Johansen escreveu:
> On Wed, Oct 26, 2016 at 11:44:53AM -0200, Arnaldo Carvalho de Melo wrote:
> > Em Tue, Oct 25, 2016 at 05:20:10PM -0700, Krister Johansen escreveu:
> > > On Tue, Oct 11, 2016 at 02:28:39AM -0700, Krister Johansen wrote:
> > > > I
On Tue, Nov 22, 2016 at 10:54 AM, Kees Cook wrote:
> On Tue, Nov 22, 2016 at 9:26 AM, Dan Williams
> wrote:
>> [ replying for Dave since he's offline today and tomorrow ]
>>
>> On Tue, Nov 22, 2016 at 12:47 AM, Ingo Molnar wrote:
>>>
>>> * Dave Jiang wrote:
>>>
CONFIG_RANDOMIZE_BASE reloc
On Tue, Nov 22, 2016 at 09:39:45AM -0500, Steven Rostedt wrote:
> On Mon, 21 Nov 2016 10:37:00 -0800
> Andi Kleen wrote:
>
>
> > Here is it again untruncated:
> >
> > http://halobates.de/tracepoint-trace
>
> BTW, what tool did you use to generate this?
perf and Intel PT, with the disassembler
On Tue, Nov 22, 2016 at 01:15:08PM -0500, Sean Paul wrote:
> On Tue, Nov 22, 2016 at 1:06 PM, Ville Syrjälä
> wrote:
> > On Tue, Nov 22, 2016 at 12:35:53PM -0500, Rob Clark wrote:
> >> On Tue, Nov 22, 2016 at 12:31 PM, Ville Syrjälä
> >> wrote:
> >> > On Tue, Nov 22, 2016 at 12:23:59PM -0500, Rob
Sent from my iPhone
> On Nov 22, 2016, at 1:11 PM, Cong Wang wrote:
>
>> On Tue, Nov 22, 2016 at 2:23 AM, Andrey Konovalov
>> wrote:
>> Hi,
>>
>> I've got the following error report while fuzzing the kernel with syzkaller.
>>
>> It seems that skb_dst(skb) may end up being NULL.
>>
>> As f
Hi Saatvik,
Thank you for the patch, and sorry for the late reply.
On Wednesday 03 Feb 2016 07:56:42 Saatvik Arya wrote:
> fixed spelling mistakes which reffered to OUTPUT as OUPUT
>
> Signed-off-by: Saatvik Arya
I've picked the patch up and applied it to my tree. I will send a pull request
t
From: Eric Dumazet
Andre Noll reported panics after my recent fix (commit 34fad54c2537
"net: __skb_flow_dissect() must cap its return value")
After some more headaches, Alexander root caused the problem to
init_default_flow_dissectors() being called too late, in case
a network driver like IGB is
If the gpio controller supports it and the gpio lines are concentrated
to one gpio chip, the mux controller pins will get updated simultaneously.
Signed-off-by: Peter Rosin
---
drivers/i2c/muxes/i2c-mux-gpio.c | 15 +++
1 file changed, 11 insertions(+), 4 deletions(-)
diff --git a/d
Cluster xAPIC delivery incorrectly assumed that dest_id <= 0xff.
With enabled KVM_X2APIC_API_USE_32BIT_IDS in KVM_CAP_X2APIC_API, a
userspace can send an interrupt with dest_id that results in
out-of-bounds access.
Found by syzkaller:
BUG: KASAN: slab-out-of-bounds in kvm_irq_delivery_to_apic_f
em_jmp_far and em_ret_far assumed that setting IP can only fail in 64
bit mode, but syzkaller proved otherwise (and SDM agrees).
Code segment was restored upon failure, but it was left uninitialized
outside of long mode, which could lead to a leak of host kernel stack.
Found by syzkaller:
WARNI
On Wed, Nov 16, 2016 at 10:50:16PM +, Luis Henriques wrote:
> This patch was triggered by the following Coccinelle error:
>
> ./drivers/mtd/maps/sc520cdp.c:246:3-9: \
> ERROR: missing iounmap; ioremap on line 242 \
> and execution via conditional on line 244
>
> Signed-off-by: Lui
On Tue, Nov 22, 2016 at 9:57 AM, Eric Dumazet wrote:
> On Tue, Nov 22, 2016 at 9:44 AM, Mathieu Desnoyers
> wrote:
>> - On Nov 22, 2016, at 12:01 PM, Francis Deslauriers
>> francis.deslauri...@efficios.com wrote:
>>
>>> Hi Mathieu,
>>>
>>> Here is a description of the kernel BUG_ON I have en
501 - 600 of 916 matches
Mail list logo