Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp1632577ybz; Sun, 26 Apr 2020 00:42:10 -0700 (PDT) X-Google-Smtp-Source: APiQypKH13tYLAy0raLg11bwGEbrZDOZFT4gkRJ4ltHI18VhKQ5BsnyFXAVzjK3qURYSrpKnuLmV X-Received: by 2002:a05:6402:14c8:: with SMTP id f8mr13915965edx.272.1587886930053; Sun, 26 Apr 2020 00:42:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587886930; cv=none; d=google.com; s=arc-20160816; b=WjVLNcwZPXFFxJJeXPFlZzWVLjSHSaJN/NkaQeScFAU5jLsarK8BRT62WGH8VyGcGC XyE9T8SkrRFJovsAAG4cXY2rsgB+ByQXvNPmBou+zjv46wxO6qlTAGJLWHtITR51Vp4+ 78Xec+QeM/NdKhD9ryXqUtYY4cHe5b82aKBYYquPTfZx0SPT0VMzyWFSnOLfQ/J0GoDW VqiIClFv8JMqq2WCQ5yy6yDnYtEvyEmedgQrchORfVTrJIM0pu41erIyx/sCcXFxmrXA qEtbTRg6ZBJ3NFiIHZYPaoHw8fvg76llDaPA35QpxosIbCOAd3LcfhvP3ospIzOzaB9o LX8w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-disposition:mime-version :message-id:subject:cc:to:from:date; bh=Zb+uV19YzuFvufDV3wXVJbKky9OXQD+aUA/pGzXy190=; b=oUXWqlCfZ9MOL5aI09yFzJul3f97BrxJ5GZEgct1ubGwHREkU4HiJBZrqNfSDQIwUL u+lsr3jiIbOQnhUF9qtCl9O/pVENUTwt7QgqbXFNFOCL8v7GxPgyX9qW0sJAae6vbgoy mfTqTC4yRt7punx+cn3KqGEMCJCXhYK8FvmQ3AIt9g5bp4vdktMKu6Wpu6wv6Gj9hwlC FVMpevDT4n9rigf9buU3pdpUKbCxsnLDrNxp9NXWUCGY73PrvE2D7GPeJ/cnG3FZwYbg cD8QrLD9iUuhv9zOSZEj5vpEmEy0GLPtutiFxb+YdvivKUTH9OitAqYcRsK3dgXmtHeA KrFA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id y5si6160061edr.90.2020.04.26.00.41.47; Sun, 26 Apr 2020 00:42:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1726344AbgDZHja (ORCPT + 99 others); Sun, 26 Apr 2020 03:39:30 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:64708 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726154AbgDZHj3 (ORCPT ); Sun, 26 Apr 2020 03:39:29 -0400 Received: from pps.filterd (m0098420.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 03Q7Vobx017138; Sun, 26 Apr 2020 03:39:28 -0400 Received: from ppma03ams.nl.ibm.com (62.31.33a9.ip4.static.sl-reverse.com [169.51.49.98]) by mx0b-001b2d01.pphosted.com with ESMTP id 30n562s4ur-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sun, 26 Apr 2020 03:39:27 -0400 Received: from pps.filterd (ppma03ams.nl.ibm.com [127.0.0.1]) by ppma03ams.nl.ibm.com (8.16.0.27/8.16.0.27) with SMTP id 03Q7Ze4e005122; Sun, 26 Apr 2020 07:39:26 GMT Received: from b06cxnps4074.portsmouth.uk.ibm.com (d06relay11.portsmouth.uk.ibm.com [9.149.109.196]) by ppma03ams.nl.ibm.com with ESMTP id 30mcu5hcxy-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sun, 26 Apr 2020 07:39:26 +0000 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 03Q7dNJ061604060 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sun, 26 Apr 2020 07:39:23 GMT Received: from d06av21.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 6080D5204F; Sun, 26 Apr 2020 07:39:23 +0000 (GMT) Received: from localhost (unknown [9.145.15.30]) by d06av21.portsmouth.uk.ibm.com (Postfix) with ESMTPS id 072A552050; Sun, 26 Apr 2020 07:39:22 +0000 (GMT) Date: Sun, 26 Apr 2020 09:39:21 +0200 From: Vasily Gorbik To: Linus Torvalds Cc: Heiko Carstens , Christian Borntraeger , linux-kernel@vger.kernel.org, linux-s390@vger.kernel.org Subject: [GIT PULL] s390 updates for 5.7-rc3 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline X-TM-AS-GCONF: 00 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.138,18.0.676 definitions=2020-04-25_14:2020-04-24,2020-04-25 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxlogscore=999 mlxscore=0 bulkscore=0 lowpriorityscore=0 suspectscore=2 clxscore=1015 malwarescore=0 phishscore=0 impostorscore=0 spamscore=0 priorityscore=1501 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2003020000 definitions=main-2004260064 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello Linus, please pull s390 changes for 5.7-rc3. Thank you, Vasily The following changes since commit ae83d0b416db002fe95601e7f97f64b59514d936: Linux 5.7-rc2 (2020-04-19 14:35:30 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git tags/s390-5.7-3 for you to fetch changes up to 673deb0beba5d39c2e0bc6536e00b03b6ef59cc0: s390/protvirt: fix compilation issue (2020-04-25 10:17:24 +0200) ---------------------------------------------------------------- s390 fixes for 5.7-rc3 - Add few notrace annotations to avoid potential crashes when switching ftrace tracers. - Avoid setting affinity for floating irqs in pci code. - Fix build issue found by kbuild test robot. ---------------------------------------------------------------- Claudio Imbrenda (1): s390/protvirt: fix compilation issue Niklas Schnelle (1): s390/pci: do not set affinity for floating irqs Philipp Rudo (1): s390/ftrace: fix potential crashes when switching tracers arch/s390/boot/uv.c | 2 -- arch/s390/kernel/diag.c | 2 +- arch/s390/kernel/smp.c | 4 ++-- arch/s390/kernel/trace.c | 2 +- arch/s390/kernel/uv.c | 3 ++- arch/s390/pci/pci_irq.c | 5 +++-- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/arch/s390/boot/uv.c b/arch/s390/boot/uv.c index 8fde561f1d07..f887a479cdc7 100644 --- a/arch/s390/boot/uv.c +++ b/arch/s390/boot/uv.c @@ -7,9 +7,7 @@ #ifdef CONFIG_PROTECTED_VIRTUALIZATION_GUEST int __bootdata_preserved(prot_virt_guest); #endif -#if IS_ENABLED(CONFIG_KVM) struct uv_info __bootdata_preserved(uv_info); -#endif void uv_query_info(void) { diff --git a/arch/s390/kernel/diag.c b/arch/s390/kernel/diag.c index 61f2b0412345..ccba63aaeb47 100644 --- a/arch/s390/kernel/diag.c +++ b/arch/s390/kernel/diag.c @@ -133,7 +133,7 @@ void diag_stat_inc(enum diag_stat_enum nr) } EXPORT_SYMBOL(diag_stat_inc); -void diag_stat_inc_norecursion(enum diag_stat_enum nr) +void notrace diag_stat_inc_norecursion(enum diag_stat_enum nr) { this_cpu_inc(diag_stat.counter[nr]); trace_s390_diagnose_norecursion(diag_map[nr].code); diff --git a/arch/s390/kernel/smp.c b/arch/s390/kernel/smp.c index 7eaabbab2213..10dbb12eb14d 100644 --- a/arch/s390/kernel/smp.c +++ b/arch/s390/kernel/smp.c @@ -403,7 +403,7 @@ int smp_find_processor_id(u16 address) return -1; } -bool arch_vcpu_is_preempted(int cpu) +bool notrace arch_vcpu_is_preempted(int cpu) { if (test_cpu_flag_of(CIF_ENABLED_WAIT, cpu)) return false; @@ -413,7 +413,7 @@ bool arch_vcpu_is_preempted(int cpu) } EXPORT_SYMBOL(arch_vcpu_is_preempted); -void smp_yield_cpu(int cpu) +void notrace smp_yield_cpu(int cpu) { if (!MACHINE_HAS_DIAG9C) return; diff --git a/arch/s390/kernel/trace.c b/arch/s390/kernel/trace.c index 490b52e85014..11a669f3cc93 100644 --- a/arch/s390/kernel/trace.c +++ b/arch/s390/kernel/trace.c @@ -14,7 +14,7 @@ EXPORT_TRACEPOINT_SYMBOL(s390_diagnose); static DEFINE_PER_CPU(unsigned int, diagnose_trace_depth); -void trace_s390_diagnose_norecursion(int diag_nr) +void notrace trace_s390_diagnose_norecursion(int diag_nr) { unsigned long flags; unsigned int *depth; diff --git a/arch/s390/kernel/uv.c b/arch/s390/kernel/uv.c index c86d654351d1..4c0677fc8904 100644 --- a/arch/s390/kernel/uv.c +++ b/arch/s390/kernel/uv.c @@ -23,10 +23,11 @@ int __bootdata_preserved(prot_virt_guest); #endif +struct uv_info __bootdata_preserved(uv_info); + #if IS_ENABLED(CONFIG_KVM) int prot_virt_host; EXPORT_SYMBOL(prot_virt_host); -struct uv_info __bootdata_preserved(uv_info); EXPORT_SYMBOL(uv_info); static int __init prot_virt_setup(char *val) diff --git a/arch/s390/pci/pci_irq.c b/arch/s390/pci/pci_irq.c index fbe97ab2e228..743f257cf2cb 100644 --- a/arch/s390/pci/pci_irq.c +++ b/arch/s390/pci/pci_irq.c @@ -115,7 +115,6 @@ static struct irq_chip zpci_irq_chip = { .name = "PCI-MSI", .irq_unmask = pci_msi_unmask_irq, .irq_mask = pci_msi_mask_irq, - .irq_set_affinity = zpci_set_irq_affinity, }; static void zpci_handle_cpu_local_irq(bool rescan) @@ -276,7 +275,9 @@ int arch_setup_msi_irqs(struct pci_dev *pdev, int nvec, int type) rc = -EIO; if (hwirq - bit >= msi_vecs) break; - irq = __irq_alloc_descs(-1, 0, 1, 0, THIS_MODULE, msi->affinity); + irq = __irq_alloc_descs(-1, 0, 1, 0, THIS_MODULE, + (irq_delivery == DIRECTED) ? + msi->affinity : NULL); if (irq < 0) return -ENOMEM; rc = irq_set_msi_desc(irq, msi);