Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp567820ybh; Sat, 7 Mar 2020 05:07:54 -0800 (PST) X-Google-Smtp-Source: ADFU+vv9xEITKHRE3aFR20rbNCgHstTsU5qkiwGbOVo8/Cb8x9MBCNSX05MPdNv1K3IeSXIOpEDJ X-Received: by 2002:a9d:6752:: with SMTP id w18mr1244513otm.123.1583586474124; Sat, 07 Mar 2020 05:07:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583586474; cv=none; d=google.com; s=arc-20160816; b=pxLM0+qQHAlPVdBY0fiHllS0sSyuFXV0LykLJmiM3hMCXyArRY63A03OcO0iUR7fJW pQC9ZTcPkUuM7Smk7SGUil92sE5n9yXJ1gDHJ2JN+zG2NjkaZDok0iY1M4ydMIytj+WG VWw4dLjpERHxdSXr5Jc5JfcYJ4g+1kGN1YanQHsdkXE7VXbdayBbsVAM7JFD9Jy9PLL6 7yfBw5T8Hl0AFhL5DxjGLvgMRhqJTRuG+P8eu2zwDRWyBd796lczNP2cwJor3aXnx+xj v8Gk4W7DbGZ4la+Lyue5fN/dDuzOrOE9rVoWSZX0tiPSAAasEDGiA14jvcIHD/JL/ULI BRxQ== 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=/sJnMxksszHJp1WUHK/fd7aUc3JyTDePAWd0OZIiAzQ=; b=MYcrSBmoY38TuPIUkugq0m9zph6guX+qISR2nIKdDAVOu6DzKTLSKdXC8XqaTPZkTG /AEbbfuiGlFgIiTb87JNcKGH/03+NdBZZSQRd0xrelIE1fpJ1bMWvTb1fGX2r+zWf6xi VflyfBfppGapJeUWYvTjkZB5G9MqQhWQpFmXdCCNeJKRZJuB6knb50rBhUAC6uQVeNqp IGJE971fJCYFadNUFnF9C3cZrnL7qnbRFy12sZj9rB3XZJNVELJ//Epqc6vu8K1Q0rmE HLm63nFwlZ9LX08FrzlyFqGmCDgfQdEHVXQGqUZHTzqZyr8PJeeHcjyrtV3PZLqULtr4 kiMw== 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 w202si1164129oia.157.2020.03.07.05.07.40; Sat, 07 Mar 2020 05:07:54 -0800 (PST) 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 S1726206AbgCGNGz (ORCPT + 99 others); Sat, 7 Mar 2020 08:06:55 -0500 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:47634 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726109AbgCGNGz (ORCPT ); Sat, 7 Mar 2020 08:06:55 -0500 Received: from pps.filterd (m0098394.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 027D3ubS033583 for ; Sat, 7 Mar 2020 08:06:54 -0500 Received: from e06smtp01.uk.ibm.com (e06smtp01.uk.ibm.com [195.75.94.97]) by mx0a-001b2d01.pphosted.com with ESMTP id 2ym90cv9kx-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Sat, 07 Mar 2020 08:06:54 -0500 Received: from localhost by e06smtp01.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Sat, 7 Mar 2020 13:06:51 -0000 Received: from b06cxnps3075.portsmouth.uk.ibm.com (9.149.109.195) 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) Sat, 7 Mar 2020 13:06:48 -0000 Received: from d06av23.portsmouth.uk.ibm.com (d06av23.portsmouth.uk.ibm.com [9.149.105.59]) by b06cxnps3075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 027D6lHT59572422 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sat, 7 Mar 2020 13:06:47 GMT Received: from d06av23.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 247FDA4057; Sat, 7 Mar 2020 13:06:47 +0000 (GMT) Received: from d06av23.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id B7219A404D; Sat, 7 Mar 2020 13:06:46 +0000 (GMT) Received: from localhost (unknown [9.145.71.16]) by d06av23.portsmouth.uk.ibm.com (Postfix) with ESMTPS; Sat, 7 Mar 2020 13:06:46 +0000 (GMT) Date: Sat, 7 Mar 2020 14:06:45 +0100 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.6-rc5 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline X-TM-AS-GCONF: 00 x-cbid: 20030713-4275-0000-0000-000003A93B1C X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 20030713-4276-0000-0000-000038BE4F31 Message-Id: X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.138,18.0.572 definitions=2020-03-07_03:2020-03-06,2020-03-07 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 phishscore=0 spamscore=0 mlxlogscore=999 lowpriorityscore=0 bulkscore=0 suspectscore=2 priorityscore=1501 mlxscore=0 malwarescore=0 adultscore=0 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2001150001 definitions=main-2003070098 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.6-rc5. Thank you, Vasily The following changes since commit 98d54f81e36ba3bf92172791eba5ca5bd813989b: Linux 5.6-rc4 (2020-03-01 16:38:46 -0600) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git tags/s390-5.6-5 for you to fetch changes up to df057c914a9c219ac8b8ed22caf7da2f80c1fe26: s390/pci: Fix unexpected write combine on resource (2020-03-04 11:18:03 +0100) ---------------------------------------------------------------- s390 updates for 5.6-rc5 - Fix panic in gup_fast on large pud by providing an implementation of pud_write. This has been overlooked during migration to common gup code. - Fix unexpected write combining on PCI stores. ---------------------------------------------------------------- Gerald Schaefer (1): s390/mm: fix panic in gup_fast on large pud Niklas Schnelle (1): s390/pci: Fix unexpected write combine on resource arch/s390/include/asm/pgtable.h | 6 ++++++ arch/s390/pci/pci.c | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/arch/s390/include/asm/pgtable.h b/arch/s390/include/asm/pgtable.h index 137a3920ca36..6d7c3b7e9281 100644 --- a/arch/s390/include/asm/pgtable.h +++ b/arch/s390/include/asm/pgtable.h @@ -752,6 +752,12 @@ static inline int pmd_write(pmd_t pmd) return (pmd_val(pmd) & _SEGMENT_ENTRY_WRITE) != 0; } +#define pud_write pud_write +static inline int pud_write(pud_t pud) +{ + return (pud_val(pud) & _REGION3_ENTRY_WRITE) != 0; +} + static inline int pmd_dirty(pmd_t pmd) { return (pmd_val(pmd) & _SEGMENT_ENTRY_DIRTY) != 0; diff --git a/arch/s390/pci/pci.c b/arch/s390/pci/pci.c index bc61ea18e88d..60716d18ce5a 100644 --- a/arch/s390/pci/pci.c +++ b/arch/s390/pci/pci.c @@ -424,7 +424,7 @@ static void zpci_map_resources(struct pci_dev *pdev) if (zpci_use_mio(zdev)) pdev->resource[i].start = - (resource_size_t __force) zdev->bars[i].mio_wb; + (resource_size_t __force) zdev->bars[i].mio_wt; else pdev->resource[i].start = (resource_size_t __force) pci_iomap_range_fh(pdev, i, 0, 0); @@ -531,7 +531,7 @@ static int zpci_setup_bus_resources(struct zpci_dev *zdev, flags |= IORESOURCE_MEM_64; if (zpci_use_mio(zdev)) - addr = (unsigned long) zdev->bars[i].mio_wb; + addr = (unsigned long) zdev->bars[i].mio_wt; else addr = ZPCI_ADDR(entry); size = 1UL << zdev->bars[i].size;