From patchwork Wed Nov 8 20:33:01 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vasily Gorbik X-Patchwork-Id: 163169 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b129:0:b0:403:3b70:6f57 with SMTP id q9csp28458vqs; Wed, 8 Nov 2023 12:33:35 -0800 (PST) X-Google-Smtp-Source: AGHT+IFX1JPyuM0mHVWqGzgBcLDSwf5OVzZ1diyJzEClZpEtZTlY6LJ5TWiIfcvcZsq9QLjYJ5oA X-Received: by 2002:a17:90b:4ad2:b0:281:4fa7:7ab0 with SMTP id mh18-20020a17090b4ad200b002814fa77ab0mr2564350pjb.24.1699475615132; Wed, 08 Nov 2023 12:33:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1699475615; cv=none; d=google.com; s=arc-20160816; b=cfugy0l5XqVrZCE88YQc2Eb0TVu5SXn9vx0gN0a2RMJle2FCoao0yUNrNeRBKD8STQ dkzvpy4euHebtn/WV8+4x56m+hb5Npcr0oWqdiB0JOsXamE1KguvRet+X7xqXKWNSZKT EpCtEX4FrEMMAnfNJ8ylz82rIpFDPVXmElYIIzt4zpwYqklTH885GEGNaRZmqrKszxDH Ktw1iVtIyrAF9fgGQRYRzAYosx+zMGYKpVSZOYmr+eHM/kd6VMWqH3DhXTv+cNrltIFw 7YtRm4nsGgLMsMRyMJOydARUaGgvR0GkS3kK8VSsn0Je+ifX99nlUywgTYz8HKketfDR v+8w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-disposition:message-id :subject:cc:to:from:date:dkim-signature; bh=IYwZ9SivaHS+MljhzK6A4ysjL11f9Bp7kqoMlkC090E=; fh=HctlXVf76a1tVLb0/cR7cQHAW0y3x88J1KMnFU3fYqA=; b=GEWFRhZfsKeS0m5Zbk7GnOArXfy4FsZyrwJetS/XlODD/lQrZOirqmV2QaGNhvRJTv 5tvEjz+V+CurWSBNBIoC1n84qkq/wHnldHKHLrHUyrcxE6CcL/reN9PLQxUtPNWv0JY5 EzBZfZ6NbTvIZA599DTYIwzVS440DyZd9x/LdorIUP1xI900uZ/4I537K5NY3I2RFecK HFH3auZr43m0uDtmw+47IMpw0bDLQh3wZadHYf/mNIb8HgG02Dnyev8vp/PI+00QYf7r B6M+FcJ7rQfax1WpHUmZ0nQpJvW8bVw4bn3YLiUn6o5KgzMVf4EZru5yvbSnWgmP7qqo QvOw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=tLTKV7W7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=NONE dis=NONE) header.from=ibm.com Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id x8-20020a17090a8a8800b00274a5edad0csi2965555pjn.139.2023.11.08.12.33.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Nov 2023 12:33:35 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=tLTKV7W7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=NONE dis=NONE) header.from=ibm.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id A77E08270339; Wed, 8 Nov 2023 12:33:31 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231516AbjKHUdL (ORCPT + 32 others); Wed, 8 Nov 2023 15:33:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53262 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229473AbjKHUdK (ORCPT ); Wed, 8 Nov 2023 15:33:10 -0500 Received: from mx0b-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BBA3010D5; Wed, 8 Nov 2023 12:33:08 -0800 (PST) Received: from pps.filterd (m0353725.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3A8KGKvJ002263; Wed, 8 Nov 2023 20:33:07 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=date : from : to : cc : subject : message-id : content-type : mime-version; s=pp1; bh=IYwZ9SivaHS+MljhzK6A4ysjL11f9Bp7kqoMlkC090E=; b=tLTKV7W7rwMcJQTVVuRPWHHZJ6SBe6A1jJv7f5sc6tHSxeQoyUTxMfgN8OzR1K0JYlRb BJscQAtc+3NdNAUCv/CUID7LpRlSIpu4mGkLb3KmQ/oHfLa4bKPPDJcGsiHYVqTW8Q8j f5bIOQiV25YzK71kmP/0En5T1UzFmtx0qqpRSRG62tr5kk3BfDRR0bUiXgg+KHzhaihA YkV+Q8MG579US5Fi03stmzyW18JYLME4KhoX6TbMiQ5OVfVbTCxiFyM5EXRH5FZfH5OC AJJ5zjWzrUs4khbfkLpv+oLvJcpc8I+iVPe8Ek24kEMyXEwCIqtufWRuEXpACJONzrzg Gg== Received: from ppma23.wdc07v.mail.ibm.com (5d.69.3da9.ip4.static.sl-reverse.com [169.61.105.93]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3u8h7gghxf-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 08 Nov 2023 20:33:07 +0000 Received: from pps.filterd (ppma23.wdc07v.mail.ibm.com [127.0.0.1]) by ppma23.wdc07v.mail.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 3A8J3O43014506; Wed, 8 Nov 2023 20:33:06 GMT Received: from smtprelay01.fra02v.mail.ibm.com ([9.218.2.227]) by ppma23.wdc07v.mail.ibm.com (PPS) with ESMTPS id 3u7w21ydga-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 08 Nov 2023 20:33:06 +0000 Received: from smtpav07.fra02v.mail.ibm.com (smtpav07.fra02v.mail.ibm.com [10.20.54.106]) by smtprelay01.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 3A8KX3Xw3080852 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 8 Nov 2023 20:33:03 GMT Received: from smtpav07.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 2E6C120043; Wed, 8 Nov 2023 20:33:03 +0000 (GMT) Received: from smtpav07.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id C422A20040; Wed, 8 Nov 2023 20:33:02 +0000 (GMT) Received: from localhost (unknown [9.171.18.100]) by smtpav07.fra02v.mail.ibm.com (Postfix) with ESMTPS; Wed, 8 Nov 2023 20:33:02 +0000 (GMT) Date: Wed, 8 Nov 2023 21:33:01 +0100 From: Vasily Gorbik To: Linus Torvalds Cc: Heiko Carstens , Alexander Gordeev , linux-kernel@vger.kernel.org, linux-s390@vger.kernel.org Subject: [GIT PULL] more s390 updates for 6.7 merge window Message-ID: Content-Disposition: inline X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: D8ta2JOGByfSHIxTBZ3yfxUWgK95E0Yy X-Proofpoint-GUID: D8ta2JOGByfSHIxTBZ3yfxUWgK95E0Yy X-Proofpoint-UnRewURL: 0 URL was un-rewritten MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.987,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-11-08_09,2023-11-08_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 bulkscore=0 spamscore=0 priorityscore=1501 suspectscore=0 clxscore=1015 mlxscore=0 phishscore=0 adultscore=0 mlxlogscore=675 lowpriorityscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311060000 definitions=main-2311080168 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Wed, 08 Nov 2023 12:33:31 -0800 (PST) X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1782029342664688268 X-GMAIL-MSGID: 1782029342664688268 Hello Linus, please pull more s390 updates for 6.7 merge window. Thank you, Vasily The following changes since commit e392ea4d4d00880bf94550151b1ace4f88a4b17a: Merge tag 's390-6.7-1' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux (2023-11-03 10:17:22 -1000) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git tags/s390-6.7-2 for you to fetch changes up to 02e790ee3077c0571794d0ab8f71413edbe129cc: s390/mm: make pte_free_tlb() similar to pXd_free_tlb() (2023-11-05 22:34:58 +0100) ---------------------------------------------------------------- more s390 updates for 6.7 merge window - Get rid of s390 specific use of two PTEs per 4KB page with complex half-used pages tracking. Using full 4KB pages for 2KB PTEs increases the memory footprint of page tables but drastically simplify mm code, removing a common blocker for common code changes and adaptations - Simplify and rework "cmma no-dat" handling. This is a follow up for recent fixes which prevent potential incorrect guest TLB flushes - Add perf user stack unwinding as well as USER_STACKTRACE support for user space built with -mbackchain compile option - Add few missing conversion from tlb_remove_table to tlb_remove_ptdesc - Fix crypto cards vanishing in a secure execution environment due to asynchronous errors - Avoid reporting crypto cards or queues in check-stop state as online - Fix null-ptr deference in AP bus code triggered by early config change via SCLP - Couple of stability improvements in AP queue interrupt handling ---------------------------------------------------------------- Alexander Gordeev (4): s390/mm: add missing conversion to use ptdescs s390/mm: use full 4KB page for 2KB PTE s390/mm: use compound page order to distinguish page tables s390/mm: make pte_free_tlb() similar to pXd_free_tlb() Harald Freudenberger (4): s390/ap: rework to use irq info from ap queue status s390/ap: re-enable interrupt for AP queues s390/ap: fix AP bus crash on early config change callback invocation s390/ap: fix vanishing crypto cards in SE environment Heiko Carstens (7): s390/perf: implement perf_callchain_user() s390: add USER_STACKTRACE support s390/cmma: cleanup inline assemblies s390/cmma: move parsing of cmma kernel parameter to early boot code s390/cmma: move set_page_stable() and friends to header file s390/cmma: move arch_set_page_dat() to header file s390/cmma: rework no-dat handling Ingo Franzki (1): s390/zcrypt: don't report online if card or queue is in check-stop state arch/s390/Kconfig | 1 + arch/s390/boot/ipl_parm.c | 8 + arch/s390/boot/startup.c | 44 ++++++ arch/s390/boot/vmem.c | 17 ++ arch/s390/include/asm/mmu.h | 2 - arch/s390/include/asm/mmu_context.h | 1 - arch/s390/include/asm/page-states.h | 59 +++++++ arch/s390/include/asm/page.h | 1 - arch/s390/include/asm/pgalloc.h | 1 - arch/s390/include/asm/setup.h | 3 - arch/s390/include/asm/stacktrace.h | 7 + arch/s390/include/asm/tlb.h | 13 +- arch/s390/kernel/early.c | 1 + arch/s390/kernel/perf_event.c | 41 +++++ arch/s390/kernel/stacktrace.c | 43 ++++++ arch/s390/mm/gmap.c | 4 +- arch/s390/mm/init.c | 4 - arch/s390/mm/page-states.c | 213 +------------------------- arch/s390/mm/pgalloc.c | 298 ++++-------------------------------- arch/s390/mm/vmem.c | 4 +- drivers/s390/crypto/ap_bus.c | 47 +++--- drivers/s390/crypto/ap_bus.h | 1 - drivers/s390/crypto/ap_queue.c | 36 +++-- drivers/s390/crypto/zcrypt_card.c | 4 +- drivers/s390/crypto/zcrypt_queue.c | 5 +- 25 files changed, 320 insertions(+), 538 deletions(-)