Re: [RFC,5/5] mfd: cros_ec: add EC host command support using rpmsg.

2019-01-03 Thread Peter Shih
Thanks for the review. I would leave some formatting comment to v2, and reply others first. On Fri, Jan 4, 2019 at 12:05 AM Enric Balletbo Serra wrote: > > Hi, > > Many thanks for sending this. Please, add Guenter and me for next > versions, we are interested in it, thanks :) > > Missatge de

Re: [PATCH v15 23/26] sched: early boot clock (was Re: Bug#918036: linux: uptime after reboot wrong (kvm-clock related?))

2019-01-03 Thread Thorsten Glaser
Hi Salvatore, >p.s.: my earlier reply to you seem to have been rejected and never > reached you, hope this one does now. if you sent from Googlemail, it may reach me in the next weeks or never *shrug* they don’t play nice with greylisting. The -submitter or @d.o works, though. I’m following

[PATCH v2 0/2] virtio-balloon: tweak config_changed

2019-01-03 Thread Wei Wang
Since virtio-ccw doesn't work with accessing to the config space inside an interrupt context, this patch series avoids that issue by moving the config register accesses to the related workqueue contexts. v1->v2 ChangeLog: - add config_read_bitmap to indicate to the workqueue callbacks about

[PATCH v2 1/2] virtio-balloon: tweak config_changed implementation

2019-01-03 Thread Wei Wang
virtio-ccw has deadlock issues with reading the config space inside the interrupt context, so we tweak the virtballoon_changed implementation by moving the config read operations into the related workqueue contexts. The config_read_bitmap is used as a flag to the workqueue callbacks about the

[PATCH v2 2/2] virtio-balloon: improve update_balloon_size_func

2019-01-03 Thread Wei Wang
There is no need to update the balloon actual register when there is no ballooning request. This patch avoids update_balloon_size when diff is 0. Signed-off-by: Wei Wang Reviewed-by: Cornelia Huck Reviewed-by: Halil Pasic --- drivers/virtio/virtio_balloon.c | 5 - 1 file changed, 4

Re: [PATCH] vti4: Fix a ipip packet processing bug in 'IPCOMP' virtual tunnel

2019-01-03 Thread Steffen Klassert
On Thu, Jan 03, 2019 at 07:48:41AM -0500, Su Yanjun wrote: > Recently we run a network test over ipcomp virtual tunnel.We find that > if a ipv4 packet needs fragment, then the peer can't receive > it. > > We deep into the code and find that when packet need fragment the smaller > fragment will be

question about reserve_bios_regions

2019-01-03 Thread Cao jin
Hi, I am looking into these code via find_trampoline_placement, and I have some questions still not clear after lots of investigation, hope to get some hints. 1. How is the value of BIOS_START_MIN(128k) determined? I don't find any clue about it until now. 2. BIOS_START_MAX is define as

Re: [PATCH] printk: Add caller information to printk() output.

2019-01-03 Thread Fengguang Wu
On Thu, Jan 03, 2019 at 07:27:41PM +0100, Dmitry Vyukov wrote: On Wed, Jan 2, 2019 at 5:09 PM Dmitry Vyukov wrote: On Tue, Dec 18, 2018 at 9:58 AM Sergey Senozhatsky wrote: > > On (12/18/18 09:39), Petr Mladek wrote: > > > > Sergey, are you okay with this squashed patch, please? > > > >

Re: [PATCH v2 2/3] clk: ti: check clock type before doing autoidle ops

2019-01-03 Thread Tero Kristo
On 04/01/2019 01:39, Stephen Boyd wrote: Quoting Andreas Kemnade (2018-12-31 00:30:21) On Mon, 31 Dec 2018 09:23:01 +0200 Tero Kristo wrote: On 28/12/2018 22:02, Tony Lindgren wrote: * Andreas Kemnade [181227 20:13]: Hi, On Tue, 4 Dec 2018 08:45:57 -0800 Tony Lindgren wrote: *

Re: [PATCH] dma-mapping: remove unused attrs parameter to dma_common_get_sgtable

2019-01-03 Thread h...@lst.de
On Fri, Jan 04, 2019 at 01:45:26AM +, Huaisheng HS1 Ye wrote: > From: Stefano Stabellini > Sent: Friday, January 04, 2019 1:55 AM > > On Thu, 3 Jan 2019, Huaisheng Ye wrote: > > > From: Huaisheng Ye > > > > > > dma_common_get_sgtable has parameter attrs which is not used at all. > > > Remove

"If the contract is non-revocable only when there is consideration is paid, then it would be impossible for the GPL to exist."

2019-01-03 Thread vnsndalce
If you have a contract to distribute software complete with non-revocable interest, then there is absolutely no need for an extra license on top of that to distribute the software. The contract would define the terms of distribution and the software license would be meaningless to define >the

Re: [RFC PATCH 6/7] soc: mediatek: add MT8183 dvfsrc support

2019-01-03 Thread Nicolas Boichat
On Thu, Jan 3, 2019 at 10:16 PM Henry Chen wrote: > > On Thu, 2019-01-03 at 10:16 +0800, Nicolas Boichat wrote: > > On Wed, Jan 2, 2019 at 10:01 PM Henry Chen wrote: > > > > > > Add dvfsrc driver for MT8183 > > > > > > Signed-off-by: Henry Chen > > > --- > > > drivers/soc/mediatek/Kconfig

Re: [RFC PATCH 3/7] soc: mediatek: add support for the performance state

2019-01-03 Thread Nicolas Boichat
On Thu, Jan 3, 2019 at 10:16 PM Henry Chen wrote: > > On Thu, 2019-01-03 at 09:48 +0800, Nicolas Boichat wrote: > > On Wed, Jan 2, 2019 at 10:01 PM Henry Chen wrote: > > > > > > Support power domain performance state, add header file for scp event. > > > > > > Signed-off-by: Henry Chen > > >

[PATCH] KVM/VMX: Avoid return error when flush tlb successfully in the hv_remote_flush_tlb_with_range()

2019-01-03 Thread lantianyu1986
From: Lan Tianyu The "ret" is initialized to be ENOTSUPP. The return value of __hv_remote_flush_tlb_with_range() will be Or with "ret" when ept table potiners are mismatched. This will cause return ENOTSUPP even if flush tlb successfully. This patch is to fix the issue and set "ret" to 0. Fix:

Re: [PATCH v10 0/8] kvm: arm64: Support PUD hugepage at stage 2

2019-01-03 Thread Punit Agrawal
Christoffer Dall writes: > On Tue, Dec 11, 2018 at 05:10:33PM +, Suzuki K Poulose wrote: >> This series is an update to the PUD hugepage support previously posted >> at [0]. This patchset adds support for PUD hugepages at stage 2 a >> feature that is useful on cores that have support for

Re: [PATCH v5 5/6] dt-bindings: pinctrl: mt8183: add binding document

2019-01-03 Thread Zhiyong Tao
On Sat, 2018-12-29 at 06:04 +0800, Rob Herring wrote: > On Fri, Dec 28, 2018 at 04:09:40PM +0800, Erin Lo wrote: > > From: Zhiyong Tao > > > > The commit adds mt8183 compatible node in binding document. > > > > Signed-off-by: Zhiyong Tao > > Signed-off-by: Erin Lo > > --- > >

The GPLv2 does not contain a no-revocation-by-grantor promise. (SFConservancy's Opinion Statement claiming otherwise is bullshit.)

2019-01-03 Thread vnsndalce
1016132 I also refuted the SFConservancy's "debunking" within 5 hours, on the LKML, of it's publishing its attempted defense of the GPLv2 (they were trying to misconstrue a clause in the GPLv2 as a promise by the grantor not to revoke, which it was not. A promise, even if it existed, the

Re: [RFC v4 0/3] pstore/rom: new support logger for block devices

2019-01-03 Thread 廖威雄
hi Tony: On 2019-01-04 01:18, Luck, Tony wrote: > I'm curious why you call this "pstore/rom" rather than the more descriptive > "pstore/block". Because there is "pstore/ram", so i name it as "pstore/rom". It's nice to rename it "pstore/block", i will change it in next version of patch. > > It

ZDNet article on GPL is wrong and misleading. PJ (paralegal) does not fully understand the law she's spoke about.

2019-01-03 Thread vnsndalce
Often cited now is a ZDNet article as proof that the black-letter law is wrong. https://www.zdnet.com/article/what-happens-if-you-try-to-take-your-code-out-of-linux/ In there is quoted: In 2008, Pamela Jones at Groklaw remarked to an earlier attempt to take code out of the kernel, "[You]

[PATCH 1/1] net-next/hinic: replace disable_irq_nosync/enable_irq

2019-01-03 Thread Xue Chaojing
In order to avoid frequent system interrupts when sending and receiving packets. we replace disable_irq_nosync/enable_irq with hinic_set_msix_state(), hinic_set_msix_state is used to access memory mapped hinic devices. Signed-off-by: Xue Chaojing --- .../net/ethernet/huawei/hinic/hinic_hw_dev.c

Software distribution licenses are not "irrevocable as a rule"

2019-01-03 Thread vnsndalce
1016160 The difference between you and them is that you believe that the GPL requires consideration between licensee and grantor to be revocable. Everybody else in the SFConverancy and the LKML disagree, a software distribution license is non-revocable. Incorrect. The SFConverancy tries to

There is no rule "software distribution licenses are irrevocable"

2019-01-03 Thread vnsndalce
1016160 Everybody else in the SFConverancy and the LKML disagree, a software distribution license is non-revocable. Yes, and they are wrong. All the programmers in the LKML are indeed wrong in what they believe. The non-lawyer* at the SFConverancy is indeed wrong in what he believes

[PATCH v3] net/smc: fix TCP fallback socket release

2019-01-03 Thread Myungho Jung
clcsock can be released while kernel_accept() references it in TCP listen worker. Also, clcsock needs to wake up before released if TCP fallback is used and the clcsock is blocked by accept. Add a lock to safely release clcsock and call kernel_sock_shutdown() to wake up clcsock from accept in

[PATCH] RDMA/cma: Rollback source IP address if failing to acquire device

2019-01-03 Thread Myungho Jung
If cma_acquire_dev_by_src_ip() returns error in addr_handler(), the device state changes back to RDMA_CM_ADDR_BOUND but the resolved source IP address is still left. After that, if rdma_destroy_id() is called after rdma_listen(), the device is freed without removed from listen_any_list in

Re: ALSA:usb audio Higher sample rates on usb audio no longer working.

2019-01-03 Thread Takashi Iwai
On Fri, 04 Jan 2019 00:16:42 +0100, Con Kolivas wrote: > > Hi Iwai-san. > > Added some relevant CCs. > > On Fri, 4 Jan 2019 at 00:23, Takashi Iwai wrote: > > > > On Thu, 03 Jan 2019 12:43:54 +0100, > > Con Kolivas wrote: > > > > > > Upon switching from 4.19.0 to 4.20.0, pulseaudio started

Re: [RFC,v2] Bluetooth: hci_qca: Collect controller memory dump during SSR

2019-01-03 Thread Balakrishna Godavarthi
Hi Marcel, On 2018-12-29 12:57, Marcel Holtmann wrote: Hi Balakrishna, We will collect the ramdump of BT controller when hardware error event received before rebooting the HCI layer. Before restarting a subsystem or a process running on a subsystem, it is often required to request either a

Re: [PATCH 2/2] xtensa: generate uapi header and syscall table header files

2019-01-03 Thread Firoz Khan
Hi Max, On Fri, 4 Jan 2019 at 11:29, Max Filippov wrote: > > On Thu, Jan 3, 2019 at 9:13 PM Firoz Khan wrote: > > On Fri, 4 Jan 2019 at 04:14, Max Filippov wrote: > > > > This build rule is unused now as I was tried to implement > > something else. Hopefully I'll remove the the above change >

Re: [PATCH 1/2] xtensa: remove nargs from __SYSCALL

2019-01-03 Thread Firoz Khan
Hi Max, On Fri, 4 Jan 2019 at 11:25, Max Filippov wrote: > On Thu, Jan 3, 2019 at 9:17 PM Firoz Khan wrote: > > On Fri, 4 Jan 2019 at 08:28, Max Filippov wrote: > > > On Wed, Jan 2, 2019 at 7:29 AM Firoz Khan wrote: > > This was intentional as I was trying compile other one architecture with

Re: [PATCH] scsi: associate bio write hint with WRITE CDB

2019-01-03 Thread Martin K. Petersen
Hi Randall, > I am working on Android phone. > The idea is to enable write hint for Turbo write UFS feature. Turbo > write feature in UFS 3.x is under discussion in JEDEC JC-64. This > patch is the under-lying framework for supporting this feature. OK, but we can't blindly go setting GROUP

[PATCH] perf report: Fix wrong iteration count

2019-01-03 Thread Jin Yao
By calculating the removed loops, we can get the iteration count. But the iteration count could be reported incorrectly, reporting impossibly high counts. That's because previous code uses the number of removed LBR entries for the iteration count. That's not good. Fix this by increasing the

Re: [PATCH -next] IB/qib: Add missing err handle for qib_user_sdma_rb_insert

2019-01-03 Thread YueHaibing
On 2019/1/3 3:22, Leon Romanovsky wrote:> On Wed, Jan 02, 2019 at 12:07:40PM -0700, Jason Gunthorpe wrote: >> On Wed, Jan 02, 2019 at 08:40:50PM +0200, Leon Romanovsky wrote: >>> On Wed, Jan 02, 2019 at 10:12:24AM -0700, Jason Gunthorpe wrote: On Fri, Dec 21, 2018 at 10:19:38AM +0800,

Re: [Letux-kernel] [PATCH RFC] bluetooth: add uart h4 devices via serdev/devicetree

2019-01-03 Thread Andreas Kemnade
Hi Marcel, On Fri, 16 Nov 2018 20:58:24 +0100 Marcel Holtmann wrote: > Hi Andreas, > > >> Btw. I see nothing standing in the way of merging btuart.c driver and then > >> go from there. Either I dig this out and submit or someone else does. > >> > > Do you mean this? > >

Re: [PATCH 28/41] scsi: lpfc: lpfc_sli: Mark expected switch fall-throughs

2019-01-03 Thread Martin K. Petersen
Dick, > Looks good. > Ack Applied to 4.21/scsi-fixes. Thanks, Gustavo. -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH -next] scsi: qla4xxx: check return code of qla4xxx_copy_from_fwddb_param

2019-01-03 Thread Martin K. Petersen
YueHaibing, > The return code should be check while qla4xxx_copy_from_fwddb_param > fails. Applied to 4.21/scsi-fixes, thank you. -- Martin K. Petersen Oracle Linux Engineering

drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c:609: undefined reference to `ieee80211_channel_to_frequency'

2019-01-03 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 645ff1e8e704c4f33ab1fcd3c87f95cb9b6d7144 commit: aca432f06b8a60a92b27fb46e6518a19b28ca93f iwlwifi: make MVM and DVM depend on MAC80211 date: 2 weeks ago config: x86_64-randconfig-x018-01041209 (attached

Re: [PATCH] scsi: smartpqi_init: fix boolean expression in pqi_device_remove_start

2019-01-03 Thread Martin K. Petersen
Gustavo, > Fix boolean expression by using logical AND operator '&&' instead of > bitwise operator '&'. Applied to 4.21/scsi-fixes, thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH 6/8] scsi: pm80xx: reduce indentation

2019-01-03 Thread Martin K. Petersen
Julia, > Delete tab aligning a statement with the right hand side of a > preceding assignment rather than the left hand side. Applied to 4.21/scsi-fixes, thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCHv3 1/2] mm/memblock: extend the limit inferior of bottom-up after parsing hotplug attr

2019-01-03 Thread Pingfan Liu
On Wed, Jan 2, 2019 at 6:18 PM Baoquan He wrote: > > On 01/02/19 at 11:27am, Mike Rapoport wrote: > > On Wed, Jan 02, 2019 at 02:47:34PM +0800, Pingfan Liu wrote: > > > On Mon, Dec 31, 2018 at 4:40 PM Mike Rapoport wrote: > > > > > > > > On Fri, Dec 28, 2018 at 11:00:01AM +0800, Pingfan Liu

Re: [PATCH 2/2] xtensa: generate uapi header and syscall table header files

2019-01-03 Thread Max Filippov
On Thu, Jan 3, 2019 at 9:13 PM Firoz Khan wrote: > On Fri, 4 Jan 2019 at 04:14, Max Filippov wrote: > > > > > > +quiet_cmd_sysnr = SYSNR $@ > > > + cmd_sysnr = $(CONFIG_SHELL) '$(sysnr)' '$<' '$@' \ > > > + '$(sysnr_abis_$(basetarget))' \ > > > +

[PATCH -next] xen/pvcalls: remove set but not used variable 'intf'

2019-01-03 Thread YueHaibing
Fixes gcc '-Wunused-but-set-variable' warning: drivers/xen/pvcalls-back.c: In function 'pvcalls_sk_state_change': drivers/xen/pvcalls-back.c:286:28: warning: variable 'intf' set but not used [-Wunused-but-set-variable] It not used since e6587cdbd732 ("pvcalls-back: set -ENOTCONN in

Re: [PATCH 1/2] xtensa: remove nargs from __SYSCALL

2019-01-03 Thread Max Filippov
On Thu, Jan 3, 2019 at 9:17 PM Firoz Khan wrote: > On Fri, 4 Jan 2019 at 08:28, Max Filippov wrote: > > On Wed, Jan 2, 2019 at 7:29 AM Firoz Khan wrote: > > > while [ $t_nxt -lt $t_nr ]; do > > > - printf "__SYSCALL(%s, sys_ni_syscall, )\n" "${t_nxt}" > > > +

Re: [PATCH 0/8] hisi_sas: debugfs support

2019-01-03 Thread Martin K. Petersen
John, > This patchset adds debugfs support for capturing driver state for > particular times when the HW has malfunctioned (and we must reset the HW). > > Every controller HW version has had bugs. These bugs have been very > painful to debug. One useful tool to debug these is being able to

Re: [PATCH 0/12] scsi: arcmsr: update for ccb structure address can above 4GB

2019-01-03 Thread Martin K. Petersen
Ching, > This patch series are against to mkp's 4.21/scsi-queue. > > 1. Rename acb structure member roundup_ccbsize to ioqueue_size > 2. Rename arcmsr_free_mu to arcmsr_free_io_queue > 3. Merge arcmsr_alloc_io_queue to arcmsr_alloc_ccb_pool > 4. Update arcmsr_alloc_ccb_pool for ccb buffer

[PATCH] fsl/fman: avoid sleeping in atomic context while adding an address

2019-01-03 Thread Yi Wang
From: Junhua Huang dev_set_rx_mode will call function pointer mac_dev->add_hash_mac_addr while holding spin_lock_bh. The function pointer points to memac_add_hash_mac_address when ethernet type is fman-memac, which will kmalloc use GFP_KERNEL flag. / # ifconfig eth2 192.168.1.168 [

Re: [PATCH v8 01/10] dt-bindings: opp: Introduce qcom-opp bindings

2019-01-03 Thread Rajendra Nayak
On 1/4/2019 12:13 AM, Rob Herring wrote: On Fri, Dec 21, 2018 at 2:56 AM Rajendra Nayak wrote: On Qualcomm Technologies, Inc. platforms, an OPP node needs to describe an additional level/corner value that is then communicated to a remote microprocessor by the CPU, which then takes some

Re: [PATCH] scsi: associate bio write hint with WRITE CDB

2019-01-03 Thread Randall Huang
On Thu, Jan 03, 2019 at 11:57:38PM -0500, Martin K. Petersen wrote: > > Ewan, > > > SBC-5 says that support for the grouping function is indicated by the > > GROUP_SUP bit in the Extended Inquiry VPD page (86h). I'm not sure > > how many devices actually support that page though. Probably most

Re: [PATCH 1/2] xtensa: remove nargs from __SYSCALL

2019-01-03 Thread Firoz Khan
Hi Max, Thanks for your reply. On Fri, 4 Jan 2019 at 08:28, Max Filippov wrote: > On Wed, Jan 2, 2019 at 7:29 AM Firoz Khan wrote: > > while [ $t_nxt -lt $t_nr ]; do > > - printf "__SYSCALL(%s, sys_ni_syscall, )\n" "${t_nxt}" > > + printf

Re: [RFC v2 2/2] pwm: sifive: Add a driver for SiFive SoC PWM

2019-01-03 Thread Yash Shah
On Tue, Dec 18, 2018 at 3:42 AM Uwe Kleine-König wrote: > > On Fri, Dec 14, 2018 at 11:50:42AM +0530, Yash Shah wrote: > > Adds a PWM driver for PWM chip present in SiFive's HiFive Unleashed SoC. > > > > Signed-off-by: Wesley W. Terpstra > > [Atish: Various fixes and code cleanup] > >

Re: [PATCH 2/2] xtensa: generate uapi header and syscall table header files

2019-01-03 Thread Firoz Khan
Hi Max, Thanks for your feedback. On Fri, 4 Jan 2019 at 04:14, Max Filippov wrote: > > > > +quiet_cmd_sysnr = SYSNR $@ > > + cmd_sysnr = $(CONFIG_SHELL) '$(sysnr)' '$<' '$@' \ > > + '$(sysnr_abis_$(basetarget))' \ > > +

Re: [RFC v2 1/2] pwm: sifive: Add DT documentation for SiFive PWM Controller

2019-01-03 Thread Yash Shah
On Tue, Dec 18, 2018 at 2:46 AM Uwe Kleine-König wrote: > > On Fri, Dec 14, 2018 at 11:50:41AM +0530, Yash Shah wrote: > > DT documentation for PWM controller added with updated compatible > > string. > > > > Signed-off-by: Wesley W. Terpstra > > [Atish: Compatible string update] > >

Re: [virtio-dev] Re: [PATCH v1 1/2] virtio-balloon: tweak config_changed implementation

2019-01-03 Thread Wei Wang
On 01/04/2019 12:42 AM, Michael S. Tsirkin wrote: On Thu, Jan 03, 2019 at 01:31:01PM +0800, Wei Wang wrote: virtio-ccw has deadlock issues with reading config registers inside the interrupt context, so we tweak the virtballoon_changed implementation by moving the config read operations into the

Re: [PATCH v6 1/2] memory_hotplug: Free pages as higher order

2019-01-03 Thread Arun KS
On 2018-11-07 11:51, Arun KS wrote: On 2018-11-07 01:38, Michal Hocko wrote: On Tue 06-11-18 21:01:29, Arun KS wrote: On 2018-11-06 19:36, Michal Hocko wrote: > On Tue 06-11-18 11:33:13, Arun KS wrote: > > When free pages are done with higher order, time spend on > > coalescing pages by buddy

Re: [RFC v2 1/2] pwm: sifive: Add DT documentation for SiFive PWM Controller

2019-01-03 Thread Yash Shah
On Tue, Dec 18, 2018 at 10:50 PM Rob Herring wrote: > > On Fri, Dec 14, 2018 at 11:50:41AM +0530, Yash Shah wrote: > > DT documentation for PWM controller added with updated compatible > > string. > > > > Signed-off-by: Wesley W. Terpstra > > [Atish: Compatible string update] > > Signed-off-by:

[PATCH v7] mm/page_alloc.c: memory_hotplug: free pages as higher order

2019-01-03 Thread Arun KS
When freeing pages are done with higher order, time spent on coalescing pages by buddy allocator can be reduced. With section size of 256MB, hot add latency of a single section shows improvement from 50-60 ms to less than 1 ms, hence improving the hot add latency by 60 times. Modify external

[GIT PULL] Please pull RDMA subsystem changes

2019-01-03 Thread Jason Gunthorpe
Hi Linus, Second merge window pull request This could also be applied after rc1. It is a small collection of fixes posted over the holiday break. The merge error with advise_mr is worth fixing right away so the other, more minor, things are coming along for the ride. The following changes since

Re: [PATCH] scsi: associate bio write hint with WRITE CDB

2019-01-03 Thread Martin K. Petersen
Ewan, > SBC-5 says that support for the grouping function is indicated by the > GROUP_SUP bit in the Extended Inquiry VPD page (86h). I'm not sure > how many devices actually support that page though. Probably most > don't. Several devices support it, albeit for various different purposes.

Re: [PATCH] target/iscsi: fix error msg typo when create lio_qr_cache failed

2019-01-03 Thread Martin K. Petersen
Leo, > - pr_err("nable to kmem_cache_create() for" > + pr_err("Unable to kmem_cache_create() for" > " lio_qr_cache\n"); Applied to 4.21/scsi-fixes. Thank you! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] scsi: sd: Fix cache_type_store()

2019-01-03 Thread Martin K. Petersen
Ivan, > + * The write protect (WP) bit for mode data sent with a MODE SELECT > + * command shall be ignored by the device server. > + * ... > + * The DPOFUA bit is reserved for mode data sent with a MODE SELECT > + * command. Wonderfully consistent

Re: [PATCH 2/2] remoteproc: q6v5_adsp: Remove voting for lpass_aon clock

2019-01-03 Thread Rohit Kumar
Hello Bjorn, Can you please review this patch series too. LPASS_AON clock support is already removed from lpass clock driver. Thanks, Rohit On 11/30/2018 12:59 PM, Rohit kumar wrote: Lpass_aon clock is on by default. Remove it from lpass clock list to avoid voting for it. Signed-off-by:

Re: [PATCH 2/2] devicetree: hwmon: Add bindings documentation for HIH6130

2019-01-03 Thread Guenter Roeck
On Thu, Dec 27, 2018 at 04:13:49PM +0100, Andreas Kemnade wrote: > Add bindings documentation for HIH6130 driver. > > Signed-off-by: Andreas Kemnade > Reviewed-by: Rob Herring Applied to hwmon-next. Thanks, Guenter > --- > Documentation/devicetree/bindings/hwmon/hih6130.txt | 12

Re: [PATCH 1/2] hwmon: (hih6130) add dtb compatibility tables

2019-01-03 Thread Guenter Roeck
On Thu, Dec 27, 2018 at 04:13:48PM +0100, Andreas Kemnade wrote: > This allows the hih6130 to be used in devicetree files and auto-probed > that way. > > Signed-off-by: Andreas Kemnade Applie to hwmon-next. Thanks, Guenter > --- > drivers/hwmon/hih6130.c | 11 ++- > 1 file changed,

[PATCH 1/2] f2fs: wait on atomic writes to count F2FS_CP_WB_DATA

2019-01-03 Thread Jaegeuk Kim
Otherwise, we can get wrong counts incurring checkpoint hang. IO_W (CP: -24, Data: 24, Flush: ( 001), Discard: ( 00)) Cc: Signed-off-by: Jaegeuk Kim --- fs/f2fs/file.c | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/fs/f2fs/file.c

[PATCH 2/2] f2fs: don't access node/meta inode mapping after iput

2019-01-03 Thread Jaegeuk Kim
This fixes wrong access of address spaces of node and meta inodes after iput. Fixes: 60aa4d5536ab ("f2fs: fix use-after-free issue when accessing sbi->stat_info") Signed-off-by: Jaegeuk Kim --- fs/f2fs/debug.c | 19 --- fs/f2fs/super.c | 5 + 2 files changed, 17

Re: [GIT PULL] sound fixes for 4.21-rc1

2019-01-03 Thread pr-tracker-bot
The pull request you sent on Thu, 03 Jan 2019 14:25:54 +0100: > git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git > tags/sound-fix-4.21-rc1 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/810574ca7e2f95d149023f4ea247d6672f69f9af Thank you! --

Re: [GIT] Networking

2019-01-03 Thread pr-tracker-bot
The pull request you sent on Wed, 02 Jan 2019 22:12:13 -0800 (PST): > git://git.kernel.org/pub/scm/linux/kernel/git/davem/net master has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/43d86ee8c639df750529b4d8f062b328b61c423e Thank you! -- Deet-doot-dot, I am a bot.

[PATCH] f2fs: export pin_file flag to user

2019-01-03 Thread Jaegeuk Kim
This exports pin_file status to user. Signed-off-by: Jaegeuk Kim --- fs/f2fs/f2fs.h | 3 ++- fs/f2fs/file.c | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/fs/f2fs/f2fs.h b/fs/f2fs/f2fs.h index 12fabd6735dd..036fd62010c1 100644 --- a/fs/f2fs/f2fs.h +++ b/fs/f2fs/f2fs.h @@

Re: [GIT PULL] File locking bugfix for v4.21

2019-01-03 Thread pr-tracker-bot
The pull request you sent on Thu, 03 Jan 2019 09:08:54 -0500: > git://git.kernel.org/pub/scm/linux/kernel/git/jlayton/linux.git > tags/locks-v4.21-2 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/135143b2cac43d2a1ec73b53033b9473fbbcce6d Thank you! --

[PATCH v2] driver: uio: fix possible memory leak and use-after-free in __uio_register_device

2019-01-03 Thread liujian
'idev' is malloced in __uio_register_device() and leak free it before leaving from the uio_get_minor() error handing case, it will cause memory leak. Also, in uio_dev_add_attributes() error handing case, idev is used after device_unregister(), in which 'idev' has been released, touch idev cause

Re: [RFC PATCH 0/3] mm: memcontrol: delayed force empty

2019-01-03 Thread Yang Shi
On 1/3/19 12:01 PM, Michal Hocko wrote: On Thu 03-01-19 11:49:32, Yang Shi wrote: On 1/3/19 11:23 AM, Michal Hocko wrote: On Thu 03-01-19 11:10:00, Yang Shi wrote: On 1/3/19 10:53 AM, Michal Hocko wrote: On Thu 03-01-19 10:40:54, Yang Shi wrote: On 1/3/19 10:13 AM, Michal Hocko wrote:

Re: [trace-cmd Patch RFC] trace-cmd: top: A new interface to detect peak memory

2019-01-03 Thread Steven Rostedt
On Thu, 3 Jan 2019 23:02:07 -0500 Steven Rostedt wrote: > On Thu, 27 Apr 2017 23:03:24 +0530 > Pratyush Anand wrote: > > Hi Pratyush, > > I was digging through old email, and came across this. Our thread sorta > just died. Are you still interested in implementing "trace-cmd top"? > > We've

Re: [trace-cmd Patch RFC] trace-cmd: top: A new interface to detect peak memory

2019-01-03 Thread Steven Rostedt
On Thu, 27 Apr 2017 23:03:24 +0530 Pratyush Anand wrote: Hi Pratyush, I was digging through old email, and came across this. Our thread sorta just died. Are you still interested in implementing "trace-cmd top"? We've changed the code structure quite a bit since this came out so it would

RE: [RFC PATCH 1/1] PM / Domains: Add multi PM domains support for attach_dev

2019-01-03 Thread Aisheng Dong
> From: Ulf Hansson [mailto:ulf.hans...@linaro.org] > Sent: Friday, January 4, 2019 5:11 AM > On Wed, 2 Jan 2019 at 17:29, Aisheng Dong wrote: > > > > > -Original Message- > > > From: Ulf Hansson [mailto:ulf.hans...@linaro.org] > > > Sent: Wednesday, January 2, 2019 6:49 PM > > > > > > On

Re: [PATCH] PCI: Add no-D3 quirk for Mellanox ConnectX-[45]

2019-01-03 Thread David Gibson
On Thu, Dec 06, 2018 at 08:45:09AM +0200, Leon Romanovsky wrote: > On Thu, Dec 06, 2018 at 03:19:51PM +1100, David Gibson wrote: > > Mellanox ConnectX-5 IB cards (MT27800) seem to cause a call trace when > > unbound from their regular driver and attached to vfio-pci in order to pass > > them

[PATCH v2] arm64/lib: add accelerated do_csum for arm64

2019-01-03 Thread huhai
do_csum() in lib/checksum.c is too slow in ARM64, and we can use assembly and algorithm to accelerate it. V2: Fix compile warning reported by kbuild test robot Signed-off-by: huhai --- arch/arm64/include/asm/checksum.h | 3 + arch/arm64/lib/Makefile | 2 +-

[PATCH] Documentation/features: Add csky kernel features

2019-01-03 Thread guoren
From: Guo Ren core/ cBPF-JIT : TODO | core/ eBPF-JIT : TODO | core/ generic-idle-thread : ok | core/ jump-labels : TODO | core/ tracehook: ok | debug/ KASAN: TODO | debug/ gcov-profile-all

Re: [PATCH] fsi:fsi-sbefifo: Fix possible concurrency use-after-free bugs in sbefifo_user_release

2019-01-03 Thread Benjamin Herrenschmidt
On Fri, 2019-01-04 at 10:26 +0800, Jia-Ju Bai wrote: > > On 2019/1/4 8:47, Benjamin Herrenschmidt wrote: > > On Wed, 2018-12-26 at 21:56 +0800, Jia-Ju Bai wrote: > > > In drivers/fsi/fsi-sbefifo.c, the functions sbefifo_user_release(), > > > sbefifo_user_read() and sbefifo_user_write() may be

RE: [PATCH] clk: imx: Remove Kconfig duplicate include

2019-01-03 Thread Aisheng Dong
> From: Abel Vesa > Sent: Friday, January 4, 2019 12:58 AM > Subject: [PATCH] clk: imx: Remove Kconfig duplicate include > > Commit d360b130e210f2 ("clk: imx: Make the i.MX8MQ CCM clock driver > CLK_IMX8MQ dependant") introduced this dupplicate (and wrongfuly > ordered). > > Fixes:

[GIT PULL][PATCH] sh: ftrace: Fix missing parenthesis in WARN_ON()

2019-01-03 Thread Steven Rostedt
Linus, It appears that the zero-day bot did find a bug in my sh build. And that I didn't have the bad code in my config file when I cross compiled it, although there are a few other errors in sh that makes it not build for me, I missed that I added one more. I replaced

答复: [PATCH 1/3] media: dt-bindings: media: Fix MTK document for vcodec

2019-01-03 Thread 董云飞
Hi Rob, Thanks for your advice, and I already sent the second patch. Change note: 1: modify the subject for 0001* 2: modify the description for 0003* Best Regards, Yunfei Dong -邮件原件- 发件人: Rob Herring [mailto:r...@kernel.org] 发送时间: 2019年1月4日 7:17 收件人: Yunfei Dong (董云飞) 抄送: Tiffany Lin

[PATCH v2,3/3] media: mtk-vcodec: Using common interface to manage vdec/venc clock

2019-01-03 Thread Yunfei Dong
Vdec: Using standard CCF interface to set parent clock and clock rate in dtsi and using common interface to open/close video decoder clock. Venc: Using standard CCF interface to set parent clock in dtsi and using common interface to open/close video encoder clock. Signed-off-by: Yunfei Dong

[PATCH v2,1/3] media: dt-bindings: media: add 'assigned-clocks' to vcodec examples

2019-01-03 Thread Yunfei Dong
Fix MTK binding document for MT8173 dtsi changed in order to use standard CCF interface. MT8173 SoC from Mediatek. Signed-off-by: Yunfei Dong Signed-off-by: Qianqian Yan --- change note: v2: modify subject --- .../devicetree/bindings/media/mediatek-vcodec.txt | 13 + 1 file

[PATCH v2,2/3] arm64: dts: Using standard CCF interface to set vcodec clk

2019-01-03 Thread Yunfei Dong
Using standard CCF interface to set vdec/venc parent clk and clk rate. Signed-off-by: Yunfei Dong Signed-off-by: Qianqian Yan --- arch/arm64/boot/dts/mediatek/mt8173.dtsi | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi

Re: [PATCH 1/2] f2fs-dev: support multi-device direct IO

2019-01-03 Thread Chao Yu
On 2019/1/2 17:06, sunqiuyang wrote: > From: Qiuyang Sun > > The physical blocks in struct f2fs_map_blocks must be in the same device. > > Signed-off-by: Qiuyang Sun > --- > fs/f2fs/data.c | 20 +++- > fs/f2fs/f2fs.h | 2 -- > 2 files changed, 19 insertions(+), 3 deletions(-)

Re: [PATCH 1/4] dt-bindings: usb: musb: Add support for MediaTek musb controller

2019-01-03 Thread Min Guo
On Thu, 2019-01-03 at 16:14 -0600, Rob Herring wrote: > On Thu, Dec 27, 2018 at 03:34:23PM +0800, min@mediatek.com wrote: > > From: Min Guo > > > > This adds support for MediaTek musb controller in > > host, peripheral and otg mode > > > > Signed-off-by: Min Guo > > --- > >

Re: [PATCH 1/2] xtensa: remove nargs from __SYSCALL

2019-01-03 Thread Max Filippov
On Wed, Jan 2, 2019 at 7:29 AM Firoz Khan wrote: > > The __SYSCALL macro's arguments are system call number, > system call entry name and number of arguments for the > system call. > > Argument- nargs in __SYSCALL(nr, entry, nargs) is neither > calculated nor used anywhere. So it would be better

Re: [PATCH ghak90 (was ghak32) V4 01/10] audit: collect audit task parameters

2019-01-03 Thread Guenter Roeck
Hi Richard, On Tue, Jul 31, 2018 at 04:07:36PM -0400, Richard Guy Briggs wrote: > The audit-related parameters in struct task_struct should ideally be > collected together and accessed through a standard audit API. > > Collect the existing loginuid, sessionid and audit_context together in a >

Re: [PATCH] i2c: core-smbus: don't trace smbus_reply data on errors

2019-01-03 Thread Steven Rostedt
On Thu, 3 Jan 2019 16:42:03 -0800 John Sperbeck wrote: > If an smbus transfer fails, there's no guarantee that the output > buffer was written. So, avoid copying from the output buffer when > tracing after an error. This was 'mostly harmless', but would trip > up kasan checking if left-over

Re: [PATCH 3/3] arm64: dts: hi3660: Add hisi asp dma device

2019-01-03 Thread Rob Herring
On Fri, Dec 28, 2018 at 02:36:23PM +0800, h00249924 wrote: > From: Youlin Wang > > Signed-off-by: John Stultz > Signed-off-by: Youlin Wang > Signed-off-by: Tanglei Han > Cc: Wei Xu > Cc: Rob Herring > Cc: Mark Rutland > --- > arch/arm64/boot/dts/hisilicon/hi3660.dtsi | 14 ++ >

Re: [PATCH -next] f2fs: remove set but not used variable 'err'

2019-01-03 Thread Chao Yu
On 2019/1/4 9:38, YueHaibing wrote: > Fixes gcc '-Wunused-but-set-variable' warning: > > fs/f2fs/data.c: In function 'f2fs_dio_submit_bio': > fs/f2fs/data.c:2585:6: warning: > variable 'err' set but not used [-Wunused-but-set-variable] > > > Signed-off-by: YueHaibing Reviewed-by: Chao Yu

[PATCH] dma-mapping: remove unused attrs parameter to dma_common_get_sgtable

2019-01-03 Thread Huaisheng Ye
From: Huaisheng Ye dma_common_get_sgtable has parameter attrs which is not used at all. Remove it. Signed-off-by: Huaisheng Ye Acked-by: Stefano Stabellini --- drivers/xen/swiotlb-xen.c | 2 +- include/linux/dma-mapping.h | 2 +- kernel/dma/mapping.c| 6 ++ 3 files changed, 4

[PATCH] perf stat: Poll for monitored tasks being alive in fork mode

2019-01-03 Thread Jin Yao
Following test shows the stat keeps running even if no longer task to monitor (mgen exits at ~5s). perf stat -e cycles -p `pgrep mgen` -I1000 -- sleep 10 time counts unit events 1.000148916 1,308,365,864 cycles 2.000379171 1,297,269,875 cycles

Re: [PATCH 1/2 v4] kdump: add the vmcoreinfo documentation

2019-01-03 Thread lijiang
在 2019年01月04日 03:28, Kazuhito Hagio 写道: > Hi Lianbo, > > -Original Message- >> +=== >> +What is the VMCOREINFO? >> +=== >> + >> +VMCOREINFO is a special ELF note section. It contains various >> +information from the kernel like structure size, page

Re: [PATCH] fsi:fsi-sbefifo: Fix possible concurrency use-after-free bugs in sbefifo_user_release

2019-01-03 Thread Jia-Ju Bai
On 2019/1/4 8:47, Benjamin Herrenschmidt wrote: On Wed, 2018-12-26 at 21:56 +0800, Jia-Ju Bai wrote: In drivers/fsi/fsi-sbefifo.c, the functions sbefifo_user_release(), sbefifo_user_read() and sbefifo_user_write() may be concurrently executed. So after refreshing my mind, looking at the

Re: [v5 PATCH 2/2] mm: swap: add comment for swap_vma_readahead

2019-01-03 Thread Huang, Ying
Yang Shi writes: > swap_vma_readahead()'s comment is missed, just add it. > > Cc: Huang Ying > Cc: Tim Chen > Cc: Minchan Kim > Signed-off-by: Yang Shi Thank! Reviewed-by: "Huang, Ying" Best Regards, Huang, Ying > --- > v5: Fixed the comments per Ying Huang > > mm/swap_state.c | 16

[PATCH] drivers: misc: goldfish_address_space: add a driver

2019-01-03 Thread rkir
From: Roman Kiryanov A driver for the Goldfish Android emulator that occupies address space to use it with the memory sharing device on the QEMU side. The memory sharding device allocates subranges and populate them with actual RAM. This allows sharing host's memory with the guest.

Re: [PATCH] staging: android: ion: add buffer flag update ioctl

2019-01-03 Thread Laura Abbott
On 1/3/19 5:42 PM, Zengtao (B) wrote: -Original Message- From: Laura Abbott [mailto:labb...@redhat.com] Sent: Thursday, January 03, 2019 6:31 AM To: Zengtao (B) ; sumit.sem...@linaro.org Cc: Greg Kroah-Hartman ; Arve Hjønnevåg ; Todd Kjos ; Martijn Coenen ; Joel Fernandes ;

Re: [PATCH] dma-mapping: remove unused attrs parameter to dma_common_get_sgtable

2019-01-03 Thread Huaisheng HS1 Ye
From: Stefano Stabellini Sent: Friday, January 04, 2019 1:55 AM > On Thu, 3 Jan 2019, Huaisheng Ye wrote: > > From: Huaisheng Ye > > > > dma_common_get_sgtable has parameter attrs which is not used at all. > > Remove it. > > > > Signed-off-by: Huaisheng Ye > > Acked-by: Stefano Stabellini >

RE: [PATCH] staging: android: ion: add buffer flag update ioctl

2019-01-03 Thread Zengtao (B)
>-Original Message- >From: Laura Abbott [mailto:labb...@redhat.com] >Sent: Thursday, January 03, 2019 6:31 AM >To: Zengtao (B) ; sumit.sem...@linaro.org >Cc: Greg Kroah-Hartman ; Arve Hjønnevåg >; Todd Kjos ; Martijn Coenen >; Joel Fernandes ; >de...@driverdev.osuosl.org;

[PATCH 4/4] ARM: dts: rv1108: Add support for rv1108-elgin-r1 board

2019-01-03 Thread Otavio Salvador
rv1108-elgin-r1 board is based on Rockchip RV1108 SoC. Signed-off-by: Otavio Salvador --- .../devicetree/bindings/arm/rockchip.yaml | 5 + arch/arm/boot/dts/Makefile| 1 + arch/arm/boot/dts/rv1108-elgin-r1.dts | 206 ++ 3 files changed, 212

[PATCH 2/4] ARM: dts: rockchip: rv1108: Add spim0 and spim1 pinctrl groups

2019-01-03 Thread Otavio Salvador
Add the pin settings for the SPI pins so they can be used across multiple boards. Signed-off-by: Otavio Salvador --- arch/arm/boot/dts/rv1108.dtsi | 36 +++ 1 file changed, 36 insertions(+) diff --git a/arch/arm/boot/dts/rv1108.dtsi

  1   2   3   4   5   6   7   >