From nobody Sat Nov 30 01:36:22 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass(p=quarantine dis=none) header.from=suse.com ARC-Seal: i=1; a=rsa-sha256; t=1618227478; cv=none; d=zohomail.com; s=zohoarc; b=UVPw8PptKx4MZiwo4Y2DlKrnXdIN6oIT0z4qs4BJJGcfFVQRs7olmX8Psw4iL3EQ87bkg2pp8hNjuNdmMsEJqh68JV0yq80BONtGMxkX3Y6bmMBOFHodmkE5PQSBGDIy/LjwAS68qs+GR2fEMx+v8c8dZB71OwGNCbParyFDwII= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1618227478; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=IX6RRP5b/qgSJINcUgTWUholGX3YmFpWNVds1OMgT9c=; b=m4JUYweOOo5aLoop8SkUM7CfRlXRO5kTBb7E4ybWcwoW3LEeUqJxhxtD1zP3+zITCaq2nPkPQ2lfj+TsPEi+kd9PdpuLSNdcAbrLbhaM+vLbRe1U4QQtD6vqXz9rmO5fqZkZXFE2qMCJgpiU4Y1B6PRfnJdemg75H/UjY63BEd4= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass header.from= (p=quarantine dis=none) header.from= Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1618227478725601.7023831161315; Mon, 12 Apr 2021 04:37:58 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.109017.208077 (Exim 4.92) (envelope-from ) id 1lVusn-0005Uo-I6; Mon, 12 Apr 2021 11:37:33 +0000 Received: by outflank-mailman (output) from mailman id 109017.208077; Mon, 12 Apr 2021 11:37:33 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1lVusn-0005Uh-FH; Mon, 12 Apr 2021 11:37:33 +0000 Received: by outflank-mailman (input) for mailman id 109017; Mon, 12 Apr 2021 11:37:32 +0000 Received: from all-amaz-eas1.inumbo.com ([34.197.232.57] helo=us1-amaz-eas2.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1lVusm-0005Uc-Ng for xen-devel@lists.xenproject.org; Mon, 12 Apr 2021 11:37:32 +0000 Received: from mx2.suse.de (unknown [195.135.220.15]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS id 0e42b1e4-8b5a-45c0-8f56-7b21072b6ecd; Mon, 12 Apr 2021 11:37:32 +0000 (UTC) Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 72995AF2F; Mon, 12 Apr 2021 11:37:31 +0000 (UTC) X-Outflank-Mailman: Message body and most headers restored to incoming version X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 0e42b1e4-8b5a-45c0-8f56-7b21072b6ecd X-Virus-Scanned: by amavisd-new at test-mx.suse.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1618227451; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=IX6RRP5b/qgSJINcUgTWUholGX3YmFpWNVds1OMgT9c=; b=mEVmucfydTbhc75Bg5XqwJqQ1SFwEy1DY3Bm5/dveJBxszxo/vJXf+cCJIkHupvzDr9eRc jPF+/geBzXJ93VIatT+aH66Wsg2sWWWqNKkXPGVCoStJzyNcoGZsJEkOc4HYkyiRvkYWwX khl+r/j2cALOmIcvpcwkrudcO3L6j/0= To: "xen-devel@lists.xenproject.org" Cc: Andrew Cooper , Wei Liu , =?UTF-8?Q?Roger_Pau_Monn=c3=a9?= From: Jan Beulich Subject: [PATCH] x86/HVM: move is_s3_suspended field Message-ID: Date: Mon, 12 Apr 2021 13:37:32 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.9.0 MIME-Version: 1.0 Content-Language: en-US Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @suse.com) Content-Type: text/plain; charset="utf-8" Put it next to another boolean, so they will "share" the subsequent padding hole. Signed-off-by: Jan Beulich Acked-by: Andrew Cooper --- a/xen/include/asm-x86/hvm/domain.h +++ b/xen/include/asm-x86/hvm/domain.h @@ -113,15 +113,15 @@ struct hvm_domain { * mtrr/pat between vcpus is not the same, set is_in_uc_mode */ spinlock_t uc_lock; - bool_t is_in_uc_mode; + bool is_in_uc_mode; + + bool is_s3_suspended; =20 /* hypervisor intercepted msix table */ struct list_head msixtbl_list; =20 struct viridian_domain *viridian; =20 - bool_t is_s3_suspended; - /* * TSC value that VCPUs use to calculate their tsc_offset value. * Used during initialization and save/restore.