Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp842395imm; Sat, 14 Jul 2018 14:10:39 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdXhNqtDZwkml5FMefc/NW2vEevyiiinIa7z8fMyfOjnmPLeNC0NN2yqduexzY9RwwN3B7z X-Received: by 2002:a63:c312:: with SMTP id c18-v6mr10544206pgd.449.1531602639350; Sat, 14 Jul 2018 14:10:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531602639; cv=none; d=google.com; s=arc-20160816; b=QKlLz3aR8SFC4C0Uep6ZSFD8/rIdgiiwhoGpOlRL4L1XzejJQ6k2V5m91LUXV8R/Il rk7c4R5ozn1YZLUNC4rKp5hOILflx9Jmr9PfIZ2686GRMwPJzjcuJQLR+uOvo7/aXcjH QKuqSr8dbROxAiQ/waP7ObJeL6fFBQdOxljGuy3SNgqih72cyXb66QKpkBFr76cjuIVK ycjL9um9RlykI9jU6qDcI0WRtUmX7cRx/MeqHzdpRwLEKnkn1lSoEFw/XP5tUXL1MJsM R8PcN6GcfsfxlzwJ3da2WoX4dUa01WEKDOiA4coO0QzhqJKhE5Fxm+KoW4JjqcAsfhME yD1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=QEzB2lDEShc3VW68PxPnhXnRRBZjGLHnZ3pWvhrPBGI=; b=YPSVSM+dfd+1HYNL8ihKx1ozNGK4VTP1o5EFC0AvvksLtlY4NIh0SRzS9rWFAJTQBG KLZx4AtY2vQQx79h02uA4Lh4ihXdqtEomTSdNcMGUdiXtnQLtzDSlh5nOQl68ItAC6QC /vrjiOspo4lf+sx1++Lu0D6vsEimWfLxcZywzrdjJGrmlImqOupG7r4xo4KGdO+kJdvh TFhxb/J1dyP1kksPh4ZYkr9rSDpOnsTuNmb9nd8U6VfYLwunzsomkEZwT8Sr1K3TKU3h G29++6y/XuPoAsDhL67T7rBuIWlALD9/9nF3z2MAXtoNFc9mGl25h/TnFwTOSYoC6jph 8MXQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f4-v6si26273819plo.226.2018.07.14.14.10.10; Sat, 14 Jul 2018 14:10:39 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731280AbeGNV3e (ORCPT + 99 others); Sat, 14 Jul 2018 17:29:34 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:44896 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729637AbeGNV3e (ORCPT ); Sat, 14 Jul 2018 17:29:34 -0400 Received: by atrey.karlin.mff.cuni.cz (Postfix, from userid 512) id D9F3B80551; Sat, 14 Jul 2018 23:09:13 +0200 (CEST) Date: Sat, 14 Jul 2018 23:09:13 +0200 From: Pavel Machek To: Guenter Roeck Cc: Willy Tarreau , "ksummit-discuss@lists.linuxfoundation.org" , Greg KH , "linux-kernel@vger.kernel.org" Subject: Re: [Ksummit-discuss] bug-introducing patches Message-ID: <20180714210913.GA31065@amd> References: <20180501200019.GA7397@sasha-vm> <20180501205448.GE10479@thunk.org> <20180501220228.GD7397@sasha-vm> <20180502043017.GA11938@1wt.eu> <20180502194139.GA18390@sasha-vm> <20180502200229.GA12729@1wt.eu> <20180714173812.xhfwtcijlxebmn2k@devuan> <20180714194716.GA27381@amd> <4fbbb00c-dcc1-8a2a-a1c6-8d61d545b7b6@roeck-us.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="pWyiEgJYm5f9v55/" Content-Disposition: inline In-Reply-To: <4fbbb00c-dcc1-8a2a-a1c6-8d61d545b7b6@roeck-us.net> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --pWyiEgJYm5f9v55/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > >Well, 0day, kernelci etc... is nice... until the change is in the > >driver. Most of the kernel are drivers, remember? > > > >I don't know. I'd say that if patch is important enough for -stable, > >there should be someone testing it. For core kernel changes, that can > >be 0day bot, but for drivers... > > >=20 > For my part I am just glad that we were able to pick up a fix in xhci code > just last week, tested or not, from -stable, instead of having to track it > down ourselves. Similar for many other driver patches which _do_ affect us > (like the flurry of ext4 patches this week). Granted, there are lots of > patches which we don't use/need, but even there it is surprising how many > problems are found with existing testing. >=20 > For anyone interested in making sure that obscure (whatever that means) > drivers are tested for stable releases, but does not want to spend time o= n it, > all I can recommend is to implement qemu support for it and let me know, > and I'll be happy to add a respective test to my test farm. Umm. Yes, qemu support for every driver would be nice, but will not happen. > However, ultimately, stable release candidates are public. Everyone is > invited to test them. Anyone interested in a specific release and > driver Yes, they are public. SubmittingPatches says every patch should be tested, and that's clearly not happening for -stable. And I'd like those patch marked such. > >And problem exists on mainline, too. > > > >Hmm. Patch for obscure driver. Wow, nice, is WellKnownName actually > >using that driver? Aha, no, he is not; he is doing global > >search&replace, and did not test the patch... > > >=20 > Ah, like me with the strncpy(x, y, strlen(y)) -> memcpy() replacements > I did a week or so ago ? You are right, I only compile tested those and > otherwise trusted my ability to understand C code. If that caused any > problems, please let me know, and hopefully I'll be able to learn somethi= ng > from it. Yes, such stuff. No, I was not talking about you. I did not want to give concrete example, but... # > get_monotonic_boottime() is deprecated, so let's convert this to # > the simpler ktime_get_boot_ns(). # > # > Signed-off-by: #=20 # Have you tested it? # =2E.. # > - curr_boot =3D timespec_to_ns(&boot_time) * cpus; #=20 # Original code is pretty weird (notice the * cpus), so I'm # double-checking. Yes, often you can guess that patch was probably not tested, but it would be nice to have Tested: compile annotation to take away the guesswork. It took me a while an some head scratching in this concrete example, and it is not first time this happened. Best regards, Pavel --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --pWyiEgJYm5f9v55/ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAltKZnkACgkQMOfwapXb+vIKmgCglFAZdOe8KNIzNewX6hFTj+QP EhcAmgOBb8PVJoxJpMp794mLW8LEgaBx =N9aT -----END PGP SIGNATURE----- --pWyiEgJYm5f9v55/--