From patchwork Fri Apr 12 13:51:52 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Ujfalusi X-Patchwork-Id: 16114 Return-Path: X-Original-To: linaro@staging.patches.linaro.org Delivered-To: linaro@staging.patches.linaro.org Received: from mail-qc0-f198.google.com (mail-qc0-f198.google.com [209.85.216.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 8403126EB0 for ; Fri, 12 Apr 2013 13:52:23 +0000 (UTC) Received: by mail-qc0-f198.google.com with SMTP id v20sf1763420qcm.5 for ; Fri, 12 Apr 2013 06:51:59 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:x-beenthere:x-received:received-spf:x-received :x-forwarded-to:x-forwarded-for:delivered-to:x-received:received-spf :from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references :mime-version:x-gm-message-state:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-google-group-id:list-post:list-help:list-archive:list-unsubscribe :content-type; bh=ACQrhbWqkeIk9QiKolZ2aFkktBRG9R/q0f2pHgYBZG4=; b=n5NtNeejQmZEq4zYNyWDF0OaTRHcf2p408QdxicoCjR+WMNOWXD8LJPPSMK61m5ZMw RR3m0sRzDBBM2lxnApkYOjR5nl4FFDXJGW1BQOLzCDda2ifOxodzYjAHo5Yq1QxdKPyo 65BLKRTd03d1qiso2BbMcYE7sXFa7EiaAQzIk3aYpC7Hr5bAl3TY5TKJC9n4P3TLiyHF g9RWBcRHBOvP2hu/OfmIqXR7u/oUM4SdBo0rQp3YZc91eUJSZICk69ooP7tCn4VY2vug cA0Ra9TbXKEzftaN66ET+uTMrmTs0IPUrwDbi8ek3iWLkHxY9IL79SJDmL+fEZVu/F9F xfXw== X-Received: by 10.224.207.2 with SMTP id fw2mr6234511qab.6.1365774719415; Fri, 12 Apr 2013 06:51:59 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.35.39 with SMTP id e7ls1422755qej.58.gmail; Fri, 12 Apr 2013 06:51:59 -0700 (PDT) X-Received: by 10.220.115.135 with SMTP id i7mr8372266vcq.30.1365774719283; Fri, 12 Apr 2013 06:51:59 -0700 (PDT) Received: from mail-vc0-f178.google.com (mail-vc0-f178.google.com [209.85.220.178]) by mx.google.com with ESMTPS id tt5si6531639vec.4.2013.04.12.06.51.58 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 12 Apr 2013 06:51:59 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.178 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.178; Received: by mail-vc0-f178.google.com with SMTP id hv10so2207980vcb.37 for ; Fri, 12 Apr 2013 06:51:58 -0700 (PDT) X-Received: by 10.58.188.48 with SMTP id fx16mr1492845vec.22.1365774718839; Fri, 12 Apr 2013 06:51:58 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.58.127.98 with SMTP id nf2csp67036veb; Fri, 12 Apr 2013 06:51:58 -0700 (PDT) X-Received: by 10.224.110.136 with SMTP id n8mr11610577qap.65.1365774718133; Fri, 12 Apr 2013 06:51:58 -0700 (PDT) Received: from bear.ext.ti.com (bear.ext.ti.com. [192.94.94.41]) by mx.google.com with ESMTPS id 3si7970597qar.2.2013.04.12.06.51.57 (version=TLSv1 cipher=RC4-SHA bits=128/128); Fri, 12 Apr 2013 06:51:58 -0700 (PDT) Received-SPF: pass (google.com: domain of peter.ujfalusi@ti.com designates 192.94.94.41 as permitted sender) client-ip=192.94.94.41; Received: from dlelxv30.itg.ti.com ([172.17.2.17]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id r3CDpupE001632; Fri, 12 Apr 2013 08:51:56 -0500 Received: from DFLE72.ent.ti.com (dfle72.ent.ti.com [128.247.5.109]) by dlelxv30.itg.ti.com (8.13.8/8.13.8) with ESMTP id r3CDpuDR032077; Fri, 12 Apr 2013 08:51:56 -0500 Received: from dlelxv22.itg.ti.com (172.17.1.197) by DFLE72.ent.ti.com (128.247.5.109) with Microsoft SMTP Server id 14.2.342.3; Fri, 12 Apr 2013 08:51:56 -0500 Received: from barack.emea.dhcp.ti.com (barack.emea.dhcp.ti.com [137.167.125.74]) by dlelxv22.itg.ti.com (8.13.8/8.13.8) with ESMTP id r3CDprwC032328; Fri, 12 Apr 2013 08:51:55 -0500 From: Peter Ujfalusi To: CC: , , , Subject: [PATCH] omap4.conf: Disable OMAP2 support Date: Fri, 12 Apr 2013 15:51:52 +0200 Message-ID: <1365774712-22947-2-git-send-email-peter.ujfalusi@ti.com> X-Mailer: git-send-email 1.8.1.5 In-Reply-To: <1365774712-22947-1-git-send-email-peter.ujfalusi@ti.com> References: <1365774712-22947-1-git-send-email-peter.ujfalusi@ti.com> MIME-Version: 1.0 X-Gm-Message-State: ALoCoQngxTRQdRFdr9firxmdt5FJH9baOqrHfYtuAOLX35l1O1PUegf9BjyPeGAKXqYttGHHqYL1 X-Original-Sender: peter.ujfalusi@ti.com X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.178 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , When the kernel is built with CONFIG_ARCH_OMAP2 it will select CPU_V6 and other dependencies which causes issues in user space. For example when clients try to connect to PulseAudio they will crash with: Assertion 'pthread_mutex_unlock(&m->mutex) == 0' failed at pulsecore/mutex-posix.c:108, function pa_mutex_unlock(). Aborting. Remove support for OMAP2 for now. Signed-off-by: Peter Ujfalusi --- Hi Andrey, Can you take a look at this patch? In the latest hwpack for panda (with 3.9 kernel) PulseAudio clients all asserts with the following error: Assertion 'pthread_mutex_unlock(&m->mutex) == 0' failed at pulsecore/mutex-posix.c:108, function pa_mutex_unlock(). Aborting. The same userspace works fine (well, mostly) with 3.8 based hwpacks. It turns out that this is cased by the CONFIG_ARCH_OMAP2, if we disable it PA clients no longer assert. Since the config in question is for OMAP4, I see no issue removing the OMAP2 support since in this way we can get PA working. One issue still remain with PA: None of float resample method works: speex-float-[0-10] However speex-fixed-[0-10] and ffmpeg seams to be working, but it is not perfect. I'll try to figure out why we have this failure since on my Gentoo FS all resample method works fine with the same kernel. Regards, Peter linaro/configs/omap4.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/linaro/configs/omap4.conf b/linaro/configs/omap4.conf index 59e9f23..82c9365 100644 --- a/linaro/configs/omap4.conf +++ b/linaro/configs/omap4.conf @@ -11,6 +11,7 @@ CONFIG_OMAP_RESET_CLOCKS=y CONFIG_OMAP_MUX_DEBUG=y CONFIG_ARCH_OMAP2PLUS=y CONFIG_SOC_OMAP5=y +CONFIG_ARCH_OMAP2=n CONFIG_ARCH_VEXPRESS_CA9X4=y CONFIG_ARM_THUMBEE=y CONFIG_ARM_ERRATA_411920=y