Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp7450436rwl; Tue, 10 Jan 2023 00:36:00 -0800 (PST) X-Google-Smtp-Source: AMrXdXv5IXtmtcE/x1WTgis4C/FaF1m9XyHtI1fN+jTUV6xCZzKrwZvmTry9wpSt/zDbBEa+Gb2k X-Received: by 2002:a05:6402:241d:b0:46b:19ab:68d8 with SMTP id t29-20020a056402241d00b0046b19ab68d8mr61936771eda.40.1673339759686; Tue, 10 Jan 2023 00:35:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673339759; cv=none; d=google.com; s=arc-20160816; b=vkMT40Cm77ZajRiX4+DUCgDyqunJEWPt+g2ujqc3D9eVWTvwLer2IYzwfTUQ8niD+Q b5er84WMzwz/rJsgceo8E9fIO4NFwd4xhKsCShI//LGh2oAodTlkG3obmln1rueODt1h 5Ec4ARkUlo8FW4rO0PLjBGsCBP+RPlQZl7nvXKYcoBvFOg9M9IF8URQxEzQiFuPPO4J2 trvte809Iqnovcc5J+1zJXI+NbcOpNmtr9gTuY4nORbHRnyRurU74dYVRChLGItoqhVH vRQhdzE+HTYR4LBKvruGsHdQOYvP9SLdKEL+KzxGYwdOBCtIlMF0tf6dZTrgfsW1D2c8 UI9g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :dkim-signature; bh=zFXGBYfEGk+Jg1p3t9ncmeM1OkJ5SOgglsWjtD+4D3E=; b=advDcXdlQwey8RoiphSTnPaxWBJA0YnrZedkVe2XdYMerpm45ZZC35oXBhYMb0y3EX Zi0syOSA2nbCRZ2Ie7p81YN31IIjIL/xrRbtmy/gGsmyTyGJW4RU6nDWE39Lm8fBXuo9 FjhjmRf6qwvDpgns0ng+dTQQb7FclaBrhxC3v8GFWT7TaZJLgdY7khFCMV3vmyQcwXeW kOcyfxw11oLMLBuP4KslL7+cYPtzGPS1P7QalfbXJ+SXmAl809mZ0oHmB/+pa02jg9Ob 0QThq7wqALg7dp7PbK8nLiFuJhLsiqHnNRf6pUEkdHwIhQE8CjIgeTq3KHnvj2xhEsRm 7m/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=MU0PDUFJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y10-20020a056402270a00b00469054c7246si14076582edd.506.2023.01.10.00.35.47; Tue, 10 Jan 2023 00:35:59 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=MU0PDUFJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237132AbjAJIHV (ORCPT + 53 others); Tue, 10 Jan 2023 03:07:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41058 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236183AbjAJIHD (ORCPT ); Tue, 10 Jan 2023 03:07:03 -0500 Received: from smtp-out1.suse.de (smtp-out1.suse.de [IPv6:2001:67c:2178:6::1c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 68F5843D9B for ; Tue, 10 Jan 2023 00:07:01 -0800 (PST) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id E669438644; Tue, 10 Jan 2023 08:06:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1673338019; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=zFXGBYfEGk+Jg1p3t9ncmeM1OkJ5SOgglsWjtD+4D3E=; b=MU0PDUFJ2NOK1/QtTmhG08jj+/hc3DiAuRHDHTX1+NVJc1guSrtQvC8BVMTDUdfLTtyHGF 6APJegbUQMpu/JSlQUeDOXjwRXvediBWLPQiIOxWIiWdsx/2uu14gNsCvHo9CWNCj9U567 FAJqat2f5hJEHt/USBs7CM7dZZ25UOc= Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 42E641358A; Tue, 10 Jan 2023 08:06:59 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id OCfgDqMcvWP8BQAAMHmgww (envelope-from ); Tue, 10 Jan 2023 08:06:59 +0000 Message-ID: <76596dba-efb7-eab1-bca9-60ab67823ade@suse.com> Date: Tue, 10 Jan 2023 09:06:58 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 Subject: Re: [PATCH v2] hvc/xen: lock console list traversal Content-Language: en-US To: Roger Pau Monne , linux-kernel@vger.kernel.org Cc: xen-devel@lists.xenproject.org, Greg Kroah-Hartman , Jiri Slaby , Boris Ostrovsky , Jan Beulich , Stefano Stabellini , Konrad Rzeszutek Wilk , linuxppc-dev@lists.ozlabs.org References: <20221130163611.14686-1-roger.pau@citrix.com> From: Juergen Gross In-Reply-To: <20221130163611.14686-1-roger.pau@citrix.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------6nQNq6G02bf1dW0c6lDPjjkY" X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------6nQNq6G02bf1dW0c6lDPjjkY Content-Type: multipart/mixed; boundary="------------Kb0uGwizoLvibEvRPqCzPKl8"; protected-headers="v1" From: Juergen Gross To: Roger Pau Monne , linux-kernel@vger.kernel.org Cc: xen-devel@lists.xenproject.org, Greg Kroah-Hartman , Jiri Slaby , Boris Ostrovsky , Jan Beulich , Stefano Stabellini , Konrad Rzeszutek Wilk , linuxppc-dev@lists.ozlabs.org Message-ID: <76596dba-efb7-eab1-bca9-60ab67823ade@suse.com> Subject: Re: [PATCH v2] hvc/xen: lock console list traversal References: <20221130163611.14686-1-roger.pau@citrix.com> In-Reply-To: <20221130163611.14686-1-roger.pau@citrix.com> --------------Kb0uGwizoLvibEvRPqCzPKl8 Content-Type: multipart/mixed; boundary="------------gP0Ef10fixcPW6kf2HHiGOoT" --------------gP0Ef10fixcPW6kf2HHiGOoT Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64 T24gMzAuMTEuMjIgMTc6MzYsIFJvZ2VyIFBhdSBNb25uZSB3cm90ZToNCj4gVGhlIGN1cnJl b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gV2hpbGUgdGhlcmUgc3dpdGNoIGZyb20gdXNpbmcg bGlzdF9mb3JfZWFjaF9lbnRyeV9zYWZlIHRvDQo+IGxpc3RfZm9yX2VhY2hfZW50cnk6IHRo ZSBjdXJyZW50IGVudHJ5IGN1cnNvciB3b24ndCBiZSByZW1vdmVkIGFzDQo+IHBhcnQgb2Yg dGhlIGNvZGUgaW4gdGhlIGxvb3AgYm9keSwgc28gdXNpbmcgdGhlIF9zYWZlIHZhcmlhbnQg aXMNCj4gcG9pbnRsZXNzLg0KPiANCj4gRml4ZXM6IDAyZTE5ZjljN2NhYyAoJ2h2Y194ZW46 IGltcGxlbWVudCBtdWx0aWNvbnNvbGUgc3VwcG9ydCcpDQo+IFNpZ25lZC1vZmYtYnk6IFJv Z2VyIFBhdSBNb25uw6kgPHJvZ2VyLnBhdUBjaXRyaXguY29tPg0KDQpQdXNoZWQgdG8geGVu L3RpcC5naXQgZm9yLWxpbnVzLTYuMg0KDQoNCkp1ZXJnZW4NCg0K --------------gP0Ef10fixcPW6kf2HHiGOoT Content-Type: application/pgp-keys; name="OpenPGP_0xB0DE9DD628BF132F.asc" Content-Disposition: attachment; filename="OpenPGP_0xB0DE9DD628BF132F.asc" Content-Description: OpenPGP public key Content-Transfer-Encoding: quoted-printable -----BEGIN PGP PUBLIC KEY BLOCK----- xsBNBFOMcBYBCACgGjqjoGvbEouQZw/ToiBg9W98AlM2QHV+iNHsEs7kxWhKMjri oyspZKOBycWxw3ie3j9uvg9EOB3aN4xiTv4qbnGiTr3oJhkB1gsb6ToJQZ8uxGq2 kaV2KL9650I1SJvedYm8Of8Zd621lSmoKOwlNClALZNew72NjJLEzTalU1OdT7/i 1TXkH09XSSI8mEQ/ouNcMvIJNwQpd369y9bfIhWUiVXEK7MlRgUG6MvIj6Y3Am/B BLUVbDa4+gmzDC9ezlZkTZG2t14zWPvxXP3FAp2pkW0xqG7/377qptDmrk42GlSK N4z76ELnLxussxc7I2hx18NUcbP8+uty4bMxABEBAAHNHE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6YBYMOljGkZKwYde5ldM9mo45mm we0icXKLkpEdIXKTZeKDO+Hdv1aqFuAcccTg9RXDQjmwhC3yEmrmcfl0+rPghO0I v3OOImwTEe4co3c1mwARAQABwsBfBBgBAgAJBQJTjHAWAhsMAAoJELDendYovxMv Q/gH/1ha96vm4P/L+bQpJwrZ/dneZcmEwTbe8YFsw2V/Buv6Z4Mysln3nQK5ZadD 534CF7TDVft7fC4tU4PONxF5D+/tvgkPfDAfF77zy2AH1vJzQ1fOU8lYFpZXTXIH b+559UqvIB8AdgR3SAJGHHt4RKA0F7f5ipYBBrC6cyXJyyoprT10EMvU8VGiwXvT yJz3fjoYsdFzpWPlJEBRMedCot60g5dmbdrZ5DWClAr0yau47zpWj3enf1tLWaqc suylWsviuGjKGw7KHQd3bxALOknAp4dN3QwBYCKuZ7AddY9yjynVaD5X7nF9nO5B jR/i1DG86lem3iBDXzXsZDn8R38=3D =3D2wuH -----END PGP PUBLIC KEY BLOCK----- --------------gP0Ef10fixcPW6kf2HHiGOoT-- --------------Kb0uGwizoLvibEvRPqCzPKl8-- --------------6nQNq6G02bf1dW0c6lDPjjkY Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wsB5BAABCAAjFiEEhRJncuj2BJSl0Jf3sN6d1ii/Ey8FAmO9HKIFAwAAAAAACgkQsN6d1ii/Ey+t twf/SCL+Qbrvyi0dgYX3s8xBkFvBU9UzEaa6MxDE1aev/pt1IndKUcFrciE11V00rdeqb+jb/PbR K5b1n843/V+EbAEFfAIV9K9LCH9YiDFqUJ49yKQEL58vieL2FVD4OvZTWuKTgeTwu1kPrD4O4m7V UVhWsedPcHGFHWvLs3e8oujnke1Jhj2lfD5DqGWdht1X/4te+j6Owzy3JO69M3FYVRZYzn+72qv/ NON65BQg2FuDujwdzvDP4Vvsqz684JxVc3qi9bI9JH7VJH1FbwApJ1mQKU5xmWx24MxfAPgNEajB uaJ48m4NrF4BTw4QmhmEQ4vlGS2Ilb4GalWyksQypA== =E2fh -----END PGP SIGNATURE----- --------------6nQNq6G02bf1dW0c6lDPjjkY--