Content-Type: multipart/mixed; boundary="===============3718884025111651183==" MIME-Version: 1.0 From: Dave Jiang Subject: [Accel-config] Re: [PATCH 1/1] accel-config: Fix idxd_mdev modprobe on specific silicon stepping Date: Fri, 02 Apr 2021 11:02:59 -0700 Message-ID: <92efe01b-85b3-639c-310f-33aa2d04e4ab@intel.com> In-Reply-To: 843b86ee14434adf9af60636691bf5d3@intel.com To: accel-config@lists.01.org List-ID: --===============3718884025111651183== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable On 4/2/2021 10:29 AM, Luck, Tony wrote: >> modprobe idxd >> + sleep 1 > Dave - this seems weird. Does the idxd start up some async work during mo= dule > initialization? I'd normally expect "modprobe" to complete synchronously. > > "sleep 1" seems a fragile fix. If the system is heavily loaded would you = need > a longer sleep? > > -Tony I don't think so. Although it does do a bunch of 'struct device' = registration and attempt to probe all of them with registered drivers on = the dsa_bus. I'm not sure if those are done in async manner. --===============3718884025111651183==--