From patchwork Tue Apr 11 07:17:46 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tiezhu Yang X-Patchwork-Id: 7992 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp2387030vqo; Tue, 11 Apr 2023 00:28:42 -0700 (PDT) X-Google-Smtp-Source: AKy350bC0yuPOQ/L+IJEpyTDzveFD4UkzBOsrCKfMqvDB5ZeRn+VMW14If+nI3IAOJyXDgc2GeOP X-Received: by 2002:aa7:cfc3:0:b0:502:9289:51e5 with SMTP id r3-20020aa7cfc3000000b00502928951e5mr8260855edy.14.1681198122044; Tue, 11 Apr 2023 00:28:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681198122; cv=none; d=google.com; s=arc-20160816; b=OiADHjvP1bLi8lOrPrOcJWI48UlVTaopFD5+cecs90gNKZKbUy/P84qjPwBE5fqTjD j1Hmwq2ImfW1+KXHeBjIcADiI2zDUIvqRsRB9DxAdEXd4NcV/R2hRnGdVm/7WjPTWkFw KvH1RITZYKrFHhURJcYXsxE+aAfmWVzbbJlbkm44CwCUysl//fJ0l+nhTrknrZTVBPJ2 rHjufuUuTDL0xUT1FTi8tUN8gjbA8BXb9gM/C6mT+4E8tb2pfenC1agvdanH38kEAUAp +uxXn/dIT9KxBI8VtJt3ubLuFbuszSvrE+fwGr9AckHRJ/faWM34qRhcBt6TDCpKo1H8 Iyqw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from; bh=y2c2o70BVtdrjUo/YL6cTRugU2nty0voqHUK88/F214=; b=hZE9PWt89ap4eyRI28qr0ENWtlL17nntxNzdzgnyYKLeHxJMjq5zZQgN/q6wDwc5B4 r7GxlUIe+Wz874NNlsXwrTzFWI87VNl0IwF5JA1KjhBUpZSjrMSWy3DUa0RrlS1I3Qn3 kjllVHUdbWStv4LUehjHdpQTpVQkIudWP/amhPhixkTHFIV1Wl1A50aQIoloeBP4XWfY mLtX7E5AuPbyzCPN8qm6Q/cI8I2dyAeiTtYaG+jLE7tDXVuOTDr7ocqVrqYRzcFRJf1O jDVYo/PU9fOHZICBMwbzi5FXJ7Y33jyzpTx/LkKsu/6ElUTiwuvVZ98HLX9snx7WMTE1 Pf7A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t16-20020a056402021000b00504b52ca8c7si453edv.408.2023.04.11.00.28.17; Tue, 11 Apr 2023 00:28:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229849AbjDKHSC (ORCPT + 99 others); Tue, 11 Apr 2023 03:18:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38218 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229838AbjDKHSA (ORCPT ); Tue, 11 Apr 2023 03:18:00 -0400 Received: from loongson.cn (mail.loongson.cn [114.242.206.163]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 0C6CC90; Tue, 11 Apr 2023 00:17:56 -0700 (PDT) Received: from loongson.cn (unknown [113.200.148.30]) by gateway (Coremail) with SMTP id _____8CxhdijCTVkswYaAA--.40580S3; Tue, 11 Apr 2023 15:17:55 +0800 (CST) Received: from linux.localdomain (unknown [113.200.148.30]) by localhost.localdomain (Coremail) with SMTP id AQAAf8CxPL6iCTVkKRkeAA--.33433S2; Tue, 11 Apr 2023 15:17:55 +0800 (CST) From: Tiezhu Yang To: Thomas Bogendoerfer Cc: linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, loongson-kernel@lists.loongnix.cn Subject: [PATCH 0/2] Clean up uprobes for MIPS Date: Tue, 11 Apr 2023 15:17:46 +0800 Message-Id: <1681197468-20658-1-git-send-email-yangtiezhu@loongson.cn> X-Mailer: git-send-email 2.1.0 X-CM-TRANSID: AQAAf8CxPL6iCTVkKRkeAA--.33433S2 X-CM-SenderInfo: p1dqw3xlh2x3gn0dqz5rrqw2lrqou0/ X-Coremail-Antispam: 1Uk129KBjDUn29KB7ZKAUJUUUUU529EdanIXcx71UUUUU7KY7 ZEXasCq-sGcSsGvfJ3Ic02F40EFcxC0VAKzVAqx4xG6I80ebIjqfuFe4nvWSU5nxnvy29K BjDU0xBIdaVrnRJUUUyEb4IE77IF4wAFF20E14v26r1j6r4UM7CY07I20VC2zVCF04k26c xKx2IYs7xG6rWj6s0DM7CIcVAFz4kK6r1Y6r17M28lY4IEw2IIxxk0rwA2F7IY1VAKz4vE j48ve4kI8wA2z4x0Y4vE2Ix0cI8IcVAFwI0_Gr0_Xr1l84ACjcxK6xIIjxv20xvEc7CjxV AFwI0_Gr0_Cr1l84ACjcxK6I8E87Iv67AKxVW0oVCq3wA2z4x0Y4vEx4A2jsIEc7CjxVAF wI0_GcCE3s1le2I262IYc4CY6c8Ij28IcVAaY2xG8wAqjxCEc2xF0cIa020Ex4CE44I27w Aqx4xG64xvF2IEw4CE5I8CrVC2j2WlYx0E2Ix0cI8IcVAFwI0_JrI_JrylYx0Ex4A2jsIE 14v26r1j6r4UMcvjeVCFs4IE7xkEbVWUJVW8JwACjcxG0xvY0x0EwIxGrwCF04k20xvY0x 0EwIxGrwCFx2IqxVCFs4IE7xkEbVWUJVW8JwC20s026c02F40E14v26r1j6r18MI8I3I0E 7480Y4vE14v26r106r1rMI8E67AF67kF1VAFwI0_JF0_Jw1lIxkGc2Ij64vIr41lIxAIcV C0I7IYx2IY67AKxVWUJVWUCwCI42IY6xIIjxv20xvEc7CjxVAFwI0_Jr0_Gr1lIxAIcVCF 04k26cxKx2IYs7xG6r1j6r1xMIIF0xvEx4A2jsIE14v26r1j6r4UMIIF0xvEx4A2jsIEc7 CjxVAFwI0_Jr0_GrUvcSsGvfC2KfnxnUUI43ZEXa7IU8j-e5UUUUU== X-Spam-Status: No, score=-0.0 required=5.0 tests=SPF_HELO_PASS,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1762864001964142430?= X-GMAIL-MSGID: =?utf-8?q?1762864001964142430?= When I read uprobes code of all archs, I found that some code for MIPS is useless, so do some cleanups. Tiezhu Yang (2): MIPS: Use def_bool y for ARCH_SUPPORTS_UPROBES MIPS: Remove set_swbp() in uprobes.c arch/mips/Kconfig | 3 +-- arch/mips/kernel/uprobes.c | 18 ------------------ 2 files changed, 1 insertion(+), 20 deletions(-)