Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp1866054ybi; Thu, 20 Jun 2019 05:18:02 -0700 (PDT) X-Google-Smtp-Source: APXvYqz13XfhGQ7kJ6OqSEUhbFq62btKtYjXkBs4v46iroxsMo/oc4bIXB9Mt7BzUX+71nkVZLRn X-Received: by 2002:a62:ab18:: with SMTP id p24mr9178822pff.113.1561033082262; Thu, 20 Jun 2019 05:18:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561033082; cv=none; d=google.com; s=arc-20160816; b=J5nUSywnI6MvQCToDuzHlimTzxisRvpfvrC2B4xjyA0hzwTkCBh+2imQtkszeAlJnb urrsjVZl7CmL8cdqgStLpl/hPnp1rZ9OMfQjYyqbS+arNS19RKVlKPaQhD+uN5Czk0lI KBpoxWPEmD+j1MO/SOQekvfLmdcVVa9cLmE5NDisVHHiorPCfMKMcOoe7YFZuh9Loym9 nHsh0LhpWSUt4glWXlLYebqVMw90G0jEBAl38xkcEqjuytUWvkElQtvOlPlOETQMaY1n l1XIooZY01BKd6qeWqzHtCauiePzOVFRamZUG2ntaox6K35h/KjREWmqlDpzyu//DGhO nrYg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:content-disposition :mime-version:subject:cc:to:from:date; bh=/ZmFHHDWb5uTevfiaJ6K8kGuU+a+SIu86XApgEns7cY=; b=E0eGS8AsM1S0LawrHRYISrKKqMqLCtushnnFptpB7lgk5rCuQAwZysSPT8HLTQPw/i J1g8ZgjZ5E/V8l4Y4svHKDvtXOMzEu7isl2UDTO7iIDLwMYfD4XcxOzvuZqe9EAa30bG 2BU6ff7ijagrhAZWdH915Krx6EjW7h/gPFIjNWv4Ky1/Des4ixnVOb5/ECh64uuOguJm +Ct1Q9O0bouy0qm3nu9pLSbDatGHgwfade8GA0bTMCpDFugLczmirBw8CJ4rXACNdSCz b5RyJIFRachkEUGLwcClP+7zcYqGPpaxIusV3oaF92bobaMK68hC+c7CHv3nZV6DG7Dq C2CQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b16si13608636pfd.126.2019.06.20.05.17.45; Thu, 20 Jun 2019 05:18:02 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731753AbfFTMRh (ORCPT + 99 others); Thu, 20 Jun 2019 08:17:37 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:38864 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730886AbfFTMRg (ORCPT ); Thu, 20 Jun 2019 08:17:36 -0400 Received: from pps.filterd (m0098399.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x5KCFWnZ122636 for ; Thu, 20 Jun 2019 08:17:35 -0400 Received: from e06smtp01.uk.ibm.com (e06smtp01.uk.ibm.com [195.75.94.97]) by mx0a-001b2d01.pphosted.com with ESMTP id 2t87q8x4x6-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 20 Jun 2019 08:17:35 -0400 Received: from localhost by e06smtp01.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 20 Jun 2019 13:17:33 +0100 Received: from b06cxnps4074.portsmouth.uk.ibm.com (9.149.109.196) by e06smtp01.uk.ibm.com (192.168.101.131) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Thu, 20 Jun 2019 13:17:31 +0100 Received: from d06av21.portsmouth.uk.ibm.com (d06av21.portsmouth.uk.ibm.com [9.149.105.232]) by b06cxnps4074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id x5KCHTdk48169198 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 20 Jun 2019 12:17:29 GMT Received: from d06av21.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 5EA3D5204E; Thu, 20 Jun 2019 12:17:29 +0000 (GMT) Received: from osiris (unknown [9.145.74.86]) by d06av21.portsmouth.uk.ibm.com (Postfix) with ESMTPS id 1BFE35204F; Thu, 20 Jun 2019 12:17:29 +0000 (GMT) Date: Thu, 20 Jun 2019 14:17:27 +0200 From: Heiko Carstens To: Linus Torvalds Cc: Vasily Gorbik , Christian Borntraeger , linux-kernel@vger.kernel.org, linux-s390@vger.kernel.org Subject: [GIT PULL] s390 updates for 5.2-rc6 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-TM-AS-GCONF: 00 x-cbid: 19062012-4275-0000-0000-000003441300 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 19062012-4276-0000-0000-00003854426D Message-Id: <20190620121727.GA4387@osiris> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-06-20_08:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=2 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=978 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1906200091 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello Linus, The following changes since commit d1fdb6d8f6a4109a4263176c84b899076a5f8008: Linux 5.2-rc4 (2019-06-08 20:24:46 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git tags/s390-5.2-5 for you to fetch changes up to 11aff183225c5cf48fae074cd99d8f18ba84ed34: vfio-ccw: Destroy kmem cache region on module exit (2019-06-13 15:52:28 +0200) ---------------------------------------------------------------- s390 updates for 5.2-rc6 - Disable address-of-packed-member warning in s390 specific boot code to get rid of a gcc9 warning which otherwise is already disabled for the whole kernel. - Fix yet another compiler error seen with CONFIG_OPTIMIZE_INLINING enabled. - Fix memory leak in vfio-ccw code on module exit. ---------------------------------------------------------------- Farhan Ali (1): vfio-ccw: Destroy kmem cache region on module exit Guenter Roeck (1): s390/ctl_reg: mark __ctl_set_bit and __ctl_clear_bit as __always_inline Heiko Carstens (1): s390/boot: disable address-of-packed-member warning arch/s390/Makefile | 1 + arch/s390/include/asm/ctl_reg.h | 4 ++-- drivers/s390/cio/vfio_ccw_drv.c | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/s390/Makefile b/arch/s390/Makefile index de8521f..e48013c 100644 --- a/arch/s390/Makefile +++ b/arch/s390/Makefile @@ -30,6 +30,7 @@ KBUILD_CFLAGS_DECOMPRESSOR += -DDISABLE_BRANCH_PROFILING -D__NO_FORTIFY KBUILD_CFLAGS_DECOMPRESSOR += -fno-delete-null-pointer-checks -msoft-float KBUILD_CFLAGS_DECOMPRESSOR += -fno-asynchronous-unwind-tables KBUILD_CFLAGS_DECOMPRESSOR += $(call cc-option,-ffreestanding) +KBUILD_CFLAGS_DECOMPRESSOR += $(call cc-disable-warning, address-of-packed-member) KBUILD_CFLAGS_DECOMPRESSOR += $(if $(CONFIG_DEBUG_INFO),-g) KBUILD_CFLAGS_DECOMPRESSOR += $(if $(CONFIG_DEBUG_INFO_DWARF4), $(call cc-option, -gdwarf-4,)) UTS_MACHINE := s390x diff --git a/arch/s390/include/asm/ctl_reg.h b/arch/s390/include/asm/ctl_reg.h index 4600453..3bda757 100644 --- a/arch/s390/include/asm/ctl_reg.h +++ b/arch/s390/include/asm/ctl_reg.h @@ -55,7 +55,7 @@ : "i" (low), "i" (high)); \ } while (0) -static inline void __ctl_set_bit(unsigned int cr, unsigned int bit) +static __always_inline void __ctl_set_bit(unsigned int cr, unsigned int bit) { unsigned long reg; @@ -64,7 +64,7 @@ static inline void __ctl_set_bit(unsigned int cr, unsigned int bit) __ctl_load(reg, cr, cr); } -static inline void __ctl_clear_bit(unsigned int cr, unsigned int bit) +static __always_inline void __ctl_clear_bit(unsigned int cr, unsigned int bit) { unsigned long reg; diff --git a/drivers/s390/cio/vfio_ccw_drv.c b/drivers/s390/cio/vfio_ccw_drv.c index ee8767f..9125f7f 100644 --- a/drivers/s390/cio/vfio_ccw_drv.c +++ b/drivers/s390/cio/vfio_ccw_drv.c @@ -299,6 +299,7 @@ static void __exit vfio_ccw_sch_exit(void) css_driver_unregister(&vfio_ccw_sch_driver); isc_unregister(VFIO_CCW_ISC); kmem_cache_destroy(vfio_ccw_io_region); + kmem_cache_destroy(vfio_ccw_cmd_region); destroy_workqueue(vfio_ccw_work_q); } module_init(vfio_ccw_sch_init);