From patchwork Sun Apr 7 18:10:56 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sven Schnelle X-Patchwork-Id: 10888551 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 8BD7F17EF for ; Sun, 7 Apr 2019 18:11:08 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 79BF42852D for ; Sun, 7 Apr 2019 18:11:08 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6E36E285A2; Sun, 7 Apr 2019 18:11:08 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A78662852D for ; Sun, 7 Apr 2019 18:11:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726411AbfDGSLH (ORCPT ); Sun, 7 Apr 2019 14:11:07 -0400 Received: from smtp.duncanthrax.net ([89.31.1.170]:43254 "EHLO smtp.duncanthrax.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726396AbfDGSLH (ORCPT ); Sun, 7 Apr 2019 14:11:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=duncanthrax.net; s=dkim; h=Content-Transfer-Encoding:MIME-Version: Message-Id:Date:Subject:Cc:To:From; bh=jBZLz2IwXhdmRKPltTS/AN+JXAvzm5RxalxVIas/+l0=; b=THEK89T27wVjEirX35pEBRiSHl XfqB5tm0EBfL6Bk4dGag2oTkTga2ZPvEzuN8JPamgVm/Qg16cji1r0CnorKRlBmH0UNUU73mqlw7G BEMnRObHnAFcCV0pnNseahGKt3XYXbgsQ5eDw7AqdsB1HgKobjfD60Io9Kvn9YjErq/0=; Received: from [134.3.47.207] (helo=t470p.stackframe.org) by smtp.eurescom.eu with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1hDCG0-0000mt-RY; Sun, 07 Apr 2019 20:11:04 +0200 From: Sven Schnelle To: linux-parisc@vger.kernel.org Cc: Sven Schnelle Subject: [PATCH 0/2] parisc: add kprobes Date: Sun, 7 Apr 2019 20:10:56 +0200 Message-Id: <20190407181058.29728-1-svens@stackframe.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Sender: linux-parisc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-parisc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Hi List, these two patches implement kprobes for PA-RISC. Sven Schnelle (2): parisc: add functions required by KPROBE_EVENTS parisc: Implement kprobes arch/parisc/Kconfig | 1 + arch/parisc/include/asm/kprobes.h | 55 +++++++++ arch/parisc/include/asm/ptrace.h | 13 +++ arch/parisc/kernel/Makefile | 1 + arch/parisc/kernel/kprobes.c | 183 ++++++++++++++++++++++++++++++ arch/parisc/kernel/ptrace.c | 35 ++++++ arch/parisc/kernel/traps.c | 14 +++ 7 files changed, 302 insertions(+) create mode 100644 arch/parisc/include/asm/kprobes.h create mode 100644 arch/parisc/kernel/kprobes.c