Return-Path: Received: from mail-pg0-f67.google.com ([74.125.83.67]:40099 "EHLO mail-pg0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750820AbeC1XZP (ORCPT ); Wed, 28 Mar 2018 19:25:15 -0400 Received: by mail-pg0-f67.google.com with SMTP id g8so1818151pgv.7 for ; Wed, 28 Mar 2018 16:25:14 -0700 (PDT) From: "Stephen Hemminger" To: "'Joshua R. Poulson'" Cc: "'K. Y. Srinivasan'" , "'KY Srinivasan'" , , , , , "'Andy Whitcroft'" , "'Vitaly Kuznetsov'" , , "'Leann Ogasawara'" , "'Marcelo Henrique Cerri'" , "'Stephen Hemminger'" , "'Michael Kelley'" , "'Stable'" References: <20180305052408.19475-1-kys@exchange.microsoft.com> <20180328120142.7ba72aa2@xeon-e3> In-Reply-To: Subject: RE: [PATCH 1/1] Drivers: hv: vmbus: Fix ring buffer signaling Date: Wed, 28 Mar 2018 16:25:11 -0700 Message-ID: <03e101d3c6ec$05828e20$1087aa60$@networkplumber.org> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Content-Language: en-us Sender: stable-owner@vger.kernel.org List-ID: Thanks, I hadn't updated to rc7 yet -----Original Message----- From: Joshua R. Poulson =20 Sent: Wednesday, March 28, 2018 12:18 PM To: Stephen Hemminger Cc: K. Y. Srinivasan ; KY Srinivasan = ; gregkh@linuxfoundation.org; = linux-kernel@vger.kernel.org; devel@linuxdriverproject.org; = olaf@aepfle.de; Andy Whitcroft ; Vitaly Kuznetsov = ; jasowang@redhat.com; Leann Ogasawara = ; Marcelo Henrique Cerri = ; Stephen Hemminger = ; Michael Kelley ; Stable = Subject: Re: [PATCH 1/1] Drivers: hv: vmbus: Fix ring buffer signaling https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit= /?h=3Dv4.16-rc7&id=3D655296c8bbeffcf020558c4455305d597a73bde1 On Wed, Mar 28, 2018 at 12:01 PM, Stephen Hemminger wrote: > On Sun, 4 Mar 2018 22:24:08 -0700 > kys@exchange.microsoft.com wrote: > >> From: Michael Kelley >> >> Fix bugs in signaling the Hyper-V host when freeing space in the >> host->guest ring buffer: >> >> 1. The interrupt_mask must not be used to determine whether to signal >> on the host->guest ring buffer >> 2. The ring buffer write_index must be read (via = hv_get_bytes_to_write) >> *after* pending_send_sz is read in order to avoid a race condition >> 3. Comparisons with pending_send_sz must treat the "equals" case as >> not-enough-space >> 4. Don't signal if the pending_send_sz feature is not present. Older >> versions of Hyper-V that don't implement this feature will poll. >> >> Fixes: 03bad714a161 ("vmbus: more host signalling avoidance") >> >> Cc: Stable # 4.14 and above >> Signed-off-by: Michael Kelley >> Signed-off-by: K. Y. Srinivasan > > What ever happened to this patch? It doesn't seem to be in char-misc, = upstream, > or stable kernel tree yet. > >