From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from shelob.surriel.com (shelob.surriel.com [96.67.55.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D1774FF887E for ; Wed, 29 Apr 2026 17:42:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=kernelnewbies.org; s=mail; h=Content-Type:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:References:From: Subject:To:Message-Id:Date:Mime-Version:Sender:Reply-To:Cc: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=bIg3CjDaGxnKZENR3sB5RjHkS44Up7zlJuwbcE/+5mM=; b=ootgDkO0iShe2VExYaWyNzp0VM rAX4PH4YJZv+jXHIJ8Ntm/6g+xbvtlEw/50TgCuZ/AYy33812nc4+TKZetXtqX9ma/nXiJzMS3tje +WGmFCZFUkzHF0Cn6SeovL70VjU5VPGaZ/vuru60MWa1ZyudYA0MKb44bWUsYJ5c09lJwf8f0Ow/k g961nv1pUio3iIcPfTeJnMLtxVdvkoMK2ejNWN1gRM+u2kunetr3yluaR1py/WgB+DZ2Yc+FpxiVx 7760jCqYvIL0Nb7/fy1hq727TIXdmVK7TAS6L0YP9QgShTPXzfwnKg8cqLmLHdcLQZpDdus53Fivx FuRzxp5Q==; Received: from localhost ([::1] helo=shelob.surriel.com) by shelob.surriel.com with esmtp (Exim 4.97.1) (envelope-from ) id 1wI8vY-000000001oV-1TSW; Wed, 29 Apr 2026 13:42:24 -0400 Received: from mail-lf1-x130.google.com ([2a00:1450:4864:20::130]) by shelob.surriel.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.97.1) (envelope-from ) id 1wI8vX-000000001oP-1I7E for kernelnewbies@kernelnewbies.org; Wed, 29 Apr 2026 13:42:23 -0400 Received: by mail-lf1-x130.google.com with SMTP id 2adb3069b0e04-5a62a049c1fso10405290e87.3 for ; Wed, 29 Apr 2026 10:42:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1777484539; x=1778089339; darn=kernelnewbies.org; h=in-reply-to:references:from:subject:to:message-id:date:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=ZhcKsA8p37Gxd4rQzPjl85Fy8TkLhRdyg47EhZj7A4w=; b=MuTTRYAXn7bN3sqPKLGCoeqQUnbGk7UwCi39wGFSmB0kil4vr2Gpc7K1UEo4n8DQtU /jQKSKUXwbIX2AtXC9rBn/zwrtDI1tRQzxvzLlWdNsLB/CTWORJxDvEIGEI+K/VQS5po 9cpJCLfXADz++jIip+/psz5WrgT1Ej0ugA+EhwQh2dgltxLDytI07LfmJZjLfZc70lzu u5EtUL+cesRav7UvDO+z5Bbq9wM4D4U0v6xEO9yQgJwnimGHiWBsSca3SrNIObvUotAn SkQVXaOouOf1vrQUm2nxUCS9gO6MCESKzxw+a3wxNn0bisB4BCpgN+nk1/gQzhLH5KGH Fgzg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1777484539; x=1778089339; h=in-reply-to:references:from:subject:to:message-id:date:mime-version :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ZhcKsA8p37Gxd4rQzPjl85Fy8TkLhRdyg47EhZj7A4w=; b=cbZUM+fHXlGSUYwhXXJWlWLBUWFPBkklpFpq7y/M3bRl16Q/v/hZ683O8kLTb/M1Hv wOQ9BlTjUq/R0x/nsW+iYCysNvwytrjU48e2t9wo8y1TH3W/2M5Q9SHR3mOT6WvfZcXq ZdNIaQJ1dlxFjplDZAEohOIxo9+ccosFXcdcH1c32h82ojVT3j78Al9zmOOx9tbWhxfI bCcne1bDtlUicK4xgDWj2F+xAWQY+BR69CEaMys7Yer2MBGH+wmbcSE8tbr7hVuOutsD ICSPaASWDGpR9Y1HmBo58+LipeLzj8gYeeRIpxDxH1OzcxbuijAAKPK4mMuKez3Xtbw9 6qEA== X-Forwarded-Encrypted: i=1; AFNElJ/BdPcAu0KjNwvXeIB09VZiMw8zMM4r9XoFV4D080aX7B3XJh52wz8xFpF/A6n8yEQJNGTKpLGrTLNte3Tf@kernelnewbies.org X-Gm-Message-State: AOJu0YzE/bWt7EdFDmMMl2PurZ18P/KECznuXnuqQZlnYpl21Ikkusa+ NfHgWQcgNGIe+NwASj3sKwHcSxK/FSYxGlqm1r8QHHWk7FIOzzU01I+S X-Gm-Gg: AeBDieuvFkRJh2v9n261ewHbql/SM9aeq0EqJzb/LmhxylBgyp55yUaLRvKnyLZZgZ7 SBjRnJ1XoEfs6nVcfUtlqoSa9cZgZslb4qy3itUUF8jjDe+Rm7Dz8aYTDFC4YCD0miWaoamQleW QSjmzpzhHwV4H/gBZUf/JqZjJtx6bcZr6AoA9crQIkB2lY4EzQYbGaInWJTAADjxCtE8M2mzZDd 68DgeN0YOGbaV1eKX6wGLDALWB7Uj1hO96IOEaiTkD2l9ANZfxxF41+zawHBOy4zAxM8CYlIfVq ViZccmhOVpkRcEQGuaVeAhGeY4D0H/XcuTKhoWR/irT3CZ/Pkyfdxeq4yBiDJrJBe0ftdxI3CHc +GlMvRXXP5qur0p8a+zy+xNSj4gMYWoLB/WZ2mWqQjpNs09O9Y5k3hHXQn23go8ecrkYhirBtPP rKq8LjS4p9W0wt5WtONMQW7MNlP3ie5sN4X8K8arofLv1RLkf224FcF8U/PIMbLaCLtC/Cmsv6q afjwABcu8E= X-Received: by 2002:ac2:44db:0:b0:5a7:5e0f:ac98 with SMTP id 2adb3069b0e04-5a75e0fcacamr641172e87.39.1777484538758; Wed, 29 Apr 2026 10:42:18 -0700 (PDT) Received: from localhost (c188-150-77-196.bredband.tele2.se. [188.150.77.196]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-5a74a76ad27sm722911e87.72.2026.04.29.10.42.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Apr 2026 10:42:18 -0700 (PDT) Mime-Version: 1.0 Date: Wed, 29 Apr 2026 19:42:14 +0200 Message-Id: To: "Patryk" , Subject: Re: Upstreaming - how to deal with vendor fork From: "Linus Probert" X-Mailer: aerc 0.21.0-0-g5549850facc2 References: In-Reply-To: X-BeenThere: kernelnewbies@kernelnewbies.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Learn about the Linux kernel List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============6332226352583176570==" Errors-To: kernelnewbies-bounces@kernelnewbies.org --===============6332226352583176570== Content-Type: multipart/signed; boundary=d4a7dedf47ee09418b58231590f5223828644f1294c3f47c701ef93d2477; micalg=pgp-sha512; protocol="application/pgp-signature" --d4a7dedf47ee09418b58231590f5223828644f1294c3f47c701ef93d2477 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 On Wed Apr 29, 2026 at 3:27 PM CEST, Patryk wrote: > Hi > Some time ago I managed to upstream one bugfix, now I have more changes b= ut > I'm wondering how to approach this. > > Suppose that I have found a bug and prepared a fix. However, the bug and > its solution has been found and tested on a custom board that is equipped > with a particular buggy device. The problem is that I cannot simply use > mainline/maintainer tree, build it, and run on my board as these source > trees do not have support for my board, as I use SoC vendor fork (v6.12) > supplied with their bsp with patches that add support for my board. > > It's not mine decision - obviously - me and my team would be very willing > to use mainline but it would require some effort, time and obviously we > would not get vendor support in case of some bugs (it happened mamy times= ). > > I can of course take the minimal set of patches for out board and apply > them over mainline but e.g. now I have a bugfix for mainline driver...but > in order to fully test it I need vendor changes as they did not upstream = it > yet. > > So at the end in order to test a bugfix on the mainline I would need to > apply patches that add support for my board as well patches from vendor > fork that add support for the rest of the functionality (not yet upstream= ed > by vendor) that I need in order to test the bugfix. > > Any sugestion on how to approach this? I have already few changes that > could be applied to mainline but due to what I described above they're ju= st > waiting... > > Will be grateful for some sugestion. > > Best regards > Patryk Hi Patryk, if your patches can't be applied without first applying the vendors patches then there's not much you can do is there. Your fixes won't apply. If your patches do apply to staging-next and they do fix your issue isn't that enough to submit them? You should be able to explain how you have confirmed the fixes even though it requires some steps to get there. You can always submit a patch-tree to linux-staging with an RFC prefix and you will get feedback based on that. Either you get a no or a yes. Worth testing IMO. Br, Linus --d4a7dedf47ee09418b58231590f5223828644f1294c3f47c701ef93d2477 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIgEABYKADAWIQS/iVkKgZ+pjX3QChbLbH0RTtGtmQUCafJC9hIcbGludXNAbHBj b2RlLnRlY2gACgkQy2x9EU7RrZmamAEA83b9dUrlxAVqnzkw0+F0KpK3DCmX+Q8Z SyEKL0R3tVUBAJ+WB7aeAyI8wlxhlYQUfxAWkRHNdQu5PE73BR9wu1gG =eLDA -----END PGP SIGNATURE----- --d4a7dedf47ee09418b58231590f5223828644f1294c3f47c701ef93d2477-- --===============6332226352583176570== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies --===============6332226352583176570==--