Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp709511pxm; Fri, 25 Feb 2022 17:56:52 -0800 (PST) X-Google-Smtp-Source: ABdhPJyJEhYGOMekUm3CbsBzpv41CdLkRZTEGxNSzyN1PSMNi2W7rLw+gefdkSUy1e7ZOFXH5Xbr X-Received: by 2002:a17:902:e812:b0:14f:40ad:befa with SMTP id u18-20020a170902e81200b0014f40adbefamr9794204plg.172.1645840611940; Fri, 25 Feb 2022 17:56:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645840611; cv=none; d=google.com; s=arc-20160816; b=EucdOZWAVQYX95FbLaZsJfXrMGv1MERnbAD1Stl/4P/7vVDuH7brkd2mHQ9tKRBdbF 3Kk7JWyvXQ79Fq7F7uDtZjSM5DuUBkZRwzSd18W5FFClCm284G4+dLwwRyUK3Zwt+8cj roZvvZz3yez04JL3vG4WZPcS9VfkhfMWxWcNMgHQ5Z0iIGJM0Owt6r28PzsCXO/TpfyX eJ3xL3gaYcLfpe0jke0IqJJHSsPiPQhmSGLRi/zRgZ52YJBpCKrcUe1VOMarALXQ9I7v qMf7om3IHuzUCh6kY1Lmk6DJpM7MrRssPSPwvORU3Vg+smoDFrcgkNRSZ2XR5u8NJrWg v4DA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:subject:from :references:cc:to; bh=dudLRqt7q4H+bR8ASM2jlKWqsUx+8XhCW2bIDeEXwLI=; b=AG76FKb1CaPbJp/iE1M4DQ2SpYaHKXZr7Y4m0nUZwIayU5IZMh4DDFDSPXSVenGzdl X5TEEh1trmW6Nw34ocxzePb0gy/DLWyh1Nn7GlSohbeBCOUs4dwJNsUkJNznytsQqN1O ib5jCqXJTyvVgjdRhE9wpKI5fj91FaVj2i13S/ZyeLoGhEQ40Wv8NGXku6iCzhlOlCjf 8uMlpV4ceVc74y9u0XGCHsCj1ThadF2AI7h3BDe0Sojuuqo67BjBl2qszIt+Sk05UkRq LqrERB1v1l6YJOllwIxXxNxaVvvHke1MaXWVTChs1Hml2aa6MN4TSVj9m/4YnlLuWq31 01PA== ARC-Authentication-Results: i=1; mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=marcan.st Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id v26-20020a63b95a000000b003759850f44esi3271568pgo.235.2022.02.25.17.56.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Feb 2022 17:56:51 -0800 (PST) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=marcan.st Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 3334E286B40; Fri, 25 Feb 2022 17:40:27 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235223AbiBYV7R (ORCPT + 99 others); Fri, 25 Feb 2022 16:59:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39264 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231312AbiBYV7Q (ORCPT ); Fri, 25 Feb 2022 16:59:16 -0500 Received: from mail.marcansoft.com (marcansoft.com [IPv6:2a01:298:fe:f::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E27FD18CC18; Fri, 25 Feb 2022 13:58:41 -0800 (PST) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: marcan@marcan.st) by mail.marcansoft.com (Postfix) with ESMTPSA id 8F85241F28; Fri, 25 Feb 2022 21:58:37 +0000 (UTC) To: Rob Herring Cc: Thomas Gleixner , Marc Zyngier , Sven Peter , Alyssa Rosenzweig , Mark Kettenis , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org References: <20220224130741.63924-1-marcan@marcan.st> <20220224130741.63924-3-marcan@marcan.st> From: Hector Martin Subject: Re: [PATCH v2 2/7] dt-bindings: interrupt-controller: apple,aic2: New binding for AICv2 Message-ID: <67171c2a-7601-6dfb-92b3-24c1ca971995@marcan.st> Date: Sat, 26 Feb 2022 06:58:34 +0900 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: es-ES Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A, RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 26/02/2022 05.19, Rob Herring wrote: >> +properties: >> + compatible: >> + items: >> + - const: apple,t6000-aic >> + - const: apple,aic2 > > I feel I was sold on Apple doesn't change h/w and we're the 2nd chip in > and the h/w changed. Just my musings, but aic3 will be rejected. :( Well yes, after not changing hardware for N phone/tablet generations, they figured out they *finally* had to make some changes for real desktop chips... (t8103 was a tablet chip they shoehorned into laptops; t6000 is the first real laptop/desktop chip). This isn't the 2nd chip in, this is the 26th chip in or so, and yet it's called AIC2 (by Apple even)... We aren't starting from chip #1, just the first chip they decided to *let* us put Linux on. It's pretty clear that the t6000 changes were made with future-proofing in mind. I guess we'll find out in a couple weeks, since the rumor mill says M2 is coming. If I'm right and we end up needing *zero* kernel changes to boot on M2, will you be happy? ;-) >> + apple,event-reg: >> + $ref: /schemas/types.yaml#/definitions/uint32 >> + description: >> + Specifies the offset of the event register, which lies after all the >> + implemented die register sets, page aligned. This is not computable from >> + capability register values, so we have to specify it explicitly. > > If this is last, then couldn't it be a 2nd 'reg' entry? > > 'page aligned' is ambiguous. I assume that means 16K since that's what > Apple uses, but I might assume 4K not knowing that. 16K, and yeah, it could be a 2nd reg entry if you think that works better. Makes sense. -- Hector Martin (marcan@marcan.st) Public Key: https://mrcn.st/pub