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 4EDC42FD69B for ; Fri, 23 Jan 2026 00:50:00 +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=1769129404; cv=none; b=k4AZ796zghMfBhVR+8mTuUf+b7IKbuMPBy06lvlomlunMFPXX8SGlQr2kfPYPXS5u0BEAcLsdesezg7pGzKfQJSif84gc1xPCR3FpadxZEad46cS9GThEsvMHL91aYBPw6YTinLm9i0aHku23jsTqvUTHzNVX2/gAQZzBDHYFVo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769129404; c=relaxed/simple; bh=61fxTBvmM+nEDTnrxV8wyBLBgYPiDsz7hg08HBbLwi8=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: In-Reply-To:Content-Type:Content-Disposition; b=mt+UfsvMjxuwb722JOpxWKqPlBKkkud3RMhCCt2+pD+ss+Z+NVRrGeQZRsbRzKS5hDgHN94lal4Ix7tcdho63Cbfpa9+JdmxKHINcbTiKyP2EzcFvwKq3mS8XMxD1yPCNBNk2occfAeLxBKNmnlXzg8PaypgT+ZAjHxj65UOZ68= 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=UEWrLgmH; 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="UEWrLgmH" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1769129397; 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=GoBRPgL92gOt6XV5p8QK+5WmhSABAsu+khI/gr5kMBo=; b=UEWrLgmHHcRpi51aAWBwZQW32Ki5r9cXzrC6+n0xO92Vbca3hnrziZEUOwgdpnPUbntI/a roend+QGV0UZ5yzWIILvUwrXRVetYIYEACXpKkVGk401RZKHs9zz24nPVOJiOkqXm8YZOU b4ZSr3l2spEdOvw5xz2sWukDUfz2vcI= Received: from mail-qk1-f197.google.com (mail-qk1-f197.google.com [209.85.222.197]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-153-pbtSvTbdNdOrBgzJp9F7DA-1; Thu, 22 Jan 2026 19:49:55 -0500 X-MC-Unique: pbtSvTbdNdOrBgzJp9F7DA-1 X-Mimecast-MFC-AGG-ID: pbtSvTbdNdOrBgzJp9F7DA_1769129395 Received: by mail-qk1-f197.google.com with SMTP id af79cd13be357-8ba026720eeso516332385a.1 for ; Thu, 22 Jan 2026 16:49:55 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1769129395; x=1769734195; 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=GoBRPgL92gOt6XV5p8QK+5WmhSABAsu+khI/gr5kMBo=; b=GDB1L2tUS823nX30XdgJqj3PXcrX8ga+5Nqvl+Brh4bSmXV3CcmGVloMRdXQyF/h7l Bkgpr9Z3YI31VziX1/K4q4t6952k2u3UqZTAPUIlaTTye0aE3YYhiCM7N+C8CfmIvYbN PPAvk9us5Rgw0lv5vYTNLruOmRCwhSn6YBBXY1XdbMgopWNNUZxPj5KoAdgV2GXuN6cV n2C7Lo08DLS3/It9cPDyMgWoFtwXildzoAfBw6O/GyOzFVBlQKQIttT27md54WJE/MnR do0nOmZg4qMwhqQVvHCC+rPLlL6xGveQk1KmHYrkwLv2lDRhtliYUsWGO9St9ajuOv5B kTCg== X-Forwarded-Encrypted: i=1; AJvYcCUdxUtx7ilePs8+kGmRJZmEh2Vfkaav/az3hqJuT+cgI88dge8fcV9UZUMasP2KD17wfWlBLIVN5A0ST0k=@vger.kernel.org X-Gm-Message-State: AOJu0YyBNK3aO5n74bbC8yn71ofrYOrKE5gEDn5Wd6cnAP9wGaoOkr30 6mjbt8Kh8aI6KP65ZGt+xahPBSgI+Z4aCLkdINm7EjaCB2O+nEKqNxg8DwQmuVXhDjHnB38XkUn MjgrOgdtozMf3Yy7W7QdQPANsAUFkeGoeJcEH+mcnJpqhTErlEZEbqUUr/YmVMMUIvQ== X-Gm-Gg: AZuq6aIJXW9Uusr24OIRilgigF5i3oyqDgZI4rmSBheYYxaSpzXiyUWqeUUYeKNOoUN GHWbDOaX2OKpFcYjFjxRYrM7GiztQ6L2rJQzNdatkXMgOlaIuTxVqMZZEp1jlHhIbFs56riPVpY HQRpK0wIL2lkUpDk4w9Rapu6+AhiZrP5aumfTnVRcF9f7WAa7YmB3ktAF8DWWytP5hWOzkE5F16 gfEhJWXVw7lvqQNehMPEhAcPr6r50MaH8zyP4uOJcQCteo+BiBXxLr6Nbzg0jgF9M87syAQ7x9i PsBlFyGflso6hkm7HtRz2u42cZZq3nFRZxHcztf1ZZRv/zXBtEYHirmpFdrmMrv9ve7byc2Y6iG EhtHTN3yR8TsUUyyqWevJ4ukTAYnfm90x4biwCDLjTmIV X-Received: by 2002:a05:620a:298e:b0:8c5:2bcc:fbc2 with SMTP id af79cd13be357-8c6e2e4bf45mr189824185a.81.1769129395210; Thu, 22 Jan 2026 16:49:55 -0800 (PST) X-Received: by 2002:a05:620a:298e:b0:8c5:2bcc:fbc2 with SMTP id af79cd13be357-8c6e2e4bf45mr189821085a.81.1769129394805; Thu, 22 Jan 2026 16:49:54 -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 af79cd13be357-8c6e383c2bfsm54737785a.29.2026.01.22.16.49.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Jan 2026 16:49:54 -0800 (PST) Date: Thu, 22 Jan 2026 19:49:52 -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, Guenter Roeck , Wim Van Sebroeck , linux-watchdog@vger.kernel.org Subject: Re: [PATCH v2 00/16] MIPS: move pic32.h header file from asm to platform_data Message-ID: References: <20260112-mips-pic32-header-move-v2-0-927d516b1ff9@redhat.com> Precedence: bulk X-Mailing-List: linux-serial@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 In-Reply-To: <20260112-mips-pic32-header-move-v2-0-927d516b1ff9@redhat.com> User-Agent: Mutt/2.2.14 (2025-02-20) X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: 8hImJbcpvTtNNBwN1LeH7pOe9lR7wwTSWJGl1CJNDMA_1769129395 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi Thomas, On Mon, Jan 12, 2026 at 05:47:54PM -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. To do this requires > updating some includes, which I do at the beginning of this series. > > This series was compile tested on a centos-stream-10 arm64 host in two > different configurations: > > - native arm64 build with COMPILE_TEST (via make allmodconfig) > - MIPS cross compile on arm64 with: > ARCH=mips CROSS_COMPILE=mips64-linux-gnu- make pic32mzda_defconfig > > Note that there is a separate MIPS compile error in linux-next, and I > reported it at https://lore.kernel.org/all/aWVs2gVB418WiMVa@redhat.com/ > > I included a patch at the end that shows enabling COMPILE_TEST for a > pic32 clk driver. > > Merge Strategy > ============== > - Patches 1-15 can go through the MIPS tree. I'm just checking if you'll be able to take patches 1-15 this development cycle before the merge window opens? If this series goes to Linus during this upcoming merge window, then I have 17 patches ready to post in a month for the next development cycle that can go to various individual subsystems that allows all of these pic32 MIPS drivers to be compiled on all architectures. The patches also fix some issues in those drivers that were found by kernel CI. This merge strategy makes it so that we won't have to deal with any cross tree merge issues, or immutable branches. Thanks, Brian