From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 55185C2BA17 for ; Mon, 6 Apr 2020 18:59:48 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 1B50C206F5 for ; Mon, 6 Apr 2020 18:59:48 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1B50C206F5 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linux.ibm.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 48x0G96WHCzDr6B for ; Tue, 7 Apr 2020 04:59:45 +1000 (AEST) Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=linux.ibm.com (client-ip=148.163.156.1; helo=mx0a-001b2d01.pphosted.com; envelope-from=leonardo@linux.ibm.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=linux.ibm.com Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 48x01P5XvYzDqSr for ; Tue, 7 Apr 2020 04:48:41 +1000 (AEST) Received: from pps.filterd (m0098404.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 036IYQGw137647; Mon, 6 Apr 2020 14:47:36 -0400 Received: from ppma03dal.us.ibm.com (b.bd.3ea9.ip4.static.sl-reverse.com [169.62.189.11]) by mx0a-001b2d01.pphosted.com with ESMTP id 3082k26cce-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 06 Apr 2020 14:47:36 -0400 Received: from pps.filterd (ppma03dal.us.ibm.com [127.0.0.1]) by ppma03dal.us.ibm.com (8.16.0.27/8.16.0.27) with SMTP id 036IiZlZ015752; Mon, 6 Apr 2020 18:47:35 GMT Received: from b01cxnp22035.gho.pok.ibm.com (b01cxnp22035.gho.pok.ibm.com [9.57.198.25]) by ppma03dal.us.ibm.com with ESMTP id 306hv6er63-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 06 Apr 2020 18:47:35 +0000 Received: from b01ledav006.gho.pok.ibm.com (b01ledav006.gho.pok.ibm.com [9.57.199.111]) by b01cxnp22035.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 036IlY0h45744596 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 6 Apr 2020 18:47:35 GMT Received: from b01ledav006.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id E0A56AC062; Mon, 6 Apr 2020 18:47:34 +0000 (GMT) Received: from b01ledav006.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id AE465AC05B; Mon, 6 Apr 2020 18:47:31 +0000 (GMT) Received: from LeoBras (unknown [9.85.165.246]) by b01ledav006.gho.pok.ibm.com (Postfix) with ESMTP; Mon, 6 Apr 2020 18:47:31 +0000 (GMT) Message-ID: Subject: Re: [PATCH v3 1/1] ppc/crash: Reset spinlocks during crash From: Leonardo Bras To: Michael Ellerman , Benjamin Herrenschmidt , Paul Mackerras , Enrico Weigelt , Alexios Zavras , Thomas Gleixner , Greg Kroah-Hartman , Christophe Leroy , peterz@infradead.org In-Reply-To: <871rp6t9di.fsf@mpe.ellerman.id.au> References: <20200401000020.590447-1-leonardo@linux.ibm.com> <871rp6t9di.fsf@mpe.ellerman.id.au> Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-H9cEVCgKCXK7x0ewIdQK" MIME-Version: 1.0 Date: Mon, 06 Apr 2020 15:46:58 -0300 User-Agent: Evolution 3.34.4 (3.34.4-1.fc31) X-TM-AS-GCONF: 00 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.138, 18.0.676 definitions=2020-04-06_08:2020-04-06, 2020-04-06 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 suspectscore=0 adultscore=0 priorityscore=1501 impostorscore=0 malwarescore=0 clxscore=1015 mlxscore=0 phishscore=0 mlxlogscore=999 spamscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2003020000 definitions=main-2004060143 X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" --=-H9cEVCgKCXK7x0ewIdQK Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, 2020-04-02 at 22:28 +1100, Michael Ellerman wrote: > Leonardo Bras =20 > TBH I think we could just drop that printk() entirely. >=20 > Or we could tell printk() that we're in NMI context so that it uses the > percpu buffers. >=20 > We should probably do the latter anyway, in case there's any other code > we call that inadvertently calls printk(). Done: http://patchwork.ozlabs.org/patch/1266956/ About the rtas-call, I think it will take more time, because I have to study it properly. Thank you, --=-H9cEVCgKCXK7x0ewIdQK Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEMdeUgIzgjf6YmUyOlQYWtz9SttQFAl6LeRIACgkQlQYWtz9S ttTtkxAAgcj1HnOp231sVwNiekotD/Q6j7wrz05YDPEiOksAZZ8y3mR0aS+WKrtK k4ZYbe/wPU9+6vDOYDzN/ydcFIs8oWoKAbZh+2g/VXb0gEbC6HT4ZNP7+093cLCw tW0Ab2HxjYKfOLqWa8RxUb9Yg6NgDXsZPhJpjwT2jWzo4Er3GEzatF4l2w87Yz77 4YagpTt7+xzYnPuymmw6cNFXYrCuXeLEVVEjevxFpg+nLlrbyuq/rWjttGNlRCxZ NEb6P84r0KqNvT0kQKWVJkkyLSZLtB2QPJOQsQUxa57rRFCfneEFIa//jyRyJwyp p2kKOHXy+0evRAVa0UDqpR0WOBDg9nfk8MGsusb4GcCMXb0lArhzPS7MVmFpVof+ IbO9NOXxFzXKMgtw48/8LIKy/dV5Jg1Z1Amfr+uOGXMRdQ7+jdXjErozqmLwwaV7 v6td5S8b/UcmC08jwDFiXVq3svxie7yzYACWwQ396Ndl3+gGwo2cAqX4agtW7F4B NQWKsIJGHzPXt8daEZn592hIsnt4SDHUF3WQWoAhh4qLh4bDlzKsAJ1fV3oRZvFX Q1sNGcKOw0bOyTmL0UOICYcBsmGDLazSv4JuizgS4y1IZ7eaI41AJGYpJx9sXnOG NN1OpQaEnhocgxPVWm5sSKHjGk6eGnOSECbizCRLfTcq801bOoA= =6kFn -----END PGP SIGNATURE----- --=-H9cEVCgKCXK7x0ewIdQK--