Received: by 2002:a05:6500:1b41:b0:1fb:d597:ff75 with SMTP id cz1csp318474lqb; Tue, 4 Jun 2024 12:16:43 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVvXAOZ1a/76oY1fncMw9ayYvljv9y01L8y1BBvrL3BvY8oavzHSfZWP8kfirSgmVkKhwZKpPlE1J5MtVqAc2E6x07oKBTuplXFvzKz7g== X-Google-Smtp-Source: AGHT+IE+jgg+j4m1+JQYU0oXQ2Du3EfmMEZPxH5ogPJHfr8sOaWNWX0wZDP7VzyfOio5tMmmQ5cn X-Received: by 2002:a05:6e02:1a83:b0:373:8d65:5e6 with SMTP id e9e14a558f8ab-374b1ee28d4mr2207435ab.3.1717528603234; Tue, 04 Jun 2024 12:16:43 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717528603; cv=pass; d=google.com; s=arc-20160816; b=WjZP2ldi/lR+Y0cWlShrOOfZYp/xCZr0ahIZjvjyeXiCp6/YFueFPUxCiYlwqECGsc JS9mfDc2tYiRD97Ei0xFCc/9CDAegNbjNEwNWerSIvLX8NuEOvCntBpVyyTYMdd1R6uu oJ/aL4JPrMQzYBB2tP46tnEdULw8x1Yut+M3BrXa++NlW/cn0VSve/m+Oyd+JGp8UZEs hSawnk8Z7igledgGRGxqT0KLPbnl8WuGo4CYAyXxQSuzNkVALmYm7OjhZoxdfjgQKMIB BtnreiWSUPZtpHlrjX9jXxVogKes6OebxbQtmkfGC2FVjzbxGZDk6ByD1X3lUF9Av7B1 7k6g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=kBZjuDjeGfjdZptZZCrUbh8WS65dvQlWt6oSaNd1zeY=; fh=Cm/QTnw+H1iv4Tb30ND9P9vjr0HPA3zEDzBV2WeyCt4=; b=CltDCHlxo6chGn/LygIG1smu/i+3Oj7OTqNbzcOUpdRp/ef9vGycXS6/NhRrO8bVMe e4yGKOGQ39fgbOWNaHlRXAwnhACwOyq4ngebcG6xIGy7qPqjmpcH+iWXrwm69B7l/gvv B1Uh1yLmaNc819vaROlkg4OCK6ARyK8jE0PT7x8WRmIPji4+3ZiTFht3haSV+qkshCP2 9x86aBGpq0PEW0HbLZ0W/5s4n+KuGXR+Xop2vK+EOzT9nh2FPLq38ViB3s5XyvOFxDpb pQq3JDaRroMDhZwpA9ED385itK18ITTr58LKlhYG6uEiieEsI5rzPNKVaGUKe9Qi1Tqu AeuQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=fail header.i=@igalia.com header.s=20170329 header.b=Yp9kDAM+; arc=pass (i=1 spf=pass spfdomain=igalia.com dkim=pass dkdomain=igalia.com); spf=pass (google.com: domain of linux-kernel+bounces-201267-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-201267-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id 41be03b00d2f7-6c35c73c18asi8480549a12.761.2024.06.04.12.16.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Jun 2024 12:16:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-201267-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=fail header.i=@igalia.com header.s=20170329 header.b=Yp9kDAM+; arc=pass (i=1 spf=pass spfdomain=igalia.com dkim=pass dkdomain=igalia.com); spf=pass (google.com: domain of linux-kernel+bounces-201267-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-201267-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 7B522B21E90 for ; Tue, 4 Jun 2024 19:05:57 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id F3A4114AD20; Tue, 4 Jun 2024 19:05:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=igalia.com header.i=@igalia.com header.b="Yp9kDAM+" Received: from fanzine2.igalia.com (fanzine.igalia.com [178.60.130.6]) (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 F40871494CA; Tue, 4 Jun 2024 19:05:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=178.60.130.6 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717527946; cv=none; b=Ik1glt7KsIXTgldS5Ergz0Ofmd9PTJt/bX9wAND6UJhz6kGjLHdu71saObyOOXb7B2TZI7xRMUodSIFECg2zwvcyYBqUBNmgUu343jfKlxgSqFCrXDFJHaoFb/e5bWuCx7iJquBCiNSlKglVa4PeDUgmiFQkxR/1LUhvb0yuvv8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717527946; c=relaxed/simple; bh=7H1NlymcCUPLEYCBRoR+N/uLzpyO2oc7z52xOA7HhqM=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=JJji0lE/2imEkxQ2ONsh5uqcKz7iB/PPd1OU4g7acc1W3m1dIosTJZRFyTUz/lPqp72P9shCLJbp0MczHSBhJDR0vRSA8cg07JH+dev1yuImBkcVfLTfWYQVGkUGr/XlE5je7OHfLtNxf3E8Xcs7/GjQXY56gqJKUdWzAnuxpxQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=igalia.com; spf=pass smtp.mailfrom=igalia.com; dkim=pass (2048-bit key) header.d=igalia.com header.i=@igalia.com header.b=Yp9kDAM+; arc=none smtp.client-ip=178.60.130.6 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=igalia.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=igalia.com DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=igalia.com; s=20170329; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:From: References:Cc:To:Subject:MIME-Version:Date:Message-ID:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=kBZjuDjeGfjdZptZZCrUbh8WS65dvQlWt6oSaNd1zeY=; b=Yp9kDAM+7pM3XD6NqBRYW0czB6 tcLmBLZ2mKYtMDMEDiCqeWhEWSr39QEX+0GI+B63X7iLx1JTtz9KCQyaph9z5Ark45yINsqgVe3BX 2wBDS3a4F/bmKCTdSTkT+e4TvHFM/swX3YjyF3A+G9yO1LKmeJRi9N2LBQ3chQGwvuc3KIPtCCHun XqFxjLUo3RujBVegeuGcSliW9PQnjIG4OUH+VoeTIDQskFmx9CTJe6WcCGkO/VRwinZp6U7EGXD1x 8oI/8tUIhaIQWj679JqsEEhRMcRmA/WTXDBo6uIdJD2ET6qzsKNQAXUKlesJhkJ2pdsCmA3O7H8kU Ku9zqRAw==; Received: from [189.79.117.74] (helo=[192.168.1.60]) by fanzine2.igalia.com with esmtpsa (Cipher TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_128_GCM:128) (Exim) id 1sEZTK-00Gufo-LY; Tue, 04 Jun 2024 21:05:26 +0200 Message-ID: <28a9290e-b8af-93bb-26d3-3b12864ada4e@igalia.com> Date: Tue, 4 Jun 2024 16:05:18 -0300 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Subject: Re: [PATCH 7/8] efi: pstore: Follow convention for the efi-pstore backend name Content-Language: en-US To: Stephen Boyd Cc: kernel-dev@igalia.com, kernel@gpiccoli.net, linux-fsdevel@vger.kernel.org, keescook@chromium.org, anton@enomsg.org, ccross@android.com, tony.luck@intel.com, linux-efi@vger.kernel.org, Ard Biesheuvel , linux-kernel@vger.kernel.org References: <20221006224212.569555-1-gpiccoli@igalia.com> <20221006224212.569555-8-gpiccoli@igalia.com> From: "Guilherme G. Piccoli" In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 03/06/2024 20:02, Stephen Boyd wrote: > [...] > This patch broke ChromeOS' crash reporter when running on EFI[1], which > luckily isn't the typical mode of operation for Chromebooks. The problem > was that we had hardcoded something like dmesg-efi- into the > regex logic that finds EFI pstore records. I didn't write the original > code but I think the idea was to speed things up by parsing the > filenames themselves to collect the files related to a crash record > instead of opening and parsing the header from the files to figure out > which file corresponds to which record. > > I suspect the fix is pretty simple (make the driver name match either > one via a regex) but I just wanted to drop a note here that this made > some lives harder, not easier. Oh, many apologies for that Stephen - of course if I was aware of the hardcoding in the tool, I'd not mess it up or would fix the tooling first, before changing the kernel code. At least, as a bright side here you found the tool's limitation and there's the obvious improvement/fix for that =) Cheers, Guilherme