On Thu, 2017-05-11 at 08:56 -0700, Casey Schaufler wrote:
> On 5/11/2017 5:59 AM, Sebastien Buisson wrote:
> > Add policybrief field to struct policydb. It holds a brief info
> > of the policydb, in the following form:
> > <0 or 1 for enforce>:<0 or 1 for checkreqprot>:=
> > Policy brief is compute
On Thu, May 11, 2017 at 12:31:21PM -0500, Eric W. Biederman wrote:
> Guenter Roeck writes:
>
> > Hi all,
> >
> > the test program attached below almost always results in one of the child
> > processes being stuck in zap_pid_ns_processes(). When this happens, I can
> > see from test logs that nr_h
On Thu, 11 May 2017 11:15:11 +0200,
Christoph Hellwig wrote:
>
> On Thu, May 11, 2017 at 10:46:47AM +0200, Takashi Iwai wrote:
> > Yeah, I also started looking at it after reading the LWN article.
> > The removal of set_fs() in ALSA part was already finished, and I'm
> > currently brushing up the
2017-05-11 5:16 GMT-06:00 Mathias Nyman :
> Looks like there are a few people suffering from macbook xhci related issues
>
> From the bugs linked it looks like there are both some UEFI issues and a
> non-responsive
> usb device at boot. at least one USB device does not respond to a address
> device
* Bin Liu [170511 13:05]:
> On Thu, May 11, 2017 at 12:38:11PM -0700, Tony Lindgren wrote:
> >
> > I wonder if just keeping VBUS on longer in OTG_STATE_A_WAIT_BCON
> > solves this issue?
>
> We don't cut VBUS intentionally for host mode (when devctl=0x19). The
> VBUS got cut in this case only be
On Thu, May 11, 2017 at 02:12:39PM -0600, Jens Axboe wrote:
> On 05/10/2017 09:13 PM, Paul E. McKenney wrote:
> > On Wed, May 10, 2017 at 08:55:54PM -0600, Jens Axboe wrote:
> >> On 05/10/2017 04:34 PM, Paul E. McKenney wrote:
> >>> Hello!
> >>>
> >>> I got the lockdep splat shown below during some
* Tony Lindgren [170511 13:26]:
> diff --git a/drivers/usb/musb/musb_dsps.c b/drivers/usb/musb/musb_dsps.c
> --- a/drivers/usb/musb/musb_dsps.c
> +++ b/drivers/usb/musb/musb_dsps.c
> @@ -270,6 +270,10 @@ static int dsps_check_status(struct musb *musb, void
> *unused)
> musb_writel(m
On Thu, May 11, 2017 at 1:21 PM, Takashi Iwai wrote:
>
> Since no one cried against it so far, I'll try to smuggle the
> following patch into 4.12.
Can we instead just disable it with a one-liner that just makes
SOUND_PRIME have a
depends on n
in it, so that you can't select it.
Commentin
Guenter Roeck writes:
> On Thu, May 11, 2017 at 12:31:21PM -0500, Eric W. Biederman wrote:
>> Guenter Roeck writes:
>>
>> > Hi all,
>> >
>> > the test program attached below almost always results in one of the child
>> > processes being stuck in zap_pid_ns_processes(). When this happens, I can
On 05/11/17 13:28, Linus Torvalds wrote:
> On Thu, May 11, 2017 at 1:21 PM, Takashi Iwai wrote:
>>
>> Since no one cried against it so far, I'll try to smuggle the
>> following patch into 4.12.
>
> Can we instead just disable it with a one-liner that just makes
> SOUND_PRIME have a
>
> depe
On 05/09/2017 02:46 PM, Gustavo A. R. Silva wrote:
> Local variable _ret_ is assigned to a constant value and it is never
> updated again. Remove this variable and the dead code it guards.
>
> Addresses-Coverity-ID: 140761
> Signed-off-by: Gustavo A. R. Silva
> ---
Reviewed-by: Tyrel Datwyler
On Thu, 11 May 2017 22:28:49 +0200,
Linus Torvalds wrote:
>
> On Thu, May 11, 2017 at 1:21 PM, Takashi Iwai wrote:
> >
> > Since no one cried against it so far, I'll try to smuggle the
> > following patch into 4.12.
>
> Can we instead just disable it with a one-liner that just makes
> SOUND_PRIM
On Thu, May 11, 2017 at 01:23:06PM -0700, Tony Lindgren wrote:
> * Bin Liu [170511 13:05]:
> > On Thu, May 11, 2017 at 12:38:11PM -0700, Tony Lindgren wrote:
> > >
> > > I wonder if just keeping VBUS on longer in OTG_STATE_A_WAIT_BCON
> > > solves this issue?
> >
> > We don't cut VBUS intentiona
On 5/11/2017 1:22 PM, Stephen Smalley wrote:
> On Thu, 2017-05-11 at 08:56 -0700, Casey Schaufler wrote:
>> On 5/11/2017 5:59 AM, Sebastien Buisson wrote:
>>> Add policybrief field to struct policydb. It holds a brief info
>>> of the policydb, in the following form:
>>> <0 or 1 for enforce>:<0 or 1
Have you measured that? I do not think it would be super hard to
measure. I would be quite surprised if this added much if anything at
all as the whole struct page should be in the cache line already. We do
set reference count and other struct members. Almost nobody should be
looking at our page
On Thu, May 11, 2017 at 03:23:17PM -0500, Eric W. Biederman wrote:
> Guenter Roeck writes:
>
> > On Thu, May 11, 2017 at 12:31:21PM -0500, Eric W. Biederman wrote:
> >> Guenter Roeck writes:
> >>
> >> > Hi all,
> >> >
> >> > the test program attached below almost always results in one of the ch
On Mon, May 08, 2017 at 05:45:53PM -0700, Dmitry Torokhov wrote:
> Before trying to properly initialize the touchpad and generate bunch of
> errors, let's first see it there is anything at the given address. If we
> get error, fail silently with -ENXIO.
>
> Signed-off-by: Dmitry Torokhov
Reviewe
OSS drivers are left as badly unmaintained, and now we're facing a
problem to clean up the hackish set_fs() usage in their codes. Since
most of drivers have been covered by ALSA, and the others are dead old
and inactive, let's leave them RIP.
This patch is the first step: disable the build of OSS
According to checkpatch.pl, kcalloc should be preferred to kzalloc with
multiply.
Signed-off-by: JB Van Puyvelde
---
drivers/staging/greybus/power_supply.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/greybus/power_supply.c
b/drivers/staging/greybus/power_
We should either keep memset() only for deferred struct pages as what I
have in my patches.
Another option is to add a new function struct_page_clear() which would
default to memset() and to something else on platforms that decide to
optimize it.
On SPARC it would call STBIs, and we would do
From: Jeremy Kerr
Add a `struct fsi_master` to represent a FSI master controller.
FSI master drivers register one of these structs to provide
device-specific of the standard operations: read/write/term/break and
link control.
Includes changes from Edward A. James & Jeremy Kerr
.
Signed-off-by
Implementation of the IBM 'Flexible Support Interface' (FSI) bus device
driver. FSI is a high fan out serial bus consisting of a clock and a serial
data line capable of running at speeds up to 166 MHz.
This set provides the basic framework to add FSI extensions to the
Linux bus and device models.
Set CFAM to appropriate ID so that the controlling master can manage
link memory ranges. Add slave engine register definitions.
Includes changes from Jeremy Kerr .
Signed-off-by: Jeremy Kerr
Signed-off-by: Christopher Bostic
Signed-off-by: Joel Stanley
---
drivers/fsi/fsi-core.c | 75 +++
From: Jeremy Kerr
When a new fsi master is added, we will need to scan its links, and
slaves attached to those links. This change introduces a little shell to
iterate the links, which we will populate with the actual slave scan in
a later change.
Signed-off-by: Jeremy Kerr
Signed-off-by: Chris
Enable each link and send a break command, and try to detect a slave by
reading from the SMODE register.
Signed-off-by: Christopher Bostic
Signed-off-by: Joel Stanley
---
drivers/fsi/fsi-core.c | 37 +++--
1 file changed, 35 insertions(+), 2 deletions(-)
diff --
From: Jeremy Kerr
Introduce functions to perform reads/writes on the slave address space;
these simply pass the request on the slave's master with the correct
link and slave ID.
We implement these on top of similar helpers for the master.
Signed-off-by: Jeremy Kerr
Signed-off-by: Joel Stanley
Implement a FSI master using GPIO. Will generate FSI protocol for
read and write commands to particular addresses. Sends master command
and waits for and decodes a slave response.
Includes changes from Edward A. James and Jeremy
Kerr .
Signed-off-by: Edward A. James
Signed-off-by: Jeremy Kerr
From: Jeremy Kerr
Allow drivers to access the slave address ranges.
Signed-off-by: Jeremy Kerr
Signed-off-by: Joel Stanley
Signed-off-by: Christopher Bostic
---
drivers/fsi/fsi-core.c | 26 --
include/linux/fsi.h| 12
2 files changed, 32 insertions(+)
Add an engine driver to expose a "hub" FSI master - which has a set of
control registers in the engine address space, and uses a chunk of the
slave address space for actual FSI communication.
Additional changes from Jeremy Kerr .
Signed-off-by: Christopher Bostic
Signed-off-by: Jeremy Kerr
Sign
From: Jeremy Kerr
For slaves that are behind a software-clocked master, we want FSI CFAMs
to run asynchronously to the FSI clock, so set up our slaves to be in
async mode.
Signed-off-by: Jeremy Kerr
Signed-off-by: Christopher Bostic
---
drivers/fsi/fsi-core.c| 22 +
From: Jeremy Kerr
Trace low level input/output GPIO operations.
Signed-off-by: Jeremy Kerr
Signed-off-by: Christopher Bostic
---
drivers/fsi/fsi-master-gpio.c | 9 +
include/trace/events/fsi_master_gpio.h | 68 ++
2 files changed, 77 insertions(+)
From: Jeremy Kerr
This change implements error handling in the FSI core, by cleaning up
and retrying failed operations, using the SISC, TERM and BREAK
facilities.
Signed-off-by: Jeremy Kerr
Signed-off-by: Christopher Bostic
---
drivers/fsi/fsi-core.c | 121
Create a simple SCOM engine device driver that reads and writes
its control registers via an FSI bus.
Includes changes from Edward A. James .
Signed-off-by: Christopher Bostic
Signed-off-by: Joel Stanley
Signed-off-by: Edward A. James
Signed-off-by: Jeremy Kerr
---
drivers/fsi/Kconfig|
On Thu, May 11, 2017 at 04:12:23PM +0200, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 4.4.68 release.
> There are 60 patches in this series, all will be posted as a response
> to this one. If anyone has any issues with these being applied, please
> let me know.
From: Chris Bostic
Add info for sysfs scan file in Documentaiton ABI/testing
Signed-off-by: Christopher Bostic
---
v7 - Rename scan file to 'rescan'
- Add 'raw' file details
- Add 'term' file details
- Add 'break' file details
- Update kernel version for each file to 4.12
---
Docum
Add fsi master gpio device tree binding documentation.
Includes changes from Jeremy Kerr .
Signed-off-by: Christopher Bostic
Signed-off-by: Jeremy Kerr
Signed-off-by: Joel Stanley
Acked-by: Rob Herring
---
.../devicetree/bindings/fsi/fsi-master-gpio.txt| 24 ++
1 file
From: Jeremy Kerr
Trace low level read and write FSI bus operations.
Signed-off-by: Jeremy Kerr
Signed-off-by: Joel Stanley
Signed-off-by: Christopher Bostic
---
drivers/fsi/fsi-core.c | 27 +++---
include/trace/events/fsi.h | 127 +
2 fil
From: Jeremy Kerr
Implement fsi_slave_init: if we can read a chip ID, create fsi_slave
devices and register with the driver core.
Includes changes from Christopher Bostic .
Signed-off-by: Jeremy Kerr
Signed-off-by: Christopher Bostic
Signed-off-by: Joel Stanley
---
v7 - Change warning messag
Add driver_register and driver_unregister wrappers for FSI.
Signed-off-by: Christopher Bostic
Signed-off-by: Joel Stanley
---
drivers/fsi/fsi-core.c | 17 +
include/linux/fsi.h| 12
2 files changed, 29 insertions(+)
diff --git a/drivers/fsi/fsi-core.c b/drivers
From: Jeremy Kerr
This change adds a 'raw' file for reads & writes, and a 'term' file for
the TERM command, and a 'break' file for issuing a BREAK.
Signed-off-by: Jeremy Kerr
Signed-off-by: Joel Stanley
Signed-off-by: Christopher Bostic
---
drivers/fsi/fsi-core.c | 116 ++
Allow a master to undo a previous scan. Should a master scan a bus
twice it will need to ensure it doesn't double register any
previously detected device.
Signed-off-by: Christopher Bostic
Signed-off-by: Joel Stanley
v7 - Unscan when unregistering master
- Remove leading '__'s from func
From: Jeremy Kerr
This change introduces the fsi device API: simple read, write and peek
accessors for the devices' address spaces.
Includes contributions from Christopher Bostic
and Edward A. James .
Signed-off-by: Edward A. James
Signed-off-by: Jeremy Kerr
Signed-off-by: Christopher Bostic
From: Jeremy Kerr
Now that we have fsi_slave devices, scan each for endpoints, and
register them on the fsi bus.
Includes contributions from Christopher Bostic
.
Signed-off-by: Jeremy Kerr
Signed-off-by: Christopher Bostic
Signed-off-by: Joel Stanley
---
v7 - Use GEN_MASK for bitmask definit
* Bin Liu [170511 13:47]:
> On Thu, May 11, 2017 at 01:23:06PM -0700, Tony Lindgren wrote:
> >
> > Maybe try something like below, compile tested only. I don't
> > think I have any USB modem here to test with.
>
> The patch below doesn't help. In device detach by the time
> dsps_check_status() i
From: Jeremy Kerr
Add a little helper for crc4 calculations. This works 4-bits-at-a-time,
using a simple table approach.
We will need this in the FSI core code, as well as any master
implementations that need to calculate CRCs in software.
Signed-off-by: Jeremy Kerr
Signed-off-by: Chris Bostic
From: Jeremy Kerr
Add the initial fsi slave device, which is private to the core code.
This will be a child of the master, and parent to endpoint devices.
Signed-off-by: Jeremy Kerr
Signed-off-by: Chris Bostic
Signed-off-by: Joel Stanley
---
drivers/fsi/fsi-core.c | 10 ++
1 file cha
On Thu 2017-01-05 10:23:07, Michal Hocko wrote:
> Hi,
> I have just learned that my Xfce Power Manager cannot manipulate
> brightness because I do not have policykit installed on my computer.
> There is a reason for that (yeah it depends on systemd which I prefer
> not have).
>
> While this is cle
On Mon 2017-01-23 10:39:27, Juergen Gross wrote:
> On 13/01/17 15:41, Juergen Gross wrote:
> > On 12/01/17 10:21, Chris Wilson wrote:
> >> On Thu, Jan 12, 2017 at 07:03:25AM +0100, Juergen Gross wrote:
> >>> On 11/01/17 18:08, Chris Wilson wrote:
> On Wed, Jan 11, 2017 at 05:33:34PM +0100, Jue
On Thu, May 11, 2017 at 04:11:29PM +0200, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 4.9.28 release.
> There are 103 patches in this series, all will be posted as a response
> to this one. If anyone has any issues with these being applied, please
> let me know
On 05/11/2017 11:41 AM, Sergey Senozhatsky wrote:
On (05/11/17 17:24), Sergey Senozhatsky wrote:
On (05/09/17 10:29), Sabrina Dubroca wrote:
[..]
That's caused a change of behavior in my qemu setup, with this cmdline
root=/dev/sda1 console=ttyS1 console=ttyS0
Before, the kernel logs ap
On Thu, May 11, 2017 at 03:02:35PM +0200, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 3.18.53 release.
> There are 39 patches in this series, all will be posted as a response
> to this one. If anyone has any issues with these being applied, please
> let me know
On 05/11/2017 02:32 PM, Sergey Senozhatsky wrote:
On (05/11/17 17:41), Sergey Senozhatsky wrote:
[..]
Alexey,
can we have preferred console at offset 0 (not at console_cmdline_cnt - 1)
and restore the previous register_console() iteration order?
btw, what if someone has configured the system
On Thu, 11 May 2017, Ben Hutchings wrote:
> On Thu, 2017-05-11 at 16:12 +0200, Greg Kroah-Hartman wrote:
> > 4.4-stable review patch. If anyone has any objections, please let me know.
> >
> > --
> >
> > From: Ruslan Ruslichenko
> >
> > commit a9b4f08770b415f30f2fb0f8329a370c8f
Sorry for self-answering, but I forgot to add mtd maintainers and
mtd-mailinglist.
/Honza
2017-05-11 12:11 GMT+02:00 Honza Petrouš :
> Hi,
>
> I'm not so much experienced in MTD area, so please correct me, if I'm wrong.
>
> NOR flashes supported by cmdset0002 (AMD & Fujitsu Standard Vendor Comman
Hi JB,
Great! thanks for the patch,
On Thu, May 11, 2017 at 10:58:56PM +0200, JB Van Puyvelde wrote:
According to checkpatch.pl, kcalloc should be preferred to kzalloc with
multiply.
Signed-off-by: JB Van Puyvelde
Reviewed-by: Rui Miguel Silva
Cheers,
Rui
---
drivers/staging/greybus/powe
On Fri 2017-04-21 14:08:04, Ville Syrjälä wrote:
> On Fri, Apr 21, 2017 at 11:50:18AM +0200, Gerd Hoffmann wrote:
> > On Fr, 2017-04-21 at 12:25 +0300, Ville Syrjälä wrote:
> > > On Fri, Apr 21, 2017 at 09:58:24AM +0200, Gerd Hoffmann wrote:
> > > > While working on graphics support for virtual mac
On Tue, May 09, 2017 at 12:01:23PM -0700, Kees Cook wrote:
> +#define _REFCOUNT_EXCEPTION \
> + ".pushsection .text.unlikely\n" \
> + "111:\tmovl $0x7fff, %[counter]\n" \
> + "112:\t" ASM_UD0 "\n" \
> +
On Thu, May 11, 2017 at 02:16:07PM -0700, Guenter Roeck wrote:
> arch/arm/mach-omap2/omap-headsmp.S:60: Error: bad instruction `badr
> r0,hyp_boot'
>
> I see "badr" used in later kernels, but not in v3.18. Does this possibly
> require some secondary patches ?
It was introduced in kernel 4.2 by
Guenter Roeck writes:
> On Thu, May 11, 2017 at 12:31:21PM -0500, Eric W. Biederman wrote:
>> Guenter Roeck writes:
>>
>> > Hi all,
>> >
>> > the test program attached below almost always results in one of the child
>> > processes being stuck in zap_pid_ns_processes(). When this happens, I can
On 11/05/17 15:45, Chris Packham wrote:
> Systems using 4-wire fans usually require high frequency (22.5kHz)
> output on the pwm. Add 22500 as a valid option in the pwmfreq_table. In
> high frequency mode the low-order bit are ignored so they can safely be
> set to 0.
>
> Signed-off-by: Chris Packh
Hello everybody,
While looking into Coverity ID 1398130 I ran into the following piece
of code at drivers/net/dsa/mv88e6xxx/chip.c:849:
849static uint64_t _mv88e6xxx_get_ethtool_stat(struct mv88e6xxx_chip *chip,
850struct mv88e6xxx_hw_stat *s,
8
It is possible to update the backlight power and the brightness using
the sysfs and on writing it either returns the count or if the callback
function does not exist then returns the error code 'ENXIO'.
We have a situation where the userspace client is writing to the sysfs
to update the power and
* Nikita Yushchenko [170511 13:05]:
> When pinctrl device registers, it automatically claims hogs, that is,
> maps that pinctrl device serves for itself.
>
> It is possible that in addition to SoC's pinctrl device, other pinctrl
> devices get registered. E.g. some gpio expander devies are registe
Guenter Roeck writes:
> On Thu, May 11, 2017 at 03:23:17PM -0500, Eric W. Biederman wrote:
>> Guenter Roeck writes:
>>
>> > On Thu, May 11, 2017 at 12:31:21PM -0500, Eric W. Biederman wrote:
>> >> Guenter Roeck writes:
>> >>
>> >> > Hi all,
>> >> >
>> >> > the test program attached below almo
* Matthijs van Duin [170511 14:34]:
> On Thu, May 11, 2017 at 02:16:07PM -0700, Guenter Roeck wrote:
> > arch/arm/mach-omap2/omap-headsmp.S:60: Error: bad instruction `badr
> > r0,hyp_boot'
> >
> > I see "badr" used in later kernels, but not in v3.18. Does this possibly
> > require some secondar
Despite the claims in the associated comment block, it seems that
clearing the command register is not enough to guarantee that no
MSI interrupts get triggered during Function Level Reset. Through code
instrumentation, I'm able to clearly trace cases like this:
(0) reset a device:
echo 1 >
Hi,
On 10.05.2017 10:53, Stefan Wahren wrote:
> +static int qcauart_netdev_init(struct net_device *dev)
> +{
> + struct qcauart *qca = netdev_priv(dev);
> + size_t len;
> +
> + /* Finish setting up the device info. */
> + dev->mtu = QCAFRM_MAX_MTU;
> + dev->type = ARPHRD_ETHER
On Thu, May 11 2017, J. Bruce Fields wrote:
> On Wed, Apr 05, 2017 at 02:14:09PM -0400, J. Bruce Fields wrote:
>> On Wed, Apr 05, 2017 at 10:05:51AM +0200, Jan Kara wrote:
>> > 1) Keep i_version as is, make clients also check for i_ctime.
>>
>> That would be a protocol revision, which we'd defini
Previous assignment was causing the use of the uninitialized variable
_explan_ inside fc_seq_ls_rjt() function, which in this particular
case is being called by fc_seq_els_rsp_send().
Addresses-Coverity-ID: 1398125
Signed-off-by: Gustavo A. R. Silva
---
drivers/scsi/libfc/fc_rport.c | 2 +-
1 fi
On Fri 2017-04-14 20:25:57, H. Nikolaus Schaller wrote:
> Signed-off-by: H. Nikolaus Schaller
You should explain how to obtain equivalent functionality without that
attribute.
Pavel
> ---
> drivers/power/supply/twl4030_cha
On Thu, May 11, 2017 at 04:25:23PM -0500, Eric W. Biederman wrote:
> Guenter Roeck writes:
>
> > On Thu, May 11, 2017 at 12:31:21PM -0500, Eric W. Biederman wrote:
> >> Guenter Roeck writes:
> >>
> >> > Hi all,
> >> >
> >> > the test program attached below almost always results in one of the ch
On Tue, May 9, 2017 at 7:29 AM, Thomas Garnier wrote:
>
> On Tue, May 9, 2017 at 4:10 AM, Greg KH wrote:
> > On Tue, May 09, 2017 at 08:56:19AM +0200, Ingo Molnar wrote:
> >>
> >> * Kees Cook wrote:
> >>
> >> > > There's the option of using GCC plugins now that the infrastructure was
> >> > > up
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,desc,regs) \
+do { \
+ spin_lock(&desc->l
Guenter Roeck writes:
> On Thu, May 11, 2017 at 04:25:23PM -0500, Eric W. Biederman wrote:
>> Guenter Roeck writes:
>>
>> > On Thu, May 11, 2017 at 12:31:21PM -0500, Eric W. Biederman wrote:
>> >> Guenter Roeck writes:
>> >>
>> >> > Hi all,
>> >> >
>> >> > the test program attached below almo
We end up reading the interrupt register for HPD5, and then writing it
to HPD6 which on systems without anything using HPD5 results in
permanently disabling hotplug on one of the display outputs after the
first time we acknowledge a hotplug interrupt from the GPU.
This code is really bad. But for
Hi Bart,
Fetching the tagret-bva tree
(git://git.kernel.org/pub/scm/linux/kernel/git/bvanassche/linux.git#for-next)
today produces this error:
fatal: Couldn't find remote ref refs/heads/for-next
--
Cheers,
Stephen Rothwell
On Thu, May 11, 2017 at 4:17 PM, Thomas Garnier wrote:
>
> Ingo: Do you want the change as-is? Would you like it to be optional?
> What do you think?
I'm not ingo, but I don't like that patch. It's in the wrong place -
that system call return code is too timing-critical to add address
limit check
On 05/11/17 13:58, Takashi Iwai wrote:
> OSS drivers are left as badly unmaintained, and now we're facing a
> problem to clean up the hackish set_fs() usage in their codes. Since
> most of drivers have been covered by ALSA, and the others are dead old
> and inactive, let's leave them RIP.
>
> Thi
Use time_after kernel macro for time comparison
that has safety check.
Signed-off-by: Karim Eshapa
---
fs/cifs/transport.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/cifs/transport.c b/fs/cifs/transport.c
index 4d64b5b..a7f5168 100644
--- a/fs/cifs/transport.c
+++ b/f
The timings are those that the firmware defines as the baseline, which
will be modified by the bridge/host as necessary to get the clocking
to work.
Signed-off-by: Eric Anholt
---
drivers/gpu/drm/panel/panel-simple.c | 30 ++
1 file changed, 30 insertions(+)
diff --g
This driver communicates with the Atmel microcontroller for sequencing
the poweron of the TC358762 DSI-DPI bridge and controlling the
backlight PWM.
The following lines are required in config.txt, to keep the firmware
from trying to bash our I2C lines and steal the DSI interrupts:
disable_tou
The Raspberry Pi 7" Touchscreen is a DPI touchscreen panel with
DSI->DPI bridge and touchscreen controller integrated, that connects
to the Raspberry Pi through its 15-pin "DSI" connector (some lines are
DSI, some lines are I2C).
This device is represented in the DT as three nodes (DSI device, I2C
BCM2835's PLLD_DSI1 divider doesn't give us many choices for our pixel
clocks, so to support panels on the Raspberry Pi we need to set a
higher pixel clock rate than requested and adjust the mode we program
to extend out the HFP so that the refresh rate matches.
Signed-off-by: Eric Anholt
---
dr
Here's the rewrite of the Raspberry Pi display support to split out a
bridge driver representing the toshiba+atmel pair. It depends on the
panel-bridge layer I've submitted.
The RPi DSI stack isn't completely working yet -- I've got some
flickery pixels on the display where it seems some color va
On Thu, May 11, 2017 at 11:12:32AM -0600, Mathieu Poirier wrote:
[...]
> > +static int debug_probe(struct amba_device *adev, const struct amba_id *id)
> > +{
> > + void __iomem *base;
> > + struct device *dev = &adev->dev;
> > + struct debug_drvdata *drvdata;
> > + struct resource *res =
On Thu, May 11, 2017 at 08:26:29PM +0200, Luis R. Rodriguez wrote:
> On Thu, May 11, 2017 at 07:46:27PM +0900, AKASHI Takahiro wrote:
> > On Fri, Apr 28, 2017 at 03:45:35AM +0200, Luis R. Rodriguez wrote:
> > > > > diff --git a/tools/testing/selftests/firmware/driver_data.sh
> > > > > b/tools/test
On Thu, May 11, 2017 at 11:32:30AM -0700, Luis R. Rodriguez wrote:
> On Thu, May 11, 2017 at 11:26 AM, Luis R. Rodriguez wrote:
> >
> > It would seems to make sense to me to only need to verify files when read
> > for the first time, once its cache I don't see why we would re-verify them ?
>
> To
On Sun, 23 Apr 2017 04:30:01 -0700
tip-bot for Thomas Gleixner wrote:
> Commit-ID: 24db7a671bd5eea76b17138b976eb9a4072f1b7a
> Gitweb: http://git.kernel.org/tip/24db7a671bd5eea76b17138b976eb9a4072f1b7a
> Author: Thomas Gleixner
> AuthorDate: Sun, 23 Apr 2017 12:17:13 +0200
> Committer:
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
On Fri, May 05, 2017 at 02:00:17PM +0300, Leonard Crestez wrote:
> The board file for imx6sx-sdb overrides cpufreq operating points to use
> higher voltages. This is done because the board has a shared rail for
> VDD_ARM_IN and VDD_SOC_IN and when using LDO bypass the shared voltage
> needs to be a
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
Sometimes we have to dereference next field of llist node before entering
loop becasue the node might be deleted or the next field might be
modified within the loop. So this adds the safe version of llist_for_each,
that is, llist_for_each_safe.
Signed-off-by: Byungchul Park
Reviewed-by: "Huang, Y
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
-
Although llist provides proper APIs, they are not used. Make them used.
Signed-off-by: Byungchul Park
---
kernel/sched/core.c | 15 +++
1 file changed, 3 insertions(+), 12 deletions(-)
diff --git a/kernel/sched/core.c b/kernel/sched/core.c
index d01f9d0..8938125 100644
--- a/kernel/
Although llist provides proper APIs, they are not used. Make them used.
Signed-off-by: Byungchul Park
Acked-by: Nicholas Bellinger
---
drivers/vhost/scsi.c | 11 +++
1 file changed, 3 insertions(+), 8 deletions(-)
diff --git a/drivers/vhost/scsi.c b/drivers/vhost/scsi.c
index 253310c..
Although llist provides proper APIs, they are not used. Make them used.
Signed-off-by: Byungchul Park
---
kernel/irq_work.c | 6 +-
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/kernel/irq_work.c b/kernel/irq_work.c
index bcf107c..e2ebe8c 100644
--- a/kernel/irq_work.c
+++ b/k
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
On Mon, Dec 12, 2016 at 03:11:03PM +0800, KT Liao wrote:
> One Elan sample which sample version is 0x74 and hw_version is 0x04 has a bug
> in abs mode, so let it run in default mode
> Signed-off-by: KT Liao
Applied, thank you.
> ---
> drivers/input/mouse/elantech.c | 7 +++
> 1 file change
On Tue, Nov 22, 2016 at 02:43:26PM +0800, KT Liao wrote:
Applied, thank you. Sorry for the delay.
> ---
> drivers/input/mouse/elan_i2c.h | 6 ++-
> drivers/input/mouse/elan_i2c_core.c | 40 +--
> drivers/input/mouse/elan_i2c_i2c.c | 74
> +++
pick_next_pushable_dl_task(rq) has BUG_ON(rq->cpu != task_cpu(task))
when it returns a task other than NULL, which means that task_cpu(task)
must be rq->cpu. So if task == next_task, then task_cpu(next_task) must
be rq->cpu as well. Remove the redundant condition and make code simpler.
By this pat
801 - 900 of 1040 matches
Mail list logo