[PULL] vhost: cleanups and fixes
The following changes since commit 84df9525b0c27f3ebc2ebb1864fa62a97fdedb7d: Linux 4.19 (2018-10-22 07:37:37 +0100) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost.git tags/for_linus for you to fetch changes up to 79f800b2e76923cd8ce0aa659cb5c019d9643bc9: MAINTAINERS: remove reference to bogus vsock file (2018-10-24 21:16:14 -0400) virtio, vhost: fixes, tweaks virtio balloon page hinting support vhost scsi control queue misc fixes. Signed-off-by: Michael S. Tsirkin Bijan Mottahedeh (3): vhost/scsi: Respond to control queue operations vhost/scsi: Extract common handling code from control queue handler vhost/scsi: Use common handling code in request queue handler Greg Edwards (1): vhost/scsi: truncate T10 PI iov_iter to prot_bytes Lénaïc Huard (1): kvm_config: add CONFIG_VIRTIO_MENU Stefan Hajnoczi (1): MAINTAINERS: remove reference to bogus vsock file Wei Wang (3): virtio-balloon: VIRTIO_BALLOON_F_FREE_PAGE_HINT mm/page_poison: expose page_poisoning_enabled to kernel modules virtio-balloon: VIRTIO_BALLOON_F_PAGE_POISON MAINTAINERS | 1 - drivers/vhost/scsi.c| 426 drivers/virtio/virtio_balloon.c | 380 +--- include/uapi/linux/virtio_balloon.h | 8 + kernel/configs/kvm_guest.config | 1 + mm/page_poison.c| 6 + 6 files changed, 688 insertions(+), 134 deletions(-) ___ Virtualization mailing list Virtualization@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/virtualization
Re: PROPOSAL: Extend inline asm syntax with size spec
On Thu, Nov 01, 2018 at 02:20:40AM -0700, Joe Perches wrote: > On Thu, 2018-11-01 at 10:01 +0100, Peter Zijlstra wrote: > > On Wed, Oct 31, 2018 at 10:20:00PM -0700, Joe Perches wrote: > > > On Wed, 2018-10-31 at 13:55 +0100, Peter Zijlstra wrote: > > > > Anyway, with the below patch, I get: > > > > > > > >textdata bss dec hex filename > > > > 173851835064780 1953892 244038551745f8f > > > > defconfig-build/vmlinux > > > > 173856785064780 1953892 24404350174617e > > > > defconfig-build/vmlinux > > > > > > > > Which shows we inline more (look for asm_volatile for the actual > > > > changes). > > > [] > > > > scripts/checkpatch.pl | 8 ++--- > > > > scripts/genksyms/keywords.c| 4 +-- > > > > scripts/kernel-doc | 4 +-- > > > > > > I believe these should be excluded from the conversions. > > > > Probably, yes. It compiled, which was all I cared about :-) > > > > BTW, if we do that conversion, we should upgrade the checkpatch warn to > > an error I suppose. > > More like remove altogether as __inline and __inline__ > will no longer be #defined That's the point, therefore checkpatch should error when it sees them. Otherwise we'll grow new instances, because it will compile just file. ___ Virtualization mailing list Virtualization@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/virtualization
Re: PROPOSAL: Extend inline asm syntax with size spec
On Thu, 2018-11-01 at 10:01 +0100, Peter Zijlstra wrote: > On Wed, Oct 31, 2018 at 10:20:00PM -0700, Joe Perches wrote: > > On Wed, 2018-10-31 at 13:55 +0100, Peter Zijlstra wrote: > > > Anyway, with the below patch, I get: > > > > > >textdata bss dec hex filename > > > 173851835064780 1953892 244038551745f8f > > > defconfig-build/vmlinux > > > 173856785064780 1953892 24404350174617e > > > defconfig-build/vmlinux > > > > > > Which shows we inline more (look for asm_volatile for the actual > > > changes). > > [] > > > scripts/checkpatch.pl | 8 ++--- > > > scripts/genksyms/keywords.c| 4 +-- > > > scripts/kernel-doc | 4 +-- > > > > I believe these should be excluded from the conversions. > > Probably, yes. It compiled, which was all I cared about :-) > > BTW, if we do that conversion, we should upgrade the checkpatch warn to > an error I suppose. More like remove altogether as __inline and __inline__ will no longer be #defined $ git grep -P 'define\s+__inline' include/linux/compiler_types.h:#define __inline__ inline include/linux/compiler_types.h:#define __inline inline ___ Virtualization mailing list Virtualization@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/virtualization
Re: PROPOSAL: Extend inline asm syntax with size spec
On Wed, 2018-10-31 at 13:55 +0100, Peter Zijlstra wrote: > > Anyway, with the below patch, I get: > >textdata bss dec hex filename > 173851835064780 1953892 244038551745f8f > defconfig-build/vmlinux > 173856785064780 1953892 24404350174617e > defconfig-build/vmlinux > > Which shows we inline more (look for asm_volatile for the actual > changes). [] > scripts/checkpatch.pl | 8 ++--- > scripts/genksyms/keywords.c| 4 +-- > scripts/kernel-doc | 4 +-- I believe these should be excluded from the conversions. Other than that, generic conversion by script seems a good idea. ___ Virtualization mailing list Virtualization@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/virtualization
Re: PROPOSAL: Extend inline asm syntax with size spec
On Wed, Oct 31, 2018 at 10:20:00PM -0700, Joe Perches wrote: > On Wed, 2018-10-31 at 13:55 +0100, Peter Zijlstra wrote: > > > > Anyway, with the below patch, I get: > > > >textdata bss dec hex filename > > 173851835064780 1953892 244038551745f8f > > defconfig-build/vmlinux > > 173856785064780 1953892 24404350174617e > > defconfig-build/vmlinux > > > > Which shows we inline more (look for asm_volatile for the actual > > changes). > [] > > scripts/checkpatch.pl | 8 ++--- > > scripts/genksyms/keywords.c| 4 +-- > > scripts/kernel-doc | 4 +-- > > I believe these should be excluded from the conversions. Probably, yes. It compiled, which was all I cared about :-) BTW, if we do that conversion, we should upgrade the checkpatch warn to an error I suppose. ___ Virtualization mailing list Virtualization@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/virtualization