From nobody Wed Feb 16 07:58:14 2022 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id A5DFA19CA2C8; Wed, 16 Feb 2022 07:58:14 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Jz9LZ4GL1z4XW5; Wed, 16 Feb 2022 07:58:14 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1644998294; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=PVtUuiM2PURhtYa+QziBk/oxvx3qJj86DD7gqqLPqAY=; b=ObkbaHv/5HJFjQLXQG9IduWaZeQnZUg7dNm0Cd0vPRnAa5GY3lbLjqqXJpvlOR7aMOtGhu SgVYaOD4lB9l5ct+aC4Uap4ZJRt7Y7uxKazuzr91ylDCDk2bBcwAwgcS2XrFIKCD8Mq8F6 BkKZQ62jkovWR2l3G9dk8kvJt13ULcqM3qUw6DpyanS2Xj1YKp19SE/vqwxvQ8FQJ51CG7 qHrHzlNByWyGxym1IoIcBRviAT7o8TC+lgdP4zF740GNmg2EPJDei/tPUtQ5xJ5e96GZIp 2L5X8xqYs7UMGTQSoKEhL5NtE1WsC2yYbi+AQc1RDmxFhsuySlVIzme/DVuoHw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 72C8D12938; Wed, 16 Feb 2022 07:58:14 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 21G7wE99046783; Wed, 16 Feb 2022 07:58:14 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 21G7wEN5046782; Wed, 16 Feb 2022 07:58:14 GMT (envelope-from git) Date: Wed, 16 Feb 2022 07:58:14 GMT Message-Id: <202202160758.21G7wEN5046782@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Andriy Gapon Subject: git: 1a93b2288cb1 - main - liberate wdog_kern_pat call from SW_WATCHDOG in arm minimdump code List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: avg X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 1a93b2288cb1cf160214272d62dcda2ad76a1f95 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1644998294; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=PVtUuiM2PURhtYa+QziBk/oxvx3qJj86DD7gqqLPqAY=; b=rpgn5ndaCPWrGZQYZHK0D/9piczw6gQzfbQwTecW4nkaeB4UY7wk9BESaZ34A0bWJif5PO xwWZAB1Op1WPytHbh4ea0wB1bvT3+rKSTfjZXfnGZUiu4mW6wb/zJmRDmGIDdeVi8GNHGo GJvXeuQzdAliFKvn7kffNLnnSt8+gGUJjD98HPetLkYpBPMmKZIdG5OP3NL8ckni18fT3u Eesjf2Ri6Ng8NTY6E4A2JgviZwm98G1snsemTEzCRPZL/chMiPUG7D3nZ7xWgWrEEDxP2Q sVIQ6BQDQ8NPh02O4ulU/ZuDhzo/0T/JvWZP2lyJuUj4cPEYY/pI2TJfiN4xZA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1644998294; a=rsa-sha256; cv=none; b=ieDyCRikPo+mVIJ1mWV2vkUiqnvQC79g2vIJz2vpTSWRvW7Ei+dj0tcZVwLU37C67ONyAL KIFQl1SrEQmGrZOveq+1IejqLzCD3jWrir7A8A4JUjPCqUgVTeAyvXn9V7S7dLA670VzoR xM0Dt99oQSpcrcFEsZjuNI+Og6ZcxOr6vUyiZNSZqvkuwAFwZud3pBpXXUzhzeUdaghY0Y LyXTlqi6Py8/OT2THdd/2egZkrjCT+DnYWyQc/BedhyIxJEemL/OsHOAnwftFtAUOWLZuT /FEZNlhTrW8zehrZutJV/L3fF2Uq4iLfUlQ1X6eWgmOeLsJsHPY5lwFyDwVAqA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by avg: URL: https://cgit.FreeBSD.org/src/commit/?id=1a93b2288cb1cf160214272d62dcda2ad76a1f95 commit 1a93b2288cb1cf160214272d62dcda2ad76a1f95 Author: Andriy Gapon AuthorDate: 2022-02-16 07:53:42 +0000 Commit: Andriy Gapon CommitDate: 2022-02-16 07:57:52 +0000 liberate wdog_kern_pat call from SW_WATCHDOG in arm minimdump code Obviosuly, there are hardware watchdogs on arm. MFC after: 1 week --- sys/arm/arm/minidump_machdep.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/sys/arm/arm/minidump_machdep.c b/sys/arm/arm/minidump_machdep.c index ab3034237d17..80692ee1359c 100644 --- a/sys/arm/arm/minidump_machdep.c +++ b/sys/arm/arm/minidump_machdep.c @@ -41,9 +41,7 @@ __FBSDID("$FreeBSD$"); #include #include #include -#ifdef SW_WATCHDOG #include -#endif #include #include #include @@ -114,9 +112,8 @@ blk_write(struct dumperinfo *di, char *ptr, vm_paddr_t pa, size_t sz) len = sz; dumpsys_pb_progress(len); -#ifdef SW_WATCHDOG wdog_kern_pat(WD_LASTVAL); -#endif + if (ptr) { error = dump_append(di, ptr, 0, len); if (error)