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 560D318E35A for ; Mon, 30 Sep 2024 10:56:03 +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=1727693765; cv=none; b=GykA5sHxn0pvoo1xXrQzeJQ1MGxEld/1ioTQxt3A9mBExROinrVXshmk4tYtPUfhvmUjFVvKLHdMrl7PEkQCAR1ljKBQ7qS7RjlB0YRwSJ+tPDQuVUAs0YKkPY4JwZ7a4GxQLQlTvswPV3mRGS22d/oSM2p8qQlC/TFgaDPn33A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727693765; c=relaxed/simple; bh=dR9suNrRJ44duM3r1Q6StJC59Z452p8Rii9pMStewp4=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=KQwGWLsyQm/anDkCI8Z/CP8dPRlWA8O3LRd+qETHpxulGeqVGBEuOIqxkgdMpb5DyIWe29EMJabZeLtLnbs4ZgdU7bB5bRfmfKdDLsfI1P/pzsqdQ7Iymi5vyXky+814owDgGEYkfxn3yWnuQPA9ifow4OYLTEX99ewfUYEMLEA= 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=fvxEIoIH; 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="fvxEIoIH" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1727693762; 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=EtxN+3cHW/MCbFS+sS78zrnOjkifHZNOHgOrxlJNQsM=; b=fvxEIoIHCYQPuUzTJ3xW4oPj2pKw95q5PPuPE27fm4V1x+7bBJoyA2MQ+f0p3TpRHLDvvK 5SzzTw9OHwooedsglAcz9XK+HHKvsIUI+j4Eo+M4172HvWsg6TUpvS87pYVxExiZdghcyR 0J2TLUiF1kdLG+vUjXNNRu7NCf2x3wc= Received: from mail-ej1-f69.google.com (mail-ej1-f69.google.com [209.85.218.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-323-yjfbo6g2P0qJK9G4Ey_3sg-1; Mon, 30 Sep 2024 06:56:01 -0400 X-MC-Unique: yjfbo6g2P0qJK9G4Ey_3sg-1 Received: by mail-ej1-f69.google.com with SMTP id a640c23a62f3a-a8a8308cceaso529521866b.0 for ; Mon, 30 Sep 2024 03:56:00 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727693760; x=1728298560; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=EtxN+3cHW/MCbFS+sS78zrnOjkifHZNOHgOrxlJNQsM=; b=cPptVHQz2RigbHJVyN6RTCWoX2jbj3b5KeycZkpfpv/UFvSBqHeiasXiXBVDK1UIcB DHpAVGrt1E6gmwWZZDbcerAetvBcm+yO0EQwekHOavxOpM8xqTBw3U/BoNt5XrFlmU7l KI6CDGgHIDUAztkAtmiBf7Nt8cciqK+rOGXxub+jiS2UFZJjb1blbcVP3OmlU83EteW8 ObXun8fijZBruozdzJqg5iUYtI/2Zu/KycCagEQfaHHllRk/bcNVNbR1VZ6O9tX4S/Gv iJTRNlDXkajCTBco58dR69LRrgdcqafSNxDZn12pKVn1mBdBh1CH8f9TVDI6kA5qF3Hp LMxw== X-Forwarded-Encrypted: i=1; AJvYcCWNuQrXzNH4YH98Njlb1HomZBENYXFZc1KcVSIs6gAn1I9RIsYBurqdJMRfe4oDLgHsM+GmR8KC0t23@vger.kernel.org X-Gm-Message-State: AOJu0YxPIqYqlH2ugeTEJhCOB60K3xFG4KyyBHIEaPpH0Bod345VcuAl f7c8b3aLnYdPHFzZcewOwfqDuXVi2wijRtqsJHzXJUjAPBhZf23x2wLdivyXmDIgVBwddTYc9sv 6Mr7DWYaL7awGbcHBWB+npR1vLic6iTvT8X8PL3c7BR4EzupPK8sHecPWTf2uTPTvNx+jEQ== X-Received: by 2002:a17:907:3e1c:b0:a6f:996f:23ea with SMTP id a640c23a62f3a-a93c30f0cccmr1238477366b.15.1727693759579; Mon, 30 Sep 2024 03:55:59 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFi/hs7OEbEIGmJT/V/6dxdvcEhceTNVfUUTlc3IUi2sJzt/o81jkPPQLkXkiAKRM160Y83RA== X-Received: by 2002:a17:907:3e1c:b0:a6f:996f:23ea with SMTP id a640c23a62f3a-a93c30f0cccmr1238475466b.15.1727693759184; Mon, 30 Sep 2024 03:55:59 -0700 (PDT) Received: from [10.40.98.157] ([78.108.130.194]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a93c2998d5dsm514130166b.199.2024.09.30.03.55.58 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 30 Sep 2024 03:55:58 -0700 (PDT) Message-ID: Date: Mon, 30 Sep 2024 12:55:58 +0200 Precedence: bulk X-Mailing-List: linux-acpi@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 2/4] ACPI: resource: Loosen the Asus E1404GAB DMI match to also cover the E1404GA To: Paul Menzel Cc: "Rafael J . Wysocki" , Ben Mayo , Tamim Khan , linux-acpi@vger.kernel.org, regressions@lists.linux.dev, stable@vger.kernel.org References: <20240927141606.66826-1-hdegoede@redhat.com> <20240927141606.66826-2-hdegoede@redhat.com> <2f45a6ac-5bb7-4954-adb5-3bf706363062@molgen.mpg.de> Content-Language: en-US From: Hans de Goede In-Reply-To: <2f45a6ac-5bb7-4954-adb5-3bf706363062@molgen.mpg.de> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Hi, On 30-Sep-24 12:42 PM, Paul Menzel wrote: > Dear Hans, > > > Thank you for your patch. > > Am 27.09.24 um 16:16 schrieb Hans de Goede: >> Like other Asus Vivobooks, the Asus Vivobook Go E1404GA has a DSDT >> describing IRQ 1 as ActiveLow, while the kernel overrides to Edge_High. >> >>      $ sudo dmesg | grep DMI:.*BIOS >>      [    0.000000] DMI: ASUSTeK COMPUTER INC. Vivobook Go E1404GA_E1404GA/E1404GA, BIOS E1404GA.302 08/23/2023 >>      $ sudo cp /sys/firmware/acpi/tables/DSDT dsdt.dat >>      $ iasl -d dsdt.dat >>      $ grep -A 30 PS2K dsdt.dsl | grep IRQ -A 1 >>                  IRQ (Level, ActiveLow, Exclusive, ) >>                      {1} >> >> There already is an entry in the irq1_level_low_skip_override[] DMI match >> table for the "E1404GAB", change this to match on "E1404GA" to cover >> the E1404GA model as well (DMI_MATCH() does a substring match). > > Ah, good to know. Thank you for fixing it. > >> Reported-by: Paul Menzel >> Closes: https://bugzilla.kernel.org/show_bug.cgi?id=219224 >> Cc: Tamim Khan >> Cc: stable@vger.kernel.org >> Signed-off-by: Hans de Goede >> --- >> Note this patch replaces Paul Menzel's patch which added a new entry >> for the "E1404GA", instead of loosening the "E1404GAB" match: >> https://lore.kernel.org/linux-acpi/20240911081612.3931-1-pmenzel@molgen.mpg.de/ >> --- >>   drivers/acpi/resource.c | 4 ++-- >>   1 file changed, 2 insertions(+), 2 deletions(-) >> >> diff --git a/drivers/acpi/resource.c b/drivers/acpi/resource.c >> index 1ff251fd1901..dfe108e2ccde 100644 >> --- a/drivers/acpi/resource.c >> +++ b/drivers/acpi/resource.c >> @@ -504,10 +504,10 @@ static const struct dmi_system_id irq1_level_low_skip_override[] = { >>           }, >>       }, >>       { >> -        /* Asus Vivobook Go E1404GAB */ >> +        /* Asus Vivobook Go E1404GA* */ > > I guess people are going to grep for the model, if something does not work, so maybe the known ones should listed. I know it’s not optimal, as the comments are very likely be incomplete, but it’s better than than not having it listed, in my opinion. That is a valid point, OTOH I don't think we want to take patches later just to update the comment if more models show up. I guess we could change the comment to: /* Asus Vivobook Go E1404GA / E1404GAB */ Rafael any preference from you here ? (1) Regards, Hans 1) Other then coming up with a better fix which does not require this quirks at all ... > >>           .matches = { >>               DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."), >> -            DMI_MATCH(DMI_BOARD_NAME, "E1404GAB"), >> +            DMI_MATCH(DMI_BOARD_NAME, "E1404GA"), >>           }, >>       }, >>       { > > > Kind regards, > > Paul >