Received: by 2002:ab2:6309:0:b0:1fb:d597:ff75 with SMTP id s9csp586123lqt; Thu, 6 Jun 2024 12:00:01 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX3o9ESRxsIYu+QIyR08FC9nNQo3BD6KP4L+voJfCK9qc7GpBLt9boEHc2P99oXHeti+rECvBy2GArY31qRr8DDKUTOxZXmGTm6tmpuQw== X-Google-Smtp-Source: AGHT+IG16Mf6sE9rCoBVRD2wDf6j2AafjXMMUnqI7acXU6zS7jTUbKGcAFevj+vhOr8fpAXU/wlt X-Received: by 2002:a17:906:2e82:b0:a65:19da:cdc6 with SMTP id a640c23a62f3a-a6cd7d684b4mr29629866b.35.1717700400923; Thu, 06 Jun 2024 12:00:00 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717700400; cv=pass; d=google.com; s=arc-20160816; b=q7s8uJHrrNwWnwsLcG7k9BVeXsc6iQV2Od/956WefDYIQP3a1u5r+VXZOhtamK72s4 RaNJXlf7oxUojtF5/PbulNXs6hM58ePz+X+yq5ByIVBUYfzUWUQ3ZvPZjBJUS+gv2qS5 mJ1WL4aIIZQxbZQBlUP8wGZDx6eLyfHrpqHiD2uQTlj+2GqRewLQcZ1KGnTEGviRZmQ2 TglqqJf9NRGU/kbo4wXwZSNicmXNoezkmZhnUkvlANKtVHQqmq0xqAdS1u9u0LFabrsv dM1pHk3KD3UgUSr71hKF4Z3U0qKy0+ssVxp0OGomtBtYMRpdlowSSNd+L3VMYA5knGMI 6zAQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :message-id:date:references:in-reply-to:subject:cc:to:dkim-signature :dkim-signature:from; bh=h2T0DbAUrrKT9ttONGR5TRLMSSgb9Rr8VNZEBbJLs/w=; fh=HZZZu6oWYuOy4IvgVGvd7jv2H1ZiBsAHaDL7+DS5U1Y=; b=DoFSBDuYPWqol5B2vb543bE4Q67YRiBNyh+QhB69VP6PaNsfD+e3g9Cw0cS+B/SDDR w/PE/8YYUmt9ldH0AGjplvaUbEGgvqDpIG6Ir3qBTI4ZsJ0Jya3iZttHZ97GDO7wKXp4 3JpbS0eEJmP7wI4lyLpjuZzQpAsSeO0rudCCdL4mrdJjYyhCKZ0ewfWJ0XkCn/F15j5j J+758y/q5PEEMkSDABzymmh56tXZwlRhG43IKAeUetx33C4TvGqg1HeibvAIMXtf7K0N nphbycULImW5BgFYFsGLXcL2X56nAMJthJmCpicZ1NbZA/nJ7HK90tawL92nqofOATp2 FF0w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=qJi+R8wv; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-204925-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-204925-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id a640c23a62f3a-a6c806dab69si97017966b.297.2024.06.06.12.00.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Jun 2024 12:00:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-204925-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=qJi+R8wv; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-204925-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-204925-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de 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 am.mirrors.kernel.org (Postfix) with ESMTPS id 9BC811F2588D for ; Thu, 6 Jun 2024 19:00:00 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 99C5C4E1D1; Thu, 6 Jun 2024 18:59:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="qJi+R8wv"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="NZuoaFCW" Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (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 524131BC3C; Thu, 6 Jun 2024 18:59:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717700391; cv=none; b=imPcywcip1M3WQMVCtZqWe909cho6hzhdfwWxxp1qmrpKB9ERUzBFl29DQKRAVXQYSg6g7d2EwQE4pMGPYgbd9SLPwCA8si9C0gAgaTU8fRidu4A2JCNadmBGuAvgR7dUANZjmAuKyANEiljQ6U3JSvYmfgzdey90lt3A8jkqw4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717700391; c=relaxed/simple; bh=PBQlux8vvLo0Z0BGhEJHALFedNirUWBPON8FKluAEi4=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=KRiFbWUB98+MBv+PaXDU9tK0YJOOaxeZsgaNy4LaJSzNArfbhIhQWKeZUDicqy9gma2AA8xZQonkhGt70JVhZCxr+rz4WbrVP+q6IamrLrISRwEX+XWreBB2tAsVLPWJ8mqeWgYGY7PUBCc+4ib1Mt9TOUAkJYEXqBB98KfJH5o= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=qJi+R8wv; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=NZuoaFCW; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de From: Thomas Gleixner DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1717700388; 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: in-reply-to:in-reply-to:references:references; bh=h2T0DbAUrrKT9ttONGR5TRLMSSgb9Rr8VNZEBbJLs/w=; b=qJi+R8wvfyokvEVu1Cl/Od8jkeXDw5uvpcyTPmN+FcBBm1O6CCsm/AqRssvMXQ4dxgKzsK 0sgVPC4rog6n7YSMRfQ7FvhPgz5pNXp4XzzV89Rf4HS8AB7SiCT2veA11f6vv926JGTuzh tFhgAtFeozzDGMb1pqF0wD4EJegwqOlUhD98v7//h+TJTXkorNTgjE7VuI7itFvJu2uRFv lG2RvMsMBFr40s/EpyTJ+1VnAG6T/SzMnihoWTdvECoHPGRdPuKXQUwtzzLTKhsd0tpe+u KRGVdG4D2tV0YBpsbe+Suug8VTDyGJ018GknZ0oTxUi/H7BzcTxVr+NiESHDIg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1717700388; 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: in-reply-to:in-reply-to:references:references; bh=h2T0DbAUrrKT9ttONGR5TRLMSSgb9Rr8VNZEBbJLs/w=; b=NZuoaFCW1bXqXaEoiXWONbX88yFJvCwxT7Ryn74knGA5myyU5InuJkHDJYiybDd8AoGvdp AKGUVN3kwEnlmdBg== To: Matti Vaittinen , Matti Vaittinen , Matti Vaittinen Cc: Lee Jones , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Liam Girdwood , Mark Brown , Greg Kroah-Hartman , "Rafael J. Wysocki" , Matti Vaittinen , Wim Van Sebroeck , Guenter Roeck , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-watchdog@vger.kernel.org, Herve Codina Subject: Re: [PATCH v3 07/10] irqdomain: Allow giving name suffix for domain In-Reply-To: References: Date: Thu, 06 Jun 2024 20:59:47 +0200 Message-ID: <87plst28yk.ffs@tglx> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain Matti! On Tue, Jun 04 2024 at 10:55, Matti Vaittinen wrote: > struct irq_domain *__irq_domain_add(struct fwnode_handle *fwnode, unsigned int size, > irq_hw_number_t hwirq_max, int direct_max, > const struct irq_domain_ops *ops, > - void *host_data); > + void *host_data, const char *name_suffix); > struct irq_domain *irq_domain_create_simple(struct fwnode_handle *fwnode, > unsigned int size, > unsigned int first_irq, > @@ -350,7 +350,8 @@ static inline struct irq_domain *irq_domain_add_linear(struct device_node *of_no > const struct irq_domain_ops *ops, > void *host_data) > { > - return __irq_domain_add(of_node_to_fwnode(of_node), size, size, 0, ops, host_data); > + return __irq_domain_add(of_node_to_fwnode(of_node), size, size, 0, ops, > + host_data, NULL); .... Looking at the resulting amount of churn to add that argument, I'm not really enthused. There is some other unrelated change required in this area: https://lore.kernel.org/all/8734pr5yq1.ffs@tglx My suggestion to convert all of this mess into a template based mechanism would nicely solve your problem too. Can you please have a look and eventually team up with Herve (CC'ed) to sort this out? I'm happy to help and give guidance. Thanks, tglx