From owner-svn-src-all@freebsd.org Thu Feb 4 15:32:46 2016 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4D6F7A99FCA for ; Thu, 4 Feb 2016 15:32:46 +0000 (UTC) (envelope-from zbb@semihalf.com) Received: from mail-lf0-x22e.google.com (mail-lf0-x22e.google.com [IPv6:2a00:1450:4010:c07::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DDA75619 for ; Thu, 4 Feb 2016 15:32:45 +0000 (UTC) (envelope-from zbb@semihalf.com) Received: by mail-lf0-x22e.google.com with SMTP id l143so38581060lfe.2 for ; Thu, 04 Feb 2016 07:32:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=mbqPy3T808BnY/glwXxvWTisxr8FUQQlg7r49CUXSd4=; b=aWwMOEOGk/UoDkZHFcCLW16IEjS8k0BUmD1WIdUMtlCaH1kRuw0EDtOsqb1d8smB7Z fjemnzBQhwU53C8V66yZJntlPNMOE24JB4Ghxa8QCgFcsv7u/QmhVTr/YGUrGgJ1543M xoAnpiC5egPx0/sXsHM2+KkVZHtwY9xamWUm8e7NaMF1tig79ixz0zd2N47z++zl+Zux 0A7K1YdqHvsLC7iAbAVrwiLzjX1bMcLMAYaq67JfIFAYWbDImOWiF/LGjlR17Kf1kkZD ZmLfv8DhAsMzqtXY1Jv+7ks+4HPGXvrFAZJgwLP5yiGl4gSpWW9VT7SCmWoGGRLremjl Dkyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=mbqPy3T808BnY/glwXxvWTisxr8FUQQlg7r49CUXSd4=; b=X0/XjrLbAaJ+46fjqw6CbCFxQ+bI5bdAftYq3t+a3K8du9ezAfXAf7vgkmch7K4C49 MlqVywpKjDzwcxS2W4YvhRYoHrB787/ey8b0x64S43lSeZnmSDKD9NNtGGpRkMsx8yfg VXb41Q9Gk0wo2wH2xktkD65OpfOnTZBqkdvx6K0cAIm3G0hj52CFqDqe/DVaus+1rHyM tatNsv5Uez1WjFHeGJ+ogtCueZh9bqSLsAcCD+50TtjZv8dfHZE+TUMUQXkrvuXMgtR2 v8WRiPNaDYVp02CI7eQPHkoLWy4AO+lzKNBgiyujpERsfHSm1/sMYrHFtgAMRauvHXOb sjCg== X-Gm-Message-State: AG10YOT46QRdW5UxX8u6DaiwFxt+IG5Ezo1erW36h8vJuA3r2vWUem4RpvJOqHq7AbPDJlkbJxH9B2n/GkpRlQ== X-Received: by 10.25.137.136 with SMTP id l130mr3315367lfd.158.1454599963900; Thu, 04 Feb 2016 07:32:43 -0800 (PST) MIME-Version: 1.0 Received: by 10.25.198.7 with HTTP; Thu, 4 Feb 2016 07:32:24 -0800 (PST) In-Reply-To: <56B363F7.6000003@freebsd.org> References: <201602041332.u14DWTu0085871@repo.freebsd.org> <56B363F7.6000003@freebsd.org> From: Zbigniew Bodek Date: Thu, 4 Feb 2016 16:32:24 +0100 Message-ID: Subject: Re: svn commit: r295254 - head/sys/arm/arm To: Michal Meloun Cc: svn-src-all@freebsd.org, svn-src-head@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Feb 2016 15:32:46 -0000 Hmm I didn't try that but I think the architecture supports using both Monitor mode debugging (on a running system) and Halting debug mode (using debugger). However I will need to ensure whether any additional configuration is required to use both at the same time. Best regards zbb 2016-02-04 15:45 GMT+01:00 Michal Meloun : > Yep, I'm ready to review your patch. > Allow me one question in forward. > How this patch affects JTAG based debugging of kernel? Mainly if I start > kernel under JTAG debugger, with active breakpoints (or watchpoints). > > Michal > > Dne 04.02.2016 v 14:41 Zbigniew Bodek napsal(a): > > Hello Michal, > > > > I have a fix for that that I will send for review soon (I need to test > > in on some other platforms): > > > https://people.freebsd.org/~zbb/arm/other/0001-Fix-debug_monitor-code-for-older-ARMs-ARM11.patch > > < > https://people.freebsd.org/%7Ezbb/arm/other/0001-Fix-debug_monitor-code-for-older-ARMs-ARM11.patch > > > > > > If you don't mind I will add you to the review on Phabricator. > > > > Best regards > > zbb > > > > 2016-02-04 14:32 GMT+01:00 Michal Meloun > >: > > > > Author: mmel > > Date: Thu Feb 4 13:32:29 2016 > > New Revision: 295254 > > URL: https://svnweb.freebsd.org/changeset/base/295254 > > > > Log: > > ARM: RPI-B kernel was broken by r294740. Make it functional again. > > > > Modified: > > head/sys/arm/arm/debug_monitor.c > > > > Modified: head/sys/arm/arm/debug_monitor.c > > > ============================================================================== > > --- head/sys/arm/arm/debug_monitor.c Thu Feb 4 12:49:28 2016 > > (r295253) > > +++ head/sys/arm/arm/debug_monitor.c Thu Feb 4 13:32:29 2016 > > (r295254) > > @@ -845,8 +845,10 @@ dbg_arch_supported(void) > > { > > > > switch (dbg_model) { > > +#ifdef not_yet > > case ID_DFR0_CP_DEBUG_M_V6: > > case ID_DFR0_CP_DEBUG_M_V6_1: > > +#endif > > case ID_DFR0_CP_DEBUG_M_V7: > > case ID_DFR0_CP_DEBUG_M_V7_1: /* fall through */ > > return (TRUE); > > _______________________________________________ > > svn-src-all@freebsd.org mailing > list > > https://lists.freebsd.org/mailman/listinfo/svn-src-all > > To unsubscribe, send any mail to > > "svn-src-all-unsubscribe@freebsd.org > > " > > > > > >