[GIT,PULL,FOR,3.7] Samsung media drivers fixes
Message ID | 5089624D.2000903@samsung.com (mailing list archive) |
---|---|
State | Accepted, archived |
Headers |
Received: from mail.tu-berlin.de ([130.149.7.33]) by www.linuxtv.org with esmtp (Exim 4.72) (envelope-from <linux-media-owner@vger.kernel.org>) id 1TRPsB-0000Um-B6 for patchwork@linuxtv.org; Thu, 25 Oct 2012 18:01:31 +0200 X-tubIT-Incoming-IP: 209.132.180.67 Received: from vger.kernel.org ([209.132.180.67]) by mail.tu-berlin.de (exim-4.75/mailfrontend-3) with esmtp for <patchwork@linuxtv.org> id 1TRPsA-0001dh-FR; Thu, 25 Oct 2012 18:01:31 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965634Ab2JYQBW (ORCPT <rfc822;patchwork@linuxtv.org>); Thu, 25 Oct 2012 12:01:22 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:39610 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932678Ab2JYQBU (ORCPT <rfc822;linux-media@vger.kernel.org>); Thu, 25 Oct 2012 12:01:20 -0400 Received: from eusync4.samsung.com (mailout2.w1.samsung.com [210.118.77.12]) by mailout2.w1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MCG003GWHUODN10@mailout2.w1.samsung.com> for linux-media@vger.kernel.org; Thu, 25 Oct 2012 17:01:36 +0100 (BST) Received: from [106.116.147.32] by eusync4.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MCG0081OHU6FW70@eusync4.samsung.com> for linux-media@vger.kernel.org; Thu, 25 Oct 2012 17:01:18 +0100 (BST) Message-id: <5089624D.2000903@samsung.com> Date: Thu, 25 Oct 2012 18:01:17 +0200 From: Sylwester Nawrocki <s.nawrocki@samsung.com> User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120912 Thunderbird/15.0.1 MIME-version: 1.0 To: LMML <linux-media@vger.kernel.org> Subject: [GIT PULL FOR 3.7] Samsung media drivers fixes Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: 7bit X-TM-AS-MML: No Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: <linux-media.vger.kernel.org> X-Mailing-List: linux-media@vger.kernel.org X-PMX-Version: 5.6.1.2065439, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2012.10.25.155117 X-PMX-Spam: Gauge=IIIIIIII, Probability=8%, Report=' HTML_00_01 0.05, HTML_00_10 0.05, BODYTEXTP_SIZE_3000_LESS 0, BODY_SIZE_2000_2999 0, BODY_SIZE_5000_LESS 0, BODY_SIZE_7000_LESS 0, URI_ENDS_IN_HTML 0, __ANY_URI 0, __CP_URI_IN_BODY 0, __CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_FROM 0, __HAS_MSGID 0, __HAS_X_MAILING_LIST 0, __INT_PROD_TV 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __MOZILLA_MSGID 0, __MOZILLA_USER_AGENT 0, __SANE_MSGID 0, __SUBJ_ALPHA_END 0, __TO_MALFORMED_2 0, __URI_NO_WWW 0, __URI_NS , __USER_AGENT 0' |
Pull-request
git://git.infradead.org/users/kmpark/linux-samsung v4l_fixes_for_v3.7Message
Sylwester Nawrocki
Oct. 25, 2012, 4:01 p.m. UTC
Hi Mauro, please pull following fixes for v3.7-rc. The following changes since commit 1fdead8ad31d3aa833bc37739273fcde89ace93c: [media] m5mols: Add missing #include <linux/sizes.h> (2012-10-10 08:17:16 -0300) are available in the git repository at: git://git.infradead.org/users/kmpark/linux-samsung v4l_fixes_for_v3.7 for you to fetch changes up to df79eb9e19331685e509d62112972b3c35569f0b: s5p-fimc: Fix potential NULL pointer dereference (2012-10-25 16:08:12 +0200) ---------------------------------------------------------------- Jesper Juhl (1): s5p-tv: don't include linux/version.h in mixer_video.c Sachin Kamat (5): s5p-mfc: Fix compilation warning exynos-gsc: Fix compilation warning s5p-mfc: Make 'clk_ref' static in s5p_mfc_pm.c s5p-fimc: Make 'fimc_pipeline_s_stream' function static s5p-fimc: Fix potential NULL pointer dereference Shaik Ameer Basha (3): exynos-gsc: change driver compatible string exynos-gsc: fix variable type in gsc_m2m_device_run() s5p-fimc: fix variable type in fimc_device_run() Sylwester Nawrocki (4): s5p-fimc: Don't ignore return value of vb2_queue_init() s5p-csis: Select S5P_SETUP_MIPIPHY s5p-fimc: Add missing new line character s5p-fimc: Fix platform entities registration drivers/media/platform/exynos-gsc/gsc-core.c | 8 +++-- drivers/media/platform/exynos-gsc/gsc-m2m.c | 2 +- drivers/media/platform/s5p-fimc/Kconfig | 1 + drivers/media/platform/s5p-fimc/fimc-capture.c | 4 ++- drivers/media/platform/s5p-fimc/fimc-lite.c | 4 ++- drivers/media/platform/s5p-fimc/fimc-m2m.c | 2 +- drivers/media/platform/s5p-fimc/fimc-mdevice.c | 45 ++++++++++++------------ drivers/media/platform/s5p-mfc/s5p_mfc_enc.c | 2 +- drivers/media/platform/s5p-mfc/s5p_mfc_pm.c | 2 +- drivers/media/platform/s5p-tv/mixer_video.c | 1 - 10 files changed, 38 insertions(+), 33 deletions(-) Thanks, Sylwester -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Comments
Em Thu, 25 Oct 2012 18:01:17 +0200 Sylwester Nawrocki <s.nawrocki@samsung.com> escreveu: > Hi Mauro, > > please pull following fixes for v3.7-rc. > > The following changes since commit 1fdead8ad31d3aa833bc37739273fcde89ace93c: > > [media] m5mols: Add missing #include <linux/sizes.h> (2012-10-10 08:17:16 -0300) > > are available in the git repository at: > > git://git.infradead.org/users/kmpark/linux-samsung v4l_fixes_for_v3.7 > > for you to fetch changes up to df79eb9e19331685e509d62112972b3c35569f0b: > > s5p-fimc: Fix potential NULL pointer dereference (2012-10-25 16:08:12 +0200) > > ---------------------------------------------------------------- > Jesper Juhl (1): > s5p-tv: don't include linux/version.h in mixer_video.c > > Sachin Kamat (5): > s5p-mfc: Fix compilation warning > exynos-gsc: Fix compilation warning > s5p-mfc: Make 'clk_ref' static in s5p_mfc_pm.c > s5p-fimc: Make 'fimc_pipeline_s_stream' function static > s5p-fimc: Fix potential NULL pointer dereference > > Shaik Ameer Basha (3): > exynos-gsc: change driver compatible string > exynos-gsc: fix variable type in gsc_m2m_device_run() > s5p-fimc: fix variable type in fimc_device_run() > > Sylwester Nawrocki (4): > s5p-fimc: Don't ignore return value of vb2_queue_init() > s5p-csis: Select S5P_SETUP_MIPIPHY > s5p-fimc: Add missing new line character > s5p-fimc: Fix platform entities registration Only a few of the above seems to be material for -rc: s5p-fimc: Fix potential NULL pointer dereference (59 seconds ago) s5p-fimc: Fix platform entities registration (60 seconds ago) s5p-csis: Select S5P_SETUP_MIPIPHY (60 seconds ago) s5p-fimc: Don't ignore return value of vb2_queue_init() (61 seconds ago) The other ones are warnings/sparse warnings and cleanups. I'll be applying only the 4 above patches for 3.7, adding the other ones for 3.8. Regards, Mauro -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On 10/25/2012 06:46 PM, Mauro Carvalho Chehab wrote: > Em Thu, 25 Oct 2012 18:01:17 +0200 > Sylwester Nawrocki<s.nawrocki@samsung.com> escreveu: > >> Hi Mauro, >> >> please pull following fixes for v3.7-rc. >> >> The following changes since commit 1fdead8ad31d3aa833bc37739273fcde89ace93c: >> >> [media] m5mols: Add missing #include<linux/sizes.h> (2012-10-10 08:17:16 -0300) >> >> are available in the git repository at: >> >> git://git.infradead.org/users/kmpark/linux-samsung v4l_fixes_for_v3.7 >> >> for you to fetch changes up to df79eb9e19331685e509d62112972b3c35569f0b: >> >> s5p-fimc: Fix potential NULL pointer dereference (2012-10-25 16:08:12 +0200) >> >> ---------------------------------------------------------------- >> Jesper Juhl (1): >> s5p-tv: don't include linux/version.h in mixer_video.c >> >> Sachin Kamat (5): >> s5p-mfc: Fix compilation warning >> exynos-gsc: Fix compilation warning >> s5p-mfc: Make 'clk_ref' static in s5p_mfc_pm.c >> s5p-fimc: Make 'fimc_pipeline_s_stream' function static >> s5p-fimc: Fix potential NULL pointer dereference >> >> Shaik Ameer Basha (3): >> exynos-gsc: change driver compatible string >> exynos-gsc: fix variable type in gsc_m2m_device_run() >> s5p-fimc: fix variable type in fimc_device_run() >> >> Sylwester Nawrocki (4): >> s5p-fimc: Don't ignore return value of vb2_queue_init() >> s5p-csis: Select S5P_SETUP_MIPIPHY >> s5p-fimc: Add missing new line character >> s5p-fimc: Fix platform entities registration > > > Only a few of the above seems to be material for -rc: > s5p-fimc: Fix potential NULL pointer dereference (59 seconds ago) > s5p-fimc: Fix platform entities registration (60 seconds ago) > s5p-csis: Select S5P_SETUP_MIPIPHY (60 seconds ago) > s5p-fimc: Don't ignore return value of vb2_queue_init() (61 seconds ago) > > The other ones are warnings/sparse warnings and cleanups. I'll > be applying only the 4 above patches for 3.7, adding the other > ones for 3.8. Sorry for mixing them up. Except those 4, "exynos-gsc: change driver compatible string" really needs to go in 3.7. Bootloaders will be supplying an FDT node for this device with compatible string "samsung,exynos5-gsc", not "samsung,exynos5250-gsc". In case this patch is applied only starting from 3.8, kernels 3.7, where the GScaler driver was first added, will have broken support for this device. Hence this patch should be considered as a real bug fix. For those embedded systems it might not be a big deal, since it rarely happens pure mainline kernel is used for production. But in principle it's better to apply that patch, to avoid mess where different kernels require different compatible string. This would mean an ABI breakage. -- Thanks, Sylwester -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On 10/25/2012 08:59 PM, Sylwester Nawrocki wrote: > On 10/25/2012 06:46 PM, Mauro Carvalho Chehab wrote: >> Em Thu, 25 Oct 2012 18:01:17 +0200 >> Sylwester Nawrocki<s.nawrocki@samsung.com> escreveu: >> >>> Hi Mauro, >>> >>> please pull following fixes for v3.7-rc. >>> >>> The following changes since commit 1fdead8ad31d3aa833bc37739273fcde89ace93c: >>> >>> [media] m5mols: Add missing #include<linux/sizes.h> (2012-10-10 08:17:16 -0300) >>> >>> are available in the git repository at: >>> >>> git://git.infradead.org/users/kmpark/linux-samsung v4l_fixes_for_v3.7 >>> >>> for you to fetch changes up to df79eb9e19331685e509d62112972b3c35569f0b: >>> >>> s5p-fimc: Fix potential NULL pointer dereference (2012-10-25 16:08:12 +0200) >>> >>> ---------------------------------------------------------------- >>> Jesper Juhl (1): >>> s5p-tv: don't include linux/version.h in mixer_video.c >>> >>> Sachin Kamat (5): >>> s5p-mfc: Fix compilation warning >>> exynos-gsc: Fix compilation warning >>> s5p-mfc: Make 'clk_ref' static in s5p_mfc_pm.c >>> s5p-fimc: Make 'fimc_pipeline_s_stream' function static >>> s5p-fimc: Fix potential NULL pointer dereference >>> >>> Shaik Ameer Basha (3): >>> exynos-gsc: change driver compatible string >>> exynos-gsc: fix variable type in gsc_m2m_device_run() >>> s5p-fimc: fix variable type in fimc_device_run() >>> >>> Sylwester Nawrocki (4): >>> s5p-fimc: Don't ignore return value of vb2_queue_init() >>> s5p-csis: Select S5P_SETUP_MIPIPHY >>> s5p-fimc: Add missing new line character >>> s5p-fimc: Fix platform entities registration >> >> >> Only a few of the above seems to be material for -rc: >> s5p-fimc: Fix potential NULL pointer dereference (59 seconds ago) >> s5p-fimc: Fix platform entities registration (60 seconds ago) >> s5p-csis: Select S5P_SETUP_MIPIPHY (60 seconds ago) >> s5p-fimc: Don't ignore return value of vb2_queue_init() (61 seconds ago) >> >> The other ones are warnings/sparse warnings and cleanups. I'll >> be applying only the 4 above patches for 3.7, adding the other >> ones for 3.8. I've noticed "s5p-fimc: Fix platform entities registration" will cause a race condition. Can you please drop entirely these two patches from the 3.7 queue: s5p-fimc: Fix potential NULL pointer dereference (59 seconds ago) s5p-fimc: Fix platform entities registration (60 seconds ago) ? Alternatively I can send a subsequent follow up patch. > Sorry for mixing them up. Except those 4, "exynos-gsc: change driver > compatible string" really needs to go in 3.7. Bootloaders will be > supplying an FDT node for this device with compatible string > "samsung,exynos5-gsc", not "samsung,exynos5250-gsc". In case this patch > is applied only starting from 3.8, kernels 3.7, where the GScaler driver > was first added, will have broken support for this device. Hence this > patch should be considered as a real bug fix. > > For those embedded systems it might not be a big deal, since it rarely > happens pure mainline kernel is used for production. But in principle > it's better to apply that patch, to avoid mess where different kernels > require different compatible string. This would mean an ABI breakage. -- Regards, Sylwester -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Em Thu, 25 Oct 2012 20:59:09 +0200 Sylwester Nawrocki <sylvester.nawrocki@gmail.com> escreveu: > On 10/25/2012 06:46 PM, Mauro Carvalho Chehab wrote: > > Em Thu, 25 Oct 2012 18:01:17 +0200 > > Sylwester Nawrocki<s.nawrocki@samsung.com> escreveu: > > > >> Hi Mauro, > >> > >> please pull following fixes for v3.7-rc. > >> > >> The following changes since commit 1fdead8ad31d3aa833bc37739273fcde89ace93c: > >> > >> [media] m5mols: Add missing #include<linux/sizes.h> (2012-10-10 08:17:16 -0300) > >> > >> are available in the git repository at: > >> > >> git://git.infradead.org/users/kmpark/linux-samsung v4l_fixes_for_v3.7 > >> > >> for you to fetch changes up to df79eb9e19331685e509d62112972b3c35569f0b: > >> > >> s5p-fimc: Fix potential NULL pointer dereference (2012-10-25 16:08:12 +0200) > >> > >> ---------------------------------------------------------------- > >> Jesper Juhl (1): > >> s5p-tv: don't include linux/version.h in mixer_video.c > >> > >> Sachin Kamat (5): > >> s5p-mfc: Fix compilation warning > >> exynos-gsc: Fix compilation warning > >> s5p-mfc: Make 'clk_ref' static in s5p_mfc_pm.c > >> s5p-fimc: Make 'fimc_pipeline_s_stream' function static > >> s5p-fimc: Fix potential NULL pointer dereference > >> > >> Shaik Ameer Basha (3): > >> exynos-gsc: change driver compatible string > >> exynos-gsc: fix variable type in gsc_m2m_device_run() > >> s5p-fimc: fix variable type in fimc_device_run() > >> > >> Sylwester Nawrocki (4): > >> s5p-fimc: Don't ignore return value of vb2_queue_init() > >> s5p-csis: Select S5P_SETUP_MIPIPHY > >> s5p-fimc: Add missing new line character > >> s5p-fimc: Fix platform entities registration > > > > > > Only a few of the above seems to be material for -rc: > > s5p-fimc: Fix potential NULL pointer dereference (59 seconds ago) > > s5p-fimc: Fix platform entities registration (60 seconds ago) > > s5p-csis: Select S5P_SETUP_MIPIPHY (60 seconds ago) > > s5p-fimc: Don't ignore return value of vb2_queue_init() (61 seconds ago) > > > > The other ones are warnings/sparse warnings and cleanups. I'll > > be applying only the 4 above patches for 3.7, adding the other > > ones for 3.8. > > Sorry for mixing them up. Except those 4, "exynos-gsc: change driver > compatible string" really needs to go in 3.7. Bootloaders will be > supplying an FDT node for this device with compatible string > "samsung,exynos5-gsc", not "samsung,exynos5250-gsc". In case this patch > is applied only starting from 3.8, kernels 3.7, where the GScaler driver > was first added, will have broken support for this device. Hence this > patch should be considered as a real bug fix. > > For those embedded systems it might not be a big deal, since it rarely > happens pure mainline kernel is used for production. But in principle > it's better to apply that patch, to avoid mess where different kernels > require different compatible string. This would mean an ABI breakage. Ok, added it at my 3.7 sandbox. Regards, Mauro -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Em Fri, 26 Oct 2012 12:15:41 +0200 Sylwester Nawrocki <s.nawrocki@samsung.com> escreveu: > On 10/25/2012 08:59 PM, Sylwester Nawrocki wrote: > > On 10/25/2012 06:46 PM, Mauro Carvalho Chehab wrote: > >> Em Thu, 25 Oct 2012 18:01:17 +0200 > >> Sylwester Nawrocki<s.nawrocki@samsung.com> escreveu: > >> > >>> Hi Mauro, > >>> > >>> please pull following fixes for v3.7-rc. > >>> > >>> The following changes since commit 1fdead8ad31d3aa833bc37739273fcde89ace93c: > >>> > >>> [media] m5mols: Add missing #include<linux/sizes.h> (2012-10-10 08:17:16 -0300) > >>> > >>> are available in the git repository at: > >>> > >>> git://git.infradead.org/users/kmpark/linux-samsung v4l_fixes_for_v3.7 > >>> > >>> for you to fetch changes up to df79eb9e19331685e509d62112972b3c35569f0b: > >>> > >>> s5p-fimc: Fix potential NULL pointer dereference (2012-10-25 16:08:12 +0200) > >>> > >>> ---------------------------------------------------------------- > >>> Jesper Juhl (1): > >>> s5p-tv: don't include linux/version.h in mixer_video.c > >>> > >>> Sachin Kamat (5): > >>> s5p-mfc: Fix compilation warning > >>> exynos-gsc: Fix compilation warning > >>> s5p-mfc: Make 'clk_ref' static in s5p_mfc_pm.c > >>> s5p-fimc: Make 'fimc_pipeline_s_stream' function static > >>> s5p-fimc: Fix potential NULL pointer dereference > >>> > >>> Shaik Ameer Basha (3): > >>> exynos-gsc: change driver compatible string > >>> exynos-gsc: fix variable type in gsc_m2m_device_run() > >>> s5p-fimc: fix variable type in fimc_device_run() > >>> > >>> Sylwester Nawrocki (4): > >>> s5p-fimc: Don't ignore return value of vb2_queue_init() > >>> s5p-csis: Select S5P_SETUP_MIPIPHY > >>> s5p-fimc: Add missing new line character > >>> s5p-fimc: Fix platform entities registration > >> > >> > >> Only a few of the above seems to be material for -rc: > >> s5p-fimc: Fix potential NULL pointer dereference (59 seconds ago) > >> s5p-fimc: Fix platform entities registration (60 seconds ago) > >> s5p-csis: Select S5P_SETUP_MIPIPHY (60 seconds ago) > >> s5p-fimc: Don't ignore return value of vb2_queue_init() (61 seconds ago) > >> > >> The other ones are warnings/sparse warnings and cleanups. I'll > >> be applying only the 4 above patches for 3.7, adding the other > >> ones for 3.8. > > I've noticed "s5p-fimc: Fix platform entities registration" will cause > a race condition. Can you please drop entirely these two patches from > the 3.7 queue: > > s5p-fimc: Fix potential NULL pointer dereference (59 seconds ago) > s5p-fimc: Fix platform entities registration (60 seconds ago) > ? > > Alternatively I can send a subsequent follow up patch. As I already applied pinchartl patches on my 3.7 sandbox, I prefer if you could send it as a follow up patch. Regards, Mauro -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html