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 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E532CC433FE for ; Fri, 14 Oct 2022 15:41:19 +0000 (UTC) Received: from localhost ([::1]:47822 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ojMoI-000581-R4 for qemu-devel@archiver.kernel.org; Fri, 14 Oct 2022 11:41:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33128) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ojMPs-0007eD-Fy; Fri, 14 Oct 2022 11:16:08 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:38298) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ojMPp-00081u-Qi; Fri, 14 Oct 2022 11:16:03 -0400 Received: from pps.filterd (m0098410.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 29EF9cIv031174; Fri, 14 Oct 2022 15:15:52 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=from : to : cc : subject : in-reply-to : references : date : message-id : mime-version : content-type; s=pp1; bh=FsEPlq237tdab1nllQG5qkx+7OoC8QlBsCWh+OOa7uM=; b=R0FK8iSVPGKn58aO4i7mJQaC/4SMV1zTt9LeHw75w6VXFV0Gifd3yDcK/Yr6RAqSZ4Qi +G5a79IK7dcngQM1pZuxUK+wehh6CYwZPVzokjOlo+zCsqxG0+YgHHyy3ExOWbWrTlcK D5bgZ1K7PHn8rhEWgY3sKDjm4AWBTuCecuv44FUz5e4RJGoT/HiA7HJ6o+w+EJYZw2/M rh8zerqLV2S4E8352dHATlVBxw+9ETmJw/a6CbVQsZLV1djzSUfVLjZIfRsJX/FgIhKh 0/oGIrD43eo8AniDmgb5zuGhMggLpvEJl92gZw437RF41GqsRopj8XdEcODfkOhhu4oX nA== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3k78vk3nk7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 14 Oct 2022 15:15:51 +0000 Received: from m0098410.ppops.net (m0098410.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 29EDh4ps002382; Fri, 14 Oct 2022 15:15:51 GMT Received: from ppma02wdc.us.ibm.com (aa.5b.37a9.ip4.static.sl-reverse.com [169.55.91.170]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3k78vk3nj2-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 14 Oct 2022 15:15:50 +0000 Received: from pps.filterd (ppma02wdc.us.ibm.com [127.0.0.1]) by ppma02wdc.us.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 29EF5STN008257; Fri, 14 Oct 2022 15:15:49 GMT Received: from b01cxnp22036.gho.pok.ibm.com (b01cxnp22036.gho.pok.ibm.com [9.57.198.26]) by ppma02wdc.us.ibm.com with ESMTP id 3k30uaptr8-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 14 Oct 2022 15:15:49 +0000 Received: from smtpav05.wdc07v.mail.ibm.com ([9.208.128.117]) by b01cxnp22036.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 29EFFm4d7602492 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 14 Oct 2022 15:15:49 GMT Received: from smtpav05.wdc07v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id AFD3A58053; Fri, 14 Oct 2022 15:15:47 +0000 (GMT) Received: from smtpav05.wdc07v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 0FC3158061; Fri, 14 Oct 2022 15:15:47 +0000 (GMT) Received: from localhost (unknown [9.77.138.198]) by smtpav05.wdc07v.mail.ibm.com (Postfix) with ESMTPS; Fri, 14 Oct 2022 15:15:46 +0000 (GMT) From: Fabiano Rosas To: Matheus Ferst , qemu-devel@nongnu.org, qemu-ppc@nongnu.org Cc: clg@kaod.org, danielhb413@gmail.com, david@gibson.dropbear.id.au, groug@kaod.org, fbarrat@linux.ibm.com, alex.bennee@linaro.org, Matheus Ferst Subject: Re: [PATCH v3 24/29] target/ppc: move power-saving interrupt masking out of cpu_has_work_POWER7 In-Reply-To: <20221011204829.1641124-25-matheus.ferst@eldorado.org.br> References: <20221011204829.1641124-1-matheus.ferst@eldorado.org.br> <20221011204829.1641124-25-matheus.ferst@eldorado.org.br> Date: Fri, 14 Oct 2022 12:15:44 -0300 Message-ID: <87tu46307z.fsf@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: P5sk4JqrzNnQ4hFTn7YD8vyqCP_To0i5 X-Proofpoint-GUID: Eyjxi2H1n1wpxUJop8ai28TAvSZ2QhaL X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2022-10-14_08,2022-10-14_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 lowpriorityscore=0 bulkscore=0 malwarescore=0 suspectscore=0 phishscore=0 adultscore=0 clxscore=1015 impostorscore=0 mlxscore=0 mlxlogscore=630 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2209130000 definitions=main-2210140083 Received-SPF: pass client-ip=148.163.156.1; envelope-from=farosas@linux.ibm.com; helo=mx0a-001b2d01.pphosted.com X-Spam_score_int: -19 X-Spam_score: -2.0 X-Spam_bar: -- X-Spam_report: (-2.0 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" Matheus Ferst writes: > Move the interrupt masking logic out of cpu_has_work_POWER7 in a new > method, p7_interrupt_powersave, that only returns an interrupt if it can > wake the processor from power-saving mode. > > Signed-off-by: Matheus Ferst Reviewed-by: Fabiano Rosas