From patchwork Wed Sep 28 08:15:11 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Vivier X-Patchwork-Id: 12992090 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 lists.gnu.org (lists.gnu.org [209.51.188.17]) (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 3A690C32771 for ; Wed, 28 Sep 2022 10:50:20 +0000 (UTC) Received: from localhost ([::1]:45030 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1odUdv-00038u-7K for qemu-devel@archiver.kernel.org; Wed, 28 Sep 2022 06:50:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34560) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1odSEL-0008FC-M0 for qemu-devel@nongnu.org; Wed, 28 Sep 2022 04:15:52 -0400 Received: from mout.kundenserver.de ([217.72.192.75]:60275) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1odSED-0008Fe-HP for qemu-devel@nongnu.org; Wed, 28 Sep 2022 04:15:40 -0400 Received: from quad ([82.142.8.70]) by mrelayeu.kundenserver.de (mreue106 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MiZof-1p88Po0xmB-00ff0P; Wed, 28 Sep 2022 10:15:35 +0200 From: Laurent Vivier To: qemu-devel@nongnu.org Cc: Richard Henderson , Laurent Vivier Subject: [PULL 32/38] linux-user: Implement FUTEX_WAKE_BITSET Date: Wed, 28 Sep 2022 10:15:11 +0200 Message-Id: <20220928081517.734954-33-laurent@vivier.eu> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20220928081517.734954-1-laurent@vivier.eu> References: <20220928081517.734954-1-laurent@vivier.eu> MIME-Version: 1.0 X-Provags-ID: V03:K1:NpZNtQbKCA1kTY97l8yx3W+Jmt0aNr87dA16Lk07ICBAGSvJ94t uSYpo5hQcaSbwW+qHoka07z97/ccXvc+iJI2+i6V438mW8nwiRWrS4x0T0JbfXKxbGIRa8Z O9LtG7PvgQuxebxmOtLw48IH4rrjwNo/JLmM4WtEIiBJ0NbwGhlbEvyrnKz/+wpUm0EfvlS guBL+LpOd8qZ3k0MnAhLw== X-UI-Out-Filterresults: notjunk:1;V03:K0:HeA2M+Tmnx4=:TdDxkzPfdFE44YE0EfI8Ex wUMvmnObwkCScqpQb+VqSXbEkawjCVZ2iL50OKlI5IHoHaHh6mToNhzG4RgSi2DmvoMi9zR19 ySF27To38LN6yonioF6CCleemLCvyTHk7R7pNW6zW0jH0INp5j8WY00MclvKRoiemMU5iZ3Nt 2Ecga2dSa+gCAESfzChnJ9hDDH7pEikKCpB+JWSSE69RIMIux2uayraxjyr0aGd3rswLy24q8 9A0CCKjOmfviEcSCBMb0l0L1bzt2hzOsyTomR9KMeCMkXiuxEL7WAEjkQnjIhYKh4WAuXYUPS 9qnhfs2uxuoMNqdrrE/m5U3ZOYJsWTbF+nFvMgCMmVzPF5YiAjWMtiM8xEyaizLBBVzfMqnRs F5WB8UJlXci5szVzbTHCq4w2E0WTyv8zxPZ2zeHRo5xuUQeQSgJ3cve1ZPX5OqgvywdoHUE/H kL/4EnRRNxa8DxafS8F+zyEz9l83l9r1B4mrDG2OW1M9CqTHAgQGeG5jgZ+G0jG9eje7pyhyQ OD7VvfPZTyInOPbuFjthW2U04Gt1q/25915oW7f1+i7XFWbE5+URfCd9Wmv1ZGiUCdq0Ryt3b blowzwF87EH/Xn2DeHjg8icb1tHEqJBDITc8bxTGKrFWMLddHJNv7eR1xHZp/L5qTMUEQmqy6 9lRS/SG3zMA1YwunU3rYKJunskdxMVjFKmTRaMC07gl2dGG9nMpvqsGdd8iTFciGWiqxOcR5y A2QxOREmVKj5le9blaIeaBPcEUx0WGKQjEzs12e/sCnA/AM89XVwI2yEHodm9b4bwsnR3xNiM vIWEAHj Received-SPF: none client-ip=217.72.192.75; envelope-from=laurent@vivier.eu; helo=mout.kundenserver.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" From: Richard Henderson Signed-off-by: Richard Henderson Reviewed-by: Laurent Vivier Message-Id: <20220829021006.67305-4-richard.henderson@linaro.org> Signed-off-by: Laurent Vivier --- linux-user/syscall.c | 1 + 1 file changed, 1 insertion(+) diff --git a/linux-user/syscall.c b/linux-user/syscall.c index 17e17f480456..e2b6b564e6cb 100644 --- a/linux-user/syscall.c +++ b/linux-user/syscall.c @@ -7789,6 +7789,7 @@ static int do_futex(CPUState *cpu, bool time64, target_ulong uaddr, val = tswap32(val); break; case FUTEX_WAKE: + case FUTEX_WAKE_BITSET: timeout = 0; break; case FUTEX_FD: