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.6 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham 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 BCE16C43613 for ; Thu, 20 Jun 2019 10:18:19 +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 E024F20675 for ; Thu, 20 Jun 2019 10:18:18 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="o2+Jg7pv" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E024F20675 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.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 45TySm3Qc9zDrFj for ; Thu, 20 Jun 2019 20:18:16 +1000 (AEST) Authentication-Results: lists.ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=gmail.com (client-ip=2607:f8b0:4864:20::542; helo=mail-pg1-x542.google.com; envelope-from=npiggin@gmail.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="o2+Jg7pv"; dkim-atps=neutral Received: from mail-pg1-x542.google.com (mail-pg1-x542.google.com [IPv6:2607:f8b0:4864:20::542]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 45TyQK240XzDr9S for ; Thu, 20 Jun 2019 20:16:08 +1000 (AEST) Received: by mail-pg1-x542.google.com with SMTP id 145so1342087pgh.4 for ; Thu, 20 Jun 2019 03:16:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:subject:to:cc:references:in-reply-to:mime-version :user-agent:message-id:content-transfer-encoding; bh=r6MuAgpb0/2lJz7pVstqe3eWs0/BwcCgQyz1KMoDRzU=; b=o2+Jg7pvZhjcL+DDJKue0KURsf2/TOoCdCBBgrZJ16BHGrLN7F6dardFJAIuZMHsjH 3NWd4XyOTVBICM5+15b9AxNyx+PhbV0bv2O7nMl5NPm5eZh4ayT6AkZ5sjun7vMIsWKw N0cin0wsmIQgUmgzrondJzbBknZ65H1xH3G3bvH+25Qh9WwDNXtx9rBewwtLUH3uN9Of dssKR2CoTivLIBvH3/05Zic6SCU339rrilWE95FfyP9/lF8NoARa9+76hcd/Wp60mxXM wGSJYZdZucM/P7pzhhYjuYCMGfS9egtH/GWT7uUsRG1vR7COJlmOMMcSIV0RpF4kGO4h R+qw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:subject:to:cc:references:in-reply-to :mime-version:user-agent:message-id:content-transfer-encoding; bh=r6MuAgpb0/2lJz7pVstqe3eWs0/BwcCgQyz1KMoDRzU=; b=uZDkUuDTfQZgy6BHI8JSoChgSJWOmrFMTTSRCalwENS9hwBTNZadPVN+afTVAtNhvS D2WoUYQjhaKwBmb1VTZZVO8XM/Nnju56uo+NNXLUsxgMpuvnfh/z2iK9f+P/VmyrV+uE ytT874+Fy4zP4IVlrj1a2k9c6AYdsXTqNmq0SDGasgGmH0lSPD/xwoWRFQa/KSQtQetH phkxPVsM1Z67LMv+KgIqJ02tn0Wq/KQaga4U+O+ro6SXuQklLUJUYKiW5CVfAHT47xtk 5kfzUDHEW8NKlcce86LinrsGKHNOuObOJuda+FDsjGoDiFaR5/E6p827f612MFVZZAVl P4bw== X-Gm-Message-State: APjAAAW4zQfN3XxC1LoxX2zpKlMUaDKzLwmUN1uu0EruyZSdPSENmlKq p8mhxEw0BbNK2z+kLDAOcQjA6clh8/s= X-Google-Smtp-Source: APXvYqyFY3Vfy63I2tdPgxGfwA5K3Ut78PQP/xZI1LYN/3PfMdcpGoki3ehveLZpWNAcTmOEcT/kRA== X-Received: by 2002:a17:90a:b115:: with SMTP id z21mr2315020pjq.64.1561025766936; Thu, 20 Jun 2019 03:16:06 -0700 (PDT) Received: from localhost ([203.220.63.126]) by smtp.gmail.com with ESMTPSA id c133sm22498288pfb.111.2019.06.20.03.16.04 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Thu, 20 Jun 2019 03:16:06 -0700 (PDT) Date: Thu, 20 Jun 2019 20:16:09 +1000 From: Nicholas Piggin Subject: Re: [PATCH v2 43/52] powerpc/64s/exception: machine check early only runs in HV mode To: mahesh@linux.vnet.ibm.com References: <20190620051459.29573-1-npiggin@gmail.com> <20190620051459.29573-44-npiggin@gmail.com> <20190620095329.rvrwxgtjsgkc4k5t@in.ibm.com> In-Reply-To: <20190620095329.rvrwxgtjsgkc4k5t@in.ibm.com> MIME-Version: 1.0 User-Agent: astroid/0.14.0 (https://github.com/astroidmail/astroid) Message-Id: <1561025688.p6bobskuv9.astroid@bobo.none> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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 Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" Mahesh J Salgaonkar's on June 20, 2019 7:53 pm: > On 2019-06-20 15:14:50 Thu, Nicholas Piggin wrote: >> machine_check_common_early and machine_check_handle_early only run in >> HVMODE. Remove dead code. >=20 > That's not true. For pseries guest with FWNMI enabled hypervisor, > machine_check_common_early gets called in non-HV mode as well. >=20 > machine_check_fwnmi > machine_check_common_early > machine_check_handle_early > machine_check_early > pseries_machine_check_realmode Yep, yep I was confused by the earlier patch. So we're only doing the early machine check path for the FWNMI case? Thanks, Nick =