Re: [PATCH] media/radio/wl1273: fix build errors

2011-03-31 Thread Mike Frysinger
On Sun, Feb 27, 2011 at 12:51, Randy Dunlap wrote: > From: Randy Dunlap > > RADIO_WL1273 needs to make sure that the mfd core is built to avoid > build errors: > > ERROR: "mfd_add_devices" [drivers/mfd/wl1273-core.ko] undefined! > ERROR: "mfd_remove_devices" [drivers/mfd/wl1273-core.ko] undefined!

Re: v4l: Buffer pools

2011-03-31 Thread Laurent Pinchart
Hi everybody, Here are the requirements of the OMAP3 ISP (Image Signal Processor) regarding a global buffers pool. I've tried to expand the list of requirements to take the OMAP3 DSP and DSS (Display SubSystem) into account, but I have less experience with those subsystems. The list might thus

Re: [PATCH 07/19] timberdale: mfd_cell is now implicitly available to drivers

2011-03-31 Thread Grant Likely
On Wed, Feb 02, 2011 at 08:08:12PM -0800, Andres Salomon wrote: > > No need to explicitly set the cell's platform_data/data_size. > > In this case, move the various platform_data pointers > to driver_data. All of the clients which make use of it > are also changed. > > Signed-off-by: Andres Sal

Re: [PATCH 04/12] mm: alloc_contig_freed_pages() added

2011-03-31 Thread Michal Nazarewicz
On Fri, 01 Apr 2011 00:26:51 +0200, Dave Hansen wrote: On Fri, 2011-04-01 at 00:18 +0200, Michal Nazarewicz wrote: On Thu, 31 Mar 2011 23:14:38 +0200, Dave Hansen wrote: > We BUG_ON() in bootmem. Basically if we try to allocate an early-boot > structure and fail, we're screwed. We can't ke

Re: [PATCH 04/12] mm: alloc_contig_freed_pages() added

2011-03-31 Thread Dave Hansen
On Fri, 2011-04-01 at 00:18 +0200, Michal Nazarewicz wrote: > On Thu, 31 Mar 2011 23:14:38 +0200, Dave Hansen wrote: > > We BUG_ON() in bootmem. Basically if we try to allocate an early-boot > > structure and fail, we're screwed. We can't keep running without an > > inode hash, or a mem_map[]. >

Re: [PATCH 04/12] mm: alloc_contig_freed_pages() added

2011-03-31 Thread Michal Nazarewicz
On Thu, 2011-03-31 at 15:16 +0200, Marek Szyprowski wrote: +unsigned long alloc_contig_freed_pages(unsigned long start, unsigned long end, + gfp_t flag) +{ + unsigned long pfn = start, count; + struct page *page; + struct zone *zone; +

Re: [linux-dvb] Pinnacle PCTV Dual DVB-T Pro PCI 2000i

2011-03-31 Thread Marc Coevoet
Op 31-03-11 23:45, pigeonskil...@libero.it schreef: Sorry for the outburst. A user wishing to migrate to Linux. Migrate? kill Pigeons? You can take a look at logs from your device on linuxtv.org. Marc -- What's on Shortwave guide: choose an hour, go! http://shortwave.tk 700+ Radio Station

Re: [PATCH 05/12] mm: alloc_contig_range() added

2011-03-31 Thread Michal Nazarewicz
On Thu, 31 Mar 2011 22:28:42 +0200, Dave Hansen wrote: On Thu, 2011-03-31 at 18:26 +0200, Michal Nazarewicz wrote: > On Thu, 2011-03-31 at 15:16 +0200, Marek Szyprowski wrote: >> + ret = 0; >> + while (!PageBuddy(pfn_to_page(start & (~0UL << ret >> + if (WARN_ON

Re: [PATCH 04/12] mm: alloc_contig_freed_pages() added

2011-03-31 Thread Dave Hansen
On Thu, 2011-03-31 at 23:09 +0200, Michal Nazarewicz wrote: > On Thu, 31 Mar 2011 17:58:03 +0200, Dave Hansen > wrote: > > On Thu, 2011-03-31 at 15:16 +0200, Marek Szyprowski wrote: > >> +unsigned long alloc_contig_freed_pages(unsigned long start, unsigned > >> long end, > >> +

Re: [PATCH 04/12] mm: alloc_contig_freed_pages() added

2011-03-31 Thread Michal Nazarewicz
On Thu, 31 Mar 2011 17:58:03 +0200, Dave Hansen wrote: On Thu, 2011-03-31 at 15:16 +0200, Marek Szyprowski wrote: +unsigned long alloc_contig_freed_pages(unsigned long start, unsigned long end, + gfp_t flag) +{ + unsigned long pfn = start, count

Re: [PATCH 04/12] mm: alloc_contig_freed_pages() added

2011-03-31 Thread Dave Hansen
On Thu, 2011-03-31 at 15:24 -0400, Steven Rostedt wrote: > On Thu, Mar 31, 2011 at 08:58:03AM -0700, Dave Hansen wrote: > > On Thu, 2011-03-31 at 15:16 +0200, Marek Szyprowski wrote: > > > > > > +unsigned long alloc_contig_freed_pages(unsigned long start, unsigned > > > long end, > > > +

Re: [PATCH 05/12] mm: alloc_contig_range() added

2011-03-31 Thread Dave Hansen
On Thu, 2011-03-31 at 18:26 +0200, Michal Nazarewicz wrote: > > On Thu, 2011-03-31 at 15:16 +0200, Marek Szyprowski wrote: > >> + ret = 0; > >> + while (!PageBuddy(pfn_to_page(start & (~0UL << ret > >> + if (WARN_ON(++ret >= MAX_ORDER)) > >> + ret

Re: [RFC] API for controlling Scenemode Preset

2011-03-31 Thread Kim HeungJun
Hi Laurent, 2011. 3. 31., 오후 11:12, Laurent Pinchart 작성: > Hi HeungJun, > > On Thursday 31 March 2011 07:39:09 Kim, HeungJun wrote: >> Hello everyone, >> >> This is a suggestion about the preset for the scenemode of camera. It's >> just one API, and its role determines which current scenemode p

Re: [w_scan PATCH] Add Brazil support on w_scan

2011-03-31 Thread Mauro Carvalho Chehab
Em 31-03-2011 16:50, Mauro Carvalho Chehab escreveu: > Em 31-03-2011 14:15, handygewinnsp...@gmx.de escreveu: >> >>> Em 29-03-2011 20:21, Mauro Carvalho Chehab escreveu: Em 29-03-2011 17:11, handygewinnsp...@gmx.de escreveu: > So I changed it now to scan any srate for 6MHz networks, but sk

Re: [PATCH 05/12] mm: alloc_contig_range() added

2011-03-31 Thread Michal Nazarewicz
On Thu, 31 Mar 2011 21:28:21 +0200, Steven Rostedt wrote: WARN_ON() should never do anything but test. That ret++ does not belong inside the WARN_ON() condition. If there are other locations in the kernel that do that, then those locations need to be fixed. Testing implies evaluating, so if we

Re: [w_scan PATCH] Add Brazil support on w_scan

2011-03-31 Thread Mauro Carvalho Chehab
Em 31-03-2011 14:15, handygewinnsp...@gmx.de escreveu: > >> Em 29-03-2011 20:21, Mauro Carvalho Chehab escreveu: >>> Em 29-03-2011 17:11, handygewinnsp...@gmx.de escreveu: So I changed it now to scan any srate for 6MHz networks, but skip over >> those which are unsupported by bandwidth limita

Re: [PATCH 05/12] mm: alloc_contig_range() added

2011-03-31 Thread Steven Rostedt
On Thu, Mar 31, 2011 at 06:26:45PM +0200, Michal Nazarewicz wrote: > >In any case, please pull the ++ret bit out of the WARN_ON(). Some > >people like to do: > > > >#define WARN_ON(...) do{}while(0) > > > >to save space on some systems. > > I don't think that's the case. Even if WARN_ON() decide

Re: [PATCH 05/12] mm: alloc_contig_range() added

2011-03-31 Thread Steven Rostedt
On Thu, Mar 31, 2011 at 09:02:41AM -0700, Dave Hansen wrote: > On Thu, 2011-03-31 at 15:16 +0200, Marek Szyprowski wrote: > > + ret = 0; > > + while (!PageBuddy(pfn_to_page(start & (~0UL << ret > > + if (WARN_ON(++ret >= MAX_ORDER)) > > + return -

Re: [PATCH 04/12] mm: alloc_contig_freed_pages() added

2011-03-31 Thread Steven Rostedt
On Thu, Mar 31, 2011 at 08:58:03AM -0700, Dave Hansen wrote: > On Thu, 2011-03-31 at 15:16 +0200, Marek Szyprowski wrote: > > > > +unsigned long alloc_contig_freed_pages(unsigned long start, unsigned long > > end, > > + gfp_t flag) > > +{ > > + unsigned

[cron job] v4l-dvb daily build: ERRORS

2011-03-31 Thread Hans Verkuil
This message is generated daily by a cron job that builds v4l-dvb for the kernels and architectures in the list below. Results of the daily build of v4l-dvb: date:Thu Mar 31 19:00:30 CEST 2011 git hash:b328817a2a391d1e879c4252cd3f11a352d3f3bc gcc version: i686-linux-gcc (GCC) 4.5

Re: [PATCHv2 dvb-apps] Fix scan handling for EN 300468 charsets

2011-03-31 Thread Mauro Carvalho Chehab
It always bothered me that scan tables produced in Brazil were full of "reverse interrogation" pseudo-chars, displayed when some code violates UTF-8 charset. This is due to the lack of properly interpreting the service provider and service name charsets. There's a FIXME suggesting to use glibc sta

Re: [w_scan PATCH] Add Brazil support on w_scan

2011-03-31 Thread handygewinnspiel
> Em 29-03-2011 20:21, Mauro Carvalho Chehab escreveu: > > Em 29-03-2011 17:11, handygewinnsp...@gmx.de escreveu: > >> So I changed it now to scan any srate for 6MHz networks, but skip over > those which are unsupported by bandwidth limitation. > ... > > Anyway, I'll test the today's version and r

Re: [PATCH 05/12] mm: alloc_contig_range() added

2011-03-31 Thread Dave Hansen
On Thu, 2011-03-31 at 15:16 +0200, Marek Szyprowski wrote: > + _start = start & (~0UL << ret); > + _end = alloc_contig_freed_pages(_start, end, flag); These names are a wee bit lacking. Care to give them proper names that might let a reader figure out how the "_" makes the variable

Re: [PATCH 05/12] mm: alloc_contig_range() added

2011-03-31 Thread Michal Nazarewicz
On Thu, 2011-03-31 at 15:16 +0200, Marek Szyprowski wrote: + ret = 0; + while (!PageBuddy(pfn_to_page(start & (~0UL << ret + if (WARN_ON(++ret >= MAX_ORDER)) + return -EINVAL; On Thu, 31 Mar 2011 18:02:41 +0200, Dave Hansen wrote: Holy cow, t

Re: [PATCH 05/12] mm: alloc_contig_range() added

2011-03-31 Thread Dave Hansen
On Thu, 2011-03-31 at 15:16 +0200, Marek Szyprowski wrote: > + ret = 0; > + while (!PageBuddy(pfn_to_page(start & (~0UL << ret > + if (WARN_ON(++ret >= MAX_ORDER)) > + return -EINVAL; Holy cow, that's dense. Is there really no more straightforw

Re: [PATCH 04/12] mm: alloc_contig_freed_pages() added

2011-03-31 Thread Dave Hansen
On Thu, 2011-03-31 at 15:16 +0200, Marek Szyprowski wrote: > > +unsigned long alloc_contig_freed_pages(unsigned long start, unsigned long > end, > + gfp_t flag) > +{ > + unsigned long pfn = start, count; > + struct page *page; > + struct zone

Re: v4l: Buffer pools

2011-03-31 Thread Laurent Pinchart
Hi Marek, On Thursday 31 March 2011 12:14:55 Marek Szyprowski wrote: > On Tuesday, March 29, 2011 4:02 PM Willy POISSON wrote: > > Following to the Warsaw mini-summit action point, I would like to open > > the thread to gather > > > > buffer pool & memory manager requirements. > > The lis

Re: [RFC] API for controlling Scenemode Preset

2011-03-31 Thread Laurent Pinchart
Hi HeungJun, On Thursday 31 March 2011 07:39:09 Kim, HeungJun wrote: > Hello everyone, > > This is a suggestion about the preset for the scenemode of camera. It's > just one API, and its role determines which current scenemode preset of > camera is. > > The kinds of scenemode are various at each

[PATCHv9 0/12] Contiguous Memory Allocator

2011-03-31 Thread Marek Szyprowski
Hello everyone, There have been a bit quiet about Contiguous Memory Allocator for last months. This is mainly caused by the fact that Michal (the author of CMA patches) has left our team and we needed some time to takeover the development. This version is mainly a rebase and adaptation for 2.6.39

[PATCH 10/12] mm: cma: add CMA 'regions style' API (for testing)

2011-03-31 Thread Marek Szyprowski
This patch adds CMA 'regions style' API (almost compatible with CMA v1). It is intended mainly for testing the real contigous memory allocator and page migration with devices that use older CMA api. Based on previous works by Michal Nazarewicz. Signed-off-by: Marek Szyprowski Signed-off-by: Kyun

[PATCH 01/12] lib: bitmap: Added alignment offset for bitmap_find_next_zero_area()

2011-03-31 Thread Marek Szyprowski
From: Michal Nazarewicz This commit adds a bitmap_find_next_zero_area_off() function which works like bitmap_find_next_zero_area() function expect it allows an offset to be specified when alignment is checked. This lets caller request a bit such that its number plus the offset is aligned accordi

[PATCH 08/12] mm: MIGRATE_CMA isolation functions added

2011-03-31 Thread Marek Szyprowski
From: Michal Nazarewicz This commit changes various functions that change pages and pageblocks migrate type between MIGRATE_ISOLATE and MIGRATE_MOVABLE in such a way as to allow to work with MIGRATE_CMA migrate type. Signed-off-by: Michal Nazarewicz Signed-off-by: Kyungmin Park Signed-off-by:

[PATCH 05/12] mm: alloc_contig_range() added

2011-03-31 Thread Marek Szyprowski
From: Michal Nazarewicz This commit adds the alloc_contig_range() function which tries to allecate given range of pages. It tries to migrate all already allocated pages that fall in the range thus freeing them. Once all pages in the range are freed they are removed from the buddy system thus all

[PATCH 09/12] mm: MIGRATE_CMA support added to CMA

2011-03-31 Thread Marek Szyprowski
From: Michal Nazarewicz This commit adds MIGRATE_CMA migratetype support to the CMA. The advantage is that an (almost) arbitrary memory range can be marked as MIGRATE_CMA which may not be the case with ZONE_MOVABLE. Signed-off-by: Michal Nazarewicz Signed-off-by: Kyungmin Park Signed-off-by: M

[PATCH 07/12] mm: MIGRATE_CMA migration type added

2011-03-31 Thread Marek Szyprowski
From: Michal Nazarewicz The MIGRATE_CMA migration type has two main characteristics: (i) only movable pages can be allocated from MIGRATE_CMA pageblocks and (ii) page allocator will never change migration type of MIGRATE_CMA pageblocks. This guarantees that page in a MIGRATE_CMA page block can a

[PATCH 12/12] ARM: S5PC110: Added CMA regions to Aquila and Goni boards

2011-03-31 Thread Marek Szyprowski
This commit adds CMA memory regions to Aquila and Goni boards. Signed-off-by: Marek Szyprowski Signed-off-by: Kyungmin Park --- arch/arm/mach-s5pv210/mach-aquila.c | 31 +++ arch/arm/mach-s5pv210/mach-goni.c | 31 +++ 2 files changed

[PATCH 11/12] v4l: videobuf2: add CMA allocator (for testing)

2011-03-31 Thread Marek Szyprowski
Add support for the CMA contiguous memory allocator to videobuf2. Signed-off-by: Marek Szyprowski Signed-off-by: Kyungmin Park CC: Pawel Osciak CC: Michal Nazarewicz --- drivers/media/video/Kconfig |6 + drivers/media/video/Makefile|1 + drivers/media/video/videobuf2-c

[PATCH 03/12] mm: move some functions from memory_hotplug.c to page_isolation.c

2011-03-31 Thread Marek Szyprowski
From: KAMEZAWA Hiroyuki Memory hotplug is a logic for making pages unused in the specified range of pfn. So, some of core logics can be used for other purpose as allocating a very large contigous memory block. This patch moves some functions from mm/memory_hotplug.c to mm/page_isolation.c. This

[PATCH 02/12] lib: genalloc: Generic allocator improvements

2011-03-31 Thread Marek Szyprowski
From: Michal Nazarewicz This commit adds a gen_pool_alloc_aligned() function to the generic allocator API. It allows specifying alignment for the allocated block. This feature uses the bitmap_find_next_zero_area_off() function. It also fixes possible issue with bitmap's last element being not

[PATCH 06/12] mm: cma: Contiguous Memory Allocator added

2011-03-31 Thread Marek Szyprowski
From: Michal Nazarewicz The Contiguous Memory Allocator is a set of functions that lets one initialise a region of memory which then can be used to perform allocations of contiguous memory chunks from. CMA allows for creation of private and non-private contexts. The former is reserved for CMA an

[PATCH 04/12] mm: alloc_contig_freed_pages() added

2011-03-31 Thread Marek Szyprowski
From: KAMEZAWA Hiroyuki This commit introduces alloc_contig_freed_pages() function which allocates (ie. removes from buddy system) free pages in range. Caller has to guarantee that all pages in range are in buddy system. Along with this function, a free_contig_pages() function is provided which

Re: Technisat Cablestar HD2 not automatically detected by kernel > 2.6.33?

2011-03-31 Thread Bjørn Mork
Jos Hoekstra writes: > I got this card and it doesn't seem to be detected by Ubuntu 10.4.2 > with kernel 2.6.35(-25-generic #44~lucid1-Ubuntu SMP Tue Jan 25 > 19:17:25 UTC 2011 x86_64 GNU/Linux) > > The wiki seems to indicate that this card is supported as of kernel > 2.6.33, however it doesn't s

Re: [w_scan PATCH] Add Brazil support on w_scan

2011-03-31 Thread Mauro Carvalho Chehab
Em 29-03-2011 20:21, Mauro Carvalho Chehab escreveu: > Em 29-03-2011 17:11, handygewinnsp...@gmx.de escreveu: >> So I changed it now to scan any srate for 6MHz networks, but skip over those >> which are unsupported by bandwidth limitation. ... > Anyway, I'll test the today's version and reply if I

RE: v4l: Buffer pools

2011-03-31 Thread Marek Szyprowski
Hello, On Tuesday, March 29, 2011 4:02 PM Willy POISSON wrote: > Following to the Warsaw mini-summit action point, I would like to open > the thread to gather > buffer pool & memory manager requirements. > The list of requirement for buffer pool may contain: > - Support physically cont

RE: [RFC/PATCH v7 3/5] MFC: Add MFC 5.1 V4L2 driver

2011-03-31 Thread Kamil Debski
> From: Jaeryul Oh [mailto:jaeryul...@samsung.com] > Hi, Kamil Hi Peter, > I found some mal-functional points. I have commented below. > > > -Original Message- > > From: linux-media-ow...@vger.kernel.org [mailto:linux-media- > > ow...@vger.kernel.org] On Behalf Of Kamil Debski > > Sen

Re: [RFC] V4L2 API for flash devices

2011-03-31 Thread Sakari Ailus
Kim HeungJun wrote: > Hi Sakari, Hi, > 2011. 3. 30., 오후 8:37, Sakari Ailus 작성: > >> Kim, HeungJun wrote: >>> Hi Sakari, >> >> Hi HeungJun, >> >>> 2011-03-29 오후 11:41, Sakari Ailus 쓴 글: Kim, HeungJun wrote: >>> [snip] > I think it's not different method to turn on/off, whatever the mode

Re: [RFC] V4L2 API for flash devices

2011-03-31 Thread Sakari Ailus
Laurent Pinchart wrote: > On Wednesday 30 March 2011 13:05:54 Sakari Ailus wrote: >> Laurent Pinchart wrote: >>> Hi Sakari, >> >> Hi Laurent, >> >> Thanks for the comments! >> >>> On Monday 28 March 2011 14:55:40 Sakari Ailus wrote: >>> >>> [snip] >>> V4L2_CID_FLASH_STROBE_MODE (menu; LED)

Re: [RFC] V4L2 API for flash devices

2011-03-31 Thread Sakari Ailus
Laurent Pinchart wrote: > Hi David, Salut, > On Wednesday 30 March 2011 16:57:30 David Cohen wrote: >> On Wed, Mar 30, 2011 at 5:18 PM, Sakari Ailus wrote: On Wednesday 30 March 2011 14:44:25 Sakari Ailus wrote: ... > But as I commented in the other e-mail, there likely isn't a need to b