Re: [PATCH] Prevent race condition between USB authorisation and USB discovery events

2018-12-17 Thread Andrew Worsley
On Tue, 18 Dec 2018 at 03:21, Alan Stern wrote: > > On Mon, 17 Dec 2018, Andrew Worsley wrote: > > > A sysfs driven USB authorisation change can trigger a usb_set_configuration > > while a hub_event worker thread is running. This can result in a USB device > >

[PATCH] Prevent race condition between USB authorisation and USB discovery events

2018-12-16 Thread Andrew Worsley
no problems (spurious disables or hangs) in 750+ boots. Signed-off-by: Andrew Worsley --- drivers/usb/core/hub.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/usb/core/hub.c b/drivers/usb/core/hub.c index f76b2e0aba9d..dabd07aa8602 100644 --- a/drivers/usb/core/hub.c +++ b/drivers

[PATCH] Round UBI average erase count up to next integer

2018-09-18 Thread Andrew Worsley
. We believe this is due to "program disturb" and want those PEB to be re-used later than average. Signed-off-by: Andrew Worsley --- drivers/mtd/ubi/attach.c | 2 +- drivers/mtd/ubi/fastmap.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/mtd/ubi/

[PATCH] Round UBI average erase count up to next integer

2018-09-18 Thread Andrew Worsley
. We believe this is due to "program disturb" and want those PEB to be re-used later than average. Signed-off-by: Andrew Worsley --- drivers/mtd/ubi/attach.c | 2 +- drivers/mtd/ubi/fastmap.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/mtd/ubi/

Round up the average EC for recovered EB to defer their reuse

2018-09-18 Thread Andrew Worsley
less than average number. Andrew Worsley

Round up the average EC for recovered EB to defer their reuse

2018-09-18 Thread Andrew Worsley
less than average number. Andrew Worsley

Re: 4.16-rc3 fails to resume on MacBookPro10,1 -

2018-03-11 Thread Andrew Worsley
On 11 March 2018 at 21:34, Pavel Machek wrote: > Hi! > >> >> Ok - all the test modes work but a full s2ram hangs (never comes back) >> and obviously the resume full save to disk fails. >> >> I attach the following files: >> >> echo reboot > /sys/power/disk >> echo disk >

Re: 4.16-rc3 fails to resume on MacBookPro10,1 -

2018-03-11 Thread Andrew Worsley
On 11 March 2018 at 21:34, Pavel Machek wrote: > Hi! > >> >> Ok - all the test modes work but a full s2ram hangs (never comes back) >> and obviously the resume full save to disk fails. >> >> I attach the following files: >> >> echo reboot > /sys/power/disk >> echo disk > /sys/power/state >>

[PATCH 1/2] Extend 1W master driver DS2482 with module option to support PPM/SPU/1WS features

2017-08-27 Thread Andrew Worsley
Extend the one wire DS2482 master driver with a module option that allows support for PPM/SPU/1WS interface modes to be requested. This allows support of chips that require one or more of these features such as the DS28E05. Signed-off-by: Andrew Worsley <amwors...@gmail.com> Acked-by: E

[no subject]

2017-08-27 Thread Andrew Worsley
these or similar chips. Thanks Andrew Worsley

[PATCH 2/2] Add 1w slave driver for DS28E05 EEPROM

2017-08-27 Thread Andrew Worsley
Add a one wire driver for the DS28E05 one wire slave chip. This chip requires OverDrive support to talk to it. Signed-off-by: Andrew Worsley <amwors...@gmail.com> Acked-by: Evgeniy Polyakov <z...@ioremap.net> --- drivers/w1/slaves/Kconfig | 8 ++ drivers/w1/slaves/Makef

[PATCH 1/2] Extend 1W master driver DS2482 with module option to support PPM/SPU/1WS features

2017-08-27 Thread Andrew Worsley
Extend the one wire DS2482 master driver with a module option that allows support for PPM/SPU/1WS interface modes to be requested. This allows support of chips that require one or more of these features such as the DS28E05. Signed-off-by: Andrew Worsley Acked-by: Evgeniy Polyakov --- drivers

[no subject]

2017-08-27 Thread Andrew Worsley
these or similar chips. Thanks Andrew Worsley

[PATCH 2/2] Add 1w slave driver for DS28E05 EEPROM

2017-08-27 Thread Andrew Worsley
Add a one wire driver for the DS28E05 one wire slave chip. This chip requires OverDrive support to talk to it. Signed-off-by: Andrew Worsley Acked-by: Evgeniy Polyakov --- drivers/w1/slaves/Kconfig | 8 ++ drivers/w1/slaves/Makefile| 1 + drivers/w1/slaves/w1_ds2805.c | 313