For kernel 3.4, the patches listed here are included in the Code Aurora 
Forum linux kernel 3.4 
(https://www.codeaurora.org/gitweb/quic/la/?p=kernel/msm.git;a=shortlog;h=refs/heads/msm-3.4 ) as of September 20 2012. One exception is marked (*) 
in the list below. If you use the kernel from this date onward, you will 
automatically pick up all these patches and no further action is necessary. 
If you use a kernel from an earlier date, some or all of these patches may 
need to be applied. They are listed in chronological order, most recent 
first. The oldest one applies to a June 2012 version of the kernel, which 
is when the CAF 3.4 kernel was first made available.


Kernel 3.4: configmon:
arm: common: fix cpaccess asm instruction https://www.codeaurora.org/gitweb/quic/la/?p=kernel/msm.git;a=commit;h=e1bb10a173de0327171c2c8d16f64af34a5ca937 


Kernel 3.4: perf (includes oprofile, plotx)
(*)msm: 8974: use correct interrupt numbers (Direct link not available at time of publication, but go to https://www.codeaurora.org/gitweb/quic/la/?p=kernel/msm.git;a=shortlog;h=refs/heads/msm-3.4  and search for "msm: 8974: use correct interrupt numbers" to find it when it is available.)

Perf: Restore correct CPU's PMU counters after power collpase https://www.codeaurora.org/gitweb/quic/la/?p=kernel/msm.git;a=commit;h=baaf4826b3e94c88876959e4cdd6c15d08666d39 

Perf: Fix Perf-JSON patch fprintf errors https://www.codeaurora.org/gitweb/quic/la/?p=kernel/msm.git;a=commit;h=a2a758f9b79867776ce43f5ef46fcdf036e9b227 

Perf: Add JSON scripting support to perf https://www.codeaurora.org/gitweb/quic/la/?p=kernel/msm.git;a=commit;h=f298445343c1ed734b79239478d5c2812321647a   

Perf: Extend named-pmu grammar https://www.codeaurora.org/gitweb/quic/la/?p=kernel/msm.git;a=commit;h=d803b281afcc5f12471dfd2cf013365b123ada33 

Perf: Re-enable counters after power collapse https://www.codeaurora.org/gitweb/quic/la/?p=kernel/msm.git;a=commit;h=b2c31d4bf4e4c3e68e9a83097933ebf5cbe21796 

Perf: Add PMU names to perf output https://www.codeaurora.org/gitweb/quic/la/?p=kernel/msm.git;a=commit;h=f4a533d5618305e7bcc69e55bdffb27b368eef14 

Perf: Detect number of L2 counters from L2PMCR https://www.codeaurora.org/gitweb/quic/la/?p=kernel/msm.git;a=commit;h=4362c7495b093222582dc9fd406ec96fe566b463 

Perf: Perf: Upgrade perf periodic https://www.codeaurora.org/gitweb/quic/la/?p=kernel/msm.git;a=commit;h=4235d779be748291ed2ec5581dd64e7d1a529297 

Perf: Add L2 slave port filtering https://www.codeaurora.org/gitweb/quic/la/?p=kernel/msm.git;a=commit;h=fcd66aa14f7f0bbd600b6d72cb34795db23c6434 

Perf: Add named PMU support for Scorpion and Krait https://www.codeaurora.org/gitweb/quic/la/?p=kernel/msm.git;a=commit;h=795bf7b9c0d241ea19c6fb8d50ed4f30e801fc94 

Perf: Add constraint check for L2CC PMU's https://www.codeaurora.org/gitweb/quic/la/?p=kernel/msm.git;a=commit;h=d2337c3231142f259e29d6043b72c3485bbaf6c6 

Perf: Add constraint checks for 8660 L1cc https://www.codeaurora.org/gitweb/quic/la/?p=kernel/msm.git;a=commit;h=89cadb822fb9253b03bc36ca5cc3033873d6730e 

Perf: Make event constraint checks generic for MSM https://www.codeaurora.org/gitweb/quic/la/?p=kernel/msm.git;a=commit;h=9f30c18873f8386233212b5b7132ad8e1dd0e058 

Perf: Add legacy support for userspace tools https://www.codeaurora.org/gitweb/quic/la/?p=kernel/msm.git;a=commit;h=b33e82563e342e9afb30c2e859ed61bc499a937b 

Perf: Add API to check for PMU constraints https://www.codeaurora.org/gitweb/quic/la/?p=kernel/msm.git;a=commit;h=66a8a86ad120805534a53fd002e157a6ef017f74 

Perf: Upgrade 8660 L2CC PMU perf support https://www.codeaurora.org/gitweb/quic/la/?p=kernel/msm.git;a=commit;h=7530b4578b28219ec672fdf51eab2730f53f6bf4 

Perf: Upgrade L1CC PMU perf support for 8660 https://www.codeaurora.org/gitweb/quic/la/?p=kernel/msm.git;a=commit;h=7cd836ec0ff0d9dafd99626f72c49f9f1aace132  

Perf: Update power collapse support for perf https://www.codeaurora.org/gitweb/quic/la/?p=kernel/msm.git;a=commit;h=f53fe444dd2385d6caca66b5a2c66ed73559d73b 

Perf: Upgrade 8960 L2CC PMU support https://www.codeaurora.org/gitweb/quic/la/?p=kernel/msm.git;a=commit;h=4a81cb83bb31c078a22b7a80d63ae47cd56e9643 



For kernel 3.0, the patches listed here are included in the Code Aurora Forum linux kernel 3.0 (https://www.codeaurora.org/gitweb/quic/la/?p=kernel/msm.git;a=shortlog;h=refs/heads/msm-3.0 ) as of April 18 2012. If you use the kernel from this date onward, you will automatically pick up all these patches and no further action is necessary. If you use a kernel from an earlier date, some or all of these patches may need to be applied. They are listed in chronological order, most recent first. The oldest one applies to a December 2011 version of the kernel.

Kernel 3.0 perf (includes oprofile, plotx)

Perf: Dont reset PMU's if perf is not active https://www.codeaurora.org/gitweb/quic/la/?p=kernel/msm.git;a=commit;h=de9089c33a8973c1388f57b009da481bcbe41a62 

msm: 8064: add L2 PMU support https://www.codeaurora.org/gitweb/quic/la/?p=kernel/msm.git;a=commit;h=814d3d393e838e4d8ad7d0f259c7803a14426324 

perf: add 8064 as krait processor https://www.codeaurora.org/gitweb/quic/la/?p=kernel/msm.git;a=commit;h=ed4151183aa23244a634e71d3ca5a7e5d98c5876 

Perf: Fix event type mask https://www.codeaurora.org/gitweb/quic/la/?p=kernel/msm.git;a=commit;h=c1c773db2692f78dacea16e0d761dba30af8c098 

Perf: Initialize raw spinlocks properly https://www.codeaurora.org/gitweb/quic/la/?p=kernel/msm.git;a=commit;h=d4317122158be9c6b31d70d1ebf7057db1d5f624 

Perf: Switch to per-cpu IRQ framework https://www.codeaurora.org/gitweb/quic/la/?p=kernel/msm.git;a=commit;h=4afdedccc111b9b60b66d156cce43988c4cbe7f0 

Perf: Bug fix to correct usage of per-CPU vars https://www.codeaurora.org/gitweb/quic/la/?p=kernel/msm.git;a=commit;h=3941c9230b3a32fec381505eaa2665ca6dbc07f0 

ARM: Perf: Change event filters depending on profiling mode https://www.codeaurora.org/gitweb/quic/la/?p=kernel/msm.git;a=commit;h=69df4cd9f82c1c183d8c7af89a5f878bde777985 

Perf: Save and restore counters through powercollapse https://www.codeaurora.org/gitweb/quic/la/?p=kernel/msm.git;a=commit;h=b5ca687960f0fea2f4735e83ca5c9543474c19de 




