Subscribe: lkml.org
http://lkml.org/rss.php
Added By: Feedage Forager Feedage Grade B rated
Language: English
Tags:
drivers  file changed  greg kroah  hartman writes  kernel  kroah hartman  patch  struct  summary  writes summary  writes 
Rate this Feed
Rate this feedRate this feedRate this feedRate this feedRate this feed
Rate this feed 1 starRate this feed 2 starRate this feed 3 starRate this feed 4 starRate this feed 5 star

Comments (0)

Feed Details and Statistics Feed Statistics
Preview: lkml.org

lkml.org



lkml.org - the realtime linux kernel mailinglist archive



Last Build Date: Sun, 19 Nov 2017 22:57:55 +0100

 



Re: [PATCH] media: rc: double keypresses due to timeout expiring t ...
Sean Young writes: (Summary) 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/drivers/media/rc/rc-main.c b/drivers/media/rc/rc-main.c index 17950e29d4e3..5057b2ba0c10 100644 --- a/drivers/media/rc/rc-main.c +++ b/drivers/media/rc/rc-main.c @@ -39,41 +39,41 @@ static const struct { [RC_PROTO_UNKNOWN] = { .name = "unknown", .repeat_period = 250 }, [RC_PROTO_OTHER] = { .name = "other", .repeat_period = 250 }, [RC_PROTO_RC5] = { .name = "rc-5", - .scancode_bits = 0x1f7f, .repeat_period = 164 }, + .scancode_bits = 0x1f7f, .repeat_period = 250 }, [RC_PROTO_RC5X_20] = { .name = "rc-5x-20", - .scancode_bits = 0x1f7f3f, .repeat_period = 164 }, + .scancode_bits = 0x1f7f3f, .repeat_period = 250 }, [RC_PROTO_RC5_SZ] = { .name = "rc-5-sz", - .scancode_bits = 0x2fff, .repeat_period = 164 }, + .scancode_bits = 0x2fff, .repeat_period = 250 }, [RC_PROTO_JVC] = { .name = "jvc", .scancode_bits = 0xffff, .repeat_period = 250 }, [RC_PROTO_SONY12] = { .name = "sony-12", - .scancode_b



[GIT PULL] security subsystem: IMA bugfix
James Morris writes: (Summary) The following changes since commit ed30b147e1f6e396e70a52dbb6c7d66befedd786: The following changes since commit ed30b147e1f6e396e70a52dbb6c7d66befedd786: Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/ide (2017-11-19 08:04:41 -1000) Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/ide (2017-11-19 08:04:41 -1000) are available in the git repository at:
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security.git next-integrity git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security.git next-integrity for you to fetch changes up to 020aae3ee58c1af0e7ffc4e2cc9fe4dc630338cb: for you to fetch changes up to 020aae3ee58c1af0e7ffc4e2cc9fe4dc630338cb: ima: do not update security.ima if appraisal status is not INTEGRITY_PASS (2017-11-20 08:23:10 +1100) ima: do not update security.ima if appraisal status is not INTEGRITY_PASS (2017-11-20 08:23:10 +1100) --------------------------------------------------------



Re: [PATCH v3 2/3] leds: Add driver for Qualcomm LPG
Jacek Anaszewski writes: (Summary) +#define RAMP_CONTROL_REG 0xc8
Please add QCOM_ namespacing prefix to the macros.
At least PWM prefix is reserved for pwm subsystem.
At least PWM prefix is reserved for pwm subsystem.
+ }
Please provide macros for 6 and 9 magic numbers.
Please provide macros for 6 and 9 magic numbers.
+ regmap_write(lpg->map, chan->base + LPG_PREDIV_CLK_REG, val); Not all LED class drivers adhere to this rule and we have some mess in this area currently, but we will fix it soon I hope.
currently, but we will fix it soon I hope.
+ led->cdev.max_brightness = 255;
You can skip this line, since it will be set to LED_FULL in case passed 0 to led_classdev_init().
in case passed 0 to led_classdev_init().
+MODULE_LICENSE("GPL v2");



Re: [PATCH v3 3/3] DT: leds: Add Qualcomm Light Pulse Generator bi ...
Jacek Anaszewski writes: (Summary) Hi Bjorn,
Hi Bjorn,
Thanks for the update.
Thanks for the update.
On 11/15/2017 08:13 AM, Bjorn Andersson wrote:
+ present
Range of possible values is missing here.
Range of possible values is missing here.
+ #pwm-cells = <2>;
LED has to be represented as a child node -
see Documentation/devicetree/bindings/leds/common.txt see Documentation/devicetree/bindings/leds/common.txt +};
Could you please also provide an example of the arrangement on the board DragonBoard820c, you were describing in the discussions under the previous version of the patch set.



Re: [PATCH] fs: Safe rcu access to hlist.
Al Viro writes: (Summary) On Sun, Nov 19, 2017 at 03:02:10PM -0500, Tim Hansen wrote: Found on linux-next branch, tag next-20171117 with sparse. Frankly, I'm tempted to take sparse RCU annotations out for good - they are far too noisy and I'm not sure sparse is suitable for the analysis needed to prove safety of that stuff, so unless you (or somebody else) figures out how to use them in a reasonably clean way, we'd probably be better off just dropping them. way, we'd probably be better off just dropping them.



Re: [PATCH 0/4] ARM: ep93xx: ts72xx: Add support for BK3 board
Alexander Sverdlin writes: (Summary) Hello Lukasz!
Hello Lukasz!
On 17/11/17 00:22, Lukasz Majewski wrote:
ARM: ep93xx: ts72xx: Use DEFINE_RES_MEM macros where applicable The patch 3/4 deletes everything added by patch 1/4, so I don't really see the point of it. The patch 3/4 deletes everything added by patch 1/4, so I don't really see the point of it. ARM: ep93xx: ts72xx: Add support for BK3 board - ts72xx derivative I tend to agree with Hartley, if you'd just add all BK3-related extras to ts72xx.c it would be less than 60 LoCs, you probably even do not need new Kconfig options.



mthca misuse of get_user_pages() (was Re: [git pull] vfs.git get_u ...
Al Viro writes: (Summary) On Fri, Nov 17, 2017 at 09:32:15PM +0000, Al Viro wrote: [snip] > one is almost certainly buggered - we are not holding ->mmap_sem there. So's the mthca one - that caller (mthca_map_user_db()) does not take ->mmap_sem and at least some of its calls are immediately preceded by copy_from_user(). if any of those happen to be under ->mmap_sem, we can't grab ->mmap_sem just around that get_user_pages(). The questions so far: * can mthca_map_user_db() ever be called under ->mmap_sem? } ret = get_user_pages(uaddr &



[PATCH] arm: dma-mapping: use vma_pages helper function
Colin King writes: (Summary) 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mm/dma-mapping.c b/arch/arm/mm/dma-mapping.c index ada8eb206a90..ec0f277d1d4d 100644 --- a/arch/arm/mm/dma-mapping.c +++ b/arch/arm/mm/dma-mapping.c @@ -831,7 +831,7 @@ static int __arm_dma_mmap(struct device *dev, struct vm_area_struct *vma, unsigned long attrs) { int ret; - unsigned long nr_vma_pages = (vma->vm_end - vma->vm_start) >> + unsigned long nr_vma_pages = vma_pages(vma);



Re: bh1770 hacks: get it to work on n950
Sebastian Reichel writes: Hi,
Hi,
On Sun, Nov 19, 2017 at 04:07:30PM +0100, Pavel Machek wrote: the patches.
Looks like I need to be more explicit, so be it:
Looks like I need to be more explicit, so be it:
NAKed-by: Sebastian Reichel
NAKed-by: Sebastian Reichel
-- Sebastian
-- Sebastian
[unhandled content-type:application/pgp-signature]



Fwd: stable-rc/linux-4.4.y build: 182 builds: 60 failed, 122 passe ...
Arnd Bergmann writes: (Summary) stable-rc/linux-4.4.y build: 182 builds: 60 failed, 122 passed, 60 errors, 60 warnings (v4.4.99-60-g803704b287d8) > Full Build Summary: https://kernelci.org/build/stable-rc/branch/linux-4.4.y/kernel/v4.4.99-60-g803704b287d8/ > Built: 4 unique architectures > Build Failures Detected: > mips: gcc version 6.3.0 (GCC) > allnoconfig: FAIL > ar7_defconfig: FAIL > ath79_defconfig: FAIL > bcm47xx_defconfig: FAIL >



Re: mm/percpu.c: use smarter memory allocation for struct pcpu_all ...
Nicolas Pitre writes: (Summary) On Sat, 18 Nov 2017, Guenter Roeck wrote:
On Sat, 18 Nov 2017, Guenter Roeck wrote:
This is the culprit. Maybe this is modifying the memory allocation pattern and that triggers a bug later on in your case.
in your case.
At that point the console driver is not yet initialized and any error message won't be printed. You should enable the early console mechanism in your kernel (see arch/cris/arch-v32/kernel/debugport.c) and see what that might tell you.
that might tell you.
that might tell you.
Nicolas
Nicolas
Nicolas



[PATCH 4/4] ASoC: soc-pcm: Improve a size determination in dpcm_be ...
SF Markus Elfring writes: (Summary) Date: Sun, 19 Nov 2017 21:02:20 +0100
Date: Sun, 19 Nov 2017 21:02:20 +0100
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. 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/soc-pcm.c b/sound/soc/soc-pcm.c index fa2f7ccceacf..35b52cea5c89 100644 --- a/sound/soc/soc-pcm.c +++ b/sound/soc/soc-pcm.c @@ -1308,7 +1308,7 @@ static int dpcm_be_connect(struct snd_soc_pcm_runtime *fe, return 0;



[PATCH 3/4] ASoC: soc-pcm: Add some spaces for better code readability
SF Markus Elfring writes: (Summary) 0) { - dev_err(fe->dev,"ASoC: failed to start FE %d\n", ret); 0) { - dev_err(fe->dev,"ASoC: hw_params FE failed %d\n", ret); 0) { - dev_err(fe->dev,"ASoC: trigger FE failed %d\n", ret); 0) { - dev_err(fe->dev,"ASoC: trigger FE failed %d\n", ret); 0) { - dev_err(fe->dev,"ASoC: trigger FE failed %d\n", ret); 0) { - dev_err(fe->dev,"ASoC: bespoke trigger FE failed %d\n", ret); 0) { - dev_err(fe->dev,"ASoC: trigger FE failed %d\n", ret);



[PATCH 2/4] ASoC: soc-pcm: Add some blank lines for better code re ...
SF Markus Elfring writes: (Summary) 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/sound/soc/soc-pcm.c b/sound/soc/soc-pcm.c index ea771316afa9..dc1b984bd68e 100644 --- a/sound/soc/soc-pcm.c +++ b/sound/soc/soc-pcm.c @@ -165,6 +165,7 @@ int snd_soc_set_runtime_hwparams(struct snd_pcm_substream *substream, const struct snd_pcm_hardware *hw) { struct snd_pcm_runtime *runtime = substream->runtime; /* prune the BE if it's no longer in our active list */ @@ -2603,6 +2611,7 @@ static int dpcm_run_update_startup(struct snd_soc_pcm_runtime *fe, int stream) /* disconnect any non started BEs */ list_for_each_entry(dpcm, &fe->dpcm[stream].be_clients, list_be) { struct snd_soc_pcm_runtime *be = dpcm->be;



[PATCH 1/4] ASoC: soc-pcm: Improve unlocking of a mutex in soc_dpc ...
SF Markus Elfring writes: (Summary) 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/sound/soc/soc-pcm.c b/sound/soc/soc-pcm.c index 8075856668c2..ea771316afa9 100644 --- a/sound/soc/soc-pcm.c +++ b/sound/soc/soc-pcm.c @@ -2674,8 +2674,7 @@ int soc_dpcm_runtime_update(struct snd_soc_card *card) if (paths < } /* update any new playback paths */ @@ -2710,8 +2709,7 @@ int soc_dpcm_runtime_update(struct snd_soc_card *card) if (paths < } /* update any new capture paths */ @@ -2733,8 +2731,10 @@ int soc_dpcm_runtime_update(struct snd_soc_card *card) dpcm_path_put(&list);



[PATCH 0/4] ALSA SoC PCM: Fine-tuning for some function implementa ...
SF Markus Elfring writes: (Summary) Date: Sun, 19 Nov 2017 21:12:34 +0100
Date: Sun, 19 Nov 2017 21:12:34 +0100
A few update suggestions were taken into account
from static source code analysis.
from static source code analysis.
Markus Elfring (4):
Improve unlocking of a mutex in soc_dpcm_runtime_update() Add some blank lines for better code readability
Add some spaces for better code readability
Improve a size determination in dpcm_be_connect()
Improve a size determination in dpcm_be_connect()
sound/soc/soc-pcm.c |



Re: [PATCH 4.13 00/28] 4.13.15-stable review
Guenter Roeck writes: (Summary) failed
-------------- Error log: /opt/buildbot/slave/stable-queue-4.13/build/drivers/crypto/bcm/cipher.c: In function 'mailbox_send_message': /opt/buildbot/slave/stable-queue-4.13/build/drivers/crypto/bcm/cipher.c:266:40: error: request for member 'dev' in something not a structure or union struct device *dev = &(iproc_priv.pdev->dev); ^ make[4]: *** [drivers/crypto/bcm/cipher.o] Error 1 make[3]: *** [drivers/crypto/bcm] Error 2 Building arm64:allmodconfig ...



[PATCH v2 1/4] dt-bindings: Add vendor prefix for ilitek
David Lechner writes: (Summary) This adds the vendor prefix ilitek for ILI Technology Corporation (ILITEK). This adds the vendor prefix ilitek for ILI Technology Corporation (ILITEK). 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt index 6cf1dc5..cf41a33 100644 --- a/Documentation/devicetree/bindings/vendor-prefixes.txt +++ b/Documentation/devicetree/bindings/vendor-prefixes.txt @@ -150,6 +150,7 @@ i2se I2SE GmbH ibm International Business Machines (IBM) idt Integrated Device Technologies, Inc.



[PATCH v2 2/4] dt-bindings: Add binding for Ilitek ILI9225 display ...
David Lechner writes: (Summary) + +Required properties: +- compatible: "ilitek,ili9225-2.2in-176x220" +- rs-gpios: Register select signal +- reset-gpios: Reset pin + +The node for this driver must be a child node of a SPI controller, hence +all mandatory properties described in ../spi/spi-bus.txt must be specified. + +Optional properties: +- rotation: panel rotation in degrees counter clockwise (0,90,180,270) + +Example: + display@0{ + compatible = "ilitek,ili9225-2.2in-176x220";



[PATCH v2 4/4] drm/tinydrm: add driver for ILI9225 panels
David Lechner writes: (Summary) + DRIVER_ATOMIC, + .fops = &ili9225_fops, + TINYDRM_GEM_DRIVER_OPS, + .lastclose = tinydrm_lastclose, + .name = "ili9225", + .desc = "Ilitek ILI9225", + .date = "20171106", + .major = 1, + .minor = 0, +}; +} + +static struct spi_driver ili9225_spi_driver = { + .driver = { + .name = "ili9225", + .owner = THIS_MODULE, + .of_match_table = ili9225_of_match, + }, + .id_table = ili9225_id, + .probe = ili9225_probe, + .shutdown = ili9225_shutdown, +};



[PATCH v2 3/4] drm/tinydrm: export mipi_dbi_buf_copy and mipi_dbi_ ...
David Lechner writes: (Summary) -static int mipi_dbi_buf_copy(void *dst, struct drm_framebuffer *fb, - struct drm_clip_rect *clip, bool swap) +/** + * mipi_dbi_buf_copy - Copy a framebuffer, transforming it if necessary + * @dst: The destination buffer + * @fb: The source framebuffer + * @clip: Clipping rectangle of the area to be copied + * @swap: When true, swap MSB/LSB of 16-bit values + * + * Returns: + * Zero on success, negative error code on failure.



[PATCH v2 0/4] DRM driver for ILI9225 display panels
David Lechner writes: (Summary) This is a new driver for ILI9225 based display panels. v2 changes:
* New patch for ilitek vendor prefix.
* Use "ilitek" instead of "generic" in dt-bindings * New patch to export 2 mipi_dbi_* functions
* Clean up ILI9225 driver based on feedback
* Clean up ILI9225 driver based on feedback
David Lechner (4):
dt-bindings: Add vendor prefix for ilitek
dt-bindings: Add binding for Ilitek ILI9225 display panels drm/tinydrm: export mipi_dbi_buf_copy and mipi_dbi_spi_cmd_max_speed drm/tinydrm: add driver for ILI9225 panels
drm/tinydrm: add driver for ILI9225 panels
.../devicetree/bindings/display/ilitek,ili9225.txt |



Re: [PATCH 4.4 00/59] 4.4.100-stable review
Guenter Roeck writes: On 11/19/2017 06:32 AM, Greg Kroah-Hartman wrote:
Anything received after that time might be too late. All mips builds fail:
All mips builds fail:
Building mips:defconfig ... failed
-------------- Error log: /opt/buildbot/slave/stable-queue-4.4/build/arch/mips/kernel/setup.c: In function 'bootmem_init': /opt/buildbot/slave/stable-queue-4.4/build/arch/mips/kernel/setup.c:439:4: error: implicit declaration of function 'PHYS_PFN'



[PATCH] fs: Safe rcu access to hlist.
Tim Hansen writes: (Summary) Adds hlist_first_rcu and hlist_next_rcu for safe access to the hlist in seq_hlist_next_rcu.
to the hlist in seq_hlist_next_rcu.
Found on linux-next branch, tag next-20171117 with sparse. 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/seq_file.c b/fs/seq_file.c index fb17f35a49a6..0b966781fd60 100644 --- a/fs/seq_file.c +++ b/fs/seq_file.c @@ -968,9 +968,9 @@ struct hlist_node *seq_hlist_next_rcu(void *v, ++*ppos; if (v == SEQ_START_TOKEN) - return rcu_dereference(head->first);



[PATCHv2 -next] blktrace.c: Use blk_trace_bio_get_cgid inside blk_ ...
Marcos Paulo de Souza writes: (Summary) 26 ++++++++++---------------- 1 file changed, 10 insertions(+), 16 deletions(-) diff --git a/kernel/trace/blktrace.c b/kernel/trace/blktrace.c index 206e0e2ace53..c5987d4c5f23 100644 --- a/kernel/trace/blktrace.c +++ b/kernel/trace/blktrace.c @@ -872,7 +872,7 @@ static void blk_add_trace_rq_complete(void *ignore, struct request *rq, * **/ static void blk_add_trace_bio(struct request_queue *q, struct bio *bio, - u32 what, int error, union kernfs_node_id *cgid) + u32 what, int error) { struct blk_trace *bt = q->blk_trace;



Re: [PATCH 2/6] mmc: tmio: set tmio_mmc_host to driver data
Wolfram Sang writes: On Tue, Nov 07, 2017 at 05:09:28PM +0900, Masahiro Yamada wrote: Signed-off-by: Masahiro Yamada ...
...
+ cell->disable(pdev);
Hmmm, this changes the code logic. Any reason this driver checks for a valid 'mmc' and can we safely drop it?
valid 'mmc' and can we safely drop it?
valid 'mmc' and can we safely drop it?
[unhandled content-type:application/pgp-signature]



Re: [PATCH 4.4 00/59] 4.4.100-stable review
Nathan Chancellor writes: On Sun, Nov 19, 2017 at 03:32:08PM +0100, Greg Kroah-Hartman wrote: 60 files changed, 481 insertions(+), 231 deletions(-) Merged, compiled, and flashed onto my Pixel 2 XL. No initial issues noticed in either dmesg or general usage.
noticed in either dmesg or general usage.
noticed in either dmesg or general usage.



Re: [PATCH 2/3] mmc: tmio: use mmc_can_gpio_cd() instead of checki ...
Wolfram Sang writes: On Wed, Nov 08, 2017 at 07:16:59PM +0900, Masahiro Yamada wrote: the "cd-gpios" property is specified.
So, it fixed the DT not recognized via TMIO_MMC_USE_GPIO_CD? Did I get this right?
this right?
2.7.4
[unhandled content-type:application/pgp-signature]



Re: [PATCH 3/3] mmc: tmio: support IP-builtin card detection logic
Wolfram Sang writes: On Wed, Nov 08, 2017 at 07:17:00PM +0900, Masahiro Yamada wrote: of the CD line. Allow to use it if the GPIO is unused. I might be missing something: Why do we need to report something sensible in this case? The card insert/eject interrupts calling mmc_detect_change is not enough?
mmc_detect_change is not enough?
mmc_detect_change is not enough?
[unhandled content-type:application/pgp-signature]



Re: [PATCH -next] blktrace.c: Use blk_trace_bio_get_cgid inside bl ...
Jens Axboe writes: On 11/19/2017 11:48 AM, Marcos Paulo de Souza wrote: instead of passing cgid as a parameter.
Patch looks fine to me, but I rewrote your changelog. Don't make it a continuation of the patch title.
it a continuation of the patch title.



[PATCH] i40w: Remove garbage at end of INFINIBAND_I40IW Kconfig se ...
Geert Uytterhoeven writes: (Summary) Remove leftover garbage (containing Kconfig dependencies for another symbol?)
symbol?)
Signed-off-by: Geert Uytterhoeven 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/infiniband/hw/i40iw/Kconfig b/drivers/infiniband/hw/i40iw/Kconfig index f6d20ba88c03df3c..2962979c06e9ef51 100644 --- a/drivers/infiniband/hw/i40iw/Kconfig +++ b/drivers/infiniband/hw/i40iw/Kconfig @@ -5,4 +5,3 @@ config INFINIBAND_I40IW select GENERIC_ALLOCATOR ---help--- Intel(R) Ethernet X722 iWARP Driver - INET &&



[PATCH] IB: INFINIBAND should depend on HAS_DMA
Geert Uytterhoeven writes: (Summary) If NO_DMA=y:
If NO_DMA=y:
ERROR: "bad_dma_ops" [net/sunrpc/xprtrdma/rpcrdma.ko] undefined! ERROR: "bad_dma_ops" [drivers/infiniband/core/ib_core.ko] undefined! 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/infiniband/Kconfig b/drivers/infiniband/Kconfig index 98ac46ed7214f574..cbf186522016f97f 100644 --- a/drivers/infiniband/Kconfig +++ b/drivers/infiniband/Kconfig @@ -1,6 +1,6 @@ menuconfig INFINIBAND tristate "InfiniBand support" - depends on HAS_IOMEM + depends on HAS_IOMEM &&



[PATCH] [media] c8sectpfe: DVB_C8SECTPFE should depend on HAS_DMA
Geert Uytterhoeven writes: (Summary) If NO_DMA=y:
If NO_DMA=y:
ERROR: "bad_dma_ops" [drivers/media/platform/sti/c8sectpfe/c8sectpfe.ko] undefined! 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/platform/sti/c8sectpfe/Kconfig b/drivers/media/platform/sti/c8sectpfe/Kconfig index 7420a50572d347ef..740190f8a3b606d3 100644 --- a/drivers/media/platform/sti/c8sectpfe/Kconfig +++ b/drivers/media/platform/sti/c8sectpfe/Kconfig @@ -1,6 +1,6 @@ config DVB_C8SECTPFE tristate "STMicroelectronics C8SECTPFE DVB support" - depends on PINCTRL && I2C + depends on PINCTRL &&



Re: [PATCH] USB: option: add Quectel BG96 2c7c:0296
Sebastian Sjoholm writes: (Summary) Hi All,
Hi All,
Sorry about the patch below, it is not valid, seems that I need to = improve my GIT competence.=20
improve my GIT competence.=20
Please ignore this, and let me try again.
Please ignore this, and let me try again.
Thank You.
Thank You.
Regards,
Sebastian
Sebastian
CAT-M and NB-IoT. - { USB_DEVICE(QUECTEL_VENDOR_ID, QUECTEL_PRODUCT_BG96), > - .driver_info =3D (kernel_ulong_t)&net_intf4_blacklist }, > { USB_DEVICE(CMOTECH_VENDOR_ID, CMOTECH_PRODUCT_6001) }, > { USB_DEVICE(CMOTECH_VENDOR_ID, CMOTECH_PRODUCT_CMU_300) }, >



Re: possible deadlock in blk_trace_remove
Jens Axboe writes: (Summary) On 11/19/2017 03:36 AM, syzbot wrote:
lock(&q->blk_trace_mutex);
The below should fix it.
The below should fix it.
The below should fix it.
diff --git a/kernel/trace/blktrace.c b/kernel/trace/blktrace.c index 206e0e2ace53..f224985de5fa 100644 --- a/kernel/trace/blktrace.c +++ b/kernel/trace/blktrace.c @@ -591,7 +591,7 @@ static int __blk_trace_setup(struct request_queue *q, char *name, dev_t dev, return ret; if (copy_to_user(arg, &buts, sizeof(buts))) { - blk_trace_remove(q);



[PATCH -next] blktrace.c: Use blk_trace_bio_get_cgid inside blk_ad ...
Marcos Paulo de Souza writes: (Summary) 26 ++++++++++---------------- 1 file changed, 10 insertions(+), 16 deletions(-) diff --git a/kernel/trace/blktrace.c b/kernel/trace/blktrace.c index 206e0e2ace53..c5987d4c5f23 100644 --- a/kernel/trace/blktrace.c +++ b/kernel/trace/blktrace.c @@ -872,7 +872,7 @@ static void blk_add_trace_rq_complete(void *ignore, struct request *rq, * **/ static void blk_add_trace_bio(struct request_queue *q, struct bio *bio, - u32 what, int error, union kernfs_node_id *cgid) + u32 what, int error) { struct blk_trace *bt = q->blk_trace;



Re: [RFC] iio: light: acpi-als: Enable the light sensor on the Zen ...
Marek Vasut writes: On 11/19/2017 06:38 PM, Gabriele Mazzotta wrote:
find several quirks to enable various features.
Maybe that's where it should go . EC0 in the ACPI path seems like Embedded Controller to me .
Embedded Controller to me .
}
}



Re: [GIT PULL] NTB bug fixes for v4.15
Linus Torvalds writes: (Summary) On Sun, Nov 19, 2017 at 5:25 AM, Jon Mason Please consider pulling them.
They may have been in your ntb-next branch for some time, but they haven't been in linux-next at all.
haven't been in linux-next at all.
Normally I might not care much.
Normally I might not care much.
This release I asked people to send their stuff early so that I'd get it before my travels.
it before my travels.
I am now traveling, and am not inclined to pull stuff that hasn't been in linux-next unless it's just obviously bug-fixes.



Re: [GIT PULL 1/2] Kbuild updates for v4.15
Linus Torvalds writes: (Summary) Both in the sense of "this kernel config option depends on the compiler supporting flag XYZ" but also in the sense of "the use flag ABC depends on not only compiler support, but also on whether the kernel was configured for profiling" or whatever.
whatever.
Then the actual Makefile parts would be things like Then the actual Makefile parts would be things like CFLAGS-$(CONFIG_CC_SPLIT_DWARF) += -gsplit_dwarf
CFLAGS-$(CONFIG_CC_SPLIT_DWARF) += -gsplit_dwarf
because the Kconfig phase would already have all the logic for whether (a) gcc actually supports -gsplit-dwarf at all and (b) whether the user actually asked for split debug info.
user actually asked for split debug info.
And we'd not have the performance issues that made that whole caching thing be an issue, because the actual gcc support testing would only happen at Kconfig time.
happen at Kconfig time.
..



[PATCH] documentation/svga.txt: update outdated file
Randy Dunlap writes: (Summary) "0 0F00 80x25" means that the first menu item (the menu items are numbered @@ -138,7 +137,7 @@ The ID numbers can be divided to those r 0x0f05 VGA 80x30 (480 scans, 16-point font) 0x0f06 VGA 80x34 (480 scans, 14-point font) 0x0f07 VGA 80x60 (480 scans, 8-point font) - 0x0f08 Graphics hack (see the CONFIG_VIDEO_HACK paragraph below) + 0x0f08 Graphics hack (see the VIDEO_GFX_HACK paragraph below) 0x1000 to 0x7fff - modes specified by resolution.



[PATCH] Net: netfilter: vmalloc/vfree to kvmalloc/kvfree
Charlie Sale writes: (Summary) 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/net/netfilter/xt_hashlimit.c b/net/netfilter/xt_hashlimit.c index 5da8746f7b88..444f57f25d77 100644 --- a/net/netfilter/xt_hashlimit.c +++ b/net/netfilter/xt_hashlimit.c @@ -286,9 +286,9 @@ static int htable_create(struct net *net, struct hashlimit_cfg3 *cfg, if (size < } - /* FIXME: don't use vmalloc() here or anywhere else -HW */ - hinfo = vmalloc(sizeof(struct xt_hashlimit_htable) + - sizeof(struct hlist_head) * size);



Re: [RFC PATCH for 4.15 04/24] Restartable sequences: x86 32/64 ar ...
Mathieu Desnoyers writes: (Summary) ----- On Nov 16, 2017, at 4:14 PM, Thomas Gleixner tglx@linutronix.de wrote: > On Tue, 14 Nov 2017, Mathieu Desnoyers wrote: > > Please fix the subject line: > > x86: Add support for restartable sequences > And for the actual rseq patches please come up with a proper short > There is no point in occupying > Should I apply the reviewed-by only to the x86 patches, or patch 01 (rseq: Introduce restartable sequences system call) as well ?



Re: [RFC] iio: light: acpi-als: Enable the light sensor on the Zen ...
Gabriele Mazzotta writes: (Summary) I know many other laptops of the Zenbook line need something similar and if you look at drivers/platform/x86/asus-wmi.c or any other asus-* driver you'll find several quirks to enable various features.
find several quirks to enable various features.
Kiernan, check commit aca234f6378864d85514be558746c0ea6eabfa8e ("asus-wmi: provide access to ALS control") in particular. + status =3D acpi_evaluate_integer(als->device->handle, >> + "\\_SB.PCI0.LPCB.EC0.ALSC", >> + } >>



Re: [RFC PATCH v11 for 4.15 01/24] Restartable sequences system call
Mathieu Desnoyers writes: (Summary) Updating to: * Updated by user-space, which sets the address of the currently * active rseq_cs at the beginning of assembly instruction sequence * block, and set to NULL by the kernel when it restarts an assembly * instruction sequence block, as well as when the kernel detects that * it is preempting or delivering a signal outside of the range * targeted by the rseq_cs.



Re: [PATCH] ARM: exynos: add machine description for ODROID-XU3/4
Tobias Jakobi writes: I don't think this approach scales at all. DietPi can just read the devicetree through sysfs and retrieve the compatible and/or model of the base node. through sysfs and retrieve the compatible and/or model of the base node. - Tobias
- Tobias
Dongjin Kim wrote:
+ODROID_MACHINE_START(XU4, exynos5422_odroidxu4_dt_compat) +ODROID_MACHINE_START(XU4, exynos5422_odroidxu4_dt_compat)



Re: [PULL REQUEST] nfsd changes for 4.15
Chuck Lever writes: (Summary) CommitDate: Fri Nov 17 16:43:44 2017 -0500
CommitDate: Fri Nov 17 16:43:44 2017 -0500
SUNRPC: Fix parsing failure in trace points with XIDs SUNRPC: Fix parsing failure in trace points with XIDs mount.nf-11159 8.... The resolution seems obvious and I did it, but I'd like people to > review the end result but particularly also their workflows, because I > don't think that conflict was reported anywhere and doesn't seem to >



Re: [RFC] iio: light: acpi-als: Enable the light sensor on the Zen ...
Jonathan Cameron writes: (Summary) On Wed, 15 Nov 2017 20:27:54 -0700
Kiernan Hager I don't know if the checking that I do to make sure that the ACPI method exists is sufficient or if it should disable the sensor when the module is unloaded, so input is appreciated on those matters. So this is poking something on
PCI bus 0
LPC bus B
Somethingbus 0
Ambient light controller.
Ambient light controller.
I assume there is a better way of establishing this needs to be set?



Re: [2/3] iio: adc: ina2xx: Adhere to documented ABI, use Ohm inst ...
Jonathan Cameron writes: (Summary) We basically ensure the scale is right for the shunt_resistance with the ADC operating at it's best possible accuracy and let userspace sort out the mess (as we provide it with the data to do so).
(as we provide it with the data to do so).
More majordomo info at http://vger.kernel.org/majordomo-info.html More majordomo info at http://vger.kernel.org/majordomo-info.html



Re: [PATCH v2 3/3] iio: adc: stm32: add support for differential c ...
Jonathan Cameron writes: (Summary) On Thu, 26 Oct 2017 18:47:50 +0100
Jonathan Cameron wrote:
Applied to the togreg branch of iio.git and pushed out as testing for the autobuilders to play with it.
testing for the autobuilders to play with it.
Thanks,
Thanks,
Jonathan
More majordomo info at http://vger.kernel.org/majordomo-info.html More majordomo info at http://vger.kernel.org/majordomo-info.html



Re: [PATCH v5 3/4] pmbus (core): Add virtual page config bit
Guenter Roeck writes: (Summary) On 11/17/2017 07:26 PM, Andrew Jeffery wrote:
rv = -EIO;
This should probably be something like
rv = i2c_smbus_write_byte_data(client, PMBUS_PAGE, page); 0) return rv; newpage = i2c_smbus_read_byte_data(client, PMBUS_PAGE); 0) return newpage; if (newpage != page) return -EIO; > - else > - data->currpage = page; > } > + > + data->currpage = page; > + ... > return rv; this can then be return 0; > } > >



Re: [PATCH v2 1/3] dt-bindings: iio: adc: stm32: add support for d ...
Jonathan Cameron writes: (Summary) On Fri, 27 Oct 2017 09:37:29 -0500
Rob Herring Applied to the togreg branch of iio.git and pushed out as testing for the autobuilders to play with it.
testing for the autobuilders to play with it.
Thanks,
Thanks,
Jonathan
More majordomo info at http://vger.kernel.org/majordomo-info.html More majordomo info at http://vger.kernel.org/majordomo-info.html



Re: [PATCH v2 2/3] iio: adc: ina2xx: Use LSB specifier instead of ...
Jonathan Cameron writes: On Sat, 28 Oct 2017 23:12:47 +0200
Stefan Brüns wrote: Stefan Brüns wrote: Applied
case INA2XX_BUS_VOLTAGE:
case INA2XX_BUS_VOLTAGE:



Re: [PATCH v2 3/3] iio: adc: ina2xx: Allow setting Shunt Voltage P ...
Jonathan Cameron writes: On Sat, 28 Oct 2017 23:12:48 +0200
Stefan Brüns wrote: Stefan Brüns wrote: Applied to the togreg branch of iio.git and pushed out as testing. Applied to the togreg branch of iio.git and pushed out as testing. thanks,
thanks,
Jonathan
ret = ina2xx_init(chip, val);
ret = ina2xx_init(chip, val);



Re: [PATCH v2 1/3] iio: adc: ina2xx: Shift bus voltage register to ...
Jonathan Cameron writes: (Summary) On Sat, 28 Oct 2017 23:12:46 +0200
Stefan Brÿ¿¿¿¿¿t;stefan.bruens@rwth-aachen.de> wrote: I thought about sending this as a fix, but as you haven't marked it as such and the effect is very minor I haven't done so. Applied to the togreg branch of iio.git and pushed out as testing for the autobuilders to play with it.
for the autobuilders to play with it.
Thanks,
Jonathan
IIO_CHAN_SOFT_TIMESTAMP(4),
IIO_CHAN_SOFT_TIMESTAMP(4),



Re: [PATCH v2 2/3] iio: adc: stm32: remove const channel names def ...
Jonathan Cameron writes: On Thu, 26 Oct 2017 18:45:22 +0100
Jonathan Cameron wrote:
Jonathan Cameron wrote:
Applied.
More majordomo info at http://vger.kernel.org/majordomo-info.html More majordomo info at http://vger.kernel.org/majordomo-info.html



Re: [PATCH v4] iio : Add cm3218 smbus ara and acpi support
Jonathan Cameron writes: (Summary)
https://patchwork.kernel.org/patch/10030309/
https://patchwork.kernel.org/patch/10030309/
Has the proposal made in this driver which is really not terribly nice (as it registers the ARA device by messing with the address and registering a second device).
a second device).
As I understood it the ARA device registration should be handled by the i2c master, but there are very few examples.
i2c master, but there are very few examples.
Phil pointed out that equivalent OF support recently got taken from him..



Re: Towards 4.14 LTS
Guenter Roeck writes: On 11/19/2017 03:20 AM, Greg Kroah-Hartman wrote:
My parsing of it is that they will add to the list of tests as well as to the list of supported kernel versions (and/or maybe architectures ?). to the list of supported kernel versions (and/or maybe architectures ?). Guenter
Guenter
greg k-h
greg k-h



Re: [PATCH] iio: fix kernel-doc build errors
Jonathan Cameron writes: (Summary) On Sun, 29 Oct 2017 17:06:01 -0700
Randy Dunlap wrote:
Randy Dunlap wrote:
Cc: linux-iio@vger.kernel.org
Applied to the fixes-togreg branch of iio.git and marked for stable. Thanks,
Thanks,
Jonathan
More majordomo info at http://vger.kernel.org/majordomo-info.html More majordomo info at http://vger.kernel.org/majordomo-info.html



Re: [PATCH v2] iio: adc: aspeed: Deassert reset in probe
Jonathan Cameron writes: (Summary) On Tue, Oct 31, 2017 at 10:28 PM, Philipp Zabel > The ASPEED SoC must deassert a reset in order to use the ADC > The device tree bindings are updated to document the resets > have always had the reset controller, as the hardware is unusable > compatibility, but given that the old bindings never worked, > Hi Joel, > To unsubscribe from this list: send the line "unsubscribe linux-iio" > To unsubscribe from this list: send the line "unsubscribe linux-iio" in >



Re: [PATCH] staging: iio: ad7746: Improve unlocking of a mutex in ...
Jonathan Cameron writes: (Summary) On Fri, 3 Nov 2017 09:33:57 +0100
SF Markus Elfring wrote: SF Markus Elfring wrote: Again, a reasonable little tidy up. Applied to the togreg branch of iio.git and pushed out as testing for the autobuilders to check we haven't missed anything.
we haven't missed anything.
Thanks,
Thanks,
Jonathan
static ssize_t ad7746_start_offset_calib(struct device *dev, static ssize_t ad7746_start_offset_calib(struct device *dev,



Re: [PATCH] staging: iio: ad7152: Improve unlocking of a mutex in ...
Jonathan Cameron writes: (Summary) On Fri, 3 Nov 2017 09:09:21 +0100
SF Markus Elfring wrote: SF Markus Elfring wrote: A reasonable tidy up that slightly improves the code. Just makes it past past the point where the benefit justifies the code churn. it past past the point where the benefit justifies the code churn. Thanks,
Thanks,
Jonathan
static ssize_t ad7152_start_offset_calib(struct device *dev, static ssize_t ad7152_start_offset_calib(struct device *dev,



Re: [RFC PATCH] tpm: don't return -EINVAL if TPM command validatio ...
Jason Gunthorpe writes: (Summary) On Sat, Nov 18, 2017 at 01:53:49AM +0100, Javier Martinez Canillas wrote: On Sat, Nov 18, 2017 at 01:53:49AM +0100, Javier Martinez Canillas wrote: rogue user-space program can send any arbitrary data to the TPM. tpm spaces was designed to allow unprivileged user space access to the TPM so it has additional protection designed to keep the TPM secure.
secure.
Allowing unprivileged user space to send send garbage to the TPM seems like a good way to trigger a TPM bug in parsing.
like a good way to trigger a TPM bug in parsing.
When spaces are not used /dev/tpm0 is root only and has full unrestricted access.
unrestricted access.
Jason
Jason
Jason



[GIT PULL] NTB bug fixes for v4.15
Jon Mason writes: (Summary) ---------------------------------------------------------------- Bhumika Goyal (1): NTB: make idt_89hpes_cfg const Dave Jiang (2): ntb: update maintainer list for Intel NTB driver ntb: intel: remove b2b memory window workaround for Skylake NTB Logan Gunthorpe (15): NTB: switchtec: Move structure definitions into a common header NTB: switchtec: Export class symbol for use in upper layer driver NTB: switchtec: Add NTB hardware register definitions NTB: switchtec: Add link event notifier callback NTB: Ensure ntb_mw_get_align() is only called when the link is up NTB: Add check and comment for link up to mw_count() and mw_get_align() NTB: switchtec_ntb: Introduce initial NTB driver NTB: switchtec_ntb: Initialize hardware for memory windows NTB: switchtec_ntb: Initialize hardware for doorbells and messages NTB: switchtec_ntb: Add skeleton NTB driver NTB: switchtec_ntb: Add link management NTB: switchtec_ntb: Implement door



[PATCH 3.18 00/38] 3.18.83-stable review
Greg Kroah-Hartman writes: (Summary) 4 +- arch/arm/mach-omap2/pdata-quirks.c | 4 + arch/mips/netlogic/common/irq.c | 4 +- crypto/Kconfig | 4 + drivers/media/rc/imon.c | 4 +- drivers/net/ethernet/intel/igb/igb_main.c | 4 +- include/dt-bindings/pinctrl/omap.h |



[PATCH 3.18 02/38] media: dib0700: fix invalid dvb_detach argument
Greg Kroah-Hartman writes: (Summary) 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) --- a/drivers/media/usb/dvb-usb/dib0700_devices.c +++ b/drivers/media/usb/dvb-usb/dib0700_devices.c @@ -292,7 +292,7 @@ static int stk7700P2_frontend_attach(str stk7700d_dib7000p_mt2266_config) != 0) { err("%s: state->dib7000p_ops.i2c_enumeration failed. } } @@ -326,7 +326,7 @@ static int stk7700d_frontend_attach(stru stk7700d_dib7000p_mt2266_config) != 0) { err("%s: state->dib7000p_ops.i2c_enumeration failed.



[PATCH 3.18 10/38] drm/sti: sti_vtg: Handle return NULL error from ...
Greg Kroah-Hartman writes: (Summary) [ Upstream commit 1ae0d5af347df224a6e76334683f13a96d915a44 ] Here, If devm_ioremap_nocache will fail. 4 ++++ 1 file changed, 4 insertions(+) --- a/drivers/gpu/drm/sti/sti_vtg.c +++ b/drivers/gpu/drm/sti/sti_vtg.c @@ -303,6 +303,10 @@ static int vtg_probe(struct platform_dev return -ENOMEM; } vtg->regs = devm_ioremap_nocache(dev, res->start, resource_size(res)); + if (!vtg->regs) { + DRM_ERROR("failed to remap I/O memory\n"); + } np = of_parse_phandle(pdev->dev.of_node, "st,slave", 0);



[PATCH 3.18 03/38] iscsi-target: Fix iscsi_np reset hung task duri ...
Greg Kroah-Hartman writes: (Summary) wake_up_state+0x10/0x10 [ 6726.193395] [] iscsit_reset_np_thread+0x62/0xe0 [iscsi_target_mod] [ 6726.201278] [] iscsit_tpg_disable_portal_group+0x96/0x190 [iscsi_target_mod] [ 6726.210033] [] lio_target_tpg_store_enable+0x4f/0xc0 [iscsi_target_mod] [ 6726.218351] [] configfs_write_file+0xaa/0x110 [ 6726.224392] [] vfs_write+0xa4/0x1b0 [ 6726.229576] [] SyS_write+0x41/0xb0 [ 6726.234659] [] system_call_fastpath+0x12/0x71 It would happen because each iscsit_reset_np_thread() sets state to ISCSI_NP_THREAD_RESET, sends SIGINT, and then blocks waiting for completion on iscsi_np->np_restart_comp.



[PATCH 3.18 04/38] extcon: palmas: Check the parent instance to pr ...
Greg Kroah-Hartman writes: (Summary) [ Upstream commit 9fe172b9be532acc23e35ba693700383ab775e66 ] extcon-palmas must be child of palmas and expects parent's drvdata to be valid. Not doing so will result in a NULL pointer dereference later in the probe() parent drvdata is NULL (e.g. 5 +++++ 1 file changed, 5 insertions(+) --- a/drivers/extcon/extcon-palmas.c +++ b/drivers/extcon/extcon-palmas.c @@ -150,6 +150,11 @@ static int palmas_usb_probe(struct platf struct palmas_usb *palmas_usb;



[PATCH 3.18 06/38] ARM: dts: Fix omap3 off mode pull defines
Greg Kroah-Hartman writes: (Summary) 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/include/dt-bindings/pinctrl/omap.h +++ b/include/dt-bindings/pinctrl/omap.h @@ -45,8 +45,8 @@ #define PIN_OFF_NONE 0 #define PIN_OFF_OUTPUT_HIGH (OFF_EN | OFFOUT_VAL) #define PIN_OFF_OUTPUT_LOW (OFF_EN | OFFOUT_EN) -#define PIN_OFF_INPUT_PULLUP (OFF_EN | OFF_PULL_EN | OFF_PULL_UP) -#define PIN_OFF_INPUT_PULLDOWN (OFF_EN | OFF_PULL_EN) +#define PIN_OFF_INPUT_PULLUP (OFF_EN | OFF_PULL_EN | OFF_PULL_UP) +#define PIN_OFF_INPUT_PULLDOWN (OFF_EN |



[PATCH 3.18 05/38] ARM: OMAP2+: Fix init for multiple quirks for t ...
Greg Kroah-Hartman writes: (Summary) [ Upstream commit 6e613ebf4405fc09e2a8c16ed193b47f80a3cbed ] It's possible that there are multiple quirks that need to be initialized for the same SoC. --- arch/arm/mach-omap2/pdata-quirks.c | 1 - 1 file changed, 1 deletion(-) --- a/arch/arm/mach-omap2/pdata-quirks.c +++ b/arch/arm/mach-omap2/pdata-quirks.c @@ -417,7 +417,6 @@ static void pdata_quirks_check(struct pd if (of_machine_is_compatible(quirks->compatible)) { if (quirks->fn) quirks->fn(); - break;



[PATCH 3.18 07/38] ata: ATA_BMDMA should depend on HAS_DMA
Greg Kroah-Hartman writes: (Summary) [ Upstream commit 7bc7ab1e63dfe004931502f90ce7020e375623da ] If NO_DMA=y: ERROR: "dmam_alloc_coherent" [drivers/ata/libata.ko] undefined! 1 + 1 file changed, 1 insertion(+) --- a/drivers/ata/Kconfig +++ b/drivers/ata/Kconfig @@ -245,6 +245,7 @@ config SATA_SX4 config ATA_BMDMA bool "ATA BMDMA support" + depends on HAS_DMA default y help This option adds support for SFF ATA controllers with BMDMA




[PATCH 3.18 08/38] ata: SATA_HIGHBANK should depend on HAS_DMA
Greg Kroah-Hartman writes: (Summary) [ Upstream commit 2a736e0585e585c2566b5119af8381910a170e44 ] If NO_DMA=y: ERROR: "bad_dma_ops" [drivers/ata/sata_highbank.ko] undefined! 1 + 1 file changed, 1 insertion(+) --- a/drivers/ata/Kconfig +++ b/drivers/ata/Kconfig @@ -291,6 +291,7 @@ config SATA_DWC_VDEBUG config SATA_HIGHBANK tristate "Calxeda Highbank SATA support" + depends on HAS_DMA depends on ARCH_HIGHBANK || COMPILE_TEST help This option enables support for the Calxeda Highbank SoC's




[PATCH 3.18 09/38] ata: SATA_MV should depend on HAS_DMA
Greg Kroah-Hartman writes: (Summary) [ Upstream commit 62989cebd367a1aae1e009e1a5b1ec046a4c8fdc ] If NO_DMA=y: ERROR: "dma_pool_alloc" [drivers/ata/sata_mv.ko] undefined! 1 + 1 file changed, 1 insertion(+) --- a/drivers/ata/Kconfig +++ b/drivers/ata/Kconfig @@ -301,6 +301,7 @@ config SATA_HIGHBANK config SATA_MV tristate "Marvell SATA support" + depends on HAS_DMA depends on PCI || ARCH_DOVE || ARCH_MV78XX0 || \ ARCH_MVEBU ||



[PATCH 3.18 22/38] backlight: adp5520: Fix error handling in adp55 ...
Greg Kroah-Hartman writes: (Summary) [ Upstream commit 0eb3fba8c68275f0122f65f7316efaaf86448016 ] If adp5520_bl_setup() fails, sysfs group left unremoved. 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) --- a/drivers/video/backlight/adp5520_bl.c +++ b/drivers/video/backlight/adp5520_bl.c @@ -332,10 +332,18 @@ static int adp5520_bl_probe(struct platf } platform_set_drvdata(pdev, bl); + if (ret) { + dev_err(&pdev->dev, "failed to setup\n"); + if (data->pdata->en_ambl_sens) + sysfs_remove_group(&bl->dev.kobj, + &adp5520_bl_attr_group); + } + backlight_update_status(bl);



[PATCH 3.18 24/38] ixgbe: fix AER error handling
Greg Kroah-Hartman writes: (Summary) [ Upstream commit 126db13fa0e6d05c9f94e0125f61e773bd5ab079 ] Make sure that we free the IRQs in ixgbe_io_error_detected() when responding to an PCIe AER error and also restore them when the interface recovers from it. 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) --- a/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c +++ b/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c @@ -8575,7 +8575,7 @@ skip_bad_vf_detection: } if (netif_running(netdev)) - ixgbe_down(adapter);



[PATCH 3.18 23/38] gpu: drm: mgag200: mgag200_main:- Handle error ...
Greg Kroah-Hartman writes: (Summary) [ Upstream commit 4b0ea93f250afc6c1128e201b0a8a115ae613e47 ] Here, pci_iomap can fail, handle this case and return -ENOMEM. 2 ++ 1 file changed, 2 insertions(+) --- a/drivers/gpu/drm/mgag200/mgag200_main.c +++ b/drivers/gpu/drm/mgag200/mgag200_main.c @@ -138,6 +138,8 @@ static int mga_vram_init(struct mga_devi } mem = pci_iomap(mdev->dev->pdev, 0, 0);



[PATCH 3.18 25/38] ixgbe: handle close/suspend race with netif_dev ...
Greg Kroah-Hartman writes: (Summary) [ Upstream commit f7f37e7ff2b9b7eff7fbd035569cab35896869a3 ] When an interface is part of a namespace it is possible that ixgbe_close() may be called while __ixgbe_shutdown() is running which ends up in a double free WARN and/or a BUG in free_msi_irqs(). 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) --- a/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c +++ b/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c @@ -5560,7 +5560,8 @@ static int ixgbe_close(struct net_device ixgbe_ptp_stop(adapter); - if (err) - return err; } #endif /* CONFIG_PM */ @@ -5627,14 +5626,14 @@ static int __ixgbe_shutdown(struct pci_d int retval = 0;



[PATCH 3.18 13/38] igb: Fix hw_dbg logging in igb_update_flash_i210
Greg Kroah-Hartman writes: (Summary) [ Upstream commit 76ed5a8f47476e4984cc8c0c1bc4cee62650f7fd ] Fix an if statement with hw_dbg lines where the logic was inverted with regards to the corresponding return value used in the if statement. 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/drivers/net/ethernet/intel/igb/e1000_i210.c +++ b/drivers/net/ethernet/intel/igb/e1000_i210.c @@ -699,9 +699,9 @@ static s32 igb_update_flash_i210(struct ret_val = igb_pool_flash_update_done_i210(hw);



[PATCH 3.18 15/38] scsi: lpfc: Add missing memory barrier
Greg Kroah-Hartman writes: (Summary) [ Upstream commit 6b3b3bdb83b4ad51252d21bb13596db879e51850 ] On loosely ordered memory systems (PPC for example), the WQE elements were being updated in memory, but not necessarily flushed before the separate doorbell was written to hw which would cause hw to dma the WQE element. 2 ++ 1 file changed, 2 insertions(+) --- a/drivers/scsi/lpfc/lpfc_sli.c +++ b/drivers/scsi/lpfc/lpfc_sli.c @@ -118,6 +118,8 @@ lpfc_sli4_wq_put(struct lpfc_queue *q, u if (q->phba->sli3_options &



[PATCH 3.18 14/38] staging: rtl8188eu: fix incorrect ERROR tags fr ...
Greg Kroah-Hartman writes: (Summary) [517434.916239] usbcore: registered new interface driver r8188eu [517435.680653] R8188EU: ERROR indicate disassoc [517437.122606] R8188EU: ERROR assoc success [517797.735611] usbcore: deregistering interface driver r8188eu [517797.736069] R8188EU: ERROR indicate disassoc Remove the ERROR prefix from the logs. After the patch, logs are: [517949.873976] usbcore: registered new interface driver r8188eu [517950.592845] R8188EU: indicate disassoc [517951.993973] R8188EU: assoc success [521778.784448] usbcore: deregistering interface driver r8188eu [521778.784838] R8188EU: indicate disassoc Signed-off-by: Galo Navarro



[PATCH 3.18 16/38] scsi: lpfc: FCoE VPort enable-disable does not ...
Greg Kroah-Hartman writes: (Summary) [ Upstream commit 104450eb08ca662e6b1d02da11aca9598e978f3e ] FCoE VPort enable-disable does not bring up the VPort. 8 ++++++++ 1 file changed, 8 insertions(+) --- a/drivers/scsi/lpfc/lpfc_vport.c +++ b/drivers/scsi/lpfc/lpfc_vport.c @@ -528,6 +528,12 @@ enable_vport(struct fc_vport *fc_vport) spin_lock_irq(shost->host_lock); FC_VPORT_NEEDS_INIT_VPI) { + spin_unlock_irq(shost->host_lock); @@ -548,6 +554,8 @@ enable_vport(struct fc_vport *fc_vport) } else { lpfc_vport_set_state(vport, FC_VPORT_FAILED);



[PATCH 3.18 18/38] scsi: lpfc: Correct issue leading to oops durin ...
Greg Kroah-Hartman writes: (Summary) 3.18-stable review patch. [ Upstream commit e6c6acc0e0223ddaf867628d420ee196349c6fae ] Correct issue leading to oops during link reset. [mkp: fixed typo] Signed-off-by: Dick Kennedy Signed-off-by: James Smart Signed-off-by: Sasha Levin 1 + 1 file changed, 1 insertion(+) --- a/drivers/scsi/lpfc/lpfc_sli.c +++ b/drivers/scsi/lpfc/lpfc_sli.c @@ -9774,6 +9774,7 @@ lpfc_sli_abort_iotag_issue(struct lpfc_h iabt->ulpCommand = CMD_CLOSE_XRI_CN;



[PATCH 3.18 17/38] scsi: lpfc: Correct host name in symbolic_name ...
Greg Kroah-Hartman writes: (Summary) **/ @@ -5670,6 +5683,8 @@ struct fc_function_template lpfc_transpo .show_host_supported_fc4s = 1, .show_host_supported_speeds = 1, .show_host_maxframe_size = 1, + + .get_host_symbolic_name = lpfc_get_host_symbolic_name, .show_host_symbolic_name = 1, /* dynamic attributes the driver supports */ @@ -5737,6 +5752,8 @@ struct fc_function_template lpfc_vport_t .show_host_supported_fc4s = 1, .show_host_supported_speeds = 1, .show_host_maxframe_size = 1, + + .get_host_symbolic_name = lpfc_get_host_symbolic_name, .show_host_symbolic_name = 1, /* dynamic attributes the driver supports */




[PATCH 3.18 19/38] ALSA: vx: Dont try to update capture stream bef ...
Greg Kroah-Hartman writes: (Summary) [ Upstream commit ed3c177d960bb5881b945ca6f784868126bb90db ] The update of stream costs significantly, and we should avoid it unless the stream really has started. 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/sound/drivers/vx/vx_pcm.c +++ b/sound/drivers/vx/vx_pcm.c @@ -1015,7 +1015,7 @@ static void vx_pcm_capture_update(struct int size, space, count; - if (! size = runtime->buffer_size - snd_pcm_capture_avail(runtime);




[PATCH 3.18 20/38] ALSA: vx: Fix possible transfer overflow
Greg Kroah-Hartman writes: (Summary) 0) { --- a/sound/pci/vx222/vx222_ops.c +++ b/sound/pci/vx222/vx222_ops.c @@ -264,12 +264,12 @@ static void vx2_dma_write(struct vx_core /* Transfer using pseudo-dma. pipe->buffer_bytes) { + if (offset + count >= pipe->buffer_bytes) { int length = pipe->buffer_bytes - offset; pipe->buffer_bytes) { + if (offset + count >= pipe->buffer_bytes) { int length = pipe->buffer_bytes - offset; pipe->buffer_bytes) { + if (offset + count >= pipe->buffer_bytes) { int length = pipe->buffer_bytes - offset; pipe->buffer_bytes) { + if (offset + count >= pipe->buffer_bytes) { int length = pipe->buffer_bytes - offset;



[PATCH 3.18 37/38] USB: serial: garmin_gps: fix I/O after failed p ...
Greg Kroah-Hartman writes: (Summary) 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) --- a/drivers/usb/serial/garmin_gps.c +++ b/drivers/usb/serial/garmin_gps.c @@ -138,6 +138,7 @@ struct garmin_data { __u8 privpkt[4*6]; 0) @@ -914,6 +915,12 @@ static int garmin_init_session(struct us } return status; /* keep reset state so we know that we must start a new session */ if (garmin_data_p->state != STATE_RESET) @@ -1038,12 +1044,14 @@ static int garmin_write_bulk(struct usb_ } /* send it down the pipe */ + usb_anchor_urb(urb, &garmin_data_p->write_urbs);



[PATCH 3.18 27/38] MIPS: init: Ensure reserved memory regions are ...
Greg Kroah-Hartman writes: (Summary) [ Upstream commit e89ef66d7682f031f026eee6bba03c8c2248d2a9 ] Memories managed through boot_mem_map are generally expected to define non-crossing areas. However, if part of a larger memory block is marked as reserved, it would still be added to bootmem allocator as an available block and could end up being overwritten by the allocator. 4 ++++ 1 file changed, 4 insertions(+) --- a/arch/mips/kernel/setup.c +++ b/arch/mips/kernel/setup.c @@ -427,6 +427,10 @@ static void __init bootmem_init(void) continue;



[PATCH 3.18 38/38] USB: serial: garmin_gps: fix memory leak on pro ...
Greg Kroah-Hartman writes: (Summary) 3.18-stable review patch. Make sure to free the port private data before returning after a failed probe attempt. 6 ++++++ 1 file changed, 6 insertions(+) --- a/drivers/usb/serial/garmin_gps.c +++ b/drivers/usb/serial/garmin_gps.c @@ -1414,6 +1414,12 @@ static int garmin_port_probe(struct usb_ usb_set_serial_port_data(port, garmin_data_p); + if (status) + goto err_free; + + return 0; +err_free: + kfree(garmin_data_p); return status;



[PATCH 3.18 29/38] Revert "crypto: xts - Add ECB dependency"
Greg Kroah-Hartman writes: (Summary) 3.18-stable review patch. If anyone has any objections, please let me know. --- crypto/Kconfig | 1 - 1 file changed, 1 deletion(-) --- a/crypto/Kconfig +++ b/crypto/Kconfig @@ -290,7 +290,6 @@ config CRYPTO_XTS select CRYPTO_BLKCIPHER select CRYPTO_MANAGER select CRYPTO_GF128MUL - select CRYPTO_ECB help XTS: IEEE1619/D16 narrow block cipher use with aes-xts-plain, key size 256, 384 or 512 bits. This implementation currently




[PATCH 4.4 00/59] 4.4.100-stable review
Greg Kroah-Hartman writes: (Summary) 4 +- arch/arm/boot/dts/am33xx.dtsi | 4 +- arch/x86/include/asm/kvm_emulate.h | 4 + drivers/media/rc/imon.c | 4 +- drivers/net/ethernet/intel/igb/igb_main.c | 4 +- drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c | 4 +- fs/ext4/inode.c |



[PATCH 4.4 01/59] media: imon: Fix null-ptr-deref in imon_probe
Greg Kroah-Hartman writes: (Summary) 4.4-stable review patch. Signed-off-by: Arvind Yadav Signed-off-by: Sean Young Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Greg Kroah-Hartman 5 +++++ 1 file changed, 5 insertions(+) --- a/drivers/media/rc/imon.c +++ b/drivers/media/rc/imon.c @@ -2419,6 +2419,11 @@ static int imon_probe(struct usb_interfa mutex_lock(&driver_lock); + if (!first_if) { + ret = -ENODEV; + goto fail; + } + first_if_ctx = usb_get_intfdata(first_if);



[PATCH 4.4 10/59] [PATCH -stable] arm: crypto: reduce priority of ...
Greg Kroah-Hartman writes: (Summary) 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) --- a/arch/arm/crypto/aesbs-glue.c +++ b/arch/arm/crypto/aesbs-glue.c @@ -357,7 +357,7 @@ static struct crypto_alg aesbs_algs[] = }, { .cra_name = "cbc(aes)", .cra_driver_name = "cbc-aes-neonbs", - .cra_priority = 300, + .cra_priority = 250, .cra_flags = CRYPTO_ALG_TYPE_ABLKCIPHER|CRYPTO_ALG_ASYNC, .cra_blocksize = AES_BLOCK_SIZE, .cra_ctxsize = sizeof(struct async_helper_ctx), @@ -377,7 +377,7 @@ static struct crypto_alg aesbs_algs[] = }, { .cra_name = "ctr(aes)", .cra_driver_name = "ctr-aes-neonbs", - .cra_priority = 300, + .cra_priority = 250, .cra_flags = CRYPTO_ALG_TYPE_ABLKCIPHER|CRYPTO_ALG_ASYNC, .cra_blocksize = 1, .cra_ctxsize = sizeof(struct async_helper_ctx), @@ -397,7 +397,7 @@ static struct crypto_alg aesbs_algs[] = }, { .cra_name = "xts(aes)", .cra_driver_name = "xts-aes-neonbs", - .cra_priority = 300, + .cra_priority = 250, .cra_flags = CRYPTO_ALG_TYPE_ABLKCIPHER|CRYPTO_ALG_ASYNC, .cra_



[PATCH 4.4 12/59] dmaengine: dmatest: warn user when dma test time ...
Greg Kroah-Hartman writes: (Summary) 4.4-stable review patch. Commit adfa543e7314 ("dmatest: don't use set_freezable_with_signal()") introduced a bug (that is in fact documented by the patch commit text) that leaves behind a dangling pointer. Ideally, this would be cleaned up in the thread handler, but at the very least, the kernel is left in a very precarious scenario that can lead to some long debug sessions when the crash comes later. 1 + 1 file changed, 1 insertion(+) --- a/drivers/dma/dmatest.c +++ b/drivers/dma/dmatest.c @@ -634,6 +634,7 @@ static int dmatest_func(void *data) * free it this time?"



[PATCH 4.4 11/59] Bluetooth: btusb: fix QCA Rome suspend/resume
Greg Kroah-Hartman writes: (Summary) 6 ++++++ 1 file changed, 6 insertions(+) --- a/drivers/bluetooth/btusb.c +++ b/drivers/bluetooth/btusb.c @@ -2969,6 +2969,12 @@ static int btusb_probe(struct usb_interf if (id->driver_info & + + /* QCA Rome devices lose their updated firmware over suspend, + * but the USB hub doesn't notice any status change. + * Explicitly request a device reset on resume. + */ + set_bit(BTUSB_RESET_RESUME, &data->flags);



[PATCH 4.4 14/59] fm10k: request reset when mbx->state changes
Greg Kroah-Hartman writes: (Summary) 6 +++++- 2 files changed, 12 insertions(+), 4 deletions(-) --- a/drivers/net/ethernet/intel/fm10k/fm10k_mbx.c +++ b/drivers/net/ethernet/intel/fm10k/fm10k_mbx.c @@ -2002,9 +2002,10 @@ static void fm10k_sm_mbx_create_reply(st * function can also be used to respond to an error as the connection * resetting would also be a means of dealing with errors. **/ -static void fm10k_sm_mbx_process_reset(struct fm10k_hw *hw, - struct fm10k_mbx_info *mbx) +static s32 fm10k_sm_mbx_process_reset(struct fm10k_hw *hw, + struct fm10k_mbx_info *mbx) { + s32 err = 0; } /** @@ -2106,7 +2110,7 @@ static s32 fm10k_sm_mbx_process(struct f switch (FM10K_MSG_HDR_FIELD_GET(mbx->mbx_hdr, SM_VER)) { case 0: - fm10k_sm_mbx_process_reset(hw, mbx);



[PATCH 4.4 13/59] extcon: palmas: Check the parent instance to pre ...
Greg Kroah-Hartman writes: (Summary) [ Upstream commit 9fe172b9be532acc23e35ba693700383ab775e66 ] extcon-palmas must be child of palmas and expects parent's drvdata to be valid. Not doing so will result in a NULL pointer dereference later in the probe() parent drvdata is NULL (e.g. 5 +++++ 1 file changed, 5 insertions(+) --- a/drivers/extcon/extcon-palmas.c +++ b/drivers/extcon/extcon-palmas.c @@ -190,6 +190,11 @@ static int palmas_usb_probe(struct platf struct palmas_usb *palmas_usb;



[PATCH 4.4 16/59] ARM: dts: Fix am335x and dm814x scm syscon to pr ...
Greg Kroah-Hartman writes: (Summary) 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) --- a/arch/arm/boot/dts/am33xx.dtsi +++ b/arch/arm/boot/dts/am33xx.dtsi @@ -142,10 +142,11 @@ }; scm_conf: scm_conf@0 { - compatible = "syscon"; scm_clocks: clocks { #address-cells = <1>; --- a/arch/arm/boot/dts/dm814x.dtsi +++ b/arch/arm/boot/dts/dm814x.dtsi @@ -189,10 +189,11 @@ ranges = <0 0x160000 0x16d000>; scm_conf: scm_conf@0 { - compatible = "syscon";



[PATCH 4.4 15/59] ARM: dts: Fix compatible for ti81xx uarts for 8250
Greg Kroah-Hartman writes: (Summary) 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) --- a/arch/arm/boot/dts/dm814x.dtsi +++ b/arch/arm/boot/dts/dm814x.dtsi @@ -138,7 +138,7 @@ }; uart1: uart@20000 { - compatible = "ti,omap3-uart"; uart2: uart@22000 { - compatible = "ti,omap3-uart"; uart3: uart@24000 { - compatible = "ti,omap3-uart"; uart1: uart@48020000 { - compatible = "ti,omap3-uart"; uart2: uart@48022000 { - compatible = "ti,omap3-uart"; uart3: uart@48024000 { - compatible = "ti,omap3-uart";



[PATCH 4.4 17/59] ARM: OMAP2+: Fix init for multiple quirks for th ...
Greg Kroah-Hartman writes: (Summary) [ Upstream commit 6e613ebf4405fc09e2a8c16ed193b47f80a3cbed ] It's possible that there are multiple quirks that need to be initialized for the same SoC. --- arch/arm/mach-omap2/pdata-quirks.c | 1 - 1 file changed, 1 deletion(-) --- a/arch/arm/mach-omap2/pdata-quirks.c +++ b/arch/arm/mach-omap2/pdata-quirks.c @@ -522,7 +522,6 @@ static void pdata_quirks_check(struct pd if (of_machine_is_compatible(quirks->compatible)) { if (quirks->fn) quirks->fn(); - break;



[PATCH 4.4 18/59] ARM: dts: Fix omap3 off mode pull defines
Greg Kroah-Hartman writes: (Summary) 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/include/dt-bindings/pinctrl/omap.h +++ b/include/dt-bindings/pinctrl/omap.h @@ -45,8 +45,8 @@ #define PIN_OFF_NONE 0 #define PIN_OFF_OUTPUT_HIGH (OFF_EN | OFFOUT_VAL) #define PIN_OFF_OUTPUT_LOW (OFF_EN | OFFOUT_EN) -#define PIN_OFF_INPUT_PULLUP (OFF_EN | OFF_PULL_EN | OFF_PULL_UP) -#define PIN_OFF_INPUT_PULLDOWN (OFF_EN | OFF_PULL_EN) +#define PIN_OFF_INPUT_PULLUP (OFF_EN | OFF_PULL_EN | OFF_PULL_UP) +#define PIN_OFF_INPUT_PULLDOWN (OFF_EN |