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 5838A3659FA for ; Fri, 9 Jan 2026 17:14:39 +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=1767978881; cv=none; b=EhNQFze6Grcw/ZhcCm2HZYSoCjnI5wU5L8t449V3fmO0QJEozbQFOiPmo1mXotDagS4M14F8FvjMTSUf6hdE+/kap+kHv2FlPbcrXa35rS2S2yWUzeJ+31/v2DHUo1+kUIr0fUqoT/FlSb0WlmjVPn+SG2P2Lca3a9UOJTePw9E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767978881; c=relaxed/simple; bh=F7zcGk8nCH165bG+Lq3YX1vuc4Qm0989LRhZOuxR4Qo=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=diI8/NK0jyLhe5HLktmrd9Kr70xMGeRsUONAA1j0gCabAZjNVdFqzHJI4FuZkFn2TkhrQ0G6YXzOv7JjuB3UAgCKjVg6PSwTXvlbVhkRLbhW127JDLsENZQ4YHcd2/ZE/5GZi8mqkuYw71A0W98otPbizYHUZDdt8TUfeR76PjI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine 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=AeazqGNL; dkim=pass (2048-bit key) header.d=redhat.com header.i=@redhat.com header.b=MSgb6EGe; arc=none smtp.client-ip=170.10.129.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine 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="AeazqGNL"; dkim=pass (2048-bit key) header.d=redhat.com header.i=@redhat.com header.b="MSgb6EGe" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1767978878; 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=lSDwbxYjO8+HiZzQaZwthav/1dzwRPtawpHAGU+oOsQ=; b=AeazqGNLs6R9hsYax8J58O6snCHIdtbsEJk1z0dRPN475Xe1WGO5ZUHkINc8KhEaLBK+GW TDBBTRf86svvG2oqDSYgJeBd7jZNiKFwXp8VfHcOH/s3jbk+UCrZChaqWNH+Hr92yvuCpe SCu7SptAfa3McqUjlMhzI9DIFue76iw= Received: from mail-qk1-f200.google.com (mail-qk1-f200.google.com [209.85.222.200]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-263-7GcLtXxPPCqB7_9Cl2nQpQ-1; Fri, 09 Jan 2026 12:14:37 -0500 X-MC-Unique: 7GcLtXxPPCqB7_9Cl2nQpQ-1 X-Mimecast-MFC-AGG-ID: 7GcLtXxPPCqB7_9Cl2nQpQ_1767978876 Received: by mail-qk1-f200.google.com with SMTP id af79cd13be357-8bb0ae16a63so515578085a.3 for ; Fri, 09 Jan 2026 09:14:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=google; t=1767978876; x=1768583676; darn=vger.kernel.org; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=lSDwbxYjO8+HiZzQaZwthav/1dzwRPtawpHAGU+oOsQ=; b=MSgb6EGeh8JT3IbLKfH4m6CAu+Js0nnr3SoBBcPnaQU8c1LnlqRh1dGBm9UK3849GL 2F7fHF6f+YV5RlJvlmFgwUQN2M+IU2WfowHmtq1jXIXe8uuq9sEdgcYeVofDRiGmqM3U SrvQ204jUXmCTbbJxynwSK4pTs947d9OH2xnBOqvA1dOz19pG2opZc2dPapF3Okos/lE LrXpNVOnOFrkUlSgyTrFHN/Zbm/Jg2uNz1iyOVmaEOuorO2ViVR2J3IeGdOVbAHu9chp OwBqDmZ3LcTj/kYzGtSXQ0PDWqpHXJMTnce1o0WPxR4UY+C2dncvyGK61g1s3Ceb5Qgt UM3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1767978876; x=1768583676; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=lSDwbxYjO8+HiZzQaZwthav/1dzwRPtawpHAGU+oOsQ=; b=ikVEotI2EMkqkWFQ60SiXdQFXOjVWJDQiIMpjhNG8oWEU/IXFNg4WbLBopMR8VWa8R +N1gTDHpAgaCDNNmjEig3EYrmeN6pUqRp+pOWmOw80Ewg+Yanu2BgVnx0bdhiweVM54e o3bRa77rs9tw5pINiqCTUEPbGGIuepyteT6u9HZS1iwWazdlEvPISywAfREtuOj9EZB8 yD9xIRtT0JJ1ulhroa3p6W7pe0kQiG20yEqe1uCDf/RQXV38IODVh968IYN/GE/GXPyu D+ms//VPhYhk0NPIKzcoNaU+BNRY1axYd1Aczst8idKkDWgS4cf51iuBvR5JPNASr+mL UYEg== X-Forwarded-Encrypted: i=1; AJvYcCU6y1eupx2cOeSg4oJs8RczBnHNzu2ashZWNmYB9mvZJogg4aIyVlAGlWpjuBxHSxDPu6xlFxSzhAwT2Fc=@vger.kernel.org X-Gm-Message-State: AOJu0Yyd6Qq+JhzndNg9WJn1r4wiG0bzA9oYo6CUH3Wro/Zx0Bij/23Q 2BveC0cCpNjtOgE0IHlDfzpSsb0h6RLSiACi2VFnplbKU9XavLETY/4DbtQbegF0YZnXDk1biUb uIVy+J23uKqAii9lKnVWPrTWq+yjWsaHOnuKb4smpXWWyEz8OhT7gpZmErYUUJcZo5A== X-Gm-Gg: AY/fxX4UwKoJzn64XoeGfzdi9heTaVvcpJ70XscWn97rKk4gN8iIp27ubGEvodfqy2N ly5upxig2ALuSlKlHBIin3zfHnQ7L8i+hMF7eAlfAROd9qaUL3xKt0okvdJiUotjuxoXxJxn83z 7LQ1U1fLTMLu0WC5DgZXJEETwZiThRZo+UmpJWt+u4u6ZQSDqUALK+WBeuoaVvvZFNeXWAejiOe Au2q3LgR5HbkMGUVSpwg+jWpdDyt1GUeUUp16RmGzWHj43f9lg75svsRDydLJLqZs05w+62Rj1n CSkohWb3nmDTIv4xXg+/XH3wfdsirCSdq4JZA0BzIuml2MZCqFibbt74Qq92mXGuLma3tdsaUAf sWlQEWWHgH6HQao7YMZv04vnrtv06HceVmpDo6eFPoU2q X-Received: by 2002:a05:620a:4109:b0:8bb:a675:aa61 with SMTP id af79cd13be357-8c3893fbb30mr1217152085a.79.1767978876350; Fri, 09 Jan 2026 09:14:36 -0800 (PST) X-Google-Smtp-Source: AGHT+IHotayWWfWtWeRCvw1eejr8Fm0argOz9TlIuQkrGTqEF91Uo7p3dq/qiwtr88DHNoO1lgXL4w== X-Received: by 2002:a05:620a:4109:b0:8bb:a675:aa61 with SMTP id af79cd13be357-8c3893fbb30mr1217146085a.79.1767978875890; Fri, 09 Jan 2026 09:14:35 -0800 (PST) Received: from redhat.com (c-73-183-52-120.hsd1.pa.comcast.net. [73.183.52.120]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-8907726041fsm82384206d6.45.2026.01.09.09.14.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Jan 2026 09:14:35 -0800 (PST) Date: Fri, 9 Jan 2026 12:14:33 -0500 From: Brian Masney To: Thomas Bogendoerfer , Claudiu Beznea Cc: linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, Michael Turquette , Stephen Boyd , linux-clk@vger.kernel.org, Thomas Gleixner , Adrian Hunter , Ulf Hansson , linux-mmc@vger.kernel.org, Linus Walleij , linux-gpio@vger.kernel.org, Alexandre Belloni , linux-rtc@vger.kernel.org, Greg Kroah-Hartman , Jiri Slaby , linux-serial@vger.kernel.org, Wim Van Sebroeck , Guenter Roeck , linux-watchdog@vger.kernel.org Subject: Re: [PATCH 00/13] MIPS: move pic32.h header file from asm to platform_data Message-ID: References: <20260109-mips-pic32-header-move-v1-0-99859c55783d@redhat.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260109-mips-pic32-header-move-v1-0-99859c55783d@redhat.com> User-Agent: Mutt/2.2.14 (2025-02-20) On Fri, Jan 09, 2026 at 11:41:13AM -0500, Brian Masney wrote: > There are currently some pic32 MIPS drivers that are in tree, and are > only configured to be compiled on the MIPS pic32 platform. There's a > risk of breaking some of these drivers when migrating drivers away from > legacy APIs. It happened to me with a pic32 clk driver. > > Let's go ahead and move the pic32.h from the asm to the platform_data > include directory in the tree. This will make it easier, and cleaner to > enable COMPILE_TEST for some of these pic32 drivers. > > I included a patch at the end that shows enabling COMPILE_TEST for a > pic32 clk driver. I didn't CC everyone on patch 1 to this series that copes pic32.h from the MIPS ASM directory to linux/platform_data/pic32.h. It's available at the following location if you want to see it: https://lore.kernel.org/linux-mips/20260109-mips-pic32-header-move-v1-0-99859c55783d@redhat.com/T/#m1e0e50adfe2ea4bf430025660fada7b1468d0fbf Patch 12 of this series is where I remove the asm variant of pic32.h. Brian