Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp919683rwi; Thu, 20 Oct 2022 06:48:17 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5c54xv4ELZGXUbyWBasTNN6LX3nbGRZ874pTgDp+xLs/aMz95nQ0H6pOit8NhjSHsK8UzB X-Received: by 2002:a17:906:7944:b0:73c:838:ac3d with SMTP id l4-20020a170906794400b0073c0838ac3dmr11123236ejo.242.1666273686739; Thu, 20 Oct 2022 06:48:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666273686; cv=none; d=google.com; s=arc-20160816; b=ZiXy21QTLHDT5BzR67Xc9KuIXKlno1k+WAvQpwWeGblTfZPBq3oxnxoJBQr+OTI07l rANMInhcStJWHRBl8BksWHhpQ+N1uHxizA0oCK22iHBRmyobRcvWNawQDntXBNpfYXsD LE/x+9mI3NogOt2I8KoSZG+jhlpqkrfCZX1YX6yQa3BMhq161kxx0OxWQoMgVoj/QyGP Q1v9y2r4eFVy7Wyjj8fvMjV33oxVsniiIOBw7XAYV9avLCLzMpLrbXGLK3YyuwFPtqDv YH1BefAmlFwo1OvR5/QwBRnwTLCZshfSHwiM5f7gh61EZgEwGO/za5dgavJHSM6atn4r NgVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:subject:from:references:cc:to :content-language:user-agent:mime-version:date:message-id :dkim-signature; bh=ARNcepPKyfTU7bO/bwBF1UWT9pTUYO6AT49ukGfCHD8=; b=ynK68C16mpT1B+XqqdPsk+9l67rv3kaRweNOXlbeIh//+GCjx5DYlh247rV+nBfqUv GoCl8sFRhc8krvpfp3KpIxwgxI+Zy2fmRCEp078R7j8GP1XntuwCqwAw2zLJ2ldR/WT0 8x9JBVw8J7kh3igfXEh5VOkEm6cXB+aIOx4SgQKsJokl/FW0GvmOaCVkpdhmgZISqSIj GwmZV6uwQvNLnHuOfzAQBk9w4aB2XPq6jwZ7f44AVlD0Qyp2DamizkThfF8aGO+hEJRe NtcSm3M0wQFUG+NXe4/BAvB/JjsojYb5ejBlAEWZYiqwKbGYF8J/YVVIXEBfMGOi+EIy EDvA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b="EpNZNQb/"; 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 hz5-20020a1709072ce500b007919d2f6517si7491277ejc.737.2022.10.20.06.47.40; Thu, 20 Oct 2022 06:48:06 -0700 (PDT) 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="EpNZNQb/"; 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 S230129AbiJTNfH (ORCPT + 99 others); Thu, 20 Oct 2022 09:35:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55468 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230083AbiJTNfE (ORCPT ); Thu, 20 Oct 2022 09:35:04 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B99409A9D6 for ; Thu, 20 Oct 2022 06:35:00 -0700 (PDT) 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 0522322526; Thu, 20 Oct 2022 13:34:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1666272899; 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=ARNcepPKyfTU7bO/bwBF1UWT9pTUYO6AT49ukGfCHD8=; b=EpNZNQb/hNP9jS9wPXdCxcmjPycruocr80DaPtf13D9IjVgUyiD+MLjPHi6c8Me/k7UguS dPx8dte5Rz3wl9NcQ8FTfvTkCkTqTbnAwqaqjDBG4bCbrqY6j3S1MGwn2aGvSm6SOmLxJT QDxnTXgC7Dcn431gBOCEyWPH2/fe2qU= 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 A4AE113494; Thu, 20 Oct 2022 13:34:58 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id RObBJoJOUWOQSAAAMHmgww (envelope-from ); Thu, 20 Oct 2022 13:34:58 +0000 Message-ID: <26bae6db-0e17-2b54-4046-0e85b26f6401@suse.com> Date: Thu, 20 Oct 2022 15:34:58 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.2 Content-Language: en-US To: Jan Beulich Cc: Boris Ostrovsky , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , "H. Peter Anvin" , xen-devel@lists.xenproject.org, Dan Carpenter , linux-kernel@vger.kernel.org, x86@kernel.org References: <20221020113759.17402-1-jgross@suse.com> <47668d94-6b55-2894-fa6d-82b1f17312bf@suse.com> From: Juergen Gross Subject: Re: [PATCH] x86/xen: silence smatch warning in pmu_msr_chk_emulated() In-Reply-To: <47668d94-6b55-2894-fa6d-82b1f17312bf@suse.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------57JFMDa70xHhdru0CQKVxZA5" 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,URIBL_BLOCKED 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) --------------57JFMDa70xHhdru0CQKVxZA5 Content-Type: multipart/mixed; boundary="------------6b698FiirMJSMgvVYTVWAQ27"; protected-headers="v1" From: Juergen Gross To: Jan Beulich Cc: Boris Ostrovsky , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , "H. Peter Anvin" , xen-devel@lists.xenproject.org, Dan Carpenter , linux-kernel@vger.kernel.org, x86@kernel.org Message-ID: <26bae6db-0e17-2b54-4046-0e85b26f6401@suse.com> Subject: Re: [PATCH] x86/xen: silence smatch warning in pmu_msr_chk_emulated() References: <20221020113759.17402-1-jgross@suse.com> <47668d94-6b55-2894-fa6d-82b1f17312bf@suse.com> In-Reply-To: <47668d94-6b55-2894-fa6d-82b1f17312bf@suse.com> --------------6b698FiirMJSMgvVYTVWAQ27 Content-Type: multipart/mixed; boundary="------------m0MNGMfGi7qcqgN8ZUMqrCaE" --------------m0MNGMfGi7qcqgN8ZUMqrCaE Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64 T24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yIHRvIGxpdmUgd2l0aCB0aGUgc21hc2gg d2FybmluZyB3aXRoIHRoZSBjaGFuY2UsIHRoYXQgYSBjb21waWxlciBtaWdodCBiZQ0Kd2Fy bmluZyBmb3IgdGhlIHNhbWUgcmVhc29uIGluIHRoZSBmdXR1cmUuDQoNCg0KSnVlcmdlbg0K --------------m0MNGMfGi7qcqgN8ZUMqrCaE 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+uty4bMxABEBAAHNHEp1ZXJnZW4gR3Jvc3Mg PGpnQHBmdXBmLm5ldD7CwHkEEwECACMFAlOMcBYCGwMHCwkIBwMCAQYVCAIJCgsE FgIDAQIeAQIXgAAKCRCw3p3WKL8TL0KdB/93FcIZ3GCNwFU0u3EjNbNjmXBKDY4F UGNQH2lvWAUy+dnyThpwdtF/jQ6j9RwE8VP0+NXcYpGJDWlNb9/JmYqLiX2Q3Tye vpB0CA3dbBQp0OW0fgCetToGIQrg0MbD1C/sEOv8Mr4NAfbauXjZlvTj30H2jO0u +6WGM6nHwbh2l5O8ZiHkH32iaSTfN7Eu5RnNVUJbvoPHZ8SlM4KWm8rG+lIkGurq qu5gu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EBRMedCot60g5dmbdrZ5DWClAr0yau47zpWj3enf1tLWaqc suylWsviuGjKGw7KHQd3bxALOknAp4dN3QwBYCKuZ7AddY9yjynVaD5X7nF9nO5B jR/i1DG86lem3iBDXzXsZDn8R38=3D =3D2wuH -----END PGP PUBLIC KEY BLOCK----- --------------m0MNGMfGi7qcqgN8ZUMqrCaE-- --------------6b698FiirMJSMgvVYTVWAQ27-- --------------57JFMDa70xHhdru0CQKVxZA5 Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wsB5BAABCAAjFiEEhRJncuj2BJSl0Jf3sN6d1ii/Ey8FAmNRToIFAwAAAAAACgkQsN6d1ii/Ey/y vAf/ZuR/GKdTUEzYncOawz7kdZHgCaF3QZuVpveV/KJ9fqhX0vIO0vGSgvQ3K45faVm3O4AJAO3j IZt1fNtxS7nda8pJBqkjj6YM05OjOunP3E9l0go6OOLaeF8bk+e8tNVIZBhtdOLh4gi3JbuRGSTg 8oqhNhduzxQp8MmEZm+evpfdDYxdngJJLktEkpV39kIsA9sFHU6+J6JkRuC0wZxO3nFQUfjC3StF W6r/4fMCpCHPWSdkesfwl1OYPfFvBUEYB/SkKqRuhllUuz0dQbdHQtRxtu/iH2X7MsEmdn2NcmhB A40khxvUP8oitAEJzKOOY+XDgaoM5pyjjZafUGlReA== =bEMw -----END PGP SIGNATURE----- --------------57JFMDa70xHhdru0CQKVxZA5--