mirror of
https://github.com/team-infusion-developers/android_kernel_samsung_msm8976.git
synced 2024-11-01 10:33:27 +00:00
2bd7216ba8
Including: commit 6bac783fae7e7c5a5bfc95e2cdc9b4f22ca53d44 Author: Hamad Kadmany <hkadmany@codeaurora.org> Date: Thu Dec 20 18:30:40 2012 +0200 tspp: Disable read-complete interrupt Read-complete interrupt can be generated from TSPP HW for test purposes only. It is generated for each TS packet TSPP fetches from TSIF interface. Having it enabled cause great load of interrupts that are not used by the SW. Change-Id: If2038f184a8b0904fba3e1cca5e110fd9daa52d3 Signed-off-by: Hamad Kadmany <hkadmany@codeaurora.org> commit 81cee0596e3cdf8102bf8c8ef45e5f3a07fc8a4d Author: Hamad Kadmany <hkadmany@codeaurora.org> Date: Thu Nov 29 14:15:57 2012 +0200 tspp: Improve data-path handling Existing driver allocated BAM descriptor at fixed sizes each with interrupt flag set. Notification on data was received when the descriptor is fully consumed by the HW. The descriptor size on one hand need to be big enough so that we don't receive too much interrupts for high-bitrate streams, and on other hand needs to be small enough so that for low-bitrate stream we are not starved waiting for data for a long period of time. The change adds support of allocating small descriptors and set interrupt flags on part of descriptors. In addition, expiration timer is used so that if interrupt is not received after long period of time the timer handler reports back descriptors are already ready to be consumed. This allows low-rate of interrupts and handling of low-bitrate streams. As descriptors are smaller now (size of single TS packet), exposed API within SW demux that handles a single packet to save the function call to the API that handles multiple packets for efficiency. Information regarding the new buffer allocation was added to debugfs. CRs-Fixed: 420818 Change-Id: I4bb05177774ab0e0bad0737ca1106a0c33f843ae Signed-off-by: Hamad Kadmany <hkadmany@codeaurora.org> commit 44307d32e23a2bb2a190d88bb049cc34d1e20418 Author: Hamad Kadmany <hkadmany@codeaurora.org> Date: Sun Nov 25 09:49:51 2012 +0200 misc: tspp: Enable notification of TSIF status and expose it in debugfs Enable TSIF status interrupt to expose the following information in debugfs: - stat_rx_chunks: Counts number of TS packets chunks received from HW. - stat_overflow: Counts number of times buffer has overflowed. - stat_lost_sync: Counts number of times TSIF lost sync with input. - stat_timeout: Counts number of times TSIF reached timeout waiting for packets. All counters can read and reset by writing to the respective file. Change-Id: I475c2c0845c85ac22ea720059fb28c4a588fedcf Signed-off-by: Hamad Kadmany <hkadmany@codeaurora.org> commit 72b785570b265c6fcb4cb907c0c3a3a4b311f1f1 Author: Liron Kuch <lkuch@codeaurora.org> Date: Tue Oct 30 17:47:50 2012 +0200 media: dvb: mpq: TSPP output buffer allocation by demux plugin The TSPP driver can allocate its output buffers internally or externally. External buffer allocation is required when Demux wishes to use the ION driver to allocate a physically contiguous buffer (e.g. to pass to TZ). This commit improves the TSPP driver support for external buffer allocation and implements the external memory allocation and free functions in the Demux driver. Change-Id: I71da4f18c090ef224c4fc7b23f55b9b3636be996 Signed-off-by: Liron Kuch <lkuch@codeaurora.org> commit 92705b3eb380826abf8ddefc25a8d210ffa64ff5 Author: Hamad Kadmany <hkadmany@codeaurora.org> Date: Tue Oct 23 14:15:41 2012 +0200 tspp: Add option to inverse tsif signals TSIF signals (clock, data, enable and sync) may be configured to be inversed at TSPP unit input. This is useful in case TSIF signals from external units need to be inversed. Change-Id: Idd21948baccedc7499b31ed1d4df0f737538c870 Signed-off-by: Hamad Kadmany <hkadmany@codeaurora.org> commit 435ad8e2157eec5783a435f1e7ec47f67d759882 Author: Joel Nider <jnider@codeaurora.org> Date: Wed Dec 14 16:53:30 2011 +0200 tspp: add kernel api for video demux component The demux is an in-kernel software component whose purpose is to take an incoming TSIF stream and split it into multiple output channels based on the PID field in each TS packet. Each output channel can be used for a different purpose, such as audio, video or channel information. In order to get good performance when moving such large data streams around, the demux was placed in kernel-space as to prevent copying memory buffers between kernel-space and user-space, at least at this early stage in processing the traffic. Originally the design of the TSPP driver was based on the earlier TSIF driver, so it contained only a user-space API. Change-Id: I22799eb19d9049e3635d5c589b02f999d9b8e1c7 Signed-off-by: Joel Nider <jnider@codeaurora.org> commit 6544f3e52c9c1707a5a8fa90d32f89d80dabb4b9 Author: Joel Nider <jnider@codeaurora.org> Date: Tue Jul 10 13:50:06 2012 +0300 tspp: use new clock preparation functions Replace the clk_enable() with clk_prepare_enable() and replace clk_disable() with clk_disable_unprepare() functions. Change-Id: I63479090eccbeac46f091bf95faeb857139d23a4 Signed-off-by: Joel Nider <jnider@codeaurora.org> commit b9662ca49cfe619e076476dcf8297a4031f0c310 Author: Joel Nider <jnider@codeaurora.org> Date: Sun Jun 10 14:21:11 2012 +0300 tspp: use device name when getting clock The new method for requesting clocks requires a driver to pass its device name for comparison to the list of available clocks. Change-Id: Ica5b09447de177beead90f8b7c721b84820fbdf7 Signed-off-by: Joel Nider <jnider@codeaurora.org> commit 5556a8524591e4d1c4c9188316551900e8b8382d Author: Joel Nider <jnider@codeaurora.org> Date: Sun Oct 16 10:52:13 2011 +0200 misc: tspp: adding TSPP driver files The TSPP driver manages the transport stream packet processor. This core is used to offload the main CPU by handling MPEG TS packets, generally coming from a broadcast modem using the ISDB-T (or variant) protocol. Change-Id: Ia4c16dcce970ae0f52d8d17957a92fce34ecdb44 Signed-off-by: Joel Nider <jnider@codeaurora.org> Signed-off-by: David Brown <davidb@codeaurora.org> |
||
---|---|---|
.. | ||
Marvell | ||
msm | ||
nwfpe | ||
OMAP | ||
pxa | ||
SA1100 | ||
Samsung | ||
Samsung-S3C24XX | ||
SH-Mobile | ||
SPEAr | ||
sunxi | ||
VFP | ||
00-INDEX | ||
Booting | ||
cluster-pm-race-avoidance.txt | ||
firmware.txt | ||
Interrupts | ||
IXP4xx | ||
kernel_user_helpers.txt | ||
mem_alignment | ||
memory.txt | ||
Netwinder | ||
Porting | ||
README | ||
Setup | ||
swp_emulation | ||
tcm.txt | ||
vlocks.txt |
ARM Linux 2.6 ============= Please check <ftp://ftp.arm.linux.org.uk/pub/armlinux> for updates. Compilation of kernel --------------------- In order to compile ARM Linux, you will need a compiler capable of generating ARM ELF code with GNU extensions. GCC 3.3 is known to be a good compiler. Fortunately, you needn't guess. The kernel will report an error if your compiler is a recognized offender. To build ARM Linux natively, you shouldn't have to alter the ARCH = line in the top level Makefile. However, if you don't have the ARM Linux ELF tools installed as default, then you should change the CROSS_COMPILE line as detailed below. If you wish to cross-compile, then alter the following lines in the top level make file: ARCH = <whatever> with ARCH = arm and CROSS_COMPILE= to CROSS_COMPILE=<your-path-to-your-compiler-without-gcc> eg. CROSS_COMPILE=arm-linux- Do a 'make config', followed by 'make Image' to build the kernel (arch/arm/boot/Image). A compressed image can be built by doing a 'make zImage' instead of 'make Image'. Bug reports etc --------------- Please send patches to the patch system. For more information, see http://www.arm.linux.org.uk/developer/patches/info.php Always include some explanation as to what the patch does and why it is needed. Bug reports should be sent to linux-arm-kernel@lists.arm.linux.org.uk, or submitted through the web form at http://www.arm.linux.org.uk/developer/ When sending bug reports, please ensure that they contain all relevant information, eg. the kernel messages that were printed before/during the problem, what you were doing, etc. Include files ------------- Several new include directories have been created under include/asm-arm, which are there to reduce the clutter in the top-level directory. These directories, and their purpose is listed below: arch-* machine/platform specific header files hardware driver-internal ARM specific data structures/definitions mach descriptions of generic ARM to specific machine interfaces proc-* processor dependent header files (currently only two categories) Machine/Platform support ------------------------ The ARM tree contains support for a lot of different machine types. To continue supporting these differences, it has become necessary to split machine-specific parts by directory. For this, the machine category is used to select which directories and files get included (we will use $(MACHINE) to refer to the category) To this end, we now have arch/arm/mach-$(MACHINE) directories which are designed to house the non-driver files for a particular machine (eg, PCI, memory management, architecture definitions etc). For all future machines, there should be a corresponding arch/arm/mach-$(MACHINE)/include/mach directory. Modules ------- Although modularisation is supported (and required for the FP emulator), each module on an ARM2/ARM250/ARM3 machine when is loaded will take memory up to the next 32k boundary due to the size of the pages. Therefore, is modularisation on these machines really worth it? However, ARM6 and up machines allow modules to take multiples of 4k, and as such Acorn RiscPCs and other architectures using these processors can make good use of modularisation. ADFS Image files ---------------- You can access image files on your ADFS partitions by mounting the ADFS partition, and then using the loopback device driver. You must have losetup installed. Please note that the PCEmulator DOS partitions have a partition table at the start, and as such, you will have to give '-o offset' to losetup. Request to developers --------------------- When writing device drivers which include a separate assembler file, please include it in with the C file, and not the arch/arm/lib directory. This allows the driver to be compiled as a loadable module without requiring half the code to be compiled into the kernel image. In general, try to avoid using assembler unless it is really necessary. It makes drivers far less easy to port to other hardware. ST506 hard drives ----------------- The ST506 hard drive controllers seem to be working fine (if a little slowly). At the moment they will only work off the controllers on an A4x0's motherboard, but for it to work off a Podule just requires someone with a podule to add the addresses for the IRQ mask and the HDC base to the source. As of 31/3/96 it works with two drives (you should get the ADFS *configure harddrive set to 2). I've got an internal 20MB and a great big external 5.25" FH 64MB drive (who could ever want more :-) ). I've just got 240K/s off it (a dd with bs=128k); thats about half of what RiscOS gets; but it's a heck of a lot better than the 50K/s I was getting last week :-) Known bug: Drive data errors can cause a hang; including cases where the controller has fixed the error using ECC. (Possibly ONLY in that case...hmm). 1772 Floppy ----------- This also seems to work OK, but hasn't been stressed much lately. It hasn't got any code for disc change detection in there at the moment which could be a bit of a problem! Suggestions on the correct way to do this are welcome. CONFIG_MACH_ and CONFIG_ARCH_ ----------------------------- A change was made in 2003 to the macro names for new machines. Historically, CONFIG_ARCH_ was used for the bonafide architecture, e.g. SA1100, as well as implementations of the architecture, e.g. Assabet. It was decided to change the implementation macros to read CONFIG_MACH_ for clarity. Moreover, a retroactive fixup has not been made because it would complicate patching. Previous registrations may be found online. <http://www.arm.linux.org.uk/developer/machines/> Kernel entry (head.S) -------------------------- The initial entry into the kernel is via head.S, which uses machine independent code. The machine is selected by the value of 'r1' on entry, which must be kept unique. Due to the large number of machines which the ARM port of Linux provides for, we have a method to manage this which ensures that we don't end up duplicating large amounts of code. We group machine (or platform) support code into machine classes. A class typically based around one or more system on a chip devices, and acts as a natural container around the actual implementations. These classes are given directories - arch/arm/mach-<class> and arch/arm/mach-<class> - which contain the source files to/include/mach support the machine class. This directories also contain any machine specific supporting code. For example, the SA1100 class is based upon the SA1100 and SA1110 SoC devices, and contains the code to support the way the on-board and off- board devices are used, or the device is setup, and provides that machine specific "personality." This fine-grained machine specific selection is controlled by the machine type ID, which acts both as a run-time and a compile-time code selection method. You can register a new machine via the web site at: <http://www.arm.linux.org.uk/developer/machines/> --- Russell King (15/03/2004)