RE: [virtio-dev] Re: [PATCH v2 1/2] virtio: introduce little edian functions for virtio_cread/write# family

2016-11-27 Thread Gonglei (Arei)
> > Subject: Re: [virtio-dev] Re: [PATCH v2 1/2] virtio: introduce little edian > functions for virtio_cread/write# family > > On Mon, Nov 28, 2016 at 04:34:56AM +0200, Michael S. Tsirkin wrote: > > On Mon, Nov 28, 2016 at 01:56:04AM +, Gonglei (Arei) wrote: > > > Hi Michael, > > > > > > Thank

Re: [HMM v13 08/18] mm/hmm: heterogeneous memory management (HMM for short)

2016-11-27 Thread Anshuman Khandual
On 11/27/2016 06:40 PM, Jerome Glisse wrote: > On Wed, Nov 23, 2016 at 09:33:35AM +0530, Anshuman Khandual wrote: >> On 11/18/2016 11:48 PM, Jérôme Glisse wrote: > > [...] > >>> + * >>> + * hmm_vma_migrate(vma, start, end, ops); >>> + * >>> + * With ops struct providing 2 callback alloc_and_

RE: [virtio-dev] Re: [PATCH v2 1/2] virtio: introduce little edian functions for virtio_cread/write# family

2016-11-27 Thread Gonglei (Arei)
> > Subject: Re: [virtio-dev] Re: [PATCH v2 1/2] virtio: introduce little edian > functions for virtio_cread/write# family > > On Mon, Nov 28, 2016 at 01:56:04AM +, Gonglei (Arei) wrote: > > Hi Michael, > > > > Thanks for your feedback firstly! > > > > > -Original Message- > > > From:

Re: [virtio-dev] Re: [PATCH v2 1/2] virtio: introduce little edian functions for virtio_cread/write# family

2016-11-27 Thread Michael S. Tsirkin
On Mon, Nov 28, 2016 at 04:34:56AM +0200, Michael S. Tsirkin wrote: > On Mon, Nov 28, 2016 at 01:56:04AM +, Gonglei (Arei) wrote: > > Hi Michael, > > > > Thanks for your feedback firstly! > > > > > -Original Message- > > > From: virtio-...@lists.oasis-open.org > > > [mailto:virtio-..

[PATCH v2] Avoid nested function definition

2016-11-27 Thread Peter Foley
Fixes below error with clang: ../drivers/md/bcache/sysfs.c:759:3: error: function definition is not allowed here { return *((uint16_t *) r) - *((uint16_t *) l); } ^ ../drivers/md/bcache/sysfs.c:789:32: error: use of undeclared identifier 'cmp'

[PATCH v5 12/14] ASoC: add simple-graph-card support

2016-11-27 Thread Kuninori Morimoto
From: Kuninori Morimoto graph base DT binding are used on V4L2, and ALSA SoC is using different style of DT. In case of simple case, ALSA SoC supports simple-card driver. In the future, V4L2 / ALSA will support HDMI, and then, DT bindings between V4L2 / ALSA should be merged somehow. This patch

[PATCH v5 13/14] ASoC: add simple-graph-scu-card document

2016-11-27 Thread Kuninori Morimoto
From: Kuninori Morimoto Signed-off-by: Kuninori Morimoto --- .../bindings/sound/simple-graph-scu-card.txt | 69 ++ 1 file changed, 69 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/simple-graph-scu-card.txt diff --git a/Documentation/devic

[PATCH v5 14/14] ASoC: add simple-graph-scu-card support

2016-11-27 Thread Kuninori Morimoto
From: Kuninori Morimoto graph base DT binding are used on V4L2, and ALSA SoC is using different style of DT. In case of simple case, ALSA SoC supports simple-card driver. In the future, V4L2 / ALSA will support HDMI, and then, DT bindings between V4L2 / ALSA should be merged somehow. Sometimes,

[PATCH v5 08/14] ASoC: simple-card-utils: adjust for graph on asoc_simple_card_parse_card_name

2016-11-27 Thread Kuninori Morimoto
From: Kuninori Morimoto It is assuming that the card related information is located on "card" node, but graph case doesn't have it. This patch adds node parameter to adjust for graph support Signed-off-by: Kuninori Morimoto --- include/sound/simple_card_utils.h | 1 + sound/soc/generic/sim

[PATCH v5 10/14] ASoC: simple-card-utils: add asoc_simple_card_try_to_probe_graph_card()

2016-11-27 Thread Kuninori Morimoto
From: Kuninori Morimoto If CPU/Platform side driver probes successfully, and if it is supporting both previous normal sound card style and graph style DT, it can call asoc_simple_card_try_to_probe_graph_card(). It checks graph style DT, and do nothing if it was non graph style DT, or register new

[PATCH v5 11/14] ASoC: add simple-graph-card document

2016-11-27 Thread Kuninori Morimoto
From: Kuninori Morimoto Signed-off-by: Kuninori Morimoto --- .../bindings/sound/simple-graph-card.txt | 67 ++ 1 file changed, 67 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/simple-graph-card.txt diff --git a/Documentation/devicetre

[PATCH v5 09/14] ASoC: simple-card-utils: add asoc_simple_card_parse_graph_dai()

2016-11-27 Thread Kuninori Morimoto
From: Kuninori Morimoto simple-card already has asoc_simple_card_parse_dai(), but graph base parsing needs graph specific version of it. Signed-off-by: Kuninori Morimoto --- include/sound/simple_card_utils.h | 10 +++ sound/soc/generic/simple-card-utils.c | 53 +

[PATCH v5 07/14] of_graph: add of_graph_get_endpoint_count()

2016-11-27 Thread Kuninori Morimoto
From: Kuninori Morimoto OF graph want to count its endpoint number, same as of_get_child_count(). This patch adds of_graph_get_endpoint_count() which can check specific type. It will count all endpoint if type was NULL. Signed-off-by: Kuninori Morimoto --- drivers/of/base.c| 16 ++

[PATCH v5 03/14] of_graph: add of_graph_port_type_is()

2016-11-27 Thread Kuninori Morimoto
From: Kuninori Morimoto OF graph indicates each devices connection. But it doesn't support type of each port. For example HDMI case, it has video port and sound port in one device node. In this case, current driver can't handle each port correctly. This patch adds of_graph_port_type_is() for it

[PATCH v5 06/14] of_graph: add for_each_of_port() / for_each_of_endpoint_in_port()

2016-11-27 Thread Kuninori Morimoto
From: Kuninori Morimoto OF graph is used mainly from V4L2, but ALSA needs to use it. It already has for_each_endpoint_of_node() which is for-loop for each endpoint. But, ALSA needs for-loop for each port[s], and for-loop for each endpoint of inside port[s]. This patch adds for_each_of_port() and

[PATCH v5 04/14] of_graph: add of_graph_get_port_parent()

2016-11-27 Thread Kuninori Morimoto
From: Kuninori Morimoto Linux kernel already has of_graph_get_remote_port_parent(), but, sometimes we want to get own port parent. This patch adds of_graph_get_port_parent() Signed-off-by: Kuninori Morimoto --- drivers/of/base.c| 30 ++ include/linux/of_gra

[PATCH v5 05/14] of_graph: add of_graph_get_top_port()

2016-11-27 Thread Kuninori Morimoto
From: Kuninori Morimoto driver want to get top level of port[s] node. This patch adds of_graph_get_top_port() for this purpose Signed-off-by: Kuninori Morimoto --- drivers/of/base.c| 24 include/linux/of_graph.h | 7 +++ 2 files changed, 31 insertions(+)

[PATCH v5 02/14] of_graph: add of_graph_get_remote_endpoint()

2016-11-27 Thread Kuninori Morimoto
From: Kuninori Morimoto It should use same method to get same result. To getting remote-endpoint node, let's use of_graph_get_remote_endpoint() Signed-off-by: Kuninori Morimoto --- drivers/of/base.c| 18 -- include/linux/of_graph.h | 8 2 files changed, 24 in

[PATCH v5 01/14] Documentation: of: add type property

2016-11-27 Thread Kuninori Morimoto
From: Kuninori Morimoto OF graph indicates each devices connection. But it doesn't support type of each port. For example HDMI case, it has video port and sound port in one device node. In this case, current driver can't handle each port correctly. This patch enables to use type property on OF g

[PATCH v2] Fix objtool with clang

2016-11-27 Thread Peter Foley
Clang doesn't support multiple arguments being passed to -Wp, so split them. Fixes this error: HOSTCC tools/objtool/fixdep.o cat: tools/objtool/.fixdep.o.d: No such file or directory v2: rebased onto perf/core branch. Signed-off-by: Peter Foley --- tools/build/Build.include | 6 +++--- 1 fil

[PATCH v5 00/14] ASoC: add OF graph base simple-card

2016-11-27 Thread Kuninori Morimoto
Hi Rob, Mark These are v5 of OF graph base simple-card patch-set. I removed new "type" property on v4 patch-set, but I noticed that it is necessary for ALSA SoC binding purpose. Thus, this v5 has it again. For example HDMI case, its DT will has video and sound ports. This DT will be used from HD

[PATCH] drivers/extcon: Fix incompatible pointer type warning

2016-11-27 Thread Peter Foley
CC [M] drivers/extcon/extcon-adc-jack.o ../drivers/extcon/extcon-adc-jack.c:115:52: error: incompatible pointer types passing 'const enum extcon *' to parameter of type 'const unsigned int *' [-Werror,-Wincompatible-pointer-types] data->edev = devm_extcon_dev_allocate(&pdev->dev, pdata

Re: [PATCH v2] iommu/vt-d: Flush old iommu caches for kdump when the device gets context mapped

2016-11-27 Thread Xunlei Pang
Ping Joerg/David, do you have any comment on it? On 2016/11/19 at 00:23, Xunlei Pang wrote: > We met the DMAR fault both on hpsa P420i and P421 SmartArray controllers > under kdump, it can be steadily reproduced on several different machines, > the dmesg log is like(running on 4.9.0-rc5+): > HP HPS

Re: [virtio-dev] Re: [PATCH v2 1/2] virtio: introduce little edian functions for virtio_cread/write# family

2016-11-27 Thread Michael S. Tsirkin
On Mon, Nov 28, 2016 at 01:56:04AM +, Gonglei (Arei) wrote: > Hi Michael, > > Thanks for your feedback firstly! > > > -Original Message- > > From: virtio-...@lists.oasis-open.org > > [mailto:virtio-...@lists.oasis-open.org] > > On Behalf Of Michael S. Tsirkin > > Sent: Sunday, Novemb

[PATCH 4/7] vfs - change struct path to const in d_manage()

2016-11-27 Thread Ian Kent
From: Ian Kent The ->d_manage() function is meant to be used to check if an automount is in progress and to block if needed before the mount is followed. It shouldn't need to modify the passed struct path. Make that usage explicit by changing ->d_manage() path parameter to a const. Signed-off-

[PATCH 3/7] autofs - change struct path to const in autofs4_expire_wait() and autofs4_wait()

2016-11-27 Thread Ian Kent
From: Ian Kent The functions autofs4_expire_wait() and autofs4_wait() don't modify the passed struct path so change it to a const. Signed-off-by: Ian Kent Cc: Al Viro Cc: Eric W. Biederman Cc: Omar Sandoval --- fs/autofs4/autofs_i.h |5 +++-- fs/autofs4/expire.c |4 ++-- fs/autofs

[PATCH 6/7] autofs - dont hold spin lock over direct mount expire

2016-11-27 Thread Ian Kent
From: Ian Kent Commit 7cbdb4a286 altered the autofs indirect mount expire to not hold a spin lock during the expire check. The direct mount expire needs the same treatment because to make autofs expires namespace aware may_umount_tree() needs to to use a similar method to may_umount() when check

[PATCH 5/7] vfs - constify path parameter of path_has_submounts()

2016-11-27 Thread Ian Kent
From: Ian Kent path_has_submounts() doesn't modify the passed in path parameter, and shouldn't need to, make that usage explicit. Signed-off-by: Ian Kent Cc: Al Viro Cc: Eric W. Biederman Cc: Omar Sandoval --- fs/dcache.c|2 +- include/linux/dcache.h |2 +- 2 files chang

[PATCH 2/7] autofs - make struct path const in autofs4_dir_open()

2016-11-27 Thread Ian Kent
From: Ian Kent There's no reason to copy the file->f_path in autofs4_dir_open() and f_path is not modified so change it to a "const struct path *". Signed-off-by: Ian Kent Cc: Al Viro Cc: Eric W. Biederman Cc: Omar Sandoval --- fs/autofs4/root.c |6 +++--- 1 file changed, 3 insertions(+

linux-next: manual merge of the mmc tree with the block tree

2016-11-27 Thread Stephen Rothwell
Hi Ulf, Today's linux-next merge of the mmc tree got a conflict in: drivers/mmc/card/block.c between commit: e806402130c9 ("block: split out request-only flags into a new namespace") from the block tree and commit: 95105fc9ffbb ("mmc: block: delete packed command support") from the mmc

[PATCH 7/7] vfs - make may_umount_tree() mount propogation aware

2016-11-27 Thread Ian Kent
From: Ian Kent Now that autofs has namespace aware mounted checks the expire needs changes to make it aware of mount propagation. When checking for expiration may_umount_tree() checks only if the given mount is in use. This leads to a callback to the automount daemon to umount the mount which wi

Re: [PATCH net v2 0/5] net: fix phydev reference leaks

2016-11-27 Thread Timur Tabi
David Miller wrote: Series applied, thanks. I was really hoping you'd give me the chance to test the patches before applying them. -- Sent by an employee of the Qualcomm Innovation Center, Inc. The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, hosted by The Linux Fou

[PATCH 1/7] vfs - merge path_is_mountpoint() and path_is_mountpoint_rcu()

2016-11-27 Thread Ian Kent
From: Ian Kent Forgetting that the rcu lock allows nesting I added a superfluous rcu version of path_is_mountpoint(). Merge it and the rcu version, make the common case (d_mountpoint() returning true) inline and change the path parameter to a const. Also move the function definition to include/

Re: [PATCH 3/3] hwmon: tmp108: Update driver to use hwmon_chip_info.

2016-11-27 Thread John Muir
> On 2016.11.27, at 15:00 , Guenter Roeck wrote: > > On Sat, Nov 26, 2016 at 09:15:37PM -0800, John Muir wrote: >> Move the tmp108 driver from hwmon attribute groups to >> hwmon_chip_info. >> >> Signed-off-by: John Muir >> --- > > Hi John, > > please have a look at the following patch. > > S

Re: [PATCH 3/6] dax: add tracepoint infrastructure, PMD tracing

2016-11-27 Thread Al Viro
On Sun, Nov 27, 2016 at 04:58:43PM -0800, Linus Torvalds wrote: > You are living in some unrealistic dream-world where you think you can > get the right tracepoint on the first try. > > So there is no way in hell I would ever mark any tracepoint "stable" > until it has had a fair amount of use, an

RE: [virtio-dev] Re: [PATCH v2 1/2] virtio: introduce little edian functions for virtio_cread/write# family

2016-11-27 Thread Gonglei (Arei)
Hi Michael, Thanks for your feedback firstly! > -Original Message- > From: virtio-...@lists.oasis-open.org [mailto:virtio-...@lists.oasis-open.org] > On Behalf Of Michael S. Tsirkin > Sent: Sunday, November 27, 2016 11:33 AM > To: Gonglei (Arei) > Subject: [virtio-dev] Re: [PATCH v2 1/2]

Re: RFC: documentation of the autogroup feature

2016-11-27 Thread Mike Galbraith
On Sun, 2016-11-27 at 22:13 +0100, Michael Kerrisk (man-pages) wrote: > Here's my attempt to define the root task group: > >* If autogrouping is disabled, then all processes in the root CPU > cgroup form a scheduling group (sometimes called the "root task > group"). >

Re: [PATCH] net: fec: turn on device when extracting statistics

2016-11-27 Thread David Miller
From: Nikita Yushchenko Date: Fri, 25 Nov 2016 13:02:00 +0300 > + int i, ret; > + > + ret = pm_runtime_get_sync(&fep->pdev->dev); > + if (IS_ERR_VALUE(ret)) { > + memset(data, 0, sizeof(*data) * ARRAY_SIZE(fec_stats)); > + return; > + } This really isn't t

Re: [PATCH 00/29] UBIFS File Encryption v1

2016-11-27 Thread Eric Biggers
On Sun, Nov 27, 2016 at 11:21:56PM +0100, Richard Weinberger wrote: > Ted, > > On 27.11.2016 18:52, Theodore Ts'o wrote: > > On Fri, Nov 25, 2016 at 09:18:12AM +0100, Richard Weinberger wrote: > >> > >> Do you want us to address Eric's review comments on top of the fscrypt > >> branch or shall we

Re: pull-request: wireless-drivers-next 2016-11-25

2016-11-27 Thread David Miller
From: Kalle Valo Date: Fri, 25 Nov 2016 11:39:49 +0200 > here's a pull request for 4.10. ath9k has now been converted to use > mac80211 intermediate software queues to fix bufferbloat problems. rsi > has become active again and latevy mwifiex has been getting a _lot_ of > love. > > I'm not expec

Re: [PATCH 1/1] net: macb: fix the RX queue reset in macb_rx()

2016-11-27 Thread David Miller
From: Cyrille Pitchen Date: Fri, 25 Nov 2016 09:49:32 +0100 > On macb only (not gem), when a RX queue corruption was detected from > macb_rx(), the RX queue was reset: during this process the RX ring > buffer descriptor was initialized by macb_init_rx_ring() but we forgot > to also set bp->rx_tai

Re: [PATCH] drm: bridge: dw-hdmi: add ASoC dependency

2016-11-27 Thread Kuninori Morimoto
Hi > The newly added sound driver depends on SND_SOC_HDMI_CODEC, which in > turn only makes sense when ASoC is enabled, as shown by this warning: > > warning: (DRM_MSM && DRM_STI && DRM_MEDIATEK_HDMI && DRM_I2C_NXP_TDA998X && > DRM_DW_HDMI_I2S_AUDIO) selects SND_SOC_HDMI_CODEC which has unmet d

Re: [PATCH net v2 0/5] net: fix phydev reference leaks

2016-11-27 Thread David Miller
From: Johan Hovold Date: Thu, 24 Nov 2016 19:21:26 +0100 > This series fixes a number of phydev reference leaks (and one of_node > leak) due to failure to put the reference taken by of_phy_find_device(). > > Note that I did not try to fix drivers/net/phy/xilinx_gmii2rgmii.c which > still leaks a

Re: [PATCH] irda: fix overly long udelay()

2016-11-27 Thread David Miller
From: Arnd Bergmann Date: Thu, 24 Nov 2016 17:26:22 +0100 > irda_get_mtt() returns a hardcoded '1' in some cases, > and with gcc-7, we get a build error because this triggers a > compile-time check in udelay(): > > drivers/net/irda/w83977af_ir.o: In function `w83977af_hard_xmit': > w83977af_

Re: [PATCH 3/6] dax: add tracepoint infrastructure, PMD tracing

2016-11-27 Thread Linus Torvalds
On Sun, Nov 27, 2016 at 2:42 PM, Dave Chinner wrote: > > And that's exactly why we need a method of marking tracepoints as > stable. How else are we going to know whether a specific tracepoint > is stable if the kernel code doesn't document that it's stable? You are living in some unrealistic dre

linux-next: build warning after merge of the wireless-drivers-next tree

2016-11-27 Thread Stephen Rothwell
Hi all, After merging the wireless-drivers-next tree, today's linux-next build (x86_64 allmodconfig) produced this warning: In file included from include/linux/usb/ch9.h:35:0, from include/linux/usb.h:5, from drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c:

Re: [PATCH 2/2] bcache: remove unused parameter

2016-11-27 Thread wangyijing
在 2016/11/27 16:00, Coly Li 写道: > On 2016/11/25 上午9:40, Yijing Wang wrote: >> Parameter bio is no longer used, clean it. >> >> Signed-off-by: Yijing Wang >> --- >> drivers/md/bcache/request.c | 12 ++-- >> 1 file changed, 6 insertions(+), 6 deletions(-) >> >> diff --git a/drivers/md/bca

Re: [PATCH 1/2] bcache: Remove redundant set_capacity

2016-11-27 Thread wangyijing
在 2016/11/27 15:57, Coly Li 写道: > On 2016/11/25 上午9:39, Yijing Wang wrote: >> set_capacity() has been called in bcache_device_init(), >> remove the redundant one. >> >> Signed-off-by: Yijing Wang >> --- >> drivers/md/bcache/super.c | 3 --- >> 1 file changed, 3 deletions(-) >> >> diff --git a/d

Re: [PATCH 00/29] UBIFS File Encryption v1

2016-11-27 Thread Theodore Ts'o
On Sun, Nov 27, 2016 at 11:21:56PM +0100, Richard Weinberger wrote: > > Okay. Then I'll queue UBIFS encryption for the v4.10 merge window. > Just to be sure, I base my UBIFS next tree on your fscrypt tree such that > it will build fine and Linus won't see same commits with a different sha1? Yep,

Re: [PATCH v3 1/3] mm: support anonymous stable page

2016-11-27 Thread Minchan Kim
Hi Sergey, I'm going on a long vacation so forgive if I respond slowly. :) On Sun, Nov 27, 2016 at 10:19:10PM +0900, Sergey Senozhatsky wrote: > Hi, > > On (11/25/16 17:35), Minchan Kim wrote: > [..] > > Unfortunately, zram has used per-cpu stream feature from v4.7. > > It aims for increasing ca

Re: [PATCH v2 2/3] ARM: dts: sunxi: add support for Orange Pi Zero board

2016-11-27 Thread André Przywara
On 27/11/16 09:36, Icenowy Zheng wrote: Hi, > 22.11.2016, 00:26, "Icenowy Zheng" : >> Orange Pi Zero is a board that came with the new Allwinner H2+ SoC. >> >> Add a device tree file for it. >> >> Signed-off-by: Icenowy Zheng >> --- >> Changes since v2: >> - Use generic pinconf binding instead o

Re: [GIT PULL] tpmdd updates for Linux 4.10

2016-11-27 Thread James Morris
On Mon, 28 Nov 2016, Jarkko Sakkinen wrote: > Hi James, > > This pull request contains tpmdd updates for Linux 4.10. This release > contains two major changes: power gating support tpm_crb and precursory > cleanup work for the event log so that in a future release we will be > able to add event l

Re: module: extend 'rodata=off' boot cmdline parameter to module mappings

2016-11-27 Thread Rusty Russell
Jessica Yu writes: > +++ AKASHI Takahiro [14/11/16 15:15 +0900]: >>The current "rodata=off" parameter disables read-only kernel mappings >>under CONFIG_DEBUG_RODATA: >>commit d2aa1acad22f ("mm/init: Add 'rodata=off' boot cmdline parameter >>to disable read-only kernel mappings") >> >>This

linux-next: build warning after merge of the btrfs-kdave tree

2016-11-27 Thread Stephen Rothwell
Hi David, After merging the btrfs-kdave tree, today's linux-next build (powerpc ppc64_defconfig) produced this warning: fs/btrfs/inode.c: In function 'run_delalloc_range': fs/btrfs/inode.c:1219:9: warning: 'cur_end' may be used uninitialized in this function [-Wmaybe-uninitialized] start = cu

Re: [PATCH v7 0/3] console: Add persistent scrollback buffers for all VGA consoles

2016-11-27 Thread Andrey Utkin
On Mon, Nov 28, 2016 at 12:15:48AM +0100, Adam Borowski wrote: > On Sun, Nov 27, 2016 at 09:37:30PM +, Andrey Utkin wrote: > > I've just patched next-20161125 with this set and given it a run. > > > > Scrollback persistence works fine, just as in earlier versions. > > > > This time I didn't f

Re: [PATCH v3 2/4] Documentation/atomic_ops.txt: convert to ReST markup

2016-11-27 Thread Jonathan Corbet
On Fri, 25 Nov 2016 22:58:14 +0100 Peter Zijlstra wrote: > Not a fan of this. The atomic_ops.txt file needs a lot of love, and I > wouldn't want to edit a .rst file. > > Then again, I probably won't actually get around to fixing this document > any time soon either. > > But if and when I would

Re: [PATCH v7 0/3] console: Add persistent scrollback buffers for all VGA consoles

2016-11-27 Thread Adam Borowski
\e[3J works well now, thanks! I haven't found any more problems; your changes also appear to make no regressions in at least nouveau fb (which obviously doesn't have this goodie yet). Patch 2 doesn't apply cleanly on current Linus' tree but it's just a matter of more fuzz than "git am" allows. T

[GIT PULL] tpmdd updates for Linux 4.10

2016-11-27 Thread Jarkko Sakkinen
Hi James, This pull request contains tpmdd updates for Linux 4.10. This release contains two major changes: power gating support tpm_crb and precursory cleanup work for the event log so that in a future release we will be able to add event log for TPM 2.0. /Jarkko The following changes since com

Re: [PATCH v7 0/3] console: Add persistent scrollback buffers for all VGA consoles

2016-11-27 Thread Jakub Wilk
* Adam Borowski , 2016-11-28, 00:15: clear(1) doesn't wipe the scrollback at all, it is still reachable, all of it. It does for me on the console. The man page says: # clear clears your screen if this is possible, including its scrollback # buffer (if the extended "E3" capability is defined).

Re: [PATCH net-next v2] MAINTAINERS: Add device tree bindings to mv88e6xx section

2016-11-27 Thread Andreas Färber
Am 28.11.2016 um 00:14 schrieb Andrew Lunn: > On Sun, Nov 27, 2016 at 11:46:16PM +0100, Andreas Färber wrote: >> Also include the netdev list for convenience, as done elsewhere. >> >> Cc: Andrew Lunn >> Cc: Vivien Didelot >> Signed-off-by: Andreas Färber > > Hi Andreas > > In future, please in

Re: [PATCH v7 0/3] console: Add persistent scrollback buffers for all VGA consoles

2016-11-27 Thread Adam Borowski
On Sun, Nov 27, 2016 at 09:37:30PM +, Andrey Utkin wrote: > I've just patched next-20161125 with this set and given it a run. > > Scrollback persistence works fine, just as in earlier versions. > > This time I didn't forget to test clear operation. > > The only important concern is that afte

Re: [PATCH net-next v2] MAINTAINERS: Add device tree bindings to mv88e6xx section

2016-11-27 Thread Andrew Lunn
On Sun, Nov 27, 2016 at 11:46:16PM +0100, Andreas Färber wrote: > Also include the netdev list for convenience, as done elsewhere. > > Cc: Andrew Lunn > Cc: Vivien Didelot > Signed-off-by: Andreas Färber Hi Andreas In future, please include any signed-off-by, tested-by, reviewed-by, etc you h

Re: [PATCH 2/2] net: dsa: mv88e6xxx: Add 88E6176 device tree support

2016-11-27 Thread Andrew Lunn
> Try to see it from my perspective: I see that some vf610 device I don't > have (found via `git grep marvell,mv88e6` or so) uses > "marvell,mv88e6085". I then assume it has that device on board. How > would I know it doesn't? Same for the other boards you mention. > > Unfortunately some of your r

Re: [PATCH 3/3] hwmon: tmp108: Update driver to use hwmon_chip_info.

2016-11-27 Thread Guenter Roeck
On Sat, Nov 26, 2016 at 09:15:37PM -0800, John Muir wrote: > Move the tmp108 driver from hwmon attribute groups to > hwmon_chip_info. > > Signed-off-by: John Muir > --- Hi John, please have a look at the following patch. Something else: Symbolic permissions are out of favor nowadays. You might

[PATCH net-next v3] MAINTAINERS: Add device tree bindings to mv88e6xx section

2016-11-27 Thread Andreas Färber
Also include the netdev list for convenience, as done elsewhere. Reviewed-by: Andrew Lunn Cc: Vivien Didelot Signed-off-by: Andreas Färber --- v3: Pick up Reviewed-by from previous v2 (sorry) MAINTAINERS | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index f7

[PATCH net-next] MAINTAINERS: Add device tree bindings to DSA section

2016-11-27 Thread Andreas Färber
Cc: Andrew Lunn Cc: Vivien Didelot Cc: Florian Fainelli Signed-off-by: Andreas Färber --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 677d73cfedc7..4ff0e2c80aef 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -8584,6 +8584,7 @@ S:Mainta

[PATCH net-next v2] MAINTAINERS: Add device tree bindings to mv88e6xx section

2016-11-27 Thread Andreas Färber
Also include the netdev list for convenience, as done elsewhere. Cc: Andrew Lunn Cc: Vivien Didelot Signed-off-by: Andreas Färber --- MAINTAINERS | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index f73e19277a70..677d73cfedc7 100644 --- a/MAINTAINERS +++ b/MAIN

Re: [PATCH 2/2] net: dsa: mv88e6xxx: Add 88E6176 device tree support

2016-11-27 Thread Andreas Färber
Andrew, Am 27.11.2016 um 23:08 schrieb Andrew Lunn: >>> This driver already supports nearly 30 different Marvell switch >>> models. Please document why the marvell,mv88e6176 is special and why >>> it needs its own compatible string when the others don't. >> >> I don't understand. > > Think about

Re: [PATCH 3/6] dax: add tracepoint infrastructure, PMD tracing

2016-11-27 Thread Dave Chinner
On Fri, Nov 25, 2016 at 11:51:26AM -0800, Linus Torvalds wrote: > On Thu, Nov 24, 2016 at 11:37 PM, Al Viro wrote: > > > > My impression is that nobody (at least kernel-side) wants them to be > > a stable ABI, so long as nobody in userland screams about their code > > being broken, everything is f

Re: [PATCH] ARM: dts: mvebu: Fix armada-385-turris-omnia stdout-path

2016-11-27 Thread Uwe Kleine-König
Hello, On Sun, Nov 27, 2016 at 11:14:37PM +0100, Andreas Färber wrote: > Am 27.11.2016 um 22:25 schrieb Uwe Kleine-König: > > On Sun, Nov 27, 2016 at 08:37:24PM +0100, Andreas Färber wrote: > >> Specify the baudrate. > >> > >> Fixes: 26ca8b52d6e1 ("ARM: dts: add support for Turris Omnia") > >> Cc:

Re: [PATCH net-next] net: dsa: mv88e6xxx: Fix mv88e6xxx_g1_irq_free() interrupt count

2016-11-27 Thread Andrew Lunn
On Sun, Nov 27, 2016 at 11:26:28PM +0100, Andreas Färber wrote: > mv88e6xxx_g1_irq_setup() sets up chip->g1_irq.nirqs interrupt mappings, > so free the same amount. This will be 8 or 9 in practice, less than 16. > > Fixes: dc30c35be720 ("net: dsa: mv88e6xxx: Implement interrupt support.") > Cc: An

[PATCH net-next] net: dsa: mv88e6xxx: Fix mv88e6xxx_g1_irq_free() interrupt count

2016-11-27 Thread Andreas Färber
mv88e6xxx_g1_irq_setup() sets up chip->g1_irq.nirqs interrupt mappings, so free the same amount. This will be 8 or 9 in practice, less than 16. Fixes: dc30c35be720 ("net: dsa: mv88e6xxx: Implement interrupt support.") Cc: Andrew Lunn Signed-off-by: Andreas Färber --- drivers/net/dsa/mv88e6xxx/c

4.9.0-rc6+ boot problem

2016-11-27 Thread Kui Zhang
Hello, I am having problem booting 4.9.0-rc6+ on my laptop. 4.9.0-rc5+ works, so not likely hardware issues. Ubuntu Zesty Zapus ### gcc-6 with CONFIG_PCI_QUIRKS=y CONFIG_X86_REROUTE_FOR_BROKEN_BOOT_IRQS=y After grub, screen turns off. No pre modeset messages. Then system reboot itself. When

Re: [PATCH 00/29] UBIFS File Encryption v1

2016-11-27 Thread Richard Weinberger
Ted, On 27.11.2016 18:52, Theodore Ts'o wrote: > On Fri, Nov 25, 2016 at 09:18:12AM +0100, Richard Weinberger wrote: >> >> Do you want us to address Eric's review comments on top of the fscrypt >> branch or shall we rebase? >> I'd suggest the former. > > Yes, let's address them on top of the exis

Re: [PATCH] ARM: dts: mvebu: Fix armada-385-turris-omnia stdout-path

2016-11-27 Thread Andreas Färber
Am 27.11.2016 um 22:25 schrieb Uwe Kleine-König: > On Sun, Nov 27, 2016 at 08:37:24PM +0100, Andreas Färber wrote: >> Specify the baudrate. >> >> Fixes: 26ca8b52d6e1 ("ARM: dts: add support for Turris Omnia") >> Cc: Uwe Kleine-König >> Signed-off-by: Andreas Färber > > You said with plain &uart0

Re: [PATCH 2/2] net: dsa: mv88e6xxx: Add 88E6176 device tree support

2016-11-27 Thread Andrew Lunn
> > This driver already supports nearly 30 different Marvell switch > > models. Please document why the marvell,mv88e6176 is special and why > > it needs its own compatible string when the others don't. > > I don't understand. Think about what i said. Why does the 6176 need its own compatible str

Re: [PATCH 2/2] net: dsa: mv88e6xxx: Add 88E6176 device tree support

2016-11-27 Thread Andreas Färber
Am 27.11.2016 um 22:27 schrieb Andrew Lunn: > On Sun, Nov 27, 2016 at 09:57:59PM +0100, Andreas Färber wrote: >> This model is found on the Turris Omnia. > > This driver already supports nearly 30 different Marvell switch > models. Please document why the marvell,mv88e6176 is special and why > it

Linux 4.9-rc7

2016-11-27 Thread Linus Torvalds
Still on the regular Sunday release schedule, here's rc7. I think we got all the silly problems I was aware of fixed, and on the whole things are looking pretty good. In fact, if next week ends up being very quiet, this _might_ be the last rc, although honestly I strongly suspect I'll end up doing

Re: [PATCH] mv88e6xxx: Fix mv88e6xxx_g1_irq_free() interrupt count

2016-11-27 Thread Andrew Lunn
On Sun, Nov 27, 2016 at 10:32:41PM +0100, Andreas Färber wrote: > Hi Andrew, > > Am 27.11.2016 um 22:22 schrieb Andrew Lunn: > > On Sun, Nov 27, 2016 at 09:43:44PM +0100, Andreas Färber wrote: > >> mv88e6xxx_g1_irq_setup() sets up chip->g1_irq.nirqs interrupt mappings, > >> so free the same amount

Re: [PATCH v7 0/3] console: Add persistent scrollback buffers for all VGA consoles

2016-11-27 Thread Andrey Utkin
Hi Manuel, I've just patched next-20161125 with this set and given it a run. Scrollback persistence works fine, just as in earlier versions. This time I didn't forget to test clear operation. The only important concern is that after logout, the scrollback is not wiped by /bin/login or /sbin/age

Re: [PATCH] ARM: dts: vf610-zii-dev-rev-b: Add missing newline

2016-11-27 Thread Andrew Lunn
On Sun, Nov 27, 2016 at 10:30:54PM +0100, Andreas Färber wrote: > Hi, > > Am 27.11.2016 um 22:17 schrieb Andrew Lunn: > > On Sun, Nov 27, 2016 at 08:54:44PM +0100, Andreas Färber wrote: > >> Found while reviewing Marvell dsa bindings usage. > > > > Hi Andreas > > > > It is good practice to put t

Re: [PATCH v2] MAINTAINERS: Add device tree bindings to mv88e6xx section

2016-11-27 Thread Andrew Lunn
On Sun, Nov 27, 2016 at 10:07:30PM +0100, Andreas Färber wrote: > Also include the netdev list for convenience, as done elsewhere. Please indicate which maintainer you expect to accept this. And if that is David Miller, please fix the Subject: line. > Cc: Andrew Lunn > Cc: Vivien Didelot > Sig

Re: [PATCH] mv88e6xxx: Fix mv88e6xxx_g1_irq_free() interrupt count

2016-11-27 Thread Andreas Färber
Hi Andrew, Am 27.11.2016 um 22:22 schrieb Andrew Lunn: > On Sun, Nov 27, 2016 at 09:43:44PM +0100, Andreas Färber wrote: >> mv88e6xxx_g1_irq_setup() sets up chip->g1_irq.nirqs interrupt mappings, >> so free the same amount. This will be 8 or 9 in practice, less than 16. > > Hi Andreas > > The pa

Re: [PATCH] ARM: dts: vf610-zii-dev-rev-b: Add missing newline

2016-11-27 Thread Andreas Färber
Hi, Am 27.11.2016 um 22:17 schrieb Andrew Lunn: > On Sun, Nov 27, 2016 at 08:54:44PM +0100, Andreas Färber wrote: >> Found while reviewing Marvell dsa bindings usage. > > Hi Andreas > > It is good practice to put the maintainer you expect to accept the > patch on the To: line. You have at least

Re: [PATCH 2/2] net: dsa: mv88e6xxx: Add 88E6176 device tree support

2016-11-27 Thread Andrew Lunn
On Sun, Nov 27, 2016 at 09:57:59PM +0100, Andreas Färber wrote: > This model is found on the Turris Omnia. This driver already supports nearly 30 different Marvell switch models. Please document why the marvell,mv88e6176 is special and why it needs its own compatible string when the others don't.

Re: [PATCH] ARM: dts: mvebu: Fix armada-385-turris-omnia stdout-path

2016-11-27 Thread Uwe Kleine-König
On Sun, Nov 27, 2016 at 08:37:24PM +0100, Andreas Färber wrote: > Specify the baudrate. > > Fixes: 26ca8b52d6e1 ("ARM: dts: add support for Turris Omnia") > Cc: Uwe Kleine-König > Signed-off-by: Andreas Färber You said with plain &uart0 the kernel uses a wrong baud rate? That's strange. For me

Re: [PATCH] mv88e6xxx: Fix mv88e6xxx_g1_irq_free() interrupt count

2016-11-27 Thread Andrew Lunn
On Sun, Nov 27, 2016 at 09:43:44PM +0100, Andreas Färber wrote: > mv88e6xxx_g1_irq_setup() sets up chip->g1_irq.nirqs interrupt mappings, > so free the same amount. This will be 8 or 9 in practice, less than 16. Hi Andreas The patch is correct, but please read Documentation/networking/netdev-FAQ.

Re: [PATCH] ARM: dts: vf610-zii-dev-rev-b: Add missing newline

2016-11-27 Thread Andrew Lunn
On Sun, Nov 27, 2016 at 08:54:44PM +0100, Andreas Färber wrote: > Found while reviewing Marvell dsa bindings usage. Hi Andreas It is good practice to put the maintainer you expect to accept the patch on the To: line. You have at least two different maintainers on Cc: so it is currently ambiguous.

Re: RFC: documentation of the autogroup feature

2016-11-27 Thread Michael Kerrisk (man-pages)
Hi Mike, On 11/23/2016 04:33 PM, Mike Galbraith wrote: > On Wed, 2016-11-23 at 14:54 +0100, Michael Kerrisk (man-pages) wrote: >> Hi Mike, [...] >> Actually, can you define for me what the root task group is, and >> why it exists? That may be worth some words in this man page. > > I don't thin

Re: [PATCH] ARM: dts: mvebu: Fix armada-385-turris-omnia stdout-path

2016-11-27 Thread Andrew Lunn
On Sun, Nov 27, 2016 at 08:37:24PM +0100, Andreas Färber wrote: > Specify the baudrate. Hi Andreas Please put each patch/patchset in a new thread. > Fixes: 26ca8b52d6e1 ("ARM: dts: add support for Turris Omnia") > Cc: Uwe Kleine-König > Signed-off-by: Andreas Färber Reviewed-by: Andrew Lunn

[PATCH v2] MAINTAINERS: Add device tree bindings to mv88e6xx section

2016-11-27 Thread Andreas Färber
Also include the netdev list for convenience, as done elsewhere. Cc: Andrew Lunn Cc: Vivien Didelot Signed-off-by: Andreas Färber --- MAINTAINERS | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index f73e19277a70..677d73cfedc7 100644 --- a/MAINTAINERS +++ b/MAIN

[PATCH] MAINTAINERS: Add device tree bindings to mv88e6xx section

2016-11-27 Thread Andreas Färber
Also include the netdev list for convenience, as done elsewhere. Cc: Andrew Lunn Cc: Vivien Didelot Signed-off-by: Andreas Färber --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index f73e19277a70..46ccf6eadcc9 100644 --- a/MAINTAINERS +++ b/MAINTA

[PATCH 2/2] net: dsa: mv88e6xxx: Add 88E6176 device tree support

2016-11-27 Thread Andreas Färber
This model is found on the Turris Omnia. Signed-off-by: Andreas Färber --- drivers/net/dsa/mv88e6xxx/chip.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/net/dsa/mv88e6xxx/chip.c b/drivers/net/dsa/mv88e6xxx/chip.c index 77f13ada2612..95b9efb33ec7 100644 --- a/drivers/net/dsa/mv

[PATCH 1/2] Documentation: net: dsa: marvell: Add 88E6176

2016-11-27 Thread Andreas Färber
Signed-off-by: Andreas Färber --- Documentation/devicetree/bindings/net/dsa/marvell.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/net/dsa/marvell.txt b/Documentation/devicetree/bindings/net/dsa/marvell.txt index b3dd6b40e0de..000bc3b16edd 100644 --- a/

Re: [PATCH] netdevice: fix sparse warning for HARD_TX_LOCK

2016-11-27 Thread David Miller
From: "Michael S. Tsirkin" Date: Thu, 24 Nov 2016 07:04:08 +0200 > sparse warns about context imbalance in any code > that uses HARD_TX_LOCK/UNLOCK - this is because it's > unable to determine that flags don't change so > lock and unlock are paired. > > Seems easy enough to fix by adding __acqui

[PATCH] mv88e6xxx: Fix mv88e6xxx_g1_irq_free() interrupt count

2016-11-27 Thread Andreas Färber
mv88e6xxx_g1_irq_setup() sets up chip->g1_irq.nirqs interrupt mappings, so free the same amount. This will be 8 or 9 in practice, less than 16. Fixes: dc30c35be720 ("net: dsa: mv88e6xxx: Implement interrupt support.") Cc: Andrew Lunn Signed-off-by: Andreas Färber --- drivers/net/dsa/mv88e6xxx/c

Re: [PATCH] platform/chrome : Add myself as Maintainer

2016-11-27 Thread Olof Johansson
On Wed, Nov 16, 2016 at 10:19 AM, Benson Leung wrote: > I'll be taking over maintainership of platform/chrome from Olof, > so let's add me to the list of maintainers. > > Signed-off-by: Benson Leung Acked-by: Olof Johansson I talked to Darren at Plumbers about drivers/platform/chrome, and whet

Re: [PATCH v2] ipv6:ipv6_pinfo dereferenced after NULL check

2016-11-27 Thread David Miller
From: Manjeet Pawar Date: Thu, 24 Nov 2016 16:11:57 +0530 > From: Rohit Thapliyal > > np checked for NULL and then dereferenced. It should be modified > for NULL case. > > Signed-off-by: Rohit Thapliyal > Signed-off-by: Manjeet Pawar > Signed-off-by: Hannes Frederic Sowa > Reviewed-by: Akhi

[PATCH v3 1/2] of: Fix issue where code would fall through to error case.

2016-11-27 Thread Moritz Fischer
No longer fall through into the error case that prints out an error if no error (err = 0) occurred. Rework error handling to print error where it occured instead of having a global catch-all at the end of the function. Fixes d9181b20a83(of: Add back an error message, restructured) Signed-off-by:

[PATCH v3 2/2] of: resolver: Fix checkpatch warnings

2016-11-27 Thread Moritz Fischer
Fix two line over 80 character warnings that checkpatch spit out: Before: total: 0 errors, 2 warnings, 374 lines checked drivers/of/resolver.c has style problems, please review. After: total: 0 errors, 0 warnings, 376 lines checked Signed-off-by: Moritz Fischer --- Hi, this one just silences t

<    1   2   3   >