From owner-svn-src-head@freebsd.org Fri Mar 15 16:41:04 2019 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9AD0E15260BD; Fri, 15 Mar 2019 16:41:04 +0000 (UTC) (envelope-from freebsd@gndrsh.dnsmgr.net) Received: from gndrsh.dnsmgr.net (br1.CN84in.dnsmgr.net [69.59.192.140]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 052526FFEF; Fri, 15 Mar 2019 16:41:03 +0000 (UTC) (envelope-from freebsd@gndrsh.dnsmgr.net) Received: from gndrsh.dnsmgr.net (localhost [127.0.0.1]) by gndrsh.dnsmgr.net (8.13.3/8.13.3) with ESMTP id x2FGf1Aq031001; Fri, 15 Mar 2019 09:41:01 -0700 (PDT) (envelope-from freebsd@gndrsh.dnsmgr.net) Received: (from freebsd@localhost) by gndrsh.dnsmgr.net (8.13.3/8.13.3/Submit) id x2FGf19e031000; Fri, 15 Mar 2019 09:41:01 -0700 (PDT) (envelope-from freebsd) From: "Rodney W. Grimes" Message-Id: <201903151641.x2FGf19e031000@gndrsh.dnsmgr.net> Subject: Re: svn commit: r345171 - head/usr.sbin/bhyve In-Reply-To: To: araujo@freebsd.org Date: Fri, 15 Mar 2019 09:41:01 -0700 (PDT) CC: "Rodney W. Grimes" , Ian Lepore , Chuck Tuffli , src-committers , svn-src-all , svn-src-head Reply-To: rgrimes@freebsd.org X-Mailer: ELM [version 2.4ME+ PL121h (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Rspamd-Queue-Id: 052526FFEF X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.96 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.96)[-0.957,0]; REPLY(-4.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Mar 2019 16:41:04 -0000 > Em s?b, 16 de mar de 2019 ?s 00:03, Rodney W. Grimes < > freebsd@gndrsh.dnsmgr.net> escreveu: > > > > Em sex, 15 de mar de 2019 ?s 22:12, Ian Lepore > > escreveu: > > > > > > > On Thu, 2019-03-14 at 19:31 -0700, Rodney W. Grimes wrote: > > > > > > Author: chuck > > > > > > Date: Fri Mar 15 02:11:28 2019 > > > > > > New Revision: 345171 > > > > > > URL: https://svnweb.freebsd.org/changeset/base/345171 > > > > > > > > > > > > Log: > > > > > > Fix bhyve PCIe capability emulation > > > > > > > > > > > > PCIe devices starting with version 1.1 must set the Role-Based > > > > > > Error > > > > > > Reporting bit. > > > > > > > > > > > > And while we're in the neighborhood, generalize the code > > > > > > assigning the > > > > > > device type. > > > > > > > > > > > > Reviewed by: imp, araujo, rgrimes > > > > > > Approved by: imp (mentor) > > > > > > MFC after: 1 week > > > > > > Differential Revision: https://reviews.freebsd.org/D19580 > > > > > > > > > > This code requires maintainer approval before a commit, > > > > > though this was well reviewed that doesnt exclude it > > > > > from the MAINTAINERS entry. > > > > > > > > > > > > > Where exactly does it say that in MAINTAINERS? As another victim of > > > > this sort of drive-by lynching after making a trivial bhyve change I > > > > pretty seriously object to a vague and meaningless entry in MAINTAINERS > > > > being used to pounce on anyone who dares to touch the precious bhyve > > > > code. > > > > > > > > > > There is a new entry on MAINTAINERS: > > > https://svnweb.freebsd.org/base?view=revision&revision=344631 > > > > > > > > > > > > > > There is no mention of bhyve in MAINTAINERS, for usr.sbin or elsewhere. > > > > There is an entry for vmm(4), which to me does not say anything about > > > > bhyve, yet somehow everybody is supposed to know what it means and > > > > what-all territory it covers? > > > > > > > > IMO, this sort of hyper-proprietary pouncing on everyone who dares > > > > change a single line of code is not productive. It is HIGHLY de- > > > > motivating. Large sweeping design changes are one thing, but pouncing > > > > on every tiny minor commit is just not helpful. > > > > > > > > > > +1 > > > > > > I got so frustrated with it recently that I have decided to don't > > > contribute with bhyve anymore, perhaps even with FreeBSD. > > > I still have some people under mentorship that I intend to finish and > > then > > > probably I will phase out. > > > > Your failure to get reviews, and infact even abandon one that had > > negative advice as to the validity of your suggested change and > > committing it anyway is more likely the cause here. > > > > You also committed code with no review at all that had to be reverted > > after the bugs it caused were found by an external down stream consumers > > of the bhyve code. > > > > You had code reverted by core due to a external attribution request, > > which had you been attending the bi monthly bhyve calls you would of > > known was an issue. > > > > I would suggest these are the reasons your feeling angry, and that > > I infact tried to reach out to jhb to discuss some of these earlier > > but that reach out was never returned. I under stand your frustration, > > you are just wanting to do with best thing you can for the project > > and bhyve, can we try to find a better resolution to this situation > > than your exit? > > > > > > > > > > > > -- Ian > > > > > > > > > Leave it for now, I am sure jhb or thyco are fine with it, > > > > > this is just a heads up FYI for future commits. > > > > > > > > > > Bhyve code has been and still is under a fairly tight > > > > > MAINTAINER status. > > > > > > > > > > > Modified: > > > > > > head/usr.sbin/bhyve/pci_emul.c > > > > > > > > > > > > Modified: head/usr.sbin/bhyve/pci_emul.c > > > > > > =================================================================== > > > > > > =========== > > > > > > --- head/usr.sbin/bhyve/pci_emul.c Fri Mar 15 02:11:27 2019 > > (r3 > > > > > > 45170) > > > > > > +++ head/usr.sbin/bhyve/pci_emul.c Fri Mar 15 02:11:28 2019 > > (r3 > > > > > > 45171) > > > > > > @@ -953,7 +953,10 @@ pci_emul_add_pciecap(struct pci_devinst *pi, > > > > > > int type) > > > > > > bzero(&pciecap, sizeof(pciecap)); > > > > > > > > > > > > pciecap.capid = PCIY_EXPRESS; > > > > > > - pciecap.pcie_capabilities = PCIECAP_VERSION | > > > > > > PCIEM_TYPE_ROOT_PORT; > > > > > > + pciecap.pcie_capabilities = PCIECAP_VERSION | type; > > > > > > + /* Devices starting with version 1.1 must set the RBER bit */ > > > > > > + if (PCIECAP_VERSION >= 1) > > > > > > + pciecap.dev_capabilities = PCIEM_CAP_ROLE_ERR_RPT; > > > > > > pciecap.link_capabilities = 0x411; /* gen1, x1 */ > > > > > > pciecap.link_status = 0x11; /* gen1, x1 */ > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > -- > > > Marcelo Araujo (__)araujo@FreeBSD.org > > > \\\'',)http://www.FreeBSD.org \/ \ ^ > > > Power To Server. .\. /_) > > > > -- > > Rod Grimes > > rgrimes@freebsd.org > > > > Sorry Rod, I don't want to be rude, but even though I'm not a native > English speaker, it hurts my eyes seeing the misspellings in your emails. I need to bring back ispell, your right, I am a horrid speller, and your also right, that does make it very hard for a non native speaker to read my email some times. > And I have spent enough time in public and private trying to talk with you, > I don't have this time anymore. So, I truly believe you should get the > maintainership of bhyve as it seems you are the most capable person to do > so. Wait, your previous mentor... well, I won't repeat his words! I do not want or desire in any way to be the maintainer of bhyve, infact when Peter Grehan suggested I make myself maintaner over the vmrun.sh script after I cleaned it up, I replied, no thanks. > Good lucky with bhyve, as a suggestion, one feature that at least myself > need is the capability to parse a configuration file and boot a guest vm. > That would be amazing! I believe there are 2 or 3 port implementations of this, and the developement group, as you are well aware, has spoken about this very issue several times. Much of that was being driven by you, with input from the group. > Another feature that I want and I think the most important is: let people > get involved and evolve bhyve code. Who is stopping anyone from becoming involved? The only stopping I see occuring with respect to you directly, is buggy code getting in the tree. I am sorry that you can not seem to understand the feedback in reviews is nothing personal in anyway, and that people are addressing bugs in the code and giving ressons that it should be changed. You take issue with that feedback and it seems to take an effort to convince you that your code is wrong and needs changed. And that is not only my feedback that you have ignored, that appears to be the case with most feedback. I am/was actively working with Patrick Mooney of Joyent to bring back there changes to FreeBSD, and to make sure changes I was working on can transparently port to Illumos. There is now mutual co-operation between the 2 projects, jhb and myself have both been asked to took at Joyent changes in review and give feedback there, and Patrick is activley participating in the FreeBSD phabricator reviews. I have enumerated all phab reviews I could find and enumerated those in the meeting so that we can discuss them and poll the respective parties to try and get that code moved forward, in that process I have gotten atleast one more person involved in my work on removing the constant VM_MAXCPUS and attributed him with a very early version of the patch. > Marcelo Araujo (__)araujo@FreeBSD.org -- Rod Grimes rgrimes@freebsd.org