From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E79E717C7C for ; Sat, 7 Dec 2024 03:38:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733542728; cv=none; b=tov6hWf1WPikSMMenNh6xNKNhRHzSmzXxCoL6az530EfqY03mHF5AnhMGaMvv5mP4ac9W87ESyLkW5M4uBysCp1+7XFDROCDlr3arcw+jygv2IkHt2J/bwnRMPh1c/p1IzI+zsvkzXAv4NJEVIUFZ7pEcTP19TWsZbUVyQ1v+FI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733542728; c=relaxed/simple; bh=dZ5jVhw0FRrEkCyjfU/utgfXAZv13iP1+qgcvddW/rU=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=UP7rXsSRTb8GtgcWE9nsDSH/pvwqzNh6qPKJxO6bW8wd0RWgWbETdZE1XsxkDmMkjCWmfXsr5Qpdk6MFIG0goKWWRm6/VyKpPa16nQrJjHMaiqnIHX3RqwJE8s0FPICHnR61kYm0tWSjIaNA9EndNtmg4RzaEihcDemykra/oaU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=XSCyo5Ze; arc=none smtp.client-ip=170.10.129.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="XSCyo5Ze" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1733542725; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=RFp/fFnnxbfvLePj4dYZIgYWo9EKhOrPAamJCrcM1WQ=; b=XSCyo5ZeskF0Rp7r3AW2Oqne8uaAMoPTM7BClEOg8xVQvXjipzqDiKpKKy2/VLJhgRj3DY tj/UBYc3be3LEbA08Tq0bOZL0fp9J8hPxU/SE24CkuZpBsuBhoiPoqdcOFroPYEcsGehQd WIQo9sGeQyKDw4wCnxaIEUjytfwBgOg= Received: from mail-ed1-f71.google.com (mail-ed1-f71.google.com [209.85.208.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-687-BpnVHLD0OCK6fqh1IUtKtQ-1; Fri, 06 Dec 2024 22:38:44 -0500 X-MC-Unique: BpnVHLD0OCK6fqh1IUtKtQ-1 X-Mimecast-MFC-AGG-ID: BpnVHLD0OCK6fqh1IUtKtQ Received: by mail-ed1-f71.google.com with SMTP id 4fb4d7f45d1cf-5d34c8fbca7so2027394a12.0 for ; Fri, 06 Dec 2024 19:38:44 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733542723; x=1734147523; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=RFp/fFnnxbfvLePj4dYZIgYWo9EKhOrPAamJCrcM1WQ=; b=VxPYZm3iqIwUozxsT7kaTh3CPU2Bz6iYmboBH7jjx44jparimh9XvWDIEx1SbUtHhK 406NVTBjbI7Cw3XpqTNtLicsIeV7mnFhGU4uIpPFSB+i3W8OV8AFicWM/Nc8iEejJYHh eL3gOWufT2qIYXUoCb0Amh6oCPBhTwEYafyTindVNay05DgAQtHh+QZVfgPfAKP2X11S nlYgUxfbOP0r0IZDLRAyX2gIpdjgGlMP/pXwMDBBPyCiKA3z8WM1EJDTaVDVzP4B/MyW 5jS7MvNZsfdBwW5gz4e7DM7CqxQVEiBe7lH1Inrv37NmLsYvLsFXZQ8rI5MulAIq1Xoj B4kQ== X-Forwarded-Encrypted: i=1; AJvYcCWQKNeYjiqJbvwiBLmKuB3kwpWYbQKmjWeD+RmyFsFx+NzqqfCZJWDGb1fEL58N6lPC7arhhEIR+ZmkHEo=@vger.kernel.org X-Gm-Message-State: AOJu0Yyivjdrw1vwkueHyZw+WVwFtPUII1F/fP9llxd2YZ+LZ6RM9/vj WDwnHktJ+HwmjpIx9BotsvE/VNjZqwb1TBf+KniPGbNKczkv74/113CpoXVEQtRaHXuMSUabHQu S5RxL4H/J9dnQJ/vuFh5yP5TlOMe4dl4JHJMxxcw1euufeIc618zzaQOXCfvW2D6OZgni2ELdXQ i/l7myOemZrG7uvfMzdthziNNW4MEPhHhtE/i1 X-Gm-Gg: ASbGncsJCD6Gis3V7nBuJWOjEtU7s/btoQU16ecU95nz+GLGhVkfMOtedbyC5jYpu20 StMJekGpQ0wEhdaXwE1Hps1YicLfbc6A= X-Received: by 2002:a05:6402:254b:b0:5d0:e73c:b7f6 with SMTP id 4fb4d7f45d1cf-5d3be721b71mr5354691a12.31.1733542723372; Fri, 06 Dec 2024 19:38:43 -0800 (PST) X-Google-Smtp-Source: AGHT+IHtVbuEbxdGC7AbxegIn7KPLfh2Jki7IR9rZfsiL1LWLv415Cz4Y6lZHtQHRtVhxHQy8DAfeqJQUR1tmYKuJyk= X-Received: by 2002:a05:6402:254b:b0:5d0:e73c:b7f6 with SMTP id 4fb4d7f45d1cf-5d3be721b71mr5354684a12.31.1733542723058; Fri, 06 Dec 2024 19:38:43 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <6f427a02c2c20512d5da178b47c64d553851a60e.1733504943.git.mchehab+huawei@kernel.org> In-Reply-To: <6f427a02c2c20512d5da178b47c64d553851a60e.1733504943.git.mchehab+huawei@kernel.org> From: Ani Sinha Date: Sat, 7 Dec 2024 09:08:31 +0530 Message-ID: Subject: Re: [PATCH 27/31] DEBUG To: Mauro Carvalho Chehab Cc: "Michael S . Tsirkin" , Jonathan Cameron , Shiju Jose , Dongjiu Geng , Igor Mammedov , linux-kernel@vger.kernel.org, qemu-arm@nongnu.org, qemu-devel@nongnu.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fri, Dec 6, 2024 at 10:51=E2=80=AFPM Mauro Carvalho Chehab wrote: > > Signed-off-by: Mauro Carvalho Chehab > --- > hw/acpi/ghes.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/hw/acpi/ghes.c b/hw/acpi/ghes.c > index abca351b18de..1fe4c536611a 100644 > --- a/hw/acpi/ghes.c > +++ b/hw/acpi/ghes.c > @@ -534,9 +534,11 @@ void ghes_record_cper_errors(const void *cper, size_= t len, > ags =3D &acpi_ged_state->ghes_state; > > if (!ags->hest_lookup) { > + fprintf(stderr,"Using old GHES lookup\n"); I don't like this. If you must please have them under #ifdef DEBUG or somesuch. See ich9.c > get_hw_error_offsets(le64_to_cpu(ags->hw_error_le), > &cper_addr, &read_ack_register_addr); > } else { > + fprintf(stderr,"Using new HEST lookup\n"); > get_ghes_source_offsets(source_id, le64_to_cpu(ags->hest_addr_le= ), > &cper_addr, &read_ack_register_addr, err= p); > } > -- > 2.47.1 >