Re: crypto: user - crypto_alg_match removal

2014-11-24 Thread Stephan Mueller
Am Montag, 24. November 2014, 08:22:46 schrieb Steffen Klassert: Hi Steffen, > Hi Stephan. > > On Sat, Nov 22, 2014 at 11:25:05PM +0100, Stephan Mueller wrote: > > Hi Steffen, Herbert, > > > > may I ask for the reasons why crypto_alg_match exists? Doesn't it > > implement crypto_alg_lookup --

[PATCH] gpu/drm/drm_sysfs.c: Export drm_sysfs_connector_add and drm_sysfs_connector_remove

2014-11-24 Thread Mike Looijmans
Building the adi_axi_hdmi driver as a module failed: ERROR: "drm_sysfs_connector_remove" [drivers/gpu/drm/adi_axi_hdmi/adi_axi_hdmi.ko] undefined! Mark drm_sysfs_connector_remove for export to fix this. Also mark drm_sysfs_connector_add for export, for symetry and because at least one other

Re: [PATCH v4 0/6] Touchscreen performance related fixes

2014-11-24 Thread Vignesh R
On Monday 24 November 2014 05:21 PM, Sebastian Andrzej Siewior wrote: > * Vignesh R | 2014-11-14 10:37:25 [+0530]: > >> This series of patches fix TSC defects related to lag in touchscreen >> performance and cursor jump at touch release. The lag was result of >> udelay in TSC interrupt handler.

Re: [PATCH v3 04/41] virtio: memory access APIs

2014-11-24 Thread Michael S. Tsirkin
On Mon, Nov 24, 2014 at 01:03:24PM +0100, Geert Uytterhoeven wrote: > On Mon, Nov 24, 2014 at 12:52 PM, Michael S. Tsirkin wrote: > > virtio 1.0 makes all memory structures LE, so > > we need APIs to conditionally do a byteswap on BE > > architectures. > > > > To make it easier to check code

Re: [PATCH v3 00/41] linux: towards virtio-1 guest support

2014-11-24 Thread Paolo Bonzini
On 24/11/2014 12:52, Michael S. Tsirkin wrote: > Based on patches by Cornelia Rusty and others, but > with an API that should allow better static checking of code, > and slightly more concervative changes in vring,net and blk. > > Based on patches by Cornelia and others, but > with an API that

Re: [PATCH v3 0/2] ARM: mediatek: Add driver for Mediatek I2C controller

2014-11-24 Thread Wolfram Sang
Hi, some very high level remarks: On Mon, Nov 24, 2014 at 05:38:46PM +0800, Xudong Chen wrote: > This series is the third version of Mediatek SoCs I2C controller common > bus driver. > Compared to the second version, > 1. Add comments for clock in dt-bindings file i2c-mt6577.txt. > 2. Remove

[PATCH 1/3] eeprom-93cx6: Add (read-only) support for 8-bit mode

2014-11-24 Thread Ondrej Zary
Add read-only support for EEPROMs configured in 8-bit mode (ORG pin connected to GND). This will be used by wd719x driver. Signed-off-by: Ondrej Zary --- drivers/misc/eeprom/eeprom_93cx6.c | 62 +++- include/linux/eeprom_93cx6.h |4 +++ 2 files

[PATCH 0/3] wd719x: Introduce Western Digital WD7193/7197/7296 PCI SCSI card driver

2014-11-24 Thread Ondrej Zary
Hello, this is a new driver for Western Digital WD7193, WD7197 and WD7296 PCI SCSI controllers based on WD33C296A chip. These nice cards never worked good with Linux. It's based on old and ugly wd719x driver written back in 2.0 days, then hacked to 2.2 and finally to 2.4 kernels. Most of the

[PATCH 2/3] wd719x: Introduce Western Digital WD7193/7197/7296 PCI SCSI card driver

2014-11-24 Thread Ondrej Zary
Introduce wd719x, a driver for Western Digital WD7193, WD7197 and WD7296 PCI SCSI controllers based on WD33C296A chip. Tested with WD7193 card. Reviewed-by: Christoph Hellwig Signed-off-by: Ondrej Zary --- drivers/scsi/Kconfig |8 + drivers/scsi/Makefile |1 + drivers/scsi/wd719x.c |

[PATCH 3/3] wd719x: Add firmware documentation

2014-11-24 Thread Ondrej Zary
Add documentation and script to obtain required firmware. Signed-off-by: Ondrej Zary --- Documentation/scsi/wd719x.txt | 21 + 1 file changed, 21 insertions(+) create mode 100644 Documentation/scsi/wd719x.txt diff --git a/Documentation/scsi/wd719x.txt

[PATCH v3 02/41] virtio: add support for 64 bit features.

2014-11-24 Thread Michael S. Tsirkin
From: Rusty Russell Change the u32 to a u64, and make sure to use 1ULL everywhere! Cc: Brian Swetland Cc: Christian Borntraeger [Thomas Huth: fix up virtio-ccw get_features] Signed-off-by: Rusty Russell Signed-off-by: Cornelia Huck Acked-by: Pawel Moll Acked-by: Ohad Ben-Cohen

[GIT PULL] extcon next for 3.19

2014-11-24 Thread Chanwoo Choi
Dear Greg, This is extcon-next full request for v3.19. I add detailed description of this pull request on below. Please pull extcon with following updates. This pull-request is based on Linux 3.18-rc3 (char-misc-next branch). Best Regards, Chanwoo Choi The following changes since commit

[PATCH v3 04/41] virtio: memory access APIs

2014-11-24 Thread Michael S. Tsirkin
virtio 1.0 makes all memory structures LE, so we need APIs to conditionally do a byteswap on BE architectures. To make it easier to check code statically, add virtio specific types for multi-byte integers in memory. Add low level wrappers that do a byteswap conditionally, these will be useful

[PATCH v3 07/41] virtio: allow transports to get avail/used addresses

2014-11-24 Thread Michael S. Tsirkin
From: Cornelia Huck For virtio-1, we can theoretically have a more complex virtqueue layout with avail and used buffers not on a contiguous memory area with the descriptor table. For now, it's fine for a transport driver to stay with the old layout: It needs, however, a way to access the

[PATCH] [media] omap: Fix typo "HAS_MMU"

2014-11-24 Thread Paul Bolle
A Fixes: line seems not worth the trouble here. 2) Tested on top of next-20141124 by doing, in short: cp arch/x86/configs/x86_64_defconfig .config echo CONFIG_COMPILE_TEST=y >> .config echo CONFIG_MEDIA_SUPPORT=y >> .config echo CONFIG_MEDIA_CAMERA_SUPPORT=y >> .config

[PATCH v3 11/41] virtio_net: v1.0 endianness

2014-11-24 Thread Michael S. Tsirkin
Based on patches by Rusty Russell, Cornelia Huck. Note: more code changes are needed for 1.0 support (due to different header size). So we don't advertize support for 1.0 yet. Signed-off-by: Rusty Russell Signed-off-by: Cornelia Huck Signed-off-by: Michael S. Tsirkin ---

[PATCH v3 13/41] KVM: s390: Set virtio-ccw transport revision

2014-11-24 Thread Michael S. Tsirkin
From: Thomas Huth With the new SET-VIRTIO-REVISION command of the virtio 1.0 standard, we can now negotiate the virtio-ccw revision after setting a channel online. Note that we don't negotiate version 1 yet. [Cornelia Huck: reworked revision loop a bit] Reviewed-by: David Hildenbrand

[PATCH v3 17/41] virtio_blk: make serial attribute static

2014-11-24 Thread Michael S. Tsirkin
It's never declared so no need to make it extern. Signed-off-by: Michael S. Tsirkin --- drivers/block/virtio_blk.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/block/virtio_blk.c b/drivers/block/virtio_blk.c index f601f16..055f3df 100644 ---

[PATCHv10 4/5] sparc: Hook up execveat system call.

2014-11-24 Thread David Drysdale
Signed-off-by: David Drysdale --- arch/sparc/include/uapi/asm/unistd.h | 3 ++- arch/sparc/kernel/syscalls.S | 10 ++ arch/sparc/kernel/systbls_32.S | 1 + arch/sparc/kernel/systbls_64.S | 2 ++ 4 files changed, 15 insertions(+), 1 deletion(-) diff --git

[PATCHv10 2/5] x86: Hook up execveat system call.

2014-11-24 Thread David Drysdale
Hook up x86-64, i386 and x32 ABIs. Signed-off-by: David Drysdale --- arch/x86/ia32/audit.c| 1 + arch/x86/ia32/ia32entry.S| 1 + arch/x86/kernel/audit_64.c | 1 + arch/x86/kernel/entry_64.S | 28 arch/x86/syscalls/syscall_32.tbl |

[PATCHv10 3/5] syscalls: add selftest for execveat(2)

2014-11-24 Thread David Drysdale
Signed-off-by: David Drysdale --- tools/testing/selftests/Makefile| 1 + tools/testing/selftests/exec/.gitignore | 9 + tools/testing/selftests/exec/Makefile | 25 ++ tools/testing/selftests/exec/execveat.c | 397 4 files changed, 432 insertions(+)

[PATCH v3 21/41] virtio_net: stricter short buffer length checks

2014-11-24 Thread Michael S. Tsirkin
Our buffer length check is not strict enough for mergeable buffers: buffer can still be shorter that header + address by 2 bytes. Fix that up. Signed-off-by: Michael S. Tsirkin --- drivers/net/virtio_net.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v3 18/41] virtio_blk: fix race at module removal

2014-11-24 Thread Michael S. Tsirkin
If a device appears while module is being removed, driver will get a callback after we've given up on the major number. In theory this means this major number can get reused by something else, resulting in a conflict. Signed-off-by: Michael S. Tsirkin --- drivers/block/virtio_blk.c | 2 +- 1

[PATCHv10 man-pages 5/5] execveat.2: initial man page for execveat(2)

2014-11-24 Thread David Drysdale
Signed-off-by: David Drysdale --- man2/execveat.2 | 153 1 file changed, 153 insertions(+) create mode 100644 man2/execveat.2 diff --git a/man2/execveat.2 b/man2/execveat.2 new file mode 100644 index ..937d79e4c4f0 ---

[PATCHv10 1/5] syscalls: implement execveat() system call

2014-11-24 Thread David Drysdale
Add a new execveat(2) system call. execveat() is to execve() as openat() is to open(): it takes a file descriptor that refers to a directory, and resolves the filename relative to that. In addition, if the filename is empty and AT_EMPTY_PATH is specified, execveat() executes the file to which the

[PATCH v3 22/41] virtio_net: bigger header when VERSION_1 is set

2014-11-24 Thread Michael S. Tsirkin
With VERSION_1 virtio_net uses same header size whether mergeable buffers are enabled or not. Signed-off-by: Michael S. Tsirkin --- drivers/net/virtio_net.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/virtio_net.c b/drivers/net/virtio_net.c index

Re: [PATCH v3 04/41] virtio: memory access APIs

2014-11-24 Thread Geert Uytterhoeven
On Mon, Nov 24, 2014 at 12:52 PM, Michael S. Tsirkin wrote: > virtio 1.0 makes all memory structures LE, so > we need APIs to conditionally do a byteswap on BE > architectures. > > To make it easier to check code statically, > add virtio specific types for multi-byte integers > in memory. > > Add

[PATCH v3 30/41] vhost/net: enable virtio 1.0

2014-11-24 Thread Michael S. Tsirkin
Signed-off-by: Michael S. Tsirkin --- drivers/vhost/net.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/vhost/net.c b/drivers/vhost/net.c index 1ac58d0..984242e 100644 --- a/drivers/vhost/net.c +++ b/drivers/vhost/net.c @@ -61,7 +61,8 @@

[PATCH v3 24/41] vhost: add memory access wrappers

2014-11-24 Thread Michael S. Tsirkin
Signed-off-by: Michael S. Tsirkin --- drivers/vhost/vhost.h | 33 - 1 file changed, 32 insertions(+), 1 deletion(-) diff --git a/drivers/vhost/vhost.h b/drivers/vhost/vhost.h index 3eda654..b9032e8 100644 --- a/drivers/vhost/vhost.h +++ b/drivers/vhost/vhost.h @@

[PATCH v3 27/41] vhost: make features 64 bit

2014-11-24 Thread Michael S. Tsirkin
We need to use bit 32 for virtio 1.0 Signed-off-by: Michael S. Tsirkin --- drivers/vhost/vhost.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/vhost/vhost.h b/drivers/vhost/vhost.h index b9032e8..1f321fd 100644 --- a/drivers/vhost/vhost.h +++

[PATCH v3 32/41] tun: move internal flag defines out of uapi

2014-11-24 Thread Michael S. Tsirkin
TUN_ flags are internal and never exposed to userspace. Any application using it is almost certainly buggy. Move them out to tun.c, we'll remove them in follow-up patches. Signed-off-by: Michael S. Tsirkin --- include/uapi/linux/if_tun.h | 16 ++ drivers/net/tun.c | 74

[PATCH] ACPI: Fixed a typo comment

2014-11-24 Thread Huang Rui
Signed-off-by: Huang Rui --- drivers/acpi/device_pm.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/acpi/device_pm.c b/drivers/acpi/device_pm.c index 7db1931..076af81 100644 --- a/drivers/acpi/device_pm.c +++ b/drivers/acpi/device_pm.c @@ -201,7 +201,7 @@ int

[PATCH v3 19/41] virtio_net: pass vi around

2014-11-24 Thread Michael S. Tsirkin
Too many places poke at [rs]q->vq->vdev->priv just to get the the vi structure. Let's just pass the pointer around: seems cleaner, and might even be faster. Signed-off-by: Michael S. Tsirkin --- drivers/net/virtio_net.c | 38 -- 1 file changed, 20

Re: [Keyrings] [PATCH 2/5] X.509: Support X.509 lookup by Issuer+Serial form AuthorityKeyIdentifier

2014-11-24 Thread Mimi Zohar
Previous post was mangled. Reposting ... --- Don't assume that the issuer & serialNumber are specified. Signed-off-by: Mimi Zohar --- crypto/asymmetric_keys/x509_public_key.c | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git

[PATCH v3 33/41] tun: drop most type defines

2014-11-24 Thread Michael S. Tsirkin
It's just as easy to use IFF_ flags directly, there's no point in adding our own defines. Signed-off-by: Michael S. Tsirkin --- drivers/net/tun.c | 62 +-- 1 file changed, 28 insertions(+), 34 deletions(-) diff --git a/drivers/net/tun.c

Re: [PATCH 0/2] small swiotlb-xen fixes

2014-11-24 Thread Stefano Stabellini
On Fri, 21 Nov 2014, Konrad Rzeszutek Wilk wrote: > On Fri, Nov 21, 2014 at 05:00:05PM +, Stefano Stabellini wrote: > > Hi all, > > I have a couple of small straightforward fixes for swiotlb-xen for 3.19. > > > > They look fine to me. Applied to devel/for-linus-3.19 > Thanks. > > Cheers,

[PATCH v3 37/41] virtio_scsi: v1.0 support

2014-11-24 Thread Michael S. Tsirkin
Note: for consistency, and to avoid sparse errors, convert all fields, even those no longer in use for virtio v1.0. Signed-off-by: Michael S. Tsirkin --- include/linux/virtio_scsi.h | 32 +++- drivers/scsi/virtio_scsi.c | 51

[PATCH v3 36/41] macvtap: TUN_VNET_HDR support

2014-11-24 Thread Michael S. Tsirkin
Signed-off-by: Michael S. Tsirkin --- drivers/net/macvtap.c | 68 --- 1 file changed, 43 insertions(+), 25 deletions(-) diff --git a/drivers/net/macvtap.c b/drivers/net/macvtap.c index 880cc09..af90ab5 100644 --- a/drivers/net/macvtap.c +++

[PATCH v3 38/41] virtio_scsi: move to uapi

2014-11-24 Thread Michael S. Tsirkin
Guests need to use virtio scsi API, so export it to uapi, nice to e.g. qemu and will help us remember this file affects ABI. Signed-off-by: Michael S. Tsirkin --- include/{ => uapi}/linux/virtio_scsi.h | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename include/{ =>

[PATCH v3 31/41] vhost/net: suppress compiler warning

2014-11-24 Thread Michael S. Tsirkin
len is always initialized since function is called with size > 0. Signed-off-by: Michael S. Tsirkin --- drivers/vhost/net.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/vhost/net.c b/drivers/vhost/net.c index 984242e..54ffbb0 100644 --- a/drivers/vhost/net.c +++

[PATCH v3 34/41] tun: add VNET_LE flag

2014-11-24 Thread Michael S. Tsirkin
virtio 1.0 modified virtio net header format, making all fields little endian. Users can tweak header format before submitting it to tun, but this means more data copies where none were necessary. And if the iovec is in RO memory, this means we might need to split iovec also means we might in

[PATCH v3 35/41] tun: TUN_VNET_LE support, fix sparse warnings for virtio headers

2014-11-24 Thread Michael S. Tsirkin
Pretty straight-forward: convert all fields to/from virtio endian-ness. Signed-off-by: Michael S. Tsirkin --- drivers/net/tun.c | 48 +--- 1 file changed, 29 insertions(+), 19 deletions(-) diff --git a/drivers/net/tun.c b/drivers/net/tun.c index

[PATCH v3 41/41] af_packet: virtio 1.0 stubs

2014-11-24 Thread Michael S. Tsirkin
This merely fixes sparse warnings, without actually adding support for the new APIs. Still working out the best way to enable the new functionality. Signed-off-by: Michael S. Tsirkin --- net/packet/af_packet.c | 35 ++- 1 file changed, 22 insertions(+), 13

[PATCH v3 40/41] vhost/scsi: partial virtio 1.0 support

2014-11-24 Thread Michael S. Tsirkin
Include all endian conversions as required by virtio 1.0. Don't set virtio 1.0 yet, since that requires ANY_LAYOUT which we don't yet support. Signed-off-by: Michael S. Tsirkin --- drivers/vhost/scsi.c | 22 -- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git

[PATCH v3 23/41] virtio_net: enable v1.0 support

2014-11-24 Thread Michael S. Tsirkin
Now that we have completed 1.0 support, enable it in our driver. Signed-off-by: Michael S. Tsirkin --- drivers/net/virtio_net.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/virtio_net.c b/drivers/net/virtio_net.c index a0e64cf..c6a72d3 100644 --- a/drivers/net/virtio_net.c

[PATCH v3 39/41] virtio_scsi: export to userspace

2014-11-24 Thread Michael S. Tsirkin
Replace uXX by __uXX and _packed by __attribute((packed)) as seems to be the norm for userspace headers. Signed-off-by: Michael S. Tsirkin --- include/uapi/linux/virtio_scsi.h | 74 include/uapi/linux/Kbuild| 1 + 2 files changed, 38

[PATCH v3 20/41] virtio_net: get rid of virtio_net_hdr/skb_vnet_hdr

2014-11-24 Thread Michael S. Tsirkin
virtio 1.0 doesn't use virtio_net_hdr anymore, and in fact, it's not really useful since virtio_net_hdr_mrg_rxbuf includes that as the first field anyway. Let's drop it, precalculate header len and store within vi instead. This way we can also remove struct skb_vnet_hdr. Signed-off-by: Michael

[PATCH v3 26/41] vhost: virtio 1.0 endian-ness support

2014-11-24 Thread Michael S. Tsirkin
Signed-off-by: Michael S. Tsirkin --- drivers/vhost/vhost.c | 93 +++ 1 file changed, 56 insertions(+), 37 deletions(-) diff --git a/drivers/vhost/vhost.c b/drivers/vhost/vhost.c index c90f437..4d379ed 100644 --- a/drivers/vhost/vhost.c +++

[PATCH v3 29/41] vhost/net: larger header for virtio 1.0

2014-11-24 Thread Michael S. Tsirkin
Signed-off-by: Michael S. Tsirkin --- drivers/vhost/net.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/vhost/net.c b/drivers/vhost/net.c index cae22f9..1ac58d0 100644 --- a/drivers/vhost/net.c +++ b/drivers/vhost/net.c @@ -1027,7 +1027,8 @@ static int

[PATCH v3 28/41] vhost/net: virtio 1.0 byte swap

2014-11-24 Thread Michael S. Tsirkin
Signed-off-by: Michael S. Tsirkin --- drivers/vhost/net.c | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/drivers/vhost/net.c b/drivers/vhost/net.c index dce5c58..cae22f9 100644 --- a/drivers/vhost/net.c +++ b/drivers/vhost/net.c @@ -416,7 +416,7 @@ static void

[PATCH v3 25/41] vhost/net: force len for TX to host endian

2014-11-24 Thread Michael S. Tsirkin
We use native endian-ness internally but never expose it to guest. Signed-off-by: Michael S. Tsirkin --- drivers/vhost/net.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/vhost/net.c b/drivers/vhost/net.c index 8dae2f7..dce5c58 100644 ---

[PATCH v3 08/41] virtio: set FEATURES_OK

2014-11-24 Thread Michael S. Tsirkin
set FEATURES_OK as per virtio 1.0 spec Signed-off-by: Michael S. Tsirkin --- include/uapi/linux/virtio_config.h | 2 ++ drivers/virtio/virtio.c| 29 ++--- 2 files changed, 24 insertions(+), 7 deletions(-) diff --git a/include/uapi/linux/virtio_config.h

[PATCH v3 10/41] virtio: add legacy feature table support

2014-11-24 Thread Michael S. Tsirkin
virtio blk has some legacy feature bits that modern drivers must not negotiate, but are needed for old legacy hosts (e.g. that dn't support virtio scsi). Allow a separate legacy feature table for such cases. Signed-off-by: Michael S. Tsirkin --- include/linux/virtio.h | 4

[PATCHv10 0/5] syscalls,x86,sparc: Add execveat() system call

2014-11-24 Thread David Drysdale
This patch set adds execveat(2) for x86 and sparc, and is derived from Meredydd Luff's patch from Sept 2012 (https://lkml.org/lkml/2012/9/11/528). The primary aim of adding an execveat syscall is to allow an implementation of fexecve(3) that does not rely on the /proc filesystem, at least for

[PATCH v3 09/41] virtio: simplify feature bit handling

2014-11-24 Thread Michael S. Tsirkin
Now that we use u64 for bits, we can simply & them together. Signed-off-by: Michael S. Tsirkin --- drivers/virtio/virtio.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/drivers/virtio/virtio.c b/drivers/virtio/virtio.c index a3df817..0f44cff 100644 ---

[PATCH v3 14/41] KVM: s390: virtio-ccw revision 1 SET_VQ

2014-11-24 Thread Michael S. Tsirkin
From: Cornelia Huck The CCW_CMD_SET_VQ command has a different format for revision 1+ devices, allowing to specify a more complex virtqueue layout. For now, we stay however with the old layout and simply use the new command format for virtio-1 devices. Signed-off-by: Cornelia Huck

[PATCH v3 15/41] KVM: s390 allow virtio_ccw status writes to fail

2014-11-24 Thread Michael S. Tsirkin
Gracefully handle failure to write device status. We really should handle other errors as well, but this one is needed for virtio 1.0 compliance. Signed-off-by: Michael S. Tsirkin --- drivers/s390/kvm/virtio_ccw.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git

[PATCH v3 12/41] virtio_blk: v1.0 support

2014-11-24 Thread Michael S. Tsirkin
Based on patch by Cornelia Huck. Note: for consistency, and to avoid sparse errors, convert all fields, even those no longer in use for virtio v1.0. Reviewed-by: Thomas Huth Reviewed-by: David Hildenbrand Signed-off-by: Cornelia Huck Signed-off-by: Michael S. Tsirkin ---

[PATCH v3 01/41] virtio: use u32, not bitmap for struct virtio_device's features

2014-11-24 Thread Michael S. Tsirkin
From: Rusty Russell It seemed like a good idea, but it's actually a pain when we get more than 32 feature bits. Just change it to a u32 for now. Cc: Brian Swetland Cc: Christian Borntraeger Signed-off-by: Rusty Russell Signed-off-by: Cornelia Huck Acked-by: Pawel Moll Acked-by: Ohad

[PATCH v3 06/41] virtio_config: endian conversion for v1.0

2014-11-24 Thread Michael S. Tsirkin
We (ab)use virtio conversion functions for device-specific config space accesses. Reviewed-by: David Hildenbrand Signed-off-by: Rusty Russell Signed-off-by: Cornelia Huck Signed-off-by: Michael S. Tsirkin --- include/linux/virtio_config.h | 9 ++--- 1 file changed, 6 insertions(+), 3

[PATCH v3 16/41] KVM: s390: enable virtio-ccw revision 1

2014-11-24 Thread Michael S. Tsirkin
From: Cornelia Huck Now that virtio-ccw has everything needed to support virtio 1.0 in place, try to enable it if the host supports it. Reviewed-by: David Hildenbrand Signed-off-by: Cornelia Huck Signed-off-by: Michael S. Tsirkin --- drivers/s390/kvm/virtio_ccw.c | 2 +- 1 file changed, 1

[PATCH v3 03/41] virtio: add virtio 1.0 feature bit

2014-11-24 Thread Michael S. Tsirkin
Based on original patches by Rusty Russell, Thomas Huth and Cornelia Huck. Note: at this time, we do not negotiate this feature bit in core, drivers have to declare VERSION_1 support explicitly. After all drivers are converted, we will be able to move VERSION_1 to core and drop it from all

[PATCH v3 05/41] virtio_ring: switch to new memory access APIs

2014-11-24 Thread Michael S. Tsirkin
Use virtioXX_to_cpu and friends for access to all multibyte structures in memory. Note: this is intentionally mechanical. A follow-up patch will split long lines etc. Signed-off-by: Michael S. Tsirkin --- drivers/virtio/virtio_ring.c | 89 ++-- 1 file

[PATCH v3 00/41] linux: towards virtio-1 guest support

2014-11-24 Thread Michael S. Tsirkin
Based on patches by Cornelia Rusty and others, but with an API that should allow better static checking of code, and slightly more concervative changes in vring,net and blk. Based on patches by Cornelia and others, but with an API that should allow better static checking of code, slightly more

Re: [PATCH 3/5] PKCS#7: Allow detached data to be supplied for signature checking purposes

2014-11-24 Thread Mimi Zohar
On Thu, 2014-11-20 at 16:54 +, David Howells wrote: > It is possible for a PKCS#7 message to have detached data. However, to verify > the signatures on a PKCS#7 message, we have to be able to digest the data. > Provide a function to supply that data. An error is given if the PKCS#7 >

Re: [PATCH v4 0/6] Touchscreen performance related fixes

2014-11-24 Thread Sebastian Andrzej Siewior
* Vignesh R | 2014-11-14 10:37:25 [+0530]: >This series of patches fix TSC defects related to lag in touchscreen >performance and cursor jump at touch release. The lag was result of >udelay in TSC interrupt handler. Cursor jump due to false pen-up event. >The patches implement Advisory 1.0.31 in

Re: [PATCH v2 1/5] video: omapdss: Add opa362 driver

2014-11-24 Thread Tomi Valkeinen
On 19/11/14 17:10, Dr. H. Nikolaus Schaller wrote: >> You don't need to ask. The connector calls invert_vid_out_polarity >> before enabling the output. > > Unfortunately it doesn’t. At least not always. > > It does only for pdata systems but not for DT based systems: > > if

Re: [PATCH v4 4/5] x86: Clean up current_stack_pointer

2014-11-24 Thread Borislav Petkov
On Fri, Nov 21, 2014 at 01:26:10PM -0800, Andy Lutomirski wrote: > There's no good reason for it to be a macro, and x86_64 will want to > use it, so it should be in a header. > > Signed-off-by: Andy Lutomirski Acked-by: Borislav Petkov -- Regards/Gruss, Boris. Sent from a fat crate

Re: [PATCH v2 1/5] misc: sensorhub: Add sensorhub driver

2014-11-24 Thread Karol Wrona
On 11/22/2014 01:17 PM, Jonathan Cameron wrote: On 21/11/14 19:38, Arnd Bergmann wrote: On Friday 21 November 2014 19:19:13 Karol Wrona wrote: Sensorhub is MCU dedicated to collect data and manage several sensors. Sensorhub is a spi device which provides a layer for IIO devices. It provides

Re: [CFT PATCH 0/2] KVM: support XSAVES usage in the host

2014-11-24 Thread Paolo Bonzini
On 23/11/2014 09:16, Nadav Amit wrote: > I’ll try to check it tomorrow (I don’t have access to the failing machine at > the moment). Thanks, you'll need to squash this in: diff --git a/arch/x86/kernel/xsave.c b/arch/x86/kernel/xsave.c index 4c540c4719d8..0de1fae2bdf0 100644 ---

Re: [PATCH 5/6] ib_srpt: fix error return code

2014-11-24 Thread Bart Van Assche
On 11/22/14 15:39, Julia Lawall wrote: Return a negative error code on failure. Reviewed-by: Bart Van Assche -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: [PATCH v4 1/2] of: Rename "poweroff-source" property to "system-power-controller"

2014-11-24 Thread Johan Hovold
On Mon, Nov 24, 2014 at 10:24:56AM +, Lee Jones wrote: > On Fri, 21 Nov 2014, Johan Hovold wrote: > > On Thu, Nov 13, 2014 at 01:34:58PM +, Auto Configured wrote: > > > From: Romain Perier > > > > > > It reverts commit a4b4e0461ec5 ("of: Add standard property for poweroff > > >

[PATCH] af_packet: fix sparse warning

2014-11-24 Thread Michael S. Tsirkin
af_packet produces lots of these: net/packet/af_packet.c:384:39: warning: incorrect type in return expression (different modifiers) net/packet/af_packet.c:384:39:expected struct page [pure] * net/packet/af_packet.c:384:39:got struct page * this seems to be because

Re: [PATCH V2 RESEND] arm: dts: Exynos5: Use pmu_system_controller phandle for dp phy

2014-11-24 Thread Vivek Gautam
On Mon, Nov 24, 2014 at 4:26 PM, Thierry Reding wrote: > On Mon, Nov 24, 2014 at 04:17:18PM +0530, Vivek Gautam wrote: >> Hi, >> >> >> On Mon, Nov 24, 2014 at 4:02 PM, Thierry Reding >> wrote: >> > On Mon, Nov 24, 2014 at 11:11:23AM +0530, Vivek Gautam wrote: >> >> DP PHY now require

[PATCHv2 1/1] vfs: renumber FMODE_NONOTIFY and add to uniqueness check

2014-11-24 Thread David Drysdale
Fix clashing values for O_PATH and FMODE_NONOTIFY on sparc. The clashing O_PATH value was added in 5229645bdc35f1cc43eb ("vfs: add nonconflicting values for O_PATH") but this can't be changed as it is user-visible. FMODE_NONOTIFY is only used internally in the kernel, but it is in the same

[PATCHv2 0/1] vfs: renumber FMODE_NONOTIFY and add to uniqueness check

2014-11-24 Thread David Drysdale
Changes since v1: - reword commit to indicate origin of clash [Heinrich Schuchardt] - remove comment fix [Heinrich Schuchardt] - acked-by [David S. Miller] Against v3.18-rc5. Tested by running fatrace on x86_64, and by cross-compiling against sparc, arm, arm64, m68k, mips, powerpc, alpha,

Re: [PATCH] [media] omap24xx/tcm825x: remove pointless Makefile entry

2014-11-24 Thread Paul Bolle
On Mon, 2014-11-24 at 12:08 +0100, Hans Verkuil wrote: > I found the same thing and it is already part of my pull request > to Mauro. Either way, this trivial issue will be solved. Thanks, Paul Bolle -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a

Re: [PATCHv3 2/3] kernel: add support for live patching

2014-11-24 Thread Thomas Gleixner
On Thu, 20 Nov 2014, Seth Jennings wrote: > This commit introduces code for the live patching core. It implements > an ftrace-based mechanism and kernel interface for doing live patching > of kernel and kernel module functions. > > It represents the greatest common functionality set between

Re: [PATCH v2] mfd: syscon: add child device support

2014-11-24 Thread Philipp Zabel
Hi, On Mon, 2014-11-03 at 10:16 +0100, Philipp Zabel wrote: > For devices which have a complete register for themselves, it is possible to > place them next to the syscon device with overlapping reg ranges. The same is > not possible for devices which only occupy bitfields in registers shared

Re: [RFC 0/4] vgic additions for forwarded irq

2014-11-24 Thread Eric Auger
On 11/24/2014 11:54 AM, Marc Zyngier wrote: > On 24/11/14 10:50, Christoffer Dall wrote: >> On Sun, Nov 23, 2014 at 07:12:49PM +0100, Eric Auger wrote: >>> This series applies on top of "ARM: Forwarding physical >>> interrupts to a guest VM" (http://lwn.net/Articles/603514/) >>> series. >> >> Marc

Re: [PATCH v4 1/3] KVM: arm/arm64: unset CONFIG_HAVE_KVM_IRQCHIP

2014-11-24 Thread Will Deacon
On Sun, Nov 23, 2014 at 05:56:58PM +, Eric Auger wrote: > CONFIG_HAVE_KVM_IRQCHIP is needed to support IRQ routing (along > with irq_comm.c and irqchip.c usage). This is not the case for > arm/arm64 currently. > > This patch unsets the flag for both arm and arm64. > > Signed-off-by: Eric

Re: [PATCH] [media] omap24xx/tcm825x: remove pointless Makefile entry

2014-11-24 Thread Hans Verkuil
the tree. > > Triggered by commit db85a0403be4 ("[media] omap24xx/tcm825x: remove > deprecated omap2 camera drivers."), which is included in next-20141124. > What happened is that it removed only one of the two Makefile entries > for omap24xx. > > drivers/sta

Re: [PATCH v5 02/18] ACPI / table: Add new function to get table entries

2014-11-24 Thread Hanjun Guo
On 2014-11-24 9:27, Rafael J. Wysocki wrote: > On Friday, October 17, 2014 09:36:58 PM Hanjun Guo wrote: >> From: Ashwin Chaugule >> >> The acpi_table_parse() function has a callback that >> passes a pointer to a table_header. Add a new function >> which takes this pointer and parses its entries.

Re: [PATCH v4 2/3] KVM: arm: add irqfd support

2014-11-24 Thread Eric Auger
On 11/24/2014 11:00 AM, Christoffer Dall wrote: > On Sun, Nov 23, 2014 at 06:56:59PM +0100, Eric Auger wrote: >> This patch enables irqfd on arm. >> >> Both irqfd and resamplefd are supported. Injection is implemented >> in vgic.c without routing. >> >> This patch enables CONFIG_HAVE_KVM_EVENTFD

Re: [PATCH] xen-netback: do not report success if backend_create_xenvif() fails

2014-11-24 Thread Wei Liu
On Mon, Nov 24, 2014 at 01:58:00PM +0300, Alexey Khoroshilov wrote: > If xenvif_alloc() or xenbus_scanf() fail in backend_create_xenvif(), > xenbus is left in offline mode but netback_probe() reports success. > > The patch implements propagation of error code for backend_create_xenvif(). > >

Re: [PATCH v2] thermal:core:fix: Check return code of the ->get_max_state() callback

2014-11-24 Thread Viresh Kumar
On 24 November 2014 at 16:08, Lukasz Majewski wrote: > As I look into the cpufreq-dt.c driver - in the cpufreq_init() > function, the call to of_cpufreq_cooling_register() is performed just > before cpufreq_table_validate_and_show(). > It looks like a mistake in the cpufreq-dt.c code. Yes. Just

[PATCHv3 1/3] ARM: exynos: Add Exynos-based boards compatible string and description

2014-11-24 Thread Chanwoo Choi
This patch adds the missing compatible/description of Exynos-based boards to remove following build warning. WARNING: DT compatible string "samsung,..." appears un-documented -- check ./Documentation/devicetree/bindings/ Signed-off-by: Chanwoo Choi ---

[PATCHv3 0/3] ARM: dts: add the support of Exynos3250-based Monk board

2014-11-24 Thread Chanwoo Choi
This patchset adds the support of Exynos3250-based Monk board and Exynos-based boards compatible string and description to remove build warning. Also, this patchset includes a patch which remove unused dt node for command line in Exynos3250-based Rinato dts file. Changes from v2: - Include new

[PATCH] xen-netback: do not report success if backend_create_xenvif() fails

2014-11-24 Thread Alexey Khoroshilov
If xenvif_alloc() or xenbus_scanf() fail in backend_create_xenvif(), xenbus is left in offline mode but netback_probe() reports success. The patch implements propagation of error code for backend_create_xenvif(). Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by:

Re: [PATCH 1/2] net/am2150: fix nmclan_cs.c shared interrupt handling

2014-11-24 Thread Arnd Bergmann
On Friday 21 November 2014 15:17:35 David Miller wrote: > From: Arnd Bergmann > Date: Thu, 20 Nov 2014 16:11:14 +0100 > > > A recent patch tried to work around a valid warning for the use of a > > deprecated interface by blindly changing from the old > > pcmcia_request_exclusive_irq() interface

[PATCHv3 2/3] ARM: dts: add board dts file for Exynos3250-based Monk board

2014-11-24 Thread Chanwoo Choi
From: Youngjun Cho This patch adds new board dts file to support Samsung Monk board which is based on Exynos3250 SoC and has different H/W configuration from Rinato. This patch is based on linux-samsung.git for-next branch and depends on [PATCHv2 0/2] ARM: dts: Add new board dts file for

[PATCHv3 3/3] ARM: dts: Remove unused command line from Exynos3250-based Rinato board

2014-11-24 Thread Chanwoo Choi
This patch removes unused dt node of command line from Exynos3250-based Rinato board because kernel use the command line from bootloader. Signed-off-by: Chanwoo Choi --- arch/arm/boot/dts/exynos3250-rinato.dts | 4 1 file changed, 4 deletions(-) diff --git

Re: [PATCH V2 RESEND] arm: dts: Exynos5: Use pmu_system_controller phandle for dp phy

2014-11-24 Thread Thierry Reding
On Mon, Nov 24, 2014 at 04:17:18PM +0530, Vivek Gautam wrote: > Hi, > > > On Mon, Nov 24, 2014 at 4:02 PM, Thierry Reding > wrote: > > On Mon, Nov 24, 2014 at 11:11:23AM +0530, Vivek Gautam wrote: > >> DP PHY now require pmu-system-controller to handle PMU register > >> to control PHY's power

Re: [RFC] dealing with proc_ns_follow_link() and "namespace" dentries

2014-11-24 Thread Al Viro
On Sat, Nov 01, 2014 at 06:30:37PM +, Al Viro wrote: > On Sat, Nov 01, 2014 at 03:06:20PM +, Al Viro wrote: > > On Sat, Nov 01, 2014 at 08:38:04AM +, Al Viro wrote: > > > OK, interim branch (_completely_ untested, and there's quite a bit of > > > work remaining) is in vfs.git#nsfs. > >

Re: [RFC 0/4] vgic additions for forwarded irq

2014-11-24 Thread Marc Zyngier
On 24/11/14 10:50, Christoffer Dall wrote: > On Sun, Nov 23, 2014 at 07:12:49PM +0100, Eric Auger wrote: >> This series applies on top of "ARM: Forwarding physical >> interrupts to a guest VM" (http://lwn.net/Articles/603514/) >> series. > > Marc and Eric, > > Does it make sense to review and

[PATCH] [media] omap24xx/tcm825x: remove pointless Makefile entry

2014-11-24 Thread Paul Bolle
. Triggered by commit db85a0403be4 ("[media] omap24xx/tcm825x: remove deprecated omap2 camera drivers."), which is included in next-20141124. What happened is that it removed only one of the two Makefile entries for omap24xx. drivers/staging/media/Makefile | 1 - 1 file changed, 1 deletio

Re: linux-next: manual merge of the tip tree with the pci tree

2014-11-24 Thread Thomas Gleixner
On Mon, 24 Nov 2014, Stephen Rothwell wrote: > Today's linux-next merge of the tip tree got a conflict in > drivers/pci/host/pcie-rcar.c between commit 3c70637f7569 ("PCI: rcar: > Make rcar_pci static") from the pci tree and commit 7c35c8cc32f3 ("PCI: > rcar: Save MSI controller in pci_sys_data")

Re: [PATCH v4 1/2] ARM: keystone: pm: switch to use generic pm domains

2014-11-24 Thread Arnd Bergmann
On Friday 21 November 2014 20:58:01 Grygorii Strashko wrote: > Hi Kevin, > On 11/21/2014 10:06 AM, Geert Uytterhoeven wrote: > > On Fri, Nov 21, 2014 at 2:30 AM, Kevin Hilman wrote: > >> Geert Uytterhoeven writes: > >> > >> So now I'm confused about why the PM domain has to do anything special >

Re: [RFC 0/4] vgic additions for forwarded irq

2014-11-24 Thread Christoffer Dall
On Sun, Nov 23, 2014 at 07:12:49PM +0100, Eric Auger wrote: > This series applies on top of "ARM: Forwarding physical > interrupts to a guest VM" (http://lwn.net/Articles/603514/) > series. Marc and Eric, Does it make sense to review and look at these patches given the current state of the

Re: [PATCHv2 4/5] rtc: s5m: Add the support for S2MPS13 RTC

2014-11-24 Thread Chanwoo Choi
Dear Alessandro, Could you please review these patchset? Other patches of these patchset ended up getting Ack message from each Maintainer. Best Regards, Chanwoo Choi On 11/18/2014 05:59 PM, Chanwoo Choi wrote: > This patch adds only the compatible string for S2MPS13 RTC which is identical >

<    4   5   6   7   8   9   10   11   12   13   >