Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1698416ybl; Wed, 8 Jan 2020 23:35:50 -0800 (PST) X-Google-Smtp-Source: APXvYqwiL7/DV63eJ0HIuubs6J6aM3MHCjhJljxER8SxFHwJtkkaK/ivkNa9F4Y7vI9x7oM+oeXG X-Received: by 2002:a05:6808:315:: with SMTP id i21mr2019151oie.139.1578555350364; Wed, 08 Jan 2020 23:35:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578555350; cv=none; d=google.com; s=arc-20160816; b=LlT6Khn6xFkRZppk7cl2ZxZOLZPrNS8LaEnIyejG/TsKt+DuMDXssSHgQzzeNjHn/F 4eRoLQVC+JjPT4Sb2QDziAUfC3o2tsdYu8agKqU0iLlWTc4ff6IQcTakUUDmpqMjzJG/ 7vSx6N68JO8kEDbkR5a5tq01Se6K4mVfhFGo1O3DGofGdbz6JNBCYw3M/rJhcqk/DdCN vOkD3k8yT8C308GSuc0mjNsZbtk5wdgpV0U+Q9XoHBrT/4W+Ed8A8q8FAGUBmfpaBHei sMRFea1ZqPaxWbenQwt6XPH1e8yDcdBut1UUyCQ1dU9+FDknGyYiOHS1vf1vy6eB6WR+ eAyA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=/2qyiGxT2KA6m1Aj38p3/QNc4XmI5jQNHHSwmJje03g=; b=J1bLf3ukBpUCrZbRMl921Ar7q7YNWIZHS7+jdwNLKz4CKM51T9u+j5Kal8zlg7asrt u+r6RqE+mCJ1C+Ri0OFFsm6Ou9hAmxMtehY808Du+xBlzc0l2KjvgCQtdpI7evzEpVtz DSdermS5Vosq/79xf9MbT3NrVKUmQWy9Y3UHLc49oIODzCLhtiTICA5xA6zGHELV7mla sm6qRxk7y5G7iUyW65nBdIE64Er2vYtoDH7YEyT6y+iQspjMAE7WALVpyI0UmuBLWI5m 12tfsKndWc5HFeY0FzvewXsKNowjfUY0mchGfIcuRahpxrr4kXxQvf3bgyzRhjSu6QvI R0vQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z15si4636986otj.235.2020.01.08.23.35.38; Wed, 08 Jan 2020 23:35:50 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728267AbgAIHew (ORCPT + 99 others); Thu, 9 Jan 2020 02:34:52 -0500 Received: from mail.manjaro.org ([176.9.38.148]:40496 "EHLO manjaro.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728164AbgAIHew (ORCPT ); Thu, 9 Jan 2020 02:34:52 -0500 Received: from localhost (localhost [127.0.0.1]) by manjaro.org (Postfix) with ESMTP id 4FE1936E4161; Thu, 9 Jan 2020 08:34:51 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at manjaro.org Received: from manjaro.org ([127.0.0.1]) by localhost (manjaro.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id r6a5lqKyRSmw; Thu, 9 Jan 2020 08:34:49 +0100 (CET) From: Tobias Schramm To: Sandy Huang , =?UTF-8?q?Heiko=20St=C3=BCbner?= , David Airlie , Daniel Vetter Cc: dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, Tobias Schramm Subject: [PATCH v2 0/1] Regression in rockchipdrm Date: Thu, 9 Jan 2020 08:31:28 +0100 Message-Id: <20200109073129.378507-1-t.schramm@manjaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org commit 2589c4025f13 ("drm/rockchip: Avoid drm_dp_link helpers") changed the datatype used for storing the display port data rate to u8. A u8 is not sufficient to store the data rate, resulting in a crash due to incorrect calculations. This series resolves the issue by restoring the data type changed in commit 2589c4025f13 to their original type. Thanks to CrystalGamma for identifying the commit causing the regression. v2: Keep lane count as u8 Tobias Schramm (1): drm/rockchip: fix integer type used for storing dp data rate drivers/gpu/drm/rockchip/cdn-dp-core.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.24.1